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

Description

Gets a key group, including the date and time when the key group was last modified.

To get a key group, 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 GetKeyGroup Source #

See: newGetKeyGroup smart constructor.

Constructors

GetKeyGroup' 

Fields

  • id :: Text

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

Instances

Instances details
Eq GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Read GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Show GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Generic GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Associated Types

type Rep GetKeyGroup :: Type -> Type #

NFData GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Methods

rnf :: GetKeyGroup -> () #

Hashable GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

AWSRequest GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Associated Types

type AWSResponse GetKeyGroup #

ToHeaders GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Methods

toHeaders :: GetKeyGroup -> [Header] #

ToPath GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

ToQuery GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

type Rep GetKeyGroup Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

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

Defined in Amazonka.CloudFront.GetKeyGroup

newGetKeyGroup Source #

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

Request Lenses

getKeyGroup_id :: Lens' GetKeyGroup Text Source #

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

Destructuring the Response

data GetKeyGroupResponse Source #

See: newGetKeyGroupResponse smart constructor.

Constructors

GetKeyGroupResponse' 

Fields

Instances

Instances details
Eq GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Read GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Show GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Generic GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Associated Types

type Rep GetKeyGroupResponse :: Type -> Type #

NFData GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

Methods

rnf :: GetKeyGroupResponse -> () #

type Rep GetKeyGroupResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetKeyGroup

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

newGetKeyGroupResponse Source #

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

$sel:keyGroup:GetKeyGroupResponse', getKeyGroupResponse_keyGroup - The key group.

$sel:httpStatus:GetKeyGroupResponse', getKeyGroupResponse_httpStatus - The response's http status code.

Response Lenses

getKeyGroupResponse_eTag :: Lens' GetKeyGroupResponse (Maybe Text) Source #

The identifier for this version of the key group.