| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudSearch.CreateDomain
Description
Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .
Creating a Request
Arguments
| :: Text | |
| -> CreateDomain |
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:
cdDomainName- 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.
data CreateDomain Source #
Container for the parameters to the operation. Specifies a name for the new search domain.CreateDomain
See: createDomain smart constructor.
Instances
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
Arguments
| :: Int | |
| -> CreateDomainResponse |
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:
cdrsDomainStatus- Undocumented member.cdrsResponseStatus- -- | The response status code.
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.