libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudSearch.CreateDomain

Description

Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.

Synopsis

Creating a Request

data CreateDomain Source #

Container for the parameters to the CreateDomain operation. Specifies a name for the new search domain.

See: newCreateDomain smart constructor.

Constructors

CreateDomain' 

Fields

  • domainName :: Text

    A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

Instances

Instances details
Eq CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Read CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Show CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Generic CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Associated Types

type Rep CreateDomain :: Type -> Type #

NFData CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Methods

rnf :: CreateDomain -> () #

Hashable CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

AWSRequest CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Associated Types

type AWSResponse CreateDomain #

ToHeaders CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

ToPath CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

ToQuery CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

type Rep CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

type Rep CreateDomain = D1 ('MetaData "CreateDomain" "Amazonka.CloudSearch.CreateDomain" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "CreateDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateDomain Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

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 - A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

Request Lenses

createDomain_domainName :: Lens' CreateDomain Text Source #

A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

Destructuring the Response

data CreateDomainResponse Source #

The result of a CreateDomainRequest. Contains the status of a newly created domain.

See: newCreateDomainResponse smart constructor.

Constructors

CreateDomainResponse' 

Fields

Instances

Instances details
Eq CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Read CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Show CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Generic CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Associated Types

type Rep CreateDomainResponse :: Type -> Type #

NFData CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

Methods

rnf :: CreateDomainResponse -> () #

type Rep CreateDomainResponse Source # 
Instance details

Defined in Amazonka.CloudSearch.CreateDomain

type Rep CreateDomainResponse = D1 ('MetaData "CreateDomainResponse" "Amazonka.CloudSearch.CreateDomain" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "CreateDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DomainStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateDomainResponse Source #

Create a value of CreateDomainResponse 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:domainStatus:CreateDomainResponse', createDomainResponse_domainStatus - Undocumented member.

$sel:httpStatus:CreateDomainResponse', createDomainResponse_httpStatus - The response's http status code.

Response Lenses