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

AWSRequest 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 #

Read GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Show GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

NFData GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Eq GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Hashable GetOriginRequestPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

type AWSResponse 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" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GetOriginRequestPolicyConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic 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

NFData GetOriginRequestPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginRequestPolicyConfig

Eq 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" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" '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.

GetOriginRequestPolicyConfigResponse, getOriginRequestPolicyConfigResponse_originRequestPolicyConfig - The origin request policy configuration.

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

Response Lenses