amazonka-sdb-2.0: Amazon SimpleDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SDB.CreateDomain

Description

The CreateDomain operation creates a new domain. The domain name should be unique among the domains associated with the Access Key ID provided in the request. The CreateDomain operation may take 10 or more seconds to complete.

The client can create up to 100 domains per account.

If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/.

Synopsis

Creating a Request

data CreateDomain Source #

See: newCreateDomain smart constructor.

Constructors

CreateDomain' 

Fields

  • domainName :: Text

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

Instances

Instances details
ToHeaders CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

ToPath CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

ToQuery CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

AWSRequest CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

Associated Types

type AWSResponse CreateDomain #

Generic CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

Associated Types

type Rep CreateDomain :: Type -> Type #

Read CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

Show CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

NFData CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

Methods

rnf :: CreateDomain -> () #

Eq CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

Hashable CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

type AWSResponse CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

type Rep CreateDomain Source # 
Instance details

Defined in Amazonka.SDB.CreateDomain

type Rep CreateDomain = D1 ('MetaData "CreateDomain" "Amazonka.SDB.CreateDomain" "amazonka-sdb-2.0-7a0e7nVPNy1GutfrhcqnW8" 'False) (C1 ('MetaCons "CreateDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateDomain Source #

Create a value of CreateDomain with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:domainName:CreateDomain', createDomain_domainName - The name of the domain to create. The name can range between 3 and 255 characters and can contain the following characters: a-z, A-Z, 0-9, '_', '-', and '.'.

Request Lenses

createDomain_domainName :: Lens' CreateDomain Text Source #

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

Destructuring the Response

data CreateDomainResponse Source #

See: newCreateDomainResponse smart constructor.

Constructors

CreateDomainResponse' 

newCreateDomainResponse :: CreateDomainResponse Source #

Create a value of CreateDomainResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.