amazonka-cloudfront-1.6.0: Amazon CloudFront SDK.

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

Network.AWS.CloudFront.CreateDistributionWithTags

Contents

Description

Create a new distribution with tags.

Synopsis

Creating a Request

createDistributionWithTags Source #

Creates a value of CreateDistributionWithTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateDistributionWithTags Source #

The request to create a new distribution with tags.

See: createDistributionWithTags smart constructor.

Instances

Eq CreateDistributionWithTags Source # 
Data CreateDistributionWithTags Source # 

Methods

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

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

toConstr :: CreateDistributionWithTags -> Constr #

dataTypeOf :: CreateDistributionWithTags -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDistributionWithTags Source # 
Show CreateDistributionWithTags Source # 
Generic CreateDistributionWithTags Source # 
Hashable CreateDistributionWithTags Source # 
NFData CreateDistributionWithTags Source # 
AWSRequest CreateDistributionWithTags Source # 
ToElement CreateDistributionWithTags Source # 
ToHeaders CreateDistributionWithTags Source # 
ToPath CreateDistributionWithTags Source # 
ToQuery CreateDistributionWithTags Source # 
type Rep CreateDistributionWithTags Source # 
type Rep CreateDistributionWithTags = D1 * (MetaData "CreateDistributionWithTags" "Network.AWS.CloudFront.CreateDistributionWithTags" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" True) (C1 * (MetaCons "CreateDistributionWithTags'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cdwtDistributionConfigWithTags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * DistributionConfigWithTags)))
type Rs CreateDistributionWithTags Source # 

Request Lenses

Destructuring the Response

createDistributionWithTagsResponse Source #

Creates a value of CreateDistributionWithTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateDistributionWithTagsResponse Source #

The returned result of the corresponding request.

See: createDistributionWithTagsResponse smart constructor.

Instances

Eq CreateDistributionWithTagsResponse Source # 
Data CreateDistributionWithTagsResponse Source # 

Methods

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

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

toConstr :: CreateDistributionWithTagsResponse -> Constr #

dataTypeOf :: CreateDistributionWithTagsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDistributionWithTagsResponse Source # 
Show CreateDistributionWithTagsResponse Source # 
Generic CreateDistributionWithTagsResponse Source # 
NFData CreateDistributionWithTagsResponse Source # 
type Rep CreateDistributionWithTagsResponse Source # 
type Rep CreateDistributionWithTagsResponse = D1 * (MetaData "CreateDistributionWithTagsResponse" "Network.AWS.CloudFront.CreateDistributionWithTags" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "CreateDistributionWithTagsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cdwtrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cdwtrsDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Distribution)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cdwtrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cdwtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

cdwtrsETag :: Lens' CreateDistributionWithTagsResponse (Maybe Text) Source #

The current version of the distribution created.

cdwtrsLocation :: Lens' CreateDistributionWithTagsResponse (Maybe Text) Source #

The fully qualified URI of the new distribution resource just created. For example: https://cloudfront.amazonaws.com/2010-11-01/distribution/EDFDVBD632BHDS5 .