Copyright | (c) 2013-2018 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 |
Creates a domain resource for the specified domain (e.g., example.com).
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:
cdDomainName
- The domain name to manage (e.g.,example.com
).
data CreateDomain Source #
See: createDomain
smart constructor.
Request Lenses
cdDomainName :: Lens' CreateDomain Text Source #
The domain name to manage (e.g., example.com
).
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:
cdrsOperation
- An array of key-value pairs containing information about the domain resource you created.cdrsResponseStatus
- -- | The response status code.
data CreateDomainResponse Source #
See: createDomainResponse
smart constructor.
Response Lenses
cdrsOperation :: Lens' CreateDomainResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the domain resource you created.
cdrsResponseStatus :: Lens' CreateDomainResponse Int Source #
- - | The response status code.