amazonka-cloudfront-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Data CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

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 # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Show CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Generic CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Associated Types

type Rep CreateInvalidation :: Type -> Type #

Hashable CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

AWSRequest CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Associated Types

type Rs CreateInvalidation :: Type #

ToElement CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

ToHeaders CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

ToPath CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

ToQuery CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

NFData CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Methods

rnf :: CreateInvalidation -> () #

type Rep CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

type Rep CreateInvalidation = D1 (MetaData "CreateInvalidation" "Network.AWS.CloudFront.CreateInvalidation" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "CreateInvalidation'" PrefixI True) (S1 (MetaSel (Just "_ciDistributionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ciInvalidationBatch") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvalidationBatch)))
type Rs CreateInvalidation Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

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 # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Data CreateInvalidationResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

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 # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Show CreateInvalidationResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Generic CreateInvalidationResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

Associated Types

type Rep CreateInvalidationResponse :: Type -> Type #

NFData CreateInvalidationResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

type Rep CreateInvalidationResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.CreateInvalidation

type Rep CreateInvalidationResponse = D1 (MetaData "CreateInvalidationResponse" "Network.AWS.CloudFront.CreateInvalidation" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" False) (C1 (MetaCons "CreateInvalidationResponse'" PrefixI True) (S1 (MetaSel (Just "_cirsInvalidation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Invalidation)) :*: (S1 (MetaSel (Just "_cirsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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 .