amazonka-apigateway-1.4.5: Amazon API Gateway SDK.

Copyright(c) 2013-2016 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.

Synopsis

Creating a Request

createDomainName #

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 the DomainName 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

Eq CreateDomainName # 
Data CreateDomainName # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateDomainName -> c CreateDomainName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateDomainName #

toConstr :: CreateDomainName -> Constr #

dataTypeOf :: CreateDomainName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateDomainName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateDomainName) #

gmapT :: (forall b. Data b => b -> b) -> CreateDomainName -> CreateDomainName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateDomainName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateDomainName -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateDomainName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateDomainName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateDomainName -> m CreateDomainName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateDomainName -> m CreateDomainName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateDomainName -> m CreateDomainName #

Read CreateDomainName # 
Show CreateDomainName # 
Generic CreateDomainName # 
Hashable CreateDomainName # 
ToJSON CreateDomainName # 
NFData CreateDomainName # 

Methods

rnf :: CreateDomainName -> () #

AWSRequest CreateDomainName # 
ToQuery CreateDomainName # 
ToPath CreateDomainName # 
ToHeaders CreateDomainName # 
type Rep CreateDomainName # 
type Rep CreateDomainName = D1 (MetaData "CreateDomainName" "Network.AWS.APIGateway.CreateDomainName" "amazonka-apigateway-1.4.5-5OCToOwmZjEH3FMiU9Yogu" False) (C1 (MetaCons "CreateDomainName'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdnCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cdnCertificateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cdnCertificatePrivateKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cdnCertificateChain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs CreateDomainName # 

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

domainName :: DomainName #

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 #

Represents a domain name that is contained in a simpler, more intuitive URL that can be called.

Use Client-Side Certificate

See: domainName smart constructor.

Instances

Eq DomainName # 
Data DomainName # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainName -> c DomainName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainName #

toConstr :: DomainName -> Constr #

dataTypeOf :: DomainName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DomainName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainName) #

gmapT :: (forall b. Data b => b -> b) -> DomainName -> DomainName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainName -> r #

gmapQ :: (forall d. Data d => d -> u) -> DomainName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainName -> m DomainName #

Read DomainName # 
Show DomainName # 
Generic DomainName # 

Associated Types

type Rep DomainName :: * -> * #

Hashable DomainName # 
FromJSON DomainName # 
NFData DomainName # 

Methods

rnf :: DomainName -> () #

type Rep DomainName # 
type Rep DomainName = D1 (MetaData "DomainName" "Network.AWS.APIGateway.Types.Product" "amazonka-apigateway-1.4.5-5OCToOwmZjEH3FMiU9Yogu" False) (C1 (MetaCons "DomainName'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dnCertificateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dnDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dnCertificateUploadDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_dnDistributionDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

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 .