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

  • gdId - The distribution's ID.

data GetDistribution Source #

The request to get a distribution's information.

See: getDistribution smart constructor.

Instances
Eq GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Data GetDistribution Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Show GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Generic GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rep GetDistribution :: Type -> Type #

Hashable GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

AWSRequest GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rs GetDistribution :: Type #

ToHeaders GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

ToPath GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

ToQuery GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

NFData GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Methods

rnf :: GetDistribution -> () #

type Rep GetDistribution Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

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

Defined in Network.AWS.CloudFront.GetDistribution

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

Defined in Network.AWS.CloudFront.GetDistribution

Data GetDistributionResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Show GetDistributionResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Generic GetDistributionResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Associated Types

type Rep GetDistributionResponse :: Type -> Type #

NFData GetDistributionResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

Methods

rnf :: GetDistributionResponse -> () #

type Rep GetDistributionResponse Source # 
Instance details

Defined in Network.AWS.CloudFront.GetDistribution

type Rep GetDistributionResponse = D1 (MetaData "GetDistributionResponse" "Network.AWS.CloudFront.GetDistribution" "amazonka-cloudfront-1.6.1-4jyCxtauObV85CKHrmGQe5" 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) Source #

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