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

Description

Gets a key group configuration.

To get a key group configuration, you must provide the key group’s identifier. If the key group is referenced in a distribution’s cache behavior, you can get the key group’s identifier using ListDistributions or GetDistribution. If the key group is not referenced in a cache behavior, you can get the identifier using ListKeyGroups.

Synopsis

Creating a Request

data GetKeyGroupConfig Source #

See: newGetKeyGroupConfig smart constructor.

Constructors

GetKeyGroupConfig' 

Fields

  • id :: Text

    The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.

Instances

Instances details
Eq GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Read GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Show GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Generic GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Associated Types

type Rep GetKeyGroupConfig :: Type -> Type #

NFData GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Methods

rnf :: GetKeyGroupConfig -> () #

Hashable GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

AWSRequest GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Associated Types

type AWSResponse GetKeyGroupConfig #

ToHeaders GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

ToPath GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

ToQuery GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

type Rep GetKeyGroupConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

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

Defined in Amazonka.CloudFront.GetKeyGroupConfig

newGetKeyGroupConfig Source #

Create a value of GetKeyGroupConfig 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:GetKeyGroupConfig', getKeyGroupConfig_id - The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.

Request Lenses

getKeyGroupConfig_id :: Lens' GetKeyGroupConfig Text Source #

The identifier of the key group whose configuration you are getting. To get the identifier, use ListKeyGroups.

Destructuring the Response

data GetKeyGroupConfigResponse Source #

See: newGetKeyGroupConfigResponse smart constructor.

Constructors

GetKeyGroupConfigResponse' 

Fields

Instances

Instances details
Eq GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Read GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Show GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Generic GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

Associated Types

type Rep GetKeyGroupConfigResponse :: Type -> Type #

NFData GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

type Rep GetKeyGroupConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroupConfig

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

newGetKeyGroupConfigResponse Source #

Create a value of GetKeyGroupConfigResponse 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:GetKeyGroupConfigResponse', getKeyGroupConfigResponse_eTag - The identifier for this version of the key group.

$sel:keyGroupConfig:GetKeyGroupConfigResponse', getKeyGroupConfigResponse_keyGroupConfig - The key group configuration.

$sel:httpStatus:GetKeyGroupConfigResponse', getKeyGroupConfigResponse_httpStatus - The response's http status code.

Response Lenses

getKeyGroupConfigResponse_eTag :: Lens' GetKeyGroupConfigResponse (Maybe Text) Source #

The identifier for this version of the key group.