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

Description

Get the information about a distribution.

Synopsis

Creating a Request

data GetDistribution Source #

The request to get a distribution's information.

See: newGetDistribution smart constructor.

Constructors

GetDistribution' 

Fields

  • id :: Text

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

Instances

Instances details
Eq GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Read GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Show GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Generic GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Associated Types

type Rep GetDistribution :: Type -> Type #

NFData GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Methods

rnf :: GetDistribution -> () #

Hashable GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

AWSRequest GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Associated Types

type AWSResponse GetDistribution #

ToHeaders GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

ToPath GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

ToQuery GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

type Rep GetDistribution Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

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

Defined in Amazonka.CloudFront.GetDistribution

newGetDistribution Source #

Create a value of GetDistribution 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:GetDistribution', getDistribution_id - The distribution's ID. If the ID is empty, an empty distribution configuration is returned.

Request Lenses

getDistribution_id :: Lens' GetDistribution Text Source #

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

Destructuring the Response

data GetDistributionResponse Source #

The returned result of the corresponding request.

See: newGetDistributionResponse smart constructor.

Constructors

GetDistributionResponse' 

Fields

Instances

Instances details
Eq GetDistributionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Show GetDistributionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Generic GetDistributionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Associated Types

type Rep GetDistributionResponse :: Type -> Type #

NFData GetDistributionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

Methods

rnf :: GetDistributionResponse -> () #

type Rep GetDistributionResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetDistribution

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

newGetDistributionResponse Source #

Create a value of GetDistributionResponse 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:GetDistributionResponse', getDistributionResponse_eTag - The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

$sel:distribution:GetDistributionResponse', getDistributionResponse_distribution - The distribution's information.

$sel:httpStatus:GetDistributionResponse', getDistributionResponse_httpStatus - The response's http status code.

Response Lenses

getDistributionResponse_eTag :: Lens' GetDistributionResponse (Maybe Text) Source #

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