amazonka-cloudfront-1.4.5: 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.CreateInvalidation

Contents

Description

Create a new invalidation.

Synopsis

Creating a Request

createInvalidation Source #

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

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

data CreateInvalidation Source #

The request to create an invalidation.

See: createInvalidation smart constructor.

Instances

Eq CreateInvalidation Source # 
Data CreateInvalidation Source # 

Methods

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

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

toConstr :: CreateInvalidation -> Constr #

dataTypeOf :: CreateInvalidation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInvalidation Source # 
Show CreateInvalidation Source # 
Generic CreateInvalidation Source # 
Hashable CreateInvalidation Source # 
NFData CreateInvalidation Source # 

Methods

rnf :: CreateInvalidation -> () #

AWSRequest CreateInvalidation Source # 
ToPath CreateInvalidation Source # 
ToHeaders CreateInvalidation Source # 
ToElement CreateInvalidation Source # 
ToQuery CreateInvalidation Source # 
type Rep CreateInvalidation Source # 
type Rep CreateInvalidation = D1 (MetaData "CreateInvalidation" "Network.AWS.CloudFront.CreateInvalidation" "amazonka-cloudfront-1.4.5-2bCHll9FyHbCB7irh6qf68" False) (C1 (MetaCons "CreateInvalidation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ciDistributionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ciInvalidationBatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvalidationBatch))))
type Rs CreateInvalidation Source # 

Request Lenses

ciInvalidationBatch :: Lens' CreateInvalidation InvalidationBatch Source #

The batch information for the invalidation.

Destructuring the Response

createInvalidationResponse Source #

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

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

data CreateInvalidationResponse Source #

The returned result of the corresponding request.

See: createInvalidationResponse smart constructor.

Instances

Eq CreateInvalidationResponse Source # 
Data CreateInvalidationResponse Source # 

Methods

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

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

toConstr :: CreateInvalidationResponse -> Constr #

dataTypeOf :: CreateInvalidationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInvalidationResponse Source # 
Show CreateInvalidationResponse Source # 
Generic CreateInvalidationResponse Source # 
NFData CreateInvalidationResponse Source # 
type Rep CreateInvalidationResponse Source # 
type Rep CreateInvalidationResponse = D1 (MetaData "CreateInvalidationResponse" "Network.AWS.CloudFront.CreateInvalidation" "amazonka-cloudfront-1.4.5-2bCHll9FyHbCB7irh6qf68" False) (C1 (MetaCons "CreateInvalidationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cirsInvalidation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Invalidation))) ((:*:) (S1 (MetaSel (Just Symbol "_cirsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

cirsLocation :: Lens' CreateInvalidationResponse (Maybe Text) Source #

The fully qualified URI of the distribution and invalidation batch request, including the Invalidation ID .