amazonka-cloudsearch-1.0.1: Amazon CloudSearch SDK.

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

Network.AWS.CloudSearch.CreateDomain

Contents

Description

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

See: AWS API Reference for CreateDomain.

Synopsis

Creating a Request

createDomain Source

Creates a value of CreateDomain with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cdDomainName :: 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

createDomainResponse Source

Creates a value of CreateDomainResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateDomainResponse Source

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

See: createDomainResponse smart constructor.

Response Lenses

cdrsStatus :: Lens' CreateDomainResponse Int Source

The response status code.