Copyright | (c) 2013-2021 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 |
Creates a domain name.
Synopsis
- data CreateDomainName = CreateDomainName' {}
- newCreateDomainName :: Text -> CreateDomainName
- createDomainName_domainNameConfigurations :: Lens' CreateDomainName (Maybe [DomainNameConfiguration])
- createDomainName_mutualTlsAuthentication :: Lens' CreateDomainName (Maybe MutualTlsAuthenticationInput)
- createDomainName_tags :: Lens' CreateDomainName (Maybe (HashMap Text Text))
- createDomainName_domainName :: Lens' CreateDomainName Text
- data CreateDomainNameResponse = CreateDomainNameResponse' {}
- newCreateDomainNameResponse :: Int -> CreateDomainNameResponse
- createDomainNameResponse_domainNameConfigurations :: Lens' CreateDomainNameResponse (Maybe [DomainNameConfiguration])
- createDomainNameResponse_domainName :: Lens' CreateDomainNameResponse (Maybe Text)
- createDomainNameResponse_mutualTlsAuthentication :: Lens' CreateDomainNameResponse (Maybe MutualTlsAuthentication)
- createDomainNameResponse_apiMappingSelectionExpression :: Lens' CreateDomainNameResponse (Maybe Text)
- createDomainNameResponse_tags :: Lens' CreateDomainNameResponse (Maybe (HashMap Text Text))
- createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int
Creating a Request
data CreateDomainName Source #
Creates a new DomainName resource to represent a domain name.
See: newCreateDomainName
smart constructor.
CreateDomainName' | |
|
Instances
Create a value of CreateDomainName
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainNameConfigurations:CreateDomainName'
, createDomainName_domainNameConfigurations
- The domain name configurations.
$sel:mutualTlsAuthentication:CreateDomainName'
, createDomainName_mutualTlsAuthentication
- The mutual TLS authentication configuration for a custom domain name.
$sel:tags:CreateDomainName'
, createDomainName_tags
- The collection of tags associated with a domain name.
$sel:domainName:CreateDomainName'
, createDomainName_domainName
- The domain name.
Request Lenses
createDomainName_domainNameConfigurations :: Lens' CreateDomainName (Maybe [DomainNameConfiguration]) Source #
The domain name configurations.
createDomainName_mutualTlsAuthentication :: Lens' CreateDomainName (Maybe MutualTlsAuthenticationInput) Source #
The mutual TLS authentication configuration for a custom domain name.
createDomainName_tags :: Lens' CreateDomainName (Maybe (HashMap Text Text)) Source #
The collection of tags associated with a domain name.
createDomainName_domainName :: Lens' CreateDomainName Text Source #
The domain name.
Destructuring the Response
data CreateDomainNameResponse Source #
See: newCreateDomainNameResponse
smart constructor.
CreateDomainNameResponse' | |
|
Instances
newCreateDomainNameResponse Source #
Create a value of CreateDomainNameResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:domainNameConfigurations:CreateDomainName'
, createDomainNameResponse_domainNameConfigurations
- The domain name configurations.
$sel:domainName:CreateDomainName'
, createDomainNameResponse_domainName
- The name of the DomainName resource.
$sel:mutualTlsAuthentication:CreateDomainName'
, createDomainNameResponse_mutualTlsAuthentication
- The mutual TLS authentication configuration for a custom domain name.
$sel:apiMappingSelectionExpression:CreateDomainNameResponse'
, createDomainNameResponse_apiMappingSelectionExpression
- The API mapping selection expression.
$sel:tags:CreateDomainName'
, createDomainNameResponse_tags
- The collection of tags associated with a domain name.
$sel:httpStatus:CreateDomainNameResponse'
, createDomainNameResponse_httpStatus
- The response's http status code.
Response Lenses
createDomainNameResponse_domainNameConfigurations :: Lens' CreateDomainNameResponse (Maybe [DomainNameConfiguration]) Source #
The domain name configurations.
createDomainNameResponse_domainName :: Lens' CreateDomainNameResponse (Maybe Text) Source #
The name of the DomainName resource.
createDomainNameResponse_mutualTlsAuthentication :: Lens' CreateDomainNameResponse (Maybe MutualTlsAuthentication) Source #
The mutual TLS authentication configuration for a custom domain name.
createDomainNameResponse_apiMappingSelectionExpression :: Lens' CreateDomainNameResponse (Maybe Text) Source #
The API mapping selection expression.
createDomainNameResponse_tags :: Lens' CreateDomainNameResponse (Maybe (HashMap Text Text)) Source #
The collection of tags associated with a domain name.
createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int Source #
The response's http status code.