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 |
Creates a custom DomainName
object.
Synopsis
- data CreateDomainName = CreateDomainName' {
- description :: Maybe Text
- domainName :: Text
- certificateArn :: Text
- newCreateDomainName :: Text -> Text -> CreateDomainName
- createDomainName_description :: Lens' CreateDomainName (Maybe Text)
- createDomainName_domainName :: Lens' CreateDomainName Text
- createDomainName_certificateArn :: Lens' CreateDomainName Text
- data CreateDomainNameResponse = CreateDomainNameResponse' {}
- newCreateDomainNameResponse :: Int -> CreateDomainNameResponse
- createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig)
- createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int
Creating a Request
data CreateDomainName Source #
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:
CreateDomainName
, createDomainName_description
- A description of the DomainName
.
CreateDomainName
, createDomainName_domainName
- The domain name.
CreateDomainName
, createDomainName_certificateArn
- The Amazon Resource Name (ARN) of the certificate. This can be an
Certificate Manager (ACM) certificate or an Identity and Access
Management (IAM) server certificate.
Request Lenses
createDomainName_description :: Lens' CreateDomainName (Maybe Text) Source #
A description of the DomainName
.
createDomainName_domainName :: Lens' CreateDomainName Text Source #
The domain name.
createDomainName_certificateArn :: Lens' CreateDomainName Text Source #
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
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:domainNameConfig:CreateDomainNameResponse'
, createDomainNameResponse_domainNameConfig
- The configuration for the DomainName
.
$sel:httpStatus:CreateDomainNameResponse'
, createDomainNameResponse_httpStatus
- The response's http status code.
Response Lenses
createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName
.
createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int Source #
The response's http status code.