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

Description

Gets a response headers policy configuration.

To get a response headers policy configuration, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Synopsis

Creating a Request

data GetResponseHeadersPolicyConfig Source #

See: newGetResponseHeadersPolicyConfig smart constructor.

Constructors

GetResponseHeadersPolicyConfig' 

Fields

  • id :: Text

    The identifier for the response headers policy.

    If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Instances

Instances details
ToHeaders GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

ToPath GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

ToQuery GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

AWSRequest GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Generic GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Associated Types

type Rep GetResponseHeadersPolicyConfig :: Type -> Type #

Read GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Show GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

NFData GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Eq GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Hashable GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

type AWSResponse GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

type Rep GetResponseHeadersPolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

type Rep GetResponseHeadersPolicyConfig = D1 ('MetaData "GetResponseHeadersPolicyConfig" "Amazonka.CloudFront.GetResponseHeadersPolicyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GetResponseHeadersPolicyConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetResponseHeadersPolicyConfig Source #

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

GetResponseHeadersPolicyConfig, getResponseHeadersPolicyConfig_id - The identifier for the response headers policy.

If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Request Lenses

getResponseHeadersPolicyConfig_id :: Lens' GetResponseHeadersPolicyConfig Text Source #

The identifier for the response headers policy.

If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Destructuring the Response

data GetResponseHeadersPolicyConfigResponse Source #

Constructors

GetResponseHeadersPolicyConfigResponse' 

Fields

Instances

Instances details
Generic GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Read GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Show GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

NFData GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

Eq GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

type Rep GetResponseHeadersPolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetResponseHeadersPolicyConfig

type Rep GetResponseHeadersPolicyConfigResponse = D1 ('MetaData "GetResponseHeadersPolicyConfigResponse" "Amazonka.CloudFront.GetResponseHeadersPolicyConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GetResponseHeadersPolicyConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "responseHeadersPolicyConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResponseHeadersPolicyConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetResponseHeadersPolicyConfigResponse Source #

Create a value of GetResponseHeadersPolicyConfigResponse 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:GetResponseHeadersPolicyConfigResponse', getResponseHeadersPolicyConfigResponse_eTag - The version identifier for the current version of the response headers policy.

GetResponseHeadersPolicyConfigResponse, getResponseHeadersPolicyConfigResponse_responseHeadersPolicyConfig - Contains a response headers policy.

$sel:httpStatus:GetResponseHeadersPolicyConfigResponse', getResponseHeadersPolicyConfigResponse_httpStatus - The response's http status code.

Response Lenses

getResponseHeadersPolicyConfigResponse_eTag :: Lens' GetResponseHeadersPolicyConfigResponse (Maybe Text) Source #

The version identifier for the current version of the response headers policy.