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.Types.Signer

Description

 
Synopsis

Documentation

data Signer Source #

A list of Amazon Web Services accounts and the active CloudFront key pairs in each account that CloudFront can use to verify the signatures of signed URLs and signed cookies.

See: newSigner smart constructor.

Constructors

Signer' 

Fields

  • awsAccountNumber :: Maybe Text

    An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

  • keyPairIds :: Maybe KeyPairIds

    A list of CloudFront key pair identifiers.

Instances

Instances details
FromXML Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Generic Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Associated Types

type Rep Signer :: Type -> Type #

Methods

from :: Signer -> Rep Signer x #

to :: Rep Signer x -> Signer #

Read Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Show Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

NFData Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

rnf :: Signer -> () #

Eq Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

(==) :: Signer -> Signer -> Bool #

(/=) :: Signer -> Signer -> Bool #

Hashable Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

type Rep Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer = D1 ('MetaData "Signer" "Amazonka.CloudFront.Types.Signer" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "Signer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "keyPairIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe KeyPairIds))))

newSigner :: Signer Source #

Create a value of Signer 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:awsAccountNumber:Signer', signer_awsAccountNumber - An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

$sel:keyPairIds:Signer', signer_keyPairIds - A list of CloudFront key pair identifiers.

signer_awsAccountNumber :: Lens' Signer (Maybe Text) Source #

An Amazon Web Services account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the Amazon Web Services account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self.

signer_keyPairIds :: Lens' Signer (Maybe KeyPairIds) Source #

A list of CloudFront key pair identifiers.