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

Description

Gets a list of response headers policies.

You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your 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 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 ListResponseHeadersPolicies Source #

See: newListResponseHeadersPolicies smart constructor.

Constructors

ListResponseHeadersPolicies' 

Fields

  • marker :: Maybe Text

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

  • type' :: Maybe ResponseHeadersPolicyType

    A filter to get only the specified kind of response headers policies. Valid values are:

    • managed – Gets only the managed policies created by Amazon Web Services.
    • custom – Gets only the custom policies created in your Amazon Web Services account.

Instances

Instances details
ToHeaders ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

ToPath ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

ToQuery ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

AWSRequest ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Generic ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Associated Types

type Rep ListResponseHeadersPolicies :: Type -> Type #

Read ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Show ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

NFData ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Eq ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Hashable ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

type AWSResponse ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

type Rep ListResponseHeadersPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

type Rep ListResponseHeadersPolicies = D1 ('MetaData "ListResponseHeadersPolicies" "Amazonka.CloudFront.ListResponseHeadersPolicies" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "ListResponseHeadersPolicies'" '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 "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseHeadersPolicyType)))))

newListResponseHeadersPolicies :: ListResponseHeadersPolicies Source #

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

ListResponseHeadersPolicies, listResponseHeadersPolicies_marker - Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies 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.

ListResponseHeadersPolicies, listResponseHeadersPolicies_maxItems - The maximum number of response headers policies that you want to get in the response.

ListResponseHeadersPolicies, listResponseHeadersPolicies_type - A filter to get only the specified kind of response headers policies. Valid values are:

  • managed – Gets only the managed policies created by Amazon Web Services.
  • custom – Gets only the custom policies created in your Amazon Web Services account.

Request Lenses

listResponseHeadersPolicies_marker :: Lens' ListResponseHeadersPolicies (Maybe Text) Source #

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

listResponseHeadersPolicies_maxItems :: Lens' ListResponseHeadersPolicies (Maybe Text) Source #

The maximum number of response headers policies that you want to get in the response.

listResponseHeadersPolicies_type :: Lens' ListResponseHeadersPolicies (Maybe ResponseHeadersPolicyType) Source #

A filter to get only the specified kind of response headers policies. Valid values are:

  • managed – Gets only the managed policies created by Amazon Web Services.
  • custom – Gets only the custom policies created in your Amazon Web Services account.

Destructuring the Response

data ListResponseHeadersPoliciesResponse Source #

Constructors

ListResponseHeadersPoliciesResponse' 

Fields

Instances

Instances details
Generic ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Read ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Show ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

NFData ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

Eq ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

type Rep ListResponseHeadersPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListResponseHeadersPolicies

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

newListResponseHeadersPoliciesResponse Source #

Create a value of ListResponseHeadersPoliciesResponse 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:responseHeadersPolicyList:ListResponseHeadersPoliciesResponse', listResponseHeadersPoliciesResponse_responseHeadersPolicyList - A list of response headers policies.

$sel:httpStatus:ListResponseHeadersPoliciesResponse', listResponseHeadersPoliciesResponse_httpStatus - The response's http status code.

Response Lenses