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

Defined in Network.AWS.CloudFront.GetDistributionConfig

Data GetDistributionConfig # 
Instance details

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

Defined in Network.AWS.CloudFront.GetDistributionConfig

Show GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Generic GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Associated Types

type Rep GetDistributionConfig :: * -> * #

Hashable GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

AWSRequest GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Associated Types

type Rs GetDistributionConfig :: * #

ToHeaders GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

ToPath GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

ToQuery GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

NFData GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Methods

rnf :: GetDistributionConfig -> () #

type Rep GetDistributionConfig # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

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

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

Defined in Network.AWS.CloudFront.GetDistributionConfig

Data GetDistributionConfigResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

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

Defined in Network.AWS.CloudFront.GetDistributionConfig

Show GetDistributionConfigResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Generic GetDistributionConfigResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

Associated Types

type Rep GetDistributionConfigResponse :: * -> * #

NFData GetDistributionConfigResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

type Rep GetDistributionConfigResponse # 
Instance details

Defined in Network.AWS.CloudFront.GetDistributionConfig

type Rep GetDistributionConfigResponse = D1 (MetaData "GetDistributionConfigResponse" "Network.AWS.CloudFront.GetDistributionConfig" "amazonka-cloudfront-1.6.0-UYFoUyWv9X385WP5RsDEn" False) (C1 (MetaCons "GetDistributionConfigResponse'" PrefixI True) (S1 (MetaSel (Just "_gdcrsETag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gdcrsDistributionConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DistributionConfig)) :*: S1 (MetaSel (Just "_gdcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (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.