| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ApiGatewayV2.CreateDomainName
Description
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_apiMappingSelectionExpression :: Lens' CreateDomainNameResponse (Maybe Text)
- createDomainNameResponse_domainName :: Lens' CreateDomainNameResponse (Maybe Text)
- createDomainNameResponse_domainNameConfigurations :: Lens' CreateDomainNameResponse (Maybe [DomainNameConfiguration])
- createDomainNameResponse_mutualTlsAuthentication :: Lens' CreateDomainNameResponse (Maybe MutualTlsAuthentication)
- 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.
Constructors
| CreateDomainName' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreateDomainName |
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:
CreateDomainName, createDomainName_domainNameConfigurations - The domain name configurations.
CreateDomainName, createDomainName_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name.
CreateDomainName, createDomainName_tags - The collection of tags associated with a domain name.
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.
Constructors
| CreateDomainNameResponse' | |
Fields
| |
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:
CreateDomainNameResponse, createDomainNameResponse_apiMappingSelectionExpression - The API mapping selection expression.
CreateDomainName, createDomainNameResponse_domainName - The name of the DomainName resource.
CreateDomainName, createDomainNameResponse_domainNameConfigurations - The domain name configurations.
CreateDomainName, createDomainNameResponse_mutualTlsAuthentication - The mutual TLS authentication configuration for a custom domain name.
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_apiMappingSelectionExpression :: Lens' CreateDomainNameResponse (Maybe Text) Source #
The API mapping selection expression.
createDomainNameResponse_domainName :: Lens' CreateDomainNameResponse (Maybe Text) Source #
The name of the DomainName resource.
createDomainNameResponse_domainNameConfigurations :: Lens' CreateDomainNameResponse (Maybe [DomainNameConfiguration]) Source #
The domain name configurations.
createDomainNameResponse_mutualTlsAuthentication :: Lens' CreateDomainNameResponse (Maybe MutualTlsAuthentication) Source #
The mutual TLS authentication configuration for a custom domain name.
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.