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

Contents

Description

Get the configuration information about a distribution.

Synopsis

Creating a Request

getDistributionConfig #

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

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

  • gdcId - The distribution's ID.

data GetDistributionConfig #

The request to get a distribution configuration.

See: getDistributionConfig smart constructor.

Instances

Eq GetDistributionConfig # 
Data GetDistributionConfig # 

Methods

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

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

toConstr :: GetDistributionConfig -> Constr #

dataTypeOf :: GetDistributionConfig -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDistributionConfig # 
Show GetDistributionConfig # 
Generic GetDistributionConfig # 
Hashable GetDistributionConfig # 
NFData GetDistributionConfig # 

Methods

rnf :: GetDistributionConfig -> () #

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

Request Lenses

gdcId :: Lens' GetDistributionConfig Text #

The distribution's ID.

Destructuring the Response

getDistributionConfigResponse #

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

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

data GetDistributionConfigResponse #

The returned result of the corresponding request.

See: getDistributionConfigResponse smart constructor.

Instances

Eq GetDistributionConfigResponse # 
Data GetDistributionConfigResponse # 

Methods

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

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

toConstr :: GetDistributionConfigResponse -> Constr #

dataTypeOf :: GetDistributionConfigResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDistributionConfigResponse # 
Show GetDistributionConfigResponse # 
Generic GetDistributionConfigResponse # 
NFData GetDistributionConfigResponse # 
type Rep GetDistributionConfigResponse # 
type Rep GetDistributionConfigResponse = D1 (MetaData "GetDistributionConfigResponse" "Network.AWS.CloudFront.GetDistributionConfig" "amazonka-cloudfront-1.4.5-ASj3DZfX0V52Qz3IKSFVrZ" False) (C1 (MetaCons "GetDistributionConfigResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gdcrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gdcrsDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DistributionConfig))) (S1 (MetaSel (Just Symbol "_gdcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

gdcrsETag :: Lens' GetDistributionConfigResponse (Maybe Text) #

The current version of the configuration. For example: E2QWRUHAPOMQZL .

gdcrsDistributionConfig :: Lens' GetDistributionConfigResponse (Maybe DistributionConfig) #

The distribution's configuration information.