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

Description

Gets a list of distribution IDs for distributions that have a cache behavior that’s associated with the specified cache policy.

You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request.

Synopsis

Creating a Request

data ListDistributionsByCachePolicyId Source #

See: newListDistributionsByCachePolicyId smart constructor.

Constructors

ListDistributionsByCachePolicyId' 

Fields

  • marker :: Maybe Text

    Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

  • maxItems :: Maybe Text

    The maximum number of distribution IDs that you want in the response.

  • cachePolicyId :: Text

    The ID of the cache policy whose associated distribution IDs you want to list.

Instances

Instances details
Eq ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Read ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Show ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Generic ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Associated Types

type Rep ListDistributionsByCachePolicyId :: Type -> Type #

NFData ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Hashable ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

AWSRequest ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

ToHeaders ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

ToPath ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

ToQuery ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

type Rep ListDistributionsByCachePolicyId Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

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

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

newListDistributionsByCachePolicyId Source #

Create a value of ListDistributionsByCachePolicyId 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:ListDistributionsByCachePolicyId', listDistributionsByCachePolicyId_marker - Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

$sel:maxItems:ListDistributionsByCachePolicyId', listDistributionsByCachePolicyId_maxItems - The maximum number of distribution IDs that you want in the response.

$sel:cachePolicyId:ListDistributionsByCachePolicyId', listDistributionsByCachePolicyId_cachePolicyId - The ID of the cache policy whose associated distribution IDs you want to list.

Request Lenses

listDistributionsByCachePolicyId_marker :: Lens' ListDistributionsByCachePolicyId (Maybe Text) Source #

Use this field when paginating results to indicate where to begin in your list of distribution IDs. The response includes distribution IDs in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

listDistributionsByCachePolicyId_maxItems :: Lens' ListDistributionsByCachePolicyId (Maybe Text) Source #

The maximum number of distribution IDs that you want in the response.

listDistributionsByCachePolicyId_cachePolicyId :: Lens' ListDistributionsByCachePolicyId Text Source #

The ID of the cache policy whose associated distribution IDs you want to list.

Destructuring the Response

data ListDistributionsByCachePolicyIdResponse Source #

Constructors

ListDistributionsByCachePolicyIdResponse' 

Fields

Instances

Instances details
Eq ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Read ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Show ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

Generic ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

NFData ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

type Rep ListDistributionsByCachePolicyIdResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByCachePolicyId

type Rep ListDistributionsByCachePolicyIdResponse = D1 ('MetaData "ListDistributionsByCachePolicyIdResponse" "Amazonka.CloudFront.ListDistributionsByCachePolicyId" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListDistributionsByCachePolicyIdResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "distributionIdList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DistributionIdList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses