amazonka-cloudfront-1.4.2: 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.GetDistribution

Contents

Description

Get the information about a distribution.

Synopsis

Creating a Request

getDistribution Source #

Arguments

:: Text

gdId

-> GetDistribution 

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

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

data GetDistribution Source #

The request to get a distribution's information.

See: getDistribution smart constructor.

Instances

Eq GetDistribution Source # 
Data GetDistribution Source # 

Methods

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

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

toConstr :: GetDistribution -> Constr #

dataTypeOf :: GetDistribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDistribution Source # 
Show GetDistribution Source # 
Generic GetDistribution Source # 
Hashable GetDistribution Source # 
NFData GetDistribution Source # 

Methods

rnf :: GetDistribution -> () #

AWSRequest GetDistribution Source # 
ToPath GetDistribution Source # 
ToHeaders GetDistribution Source # 
ToQuery GetDistribution Source # 
type Rep GetDistribution Source # 
type Rep GetDistribution = D1 (MetaData "GetDistribution" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.4.2-4ILVQm1js1WUraVmnhvvE" True) (C1 (MetaCons "GetDistribution'" PrefixI True) (S1 (MetaSel (Just Symbol "_gdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetDistribution Source # 

Request Lenses

gdId :: Lens' GetDistribution Text Source #

The distribution's id.

Destructuring the Response

getDistributionResponse Source #

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

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

data GetDistributionResponse Source #

The returned result of the corresponding request.

See: getDistributionResponse smart constructor.

Instances

Eq GetDistributionResponse Source # 
Data GetDistributionResponse Source # 

Methods

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

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

toConstr :: GetDistributionResponse -> Constr #

dataTypeOf :: GetDistributionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDistributionResponse Source # 
Show GetDistributionResponse Source # 
Generic GetDistributionResponse Source # 
NFData GetDistributionResponse Source # 

Methods

rnf :: GetDistributionResponse -> () #

type Rep GetDistributionResponse Source # 
type Rep GetDistributionResponse = D1 (MetaData "GetDistributionResponse" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.4.2-4ILVQm1js1WUraVmnhvvE" False) (C1 (MetaCons "GetDistributionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gdrsDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Distribution))) (S1 (MetaSel (Just Symbol "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gdrsETag :: Lens' GetDistributionResponse (Maybe Text) Source #

The current version of the distribution's information. For example: E2QWRUHAPOMQZL.