Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Creating a Request
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:
data CreateDomain Source
Container for the parameters to the CreateDomain
operation. Specifies
a name for the new search domain.
See: createDomain
smart constructor.
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
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
cdrsDomainStatus :: Lens' CreateDomainResponse (Maybe DomainStatus) Source
Undocumented member.
cdrsResponseStatus :: Lens' CreateDomainResponse Int Source
The response status code.