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

Defined in Network.AWS.CloudFront.GetDistribution

Data GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.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 # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Show GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Generic GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rep GetDistribution :: * -> * #

Hashable GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

AWSRequest GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rs GetDistribution :: * #

ToHeaders GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

ToPath GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

ToQuery GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

NFData GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Methods

rnf :: GetDistribution -> () #

type Rep GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

type Rep GetDistribution = D1 (MetaData "GetDistribution" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" True) (C1 (MetaCons "GetDistribution'" PrefixI True) (S1 (MetaSel (Just "_gdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetDistribution # 
Instance details

Defined in Network.AWS.CloudFront.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 # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Data GetDistributionResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

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

Defined in Network.AWS.CloudFront.GetDistribution

Show GetDistributionResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Generic GetDistributionResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rep GetDistributionResponse :: * -> * #

NFData GetDistributionResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Methods

rnf :: GetDistributionResponse -> () #

type Rep GetDistributionResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

type Rep GetDistributionResponse = D1 (MetaData "GetDistributionResponse" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" False) (C1 (MetaCons "GetDistributionResponse'" PrefixI True) (S1 (MetaSel (Just "_gdrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gdrsDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Distribution)) :*: S1 (MetaSel (Just "_gdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.