amazonka-cloudfront-1.4.0: 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.ListDistributions

Contents

Description

List distributions.

This operation returns paginated results.

Synopsis

Creating a Request

listDistributions :: ListDistributions Source

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

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

Request Lenses

ldMarker :: Lens' ListDistributions (Maybe Text) Source

Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.)

ldMaxItems :: Lens' ListDistributions (Maybe Text) Source

The maximum number of distributions that you want CloudFront to return in the response body. The maximum and default values are both 100.

Destructuring the Response

listDistributionsResponse Source

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

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

Response Lenses