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

Description

Gets a list of key groups.

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

See: newListKeyGroups smart constructor.

Constructors

ListKeyGroups' 

Fields

  • marker :: Maybe Text

    Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups 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 key groups that you want in the response.

Instances

Instances details
Eq ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Read ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Show ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Generic ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Associated Types

type Rep ListKeyGroups :: Type -> Type #

NFData ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Methods

rnf :: ListKeyGroups -> () #

Hashable ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

AWSRequest ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Associated Types

type AWSResponse ListKeyGroups #

ToHeaders ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

ToPath ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

ToQuery ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

type Rep ListKeyGroups Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

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

Defined in Amazonka.CloudFront.ListKeyGroups

newListKeyGroups :: ListKeyGroups Source #

Create a value of ListKeyGroups 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:ListKeyGroups', listKeyGroups_marker - Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups 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:ListKeyGroups', listKeyGroups_maxItems - The maximum number of key groups that you want in the response.

Request Lenses

listKeyGroups_marker :: Lens' ListKeyGroups (Maybe Text) Source #

Use this field when paginating results to indicate where to begin in your list of key groups. The response includes key groups 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.

listKeyGroups_maxItems :: Lens' ListKeyGroups (Maybe Text) Source #

The maximum number of key groups that you want in the response.

Destructuring the Response

data ListKeyGroupsResponse Source #

See: newListKeyGroupsResponse smart constructor.

Constructors

ListKeyGroupsResponse' 

Fields

Instances

Instances details
Eq ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Read ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Show ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Generic ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Associated Types

type Rep ListKeyGroupsResponse :: Type -> Type #

NFData ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

Methods

rnf :: ListKeyGroupsResponse -> () #

type Rep ListKeyGroupsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListKeyGroups

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

newListKeyGroupsResponse Source #

Create a value of ListKeyGroupsResponse 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:keyGroupList:ListKeyGroupsResponse', listKeyGroupsResponse_keyGroupList - A list of key groups.

$sel:httpStatus:ListKeyGroupsResponse', listKeyGroupsResponse_httpStatus - The response's http status code.

Response Lenses