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

Description

List CloudFront distributions.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDistributions Source #

The request to list your distributions.

See: newListDistributions smart constructor.

Constructors

ListDistributions' 

Fields

  • marker :: Maybe Text

    Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

  • maxItems :: Maybe Text

    The maximum number of distributions you want in the response body.

Instances

Instances details
Eq ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Read ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Show ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Generic ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Associated Types

type Rep ListDistributions :: Type -> Type #

NFData ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Methods

rnf :: ListDistributions -> () #

Hashable ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

AWSPager ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

AWSRequest ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Associated Types

type AWSResponse ListDistributions #

ToHeaders ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

ToPath ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

ToQuery ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

type Rep ListDistributions Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

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

Defined in Amazonka.CloudFront.ListDistributions

newListDistributions :: ListDistributions Source #

Create a value of ListDistributions 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:marker:ListDistributions', listDistributions_marker - Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

$sel:maxItems:ListDistributions', listDistributions_maxItems - The maximum number of distributions you want in the response body.

Request Lenses

listDistributions_marker :: Lens' ListDistributions (Maybe Text) Source #

Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

listDistributions_maxItems :: Lens' ListDistributions (Maybe Text) Source #

The maximum number of distributions you want in the response body.

Destructuring the Response

data ListDistributionsResponse Source #

The returned result of the corresponding request.

See: newListDistributionsResponse smart constructor.

Constructors

ListDistributionsResponse' 

Fields

Instances

Instances details
Eq ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Read ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Show ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Generic ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

Associated Types

type Rep ListDistributionsResponse :: Type -> Type #

NFData ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

type Rep ListDistributionsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributions

type Rep ListDistributionsResponse = D1 ('MetaData "ListDistributionsResponse" "Amazonka.CloudFront.ListDistributions" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListDistributionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "distributionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DistributionList)))

newListDistributionsResponse Source #

Create a value of ListDistributionsResponse 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:httpStatus:ListDistributionsResponse', listDistributionsResponse_httpStatus - The response's http status code.

$sel:distributionList:ListDistributionsResponse', listDistributionsResponse_distributionList - The DistributionList type.

Response Lenses