amazonka-apigateway-1.3.5: Amazon API Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.CreateDomainName

Contents

Description

Creates a new domain name.

See: AWS API Reference for CreateDomainName.

Synopsis

Creating a Request

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:

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.