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

Description

Gets a list of distribution IDs for distributions that have a cache behavior that references the specified key group.

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 ListDistributionsByKeyGroup Source #

See: newListDistributionsByKeyGroup smart constructor.

Constructors

ListDistributionsByKeyGroup' 

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.

  • keyGroupId :: Text

    The ID of the key group whose associated distribution IDs you are listing.

Instances

Instances details
Eq ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Read ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Show ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Generic ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Associated Types

type Rep ListDistributionsByKeyGroup :: Type -> Type #

NFData ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Hashable ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

AWSRequest ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

ToHeaders ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

ToPath ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

ToQuery ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

type Rep ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

type Rep ListDistributionsByKeyGroup = D1 ('MetaData "ListDistributionsByKeyGroup" "Amazonka.CloudFront.ListDistributionsByKeyGroup" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListDistributionsByKeyGroup'" '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 "keyGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDistributionsByKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

newListDistributionsByKeyGroup Source #

Create a value of ListDistributionsByKeyGroup 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:ListDistributionsByKeyGroup', listDistributionsByKeyGroup_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:ListDistributionsByKeyGroup', listDistributionsByKeyGroup_maxItems - The maximum number of distribution IDs that you want in the response.

$sel:keyGroupId:ListDistributionsByKeyGroup', listDistributionsByKeyGroup_keyGroupId - The ID of the key group whose associated distribution IDs you are listing.

Request Lenses

listDistributionsByKeyGroup_marker :: Lens' ListDistributionsByKeyGroup (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.

listDistributionsByKeyGroup_maxItems :: Lens' ListDistributionsByKeyGroup (Maybe Text) Source #

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

listDistributionsByKeyGroup_keyGroupId :: Lens' ListDistributionsByKeyGroup Text Source #

The ID of the key group whose associated distribution IDs you are listing.

Destructuring the Response

data ListDistributionsByKeyGroupResponse Source #

Constructors

ListDistributionsByKeyGroupResponse' 

Fields

Instances

Instances details
Eq ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Read ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Show ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

Generic ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

NFData ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

type Rep ListDistributionsByKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListDistributionsByKeyGroup

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

newListDistributionsByKeyGroupResponse Source #

Create a value of ListDistributionsByKeyGroupResponse 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:distributionIdList:ListDistributionsByKeyGroupResponse', listDistributionsByKeyGroupResponse_distributionIdList - Undocumented member.

$sel:httpStatus:ListDistributionsByKeyGroupResponse', listDistributionsByKeyGroupResponse_httpStatus - The response's http status code.

Response Lenses