libZSservicesZSamazonka-glacierZSamazonka-glacier
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.Glacier.Types.Encryption

Description

 
Synopsis

Documentation

data Encryption Source #

Contains information about the encryption used to store the job results in Amazon S3.

See: newEncryption smart constructor.

Constructors

Encryption' 

Fields

  • encryptionType :: Maybe EncryptionType

    The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

  • kmsKeyId :: Maybe Text

    The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

  • kmsContext :: Maybe Text

    Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

Instances

Instances details
Eq Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Read Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Show Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Generic Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Associated Types

type Rep Encryption :: Type -> Type #

NFData Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

Methods

rnf :: Encryption -> () #

Hashable Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

ToJSON Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

FromJSON Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

type Rep Encryption Source # 
Instance details

Defined in Amazonka.Glacier.Types.Encryption

type Rep Encryption = D1 ('MetaData "Encryption" "Amazonka.Glacier.Types.Encryption" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "Encryption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEncryption :: Encryption Source #

Create a value of Encryption 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:encryptionType:Encryption', encryption_encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

$sel:kmsKeyId:Encryption', encryption_kmsKeyId - The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

$sel:kmsContext:Encryption', encryption_kmsContext - Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.

encryption_encryptionType :: Lens' Encryption (Maybe EncryptionType) Source #

The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256 or aws:kms.

encryption_kmsKeyId :: Lens' Encryption (Maybe Text) Source #

The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.

encryption_kmsContext :: Lens' Encryption (Maybe Text) Source #

Optional. If the encryption type is aws:kms, you can use this value to specify the encryption context for the job results.