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.GetInvalidation

Contents

Description

Get the information about an invalidation.

Synopsis

Creating a Request

getInvalidation #

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

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

  • giDistributionId - The distribution's ID.
  • giId - The identifier for the invalidation request, for example, IDFDVBD632BHDS5 .

data GetInvalidation #

The request to get an invalidation's information.

See: getInvalidation smart constructor.

Instances

Eq GetInvalidation # 
Data GetInvalidation # 

Methods

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

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

toConstr :: GetInvalidation -> Constr #

dataTypeOf :: GetInvalidation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInvalidation # 
Show GetInvalidation # 
Generic GetInvalidation # 
Hashable GetInvalidation # 
NFData GetInvalidation # 

Methods

rnf :: GetInvalidation -> () #

AWSRequest GetInvalidation # 
ToQuery GetInvalidation # 
ToPath GetInvalidation # 
ToHeaders GetInvalidation # 
type Rep GetInvalidation # 
type Rep GetInvalidation = D1 (MetaData "GetInvalidation" "Network.AWS.CloudFront.GetInvalidation" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "GetInvalidation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_giDistributionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_giId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetInvalidation # 

Request Lenses

giDistributionId :: Lens' GetInvalidation Text #

The distribution's ID.

giId :: Lens' GetInvalidation Text #

The identifier for the invalidation request, for example, IDFDVBD632BHDS5 .

Destructuring the Response

getInvalidationResponse #

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

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

data GetInvalidationResponse #

The returned result of the corresponding request.

See: getInvalidationResponse smart constructor.

Instances

Eq GetInvalidationResponse # 
Data GetInvalidationResponse # 

Methods

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

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

toConstr :: GetInvalidationResponse -> Constr #

dataTypeOf :: GetInvalidationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInvalidationResponse # 
Show GetInvalidationResponse # 
Generic GetInvalidationResponse # 
NFData GetInvalidationResponse # 

Methods

rnf :: GetInvalidationResponse -> () #

type Rep GetInvalidationResponse # 
type Rep GetInvalidationResponse = D1 (MetaData "GetInvalidationResponse" "Network.AWS.CloudFront.GetInvalidation" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "GetInvalidationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_girsInvalidation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Invalidation))) (S1 (MetaSel (Just Symbol "_girsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

girsInvalidation :: Lens' GetInvalidationResponse (Maybe Invalidation) #

The invalidation's information. For more information, see Invalidation Complex Type .

girsResponseStatus :: Lens' GetInvalidationResponse Int #

  • - | The response status code.