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

Description

 
Synopsis

Documentation

data Signer Source #

A list of 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 account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the 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
Eq Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

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

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

Read Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Show 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 #

NFData Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

rnf :: Signer -> () #

Hashable Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

Methods

hashWithSalt :: Int -> Signer -> Int #

hash :: Signer -> Int #

FromXML Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer Source # 
Instance details

Defined in Amazonka.CloudFront.Types.Signer

type Rep Signer = D1 ('MetaData "Signer" "Amazonka.CloudFront.Types.Signer" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" '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 account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the 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 account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. If the 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.