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

Description

Gets a list of origin request policies.

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

See: newListOriginRequestPolicies smart constructor.

Constructors

ListOriginRequestPolicies' 

Fields

  • marker :: Maybe Text

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

  • type' :: Maybe OriginRequestPolicyType

    A filter to return only the specified kinds of origin request policies. Valid values are:

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

Instances

Instances details
Eq ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Read ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Show ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Generic ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Associated Types

type Rep ListOriginRequestPolicies :: Type -> Type #

NFData ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Hashable ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

AWSRequest ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

ToHeaders ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

ToPath ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

ToQuery ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

type Rep ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

type Rep ListOriginRequestPolicies = D1 ('MetaData "ListOriginRequestPolicies" "Amazonka.CloudFront.ListOriginRequestPolicies" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "ListOriginRequestPolicies'" '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 OriginRequestPolicyType)))))
type AWSResponse ListOriginRequestPolicies Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

newListOriginRequestPolicies :: ListOriginRequestPolicies Source #

Create a value of ListOriginRequestPolicies 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:ListOriginRequestPolicies', listOriginRequestPolicies_marker - Use this field when paginating results to indicate where to begin in your list of origin request policies. The response includes origin request 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.

$sel:maxItems:ListOriginRequestPolicies', listOriginRequestPolicies_maxItems - The maximum number of origin request policies that you want in the response.

$sel:type':ListOriginRequestPolicies', listOriginRequestPolicies_type - A filter to return only the specified kinds of origin request policies. Valid values are:

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

Request Lenses

listOriginRequestPolicies_marker :: Lens' ListOriginRequestPolicies (Maybe Text) Source #

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

listOriginRequestPolicies_maxItems :: Lens' ListOriginRequestPolicies (Maybe Text) Source #

The maximum number of origin request policies that you want in the response.

listOriginRequestPolicies_type :: Lens' ListOriginRequestPolicies (Maybe OriginRequestPolicyType) Source #

A filter to return only the specified kinds of origin request policies. Valid values are:

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

Destructuring the Response

data ListOriginRequestPoliciesResponse Source #

See: newListOriginRequestPoliciesResponse smart constructor.

Constructors

ListOriginRequestPoliciesResponse' 

Fields

Instances

Instances details
Eq ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Read ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Show ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Generic ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

Associated Types

type Rep ListOriginRequestPoliciesResponse :: Type -> Type #

NFData ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

type Rep ListOriginRequestPoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudFront.ListOriginRequestPolicies

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

newListOriginRequestPoliciesResponse Source #

Create a value of ListOriginRequestPoliciesResponse 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:originRequestPolicyList:ListOriginRequestPoliciesResponse', listOriginRequestPoliciesResponse_originRequestPolicyList - A list of origin request policies.

$sel:httpStatus:ListOriginRequestPoliciesResponse', listOriginRequestPoliciesResponse_httpStatus - The response's http status code.

Response Lenses