amazonka-cloudfront-1.4.3: Amazon CloudFront 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.CloudFront.CreateDistribution

Contents

Description

Create a new distribution.

Synopsis

Creating a Request

createDistribution Source #

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

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

data CreateDistribution Source #

The request to create a new distribution.

See: createDistribution smart constructor.

Instances

Eq CreateDistribution Source # 
Data CreateDistribution Source # 

Methods

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

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

toConstr :: CreateDistribution -> Constr #

dataTypeOf :: CreateDistribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDistribution Source # 
Show CreateDistribution Source # 
Generic CreateDistribution Source # 
Hashable CreateDistribution Source # 
NFData CreateDistribution Source # 

Methods

rnf :: CreateDistribution -> () #

AWSRequest CreateDistribution Source # 
ToElement CreateDistribution Source # 
ToQuery CreateDistribution Source # 
ToPath CreateDistribution Source # 
ToHeaders CreateDistribution Source # 
type Rep CreateDistribution Source # 
type Rep CreateDistribution = D1 (MetaData "CreateDistribution" "Network.AWS.CloudFront.CreateDistribution" "amazonka-cloudfront-1.4.3-BnioWQeKom3JTvCdBxcvZy" True) (C1 (MetaCons "CreateDistribution'" PrefixI True) (S1 (MetaSel (Just Symbol "_cdDistributionConfig") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DistributionConfig)))
type Rs CreateDistribution Source # 

Request Lenses

cdDistributionConfig :: Lens' CreateDistribution DistributionConfig Source #

The distribution's configuration information.

Destructuring the Response

createDistributionResponse Source #

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

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

data CreateDistributionResponse Source #

The returned result of the corresponding request.

See: createDistributionResponse smart constructor.

Instances

Eq CreateDistributionResponse Source # 
Data CreateDistributionResponse Source # 

Methods

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

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

toConstr :: CreateDistributionResponse -> Constr #

dataTypeOf :: CreateDistributionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateDistributionResponse Source # 
Show CreateDistributionResponse Source # 
Generic CreateDistributionResponse Source # 
NFData CreateDistributionResponse Source # 
type Rep CreateDistributionResponse Source # 
type Rep CreateDistributionResponse = D1 (MetaData "CreateDistributionResponse" "Network.AWS.CloudFront.CreateDistribution" "amazonka-cloudfront-1.4.3-BnioWQeKom3JTvCdBxcvZy" False) (C1 (MetaCons "CreateDistributionResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdrsDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Distribution)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdrsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

cdrsETag :: Lens' CreateDistributionResponse (Maybe Text) Source #

The current version of the distribution created.

cdrsLocation :: Lens' CreateDistributionResponse (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.