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 |
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 Source #
A request to create a new domain name.
See: createDomainName
smart constructor.
Request Lenses
cdnDomainName :: Lens' CreateDomainName Text Source #
The name of the DomainName
resource.
cdnCertificateName :: Lens' CreateDomainName Text Source #
The name of the certificate.
cdnCertificateBody :: Lens' CreateDomainName Text Source #
The body of the server certificate provided by your certificate authority.
cdnCertificatePrivateKey :: Lens' CreateDomainName Text Source #
Your certificate's private key.
cdnCertificateChain :: Lens' CreateDomainName Text Source #
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
domainName :: DomainName Source #
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 Source #
Represents a domain name that is contained in a simpler, more intuitive URL that can be called.
See: domainName
smart constructor.
Response Lenses
dnCertificateName :: Lens' DomainName (Maybe Text) Source #
The name of the certificate.
dnDomainName :: Lens' DomainName (Maybe Text) Source #
The name of the DomainName
resource.
dnCertificateUploadDate :: Lens' DomainName (Maybe UTCTime) Source #
The date when the certificate was uploaded, in ISO 8601 format .
dnDistributionDomainName :: Lens' DomainName (Maybe Text) Source #
The domain name of the Amazon CloudFront distribution. For more information, see the Amazon CloudFront documentation .