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

Description

Gets a public key.

Synopsis

Creating a Request

data GetPublicKey Source #

See: newGetPublicKey smart constructor.

Constructors

GetPublicKey' 

Fields

  • id :: Text

    The identifier of the public key you are getting.

Instances

Instances details
Eq GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Read GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Show GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Generic GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Associated Types

type Rep GetPublicKey :: Type -> Type #

NFData GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Methods

rnf :: GetPublicKey -> () #

Hashable GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

AWSRequest GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Associated Types

type AWSResponse GetPublicKey #

ToHeaders GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

ToPath GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

ToQuery GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

type Rep GetPublicKey Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

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

Defined in Amazonka.CloudFront.GetPublicKey

newGetPublicKey Source #

Create a value of GetPublicKey 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:GetPublicKey', getPublicKey_id - The identifier of the public key you are getting.

Request Lenses

getPublicKey_id :: Lens' GetPublicKey Text Source #

The identifier of the public key you are getting.

Destructuring the Response

data GetPublicKeyResponse Source #

See: newGetPublicKeyResponse smart constructor.

Constructors

GetPublicKeyResponse' 

Fields

Instances

Instances details
Eq GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Read GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Show GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Generic GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Associated Types

type Rep GetPublicKeyResponse :: Type -> Type #

NFData GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

Methods

rnf :: GetPublicKeyResponse -> () #

type Rep GetPublicKeyResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetPublicKey

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

newGetPublicKeyResponse Source #

Create a value of GetPublicKeyResponse 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:GetPublicKeyResponse', getPublicKeyResponse_eTag - The identifier for this version of the public key.

$sel:publicKey:GetPublicKeyResponse', getPublicKeyResponse_publicKey - The public key.

$sel:httpStatus:GetPublicKeyResponse', getPublicKeyResponse_httpStatus - The response's http status code.

Response Lenses

getPublicKeyResponse_eTag :: Lens' GetPublicKeyResponse (Maybe Text) Source #

The identifier for this version of the public key.