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 one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.
Synopsis
- createDomainEntry :: Text -> DomainEntry -> CreateDomainEntry
- data CreateDomainEntry
- cdeDomainName :: Lens' CreateDomainEntry Text
- cdeDomainEntry :: Lens' CreateDomainEntry DomainEntry
- createDomainEntryResponse :: Int -> CreateDomainEntryResponse
- data CreateDomainEntryResponse
- cdersOperation :: Lens' CreateDomainEntryResponse (Maybe Operation)
- cdersResponseStatus :: Lens' CreateDomainEntryResponse Int
Creating a Request
Creates a value of CreateDomainEntry
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdeDomainName
- The domain name (e.g.,example.com
) for which you want to create the domain entry.cdeDomainEntry
- An array of key-value pairs containing information about the domain entry request.
data CreateDomainEntry Source #
See: createDomainEntry
smart constructor.
Instances
Request Lenses
cdeDomainName :: Lens' CreateDomainEntry Text Source #
The domain name (e.g., example.com
) for which you want to create the domain entry.
cdeDomainEntry :: Lens' CreateDomainEntry DomainEntry Source #
An array of key-value pairs containing information about the domain entry request.
Destructuring the Response
createDomainEntryResponse Source #
Creates a value of CreateDomainEntryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdersOperation
- An array of key-value pairs containing information about the operation.cdersResponseStatus
- -- | The response status code.
data CreateDomainEntryResponse Source #
See: createDomainEntryResponse
smart constructor.
Instances
Response Lenses
cdersOperation :: Lens' CreateDomainEntryResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the operation.
cdersResponseStatus :: Lens' CreateDomainEntryResponse Int Source #
- - | The response status code.