Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.APIGateway.CreateDomainName
Description
Creates a new domain name.
- createDomainName :: Text -> Text -> Text -> Text -> Text -> CreateDomainName
- data CreateDomainName
- cdnDomainName :: Lens' CreateDomainName Text
- cdnCertificateName :: Lens' CreateDomainName Text
- cdnCertificateBody :: Lens' CreateDomainName Text
- cdnCertificatePrivateKey :: Lens' CreateDomainName Text
- cdnCertificateChain :: Lens' CreateDomainName Text
- domainName :: DomainName
- data DomainName
- dnCertificateName :: Lens' DomainName (Maybe Text)
- dnDomainName :: Lens' DomainName (Maybe Text)
- dnCertificateUploadDate :: Lens' DomainName (Maybe UTCTime)
- dnDistributionDomainName :: Lens' DomainName (Maybe Text)
Creating a Request
Creates a value of CreateDomainName
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdnDomainName
- The name of theDomainName
resource.cdnCertificateName
- The name of the certificate.cdnCertificateBody
- The body of the server certificate provided by your certificate authority.cdnCertificatePrivateKey
- Your certificate's private key.cdnCertificateChain
- The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
data CreateDomainName #
A request to create a new domain name.
See: createDomainName
smart constructor.
Instances
Request Lenses
cdnDomainName :: Lens' CreateDomainName Text #
The name of the DomainName
resource.
cdnCertificateName :: Lens' CreateDomainName Text #
The name of the certificate.
cdnCertificateBody :: Lens' CreateDomainName Text #
The body of the server certificate provided by your certificate authority.
cdnCertificatePrivateKey :: Lens' CreateDomainName Text #
Your certificate's private key.
cdnCertificateChain :: Lens' CreateDomainName Text #
The intermediate certificates and optionally the root certificate, one after the other without any blank lines. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.
Destructuring the Response
Creates a value of DomainName
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnCertificateName
- The name of the certificate.dnDomainName
- The name of theDomainName
resource.dnCertificateUploadDate
- The date when the certificate was uploaded, in ISO 8601 format .dnDistributionDomainName
- The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation .
data DomainName #
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
See: domainName
smart constructor.
Instances
Response Lenses
dnCertificateName :: Lens' DomainName (Maybe Text) #
The name of the certificate.
dnDomainName :: Lens' DomainName (Maybe Text) #
The name of the DomainName
resource.
dnCertificateUploadDate :: Lens' DomainName (Maybe UTCTime) #
The date when the certificate was uploaded, in ISO 8601 format .
dnDistributionDomainName :: Lens' DomainName (Maybe Text) #
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation .