amazonka-cloudfront-1.4.1: 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.UpdateDistribution

Contents

Description

Update a distribution.

Synopsis

Creating a Request

updateDistribution Source #

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

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

data UpdateDistribution Source #

The request to update a distribution.

See: updateDistribution smart constructor.

Instances

Eq UpdateDistribution Source # 
Data UpdateDistribution Source # 

Methods

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

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

toConstr :: UpdateDistribution -> Constr #

dataTypeOf :: UpdateDistribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDistribution Source # 
Show UpdateDistribution Source # 
Generic UpdateDistribution Source # 
Hashable UpdateDistribution Source # 
NFData UpdateDistribution Source # 

Methods

rnf :: UpdateDistribution -> () #

AWSRequest UpdateDistribution Source # 
ToElement UpdateDistribution Source # 
ToQuery UpdateDistribution Source # 
ToPath UpdateDistribution Source # 
ToHeaders UpdateDistribution Source # 
type Rep UpdateDistribution Source # 
type Rep UpdateDistribution = D1 (MetaData "UpdateDistribution" "Network.AWS.CloudFront.UpdateDistribution" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "UpdateDistribution'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udIfMatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_udDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 DistributionConfig)) (S1 (MetaSel (Just Symbol "_udId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateDistribution Source # 

Request Lenses

udIfMatch :: Lens' UpdateDistribution (Maybe Text) Source #

The value of the ETag header you received when retrieving the distribution's configuration. For example: E2QWRUHAPOMQZL.

udDistributionConfig :: Lens' UpdateDistribution DistributionConfig Source #

The distribution's configuration information.

udId :: Lens' UpdateDistribution Text Source #

The distribution's id.

Destructuring the Response

updateDistributionResponse Source #

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

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

data UpdateDistributionResponse Source #

The returned result of the corresponding request.

See: updateDistributionResponse smart constructor.

Instances

Eq UpdateDistributionResponse Source # 
Data UpdateDistributionResponse Source # 

Methods

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

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

toConstr :: UpdateDistributionResponse -> Constr #

dataTypeOf :: UpdateDistributionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDistributionResponse Source # 
Show UpdateDistributionResponse Source # 
Generic UpdateDistributionResponse Source # 
NFData UpdateDistributionResponse Source # 
type Rep UpdateDistributionResponse Source # 
type Rep UpdateDistributionResponse = D1 (MetaData "UpdateDistributionResponse" "Network.AWS.CloudFront.UpdateDistribution" "amazonka-cloudfront-1.4.1-Ka7B7rdKDAQ5wuKrODiOcr" False) (C1 (MetaCons "UpdateDistributionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_udrsDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Distribution))) (S1 (MetaSel (Just Symbol "_udrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

udrsETag :: Lens' UpdateDistributionResponse (Maybe Text) Source #

The current version of the configuration. For example: E2QWRUHAPOMQZL.