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

Description

Gets an origin request policy configuration.

To get an origin request policy configuration, you must provide the policy’s identifier. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

Synopsis

Creating a Request

data GetOriginRequestPolicyConfig Source #

See: newGetOriginRequestPolicyConfig smart constructor.

Constructors

GetOriginRequestPolicyConfig' 

Fields

  • id :: Text

    The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

Instances

Instances details
Eq GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Read GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Show GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Generic GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Associated Types

type Rep GetOriginRequestPolicyConfig :: Type -> Type #

NFData GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Hashable GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

AWSRequest GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

ToHeaders GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

ToPath GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

ToQuery GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

type Rep GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

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

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

newGetOriginRequestPolicyConfig Source #

Create a value of GetOriginRequestPolicyConfig 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:id:GetOriginRequestPolicyConfig', getOriginRequestPolicyConfig_id - The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

Request Lenses

getOriginRequestPolicyConfig_id :: Lens' GetOriginRequestPolicyConfig Text Source #

The unique identifier for the origin request policy. If the origin request policy is attached to a distribution’s cache behavior, you can get the policy’s identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

Destructuring the Response

data GetOriginRequestPolicyConfigResponse Source #

Constructors

GetOriginRequestPolicyConfigResponse' 

Fields

Instances

Instances details
Eq GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Read GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Show GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Generic GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

NFData GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

type Rep GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

type Rep GetOriginRequestPolicyConfigResponse = D1 ('MetaData "GetOriginRequestPolicyConfigResponse" "Amazonka.CloudFront.GetOriginRequestPolicyConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "GetOriginRequestPolicyConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originRequestPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginRequestPolicyConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetOriginRequestPolicyConfigResponse Source #

Create a value of GetOriginRequestPolicyConfigResponse 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:eTag:GetOriginRequestPolicyConfigResponse', getOriginRequestPolicyConfigResponse_eTag - The current version of the origin request policy.

$sel:originRequestPolicyConfig:GetOriginRequestPolicyConfigResponse', getOriginRequestPolicyConfigResponse_originRequestPolicyConfig - The origin request policy configuration.

$sel:httpStatus:GetOriginRequestPolicyConfigResponse', getOriginRequestPolicyConfigResponse_httpStatus - The response's http status code.

Response Lenses