SimpleDB - Create Domain

 

Declaration

<AMAWSSIMPLEDB ACTIVITY="create_domain" DOMAIN="text (domain Name)" />

See Also

SimpleDB - Create Domain | SimpleDB - Create Session | SimpleDB - Delete Attribute(s) | SimpleDB - Delete Domain | SimpleDB - End Session | SimpleDB - Get Attribute(s) | SimpleDB - Get Domain Metadata | SimpleDB - List Domains | SimpleDB - Put Attribute(s) | SimpleDB - Query

Description

Creates a new domain. Domains on SimpleDB are basically tables, just like spreadsheets containing rows and columns that intersect to create cells.

NOTE: The domain name must be unique among the domains associated with the Access Key ID provided in the request. You can create up to 100 domains per account.

 

IMPORTANT: The SimpleDB activities use Amazon's SimpleDB engine to perform their work. Therefore, you must have a valid Amazon SimpleDB service account to perform these activities.

Practical Usage

Creates a SimpleDB domain in order to run queries on organized data.

Parameters

Domain Properties

Property
Type
Req'd
Default
Markup
Description

Domain Name

Text

Yes

(Empty)

DOMAIN="myDomain"

Indicates the name of the domain in which to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

Credentials Properties

These properties allow you to enter a custom set of credentials specific to this activity or link this activity to an existing session created in a previous step.

Property
Type

Req'd

Default
Markup
Description

Provide Credentials

 

 

 

 

Indicates where this activity's credentials should originate from. Different properties apply depending on the option selected. This is a design-time parameter used interactively during  construction mode, thus, contains no markups. The available options are:

  • Custom (Default) - Specifies that a custom set of credentials will be entered for this SimpleDB activity. Select this option if performing a single SimpleDB activity.

  • Session Based - Specifies that credentials should derive from a session created in a previous step with the use of the Create Session activity. This allows several SimpleDB activities to be linked to a specific session, eliminating redundancy.

Access Key

Text

Yes

(Empty)

ACCESSKEY="MyAccessKey"

A 20-character, alphanumeric string that uniquely identifies a user who owns a SimpleDB account. This along with a Secret Access Key forms a secure information set that SimpleDB uses to confirm a valid user's identity. This property is active only if Custom is selected under the Provide Credentials property.

Secret Access Key

Text

Yes

(Empty)

SECRETKEY="SecretKey"

A 40-character string that serves the role as Password to access SimpleDB. This along with an associated Access Key forms a secure information set that SimpleDB uses to confirm a valid user's identity. This property is active only if Custom is selected under the Provide Credentials property.

User Agent

Text

No

AutoMate

USERAGENT="AutoMate"

The User-Agent header name. The User-Agent request-header field contains information about the user agent originating the request such as time outs, proxies, name, etc. The default User Agent name is AutoMate. This property is active only if Custom is selected under the Provide Credentials property.

Service URL

Text

No

(Empty)

SERVICEURL=

"https://eu-west-1.ec2.amazonaws.com"

The Service URL used to make requests to the SimpleDB service. The Service URL provides the service endpoint. For example, to make the service call to a different region, you can pass the region-specific endpoint, such as 'https://sdb.eu-west-1.amazonaws.com'. This property is active only if Custom is selected under the Provide Credentials property.

Maximum retry on error

Number

No

(Empty)

MAXERRORRETRY="4"

Signifies how many times the Amazon SimpleDB engine should retry the request before returning an error. This property is active only if Custom is selected under the Provide Credentials property.

Proxy Host

Text

No

(Empty)

PROXYHOST="proxy.host.com"

The host name (server.domain.com) or IP address (xxx.xxx.xxx.xxx) of the proxy server. This property is active only if Custom is selected under the Provide Credentials property.

Proxy Port

Number

No

(Empty)

PROXYPORT="1028"

The port that should be used to connect to the proxy server. This property is active only if Custom is selected under the Provide Credentials property.

Session Name

Text

Yes

(Empty)

SESSION="SessionName"

The session name that this activity should originate from. This allows several SimpleDB activities to be linked to a specific session. Numerous sessions can be used within a single task. This property is active only if Session Based is selected under the Provide Credentials property.

NOTE: Use the Create Session activity to create and name an SimpleDB session.

Description Properties

The Description tab allows you to customize the text description of any step as it appears in the Task Builder's Steps Pane.

More on setting custom step description

Error Causes Properties

The Error Causes tab properties allows you to instruct a task step to react only to specific errors or ignore certain errors that should cause it to fail.

More on Error Causes properties

On Error Properties

The On Error tab properties lets you determine what the task should do if a particular step encounters an error as defined in the Error Causes properties.

More about On Error properties

Additional Notes

Expressions, Variables and Functions

All text fields allow the use of expressions such as variables, functions or AutoMate extended functions, which can be entered by surrounding the expression in percentage signs (example: %FileDateTime(myVar)% or %myVar%, %Left('Text',2)%). To help construct these expressions, you can open Expression Builder from these fields by clicking the Insert Expression (%) button or by pressing F2.

More on expressions

More on variables

More on function

More on extended functions
More on the expression builder

Example

NOTE: The code below can be copied and pasted directly into the Steps pane of the Task Builder.

 

Description: Create domain "theDomainName". Use default SimpleDB session.

 

<AMAWSSIMPLEDB ACTIVITY="create_domain" DOMAIN="theDomainName" />

 

↑ [Top of Page]