libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.GetDistributionConfig

Description

Get the configuration information about a distribution.

Synopsis

Creating a Request

data GetDistributionConfig Source #

The request to get a distribution configuration.

See: newGetDistributionConfig smart constructor.

Constructors

GetDistributionConfig' 

Fields

  • id :: Text

    The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

Instances

Instances details
Eq GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Read GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Show GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Generic GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Associated Types

type Rep GetDistributionConfig :: Type -> Type #

NFData GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Methods

rnf :: GetDistributionConfig -> () #

Hashable GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

AWSRequest GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Associated Types

type AWSResponse GetDistributionConfig #

ToHeaders GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

ToPath GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

ToQuery GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

type Rep GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

type Rep GetDistributionConfig = D1 ('MetaData "GetDistributionConfig" "Amazonka.CloudFront.GetDistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GetDistributionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDistributionConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

newGetDistributionConfig Source #

Create a value of GetDistributionConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:id:GetDistributionConfig', getDistributionConfig_id - The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

Request Lenses

getDistributionConfig_id :: Lens' GetDistributionConfig Text Source #

The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

Destructuring the Response

data GetDistributionConfigResponse Source #

The returned result of the corresponding request.

See: newGetDistributionConfigResponse smart constructor.

Constructors

GetDistributionConfigResponse' 

Fields

Instances

Instances details
Eq GetDistributionConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Show GetDistributionConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Generic GetDistributionConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

Associated Types

type Rep GetDistributionConfigResponse :: Type -> Type #

NFData GetDistributionConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

type Rep GetDistributionConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistributionConfig

type Rep GetDistributionConfigResponse = D1 ('MetaData "GetDistributionConfigResponse" "Amazonka.CloudFront.GetDistributionConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GetDistributionConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "distributionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DistributionConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDistributionConfigResponse Source #

Create a value of GetDistributionConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:eTag:GetDistributionConfigResponse', getDistributionConfigResponse_eTag - The current version of the configuration. For example: E2QWRUHAPOMQZL.

$sel:distributionConfig:GetDistributionConfigResponse', getDistributionConfigResponse_distributionConfig - The distribution's configuration information.

$sel:httpStatus:GetDistributionConfigResponse', getDistributionConfigResponse_httpStatus - The response's http status code.

Response Lenses

getDistributionConfigResponse_eTag :: Lens' GetDistributionConfigResponse (Maybe Text) Source #

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