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

Description

Gets a cache policy configuration.

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

Synopsis

Creating a Request

data GetCachePolicyConfig Source #

See: newGetCachePolicyConfig smart constructor.

Constructors

GetCachePolicyConfig' 

Fields

  • id :: Text

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

Instances

Instances details
Eq GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Read GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Show GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Generic GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Associated Types

type Rep GetCachePolicyConfig :: Type -> Type #

NFData GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Methods

rnf :: GetCachePolicyConfig -> () #

Hashable GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

AWSRequest GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Associated Types

type AWSResponse GetCachePolicyConfig #

ToHeaders GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

ToPath GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

ToQuery GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

type Rep GetCachePolicyConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

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

Defined in Amazonka.CloudFront.GetCachePolicyConfig

newGetCachePolicyConfig Source #

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

Request Lenses

getCachePolicyConfig_id :: Lens' GetCachePolicyConfig Text Source #

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

Destructuring the Response

data GetCachePolicyConfigResponse Source #

See: newGetCachePolicyConfigResponse smart constructor.

Constructors

GetCachePolicyConfigResponse' 

Fields

Instances

Instances details
Eq GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Read GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Show GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Generic GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

Associated Types

type Rep GetCachePolicyConfigResponse :: Type -> Type #

NFData GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

type Rep GetCachePolicyConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetCachePolicyConfig

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

newGetCachePolicyConfigResponse Source #

Create a value of GetCachePolicyConfigResponse 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:GetCachePolicyConfigResponse', getCachePolicyConfigResponse_eTag - The current version of the cache policy.

$sel:cachePolicyConfig:GetCachePolicyConfigResponse', getCachePolicyConfigResponse_cachePolicyConfig - The cache policy configuration.

$sel:httpStatus:GetCachePolicyConfigResponse', getCachePolicyConfigResponse_httpStatus - The response's http status code.

Response Lenses