amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.ListOriginAccessControls

Description

Gets the list of CloudFront origin access controls in this Amazon Web Services account.

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 another request that specifies the NextMarker value from the current response as the Marker value in the next request.

Synopsis

Creating a Request

data ListOriginAccessControls Source #

See: newListOriginAccessControls smart constructor.

Constructors

ListOriginAccessControls' 

Fields

  • marker :: Maybe Text

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

Instances

Instances details
ToHeaders ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

ToPath ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

ToQuery ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

AWSRequest ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Generic ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Associated Types

type Rep ListOriginAccessControls :: Type -> Type #

Read ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Show ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

NFData ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Eq ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Hashable ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

type AWSResponse ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

type Rep ListOriginAccessControls Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

type Rep ListOriginAccessControls = D1 ('MetaData "ListOriginAccessControls" "Amazonka.CloudFront.ListOriginAccessControls" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListOriginAccessControls'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListOriginAccessControls :: ListOriginAccessControls Source #

Create a value of ListOriginAccessControls 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:

ListOriginAccessControls, listOriginAccessControls_marker - Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items 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.

ListOriginAccessControls, listOriginAccessControls_maxItems - The maximum number of origin access controls that you want in the response.

Request Lenses

listOriginAccessControls_marker :: Lens' ListOriginAccessControls (Maybe Text) Source #

Use this field when paginating results to indicate where to begin in your list of origin access controls. The response includes the items 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.

listOriginAccessControls_maxItems :: Lens' ListOriginAccessControls (Maybe Text) Source #

The maximum number of origin access controls that you want in the response.

Destructuring the Response

data ListOriginAccessControlsResponse Source #

See: newListOriginAccessControlsResponse smart constructor.

Constructors

ListOriginAccessControlsResponse' 

Fields

Instances

Instances details
Generic ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Associated Types

type Rep ListOriginAccessControlsResponse :: Type -> Type #

Read ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Show ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

NFData ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

Eq ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

type Rep ListOriginAccessControlsResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginAccessControls

type Rep ListOriginAccessControlsResponse = D1 ('MetaData "ListOriginAccessControlsResponse" "Amazonka.CloudFront.ListOriginAccessControls" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListOriginAccessControlsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "originAccessControlList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginAccessControlList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListOriginAccessControlsResponse Source #

Create a value of ListOriginAccessControlsResponse 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:originAccessControlList:ListOriginAccessControlsResponse', listOriginAccessControlsResponse_originAccessControlList - A list of origin access controls.

$sel:httpStatus:ListOriginAccessControlsResponse', listOriginAccessControlsResponse_httpStatus - The response's http status code.

Response Lenses