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

Contents

Description

Get the information about a distribution.

Synopsis

Creating a Request

getDistribution #

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:

  • gdId - The distribution's ID.

data GetDistribution #

The request to get a distribution's information.

See: getDistribution smart constructor.

Instances

Eq GetDistribution # 
Data GetDistribution # 

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 # 
Show GetDistribution # 
Generic GetDistribution # 
Hashable GetDistribution # 
NFData GetDistribution # 

Methods

rnf :: GetDistribution -> () #

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

Request Lenses

gdId :: Lens' GetDistribution Text #

The distribution's ID.

Destructuring the Response

getDistributionResponse #

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 #

The returned result of the corresponding request.

See: getDistributionResponse smart constructor.

Instances

Eq GetDistributionResponse # 
Data GetDistributionResponse # 

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 # 
Show GetDistributionResponse # 
Generic GetDistributionResponse # 
NFData GetDistributionResponse # 

Methods

rnf :: GetDistributionResponse -> () #

type Rep GetDistributionResponse # 
type Rep GetDistributionResponse = D1 (MetaData "GetDistributionResponse" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

gdrsETag :: Lens' GetDistributionResponse (Maybe Text) #

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

gdrsResponseStatus :: Lens' GetDistributionResponse Int #

  • - | The response status code.