libZSservicesZSamazonka-translateZSamazonka-translate
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.Translate.Types.EncryptionKey

Description

 
Synopsis

Documentation

data EncryptionKey Source #

The encryption key used to encrypt this object.

See: newEncryptionKey smart constructor.

Constructors

EncryptionKey' 

Fields

  • type' :: EncryptionKeyType

    The type of encryption key used by Amazon Translate to encrypt custom terminologies.

  • id :: Text

    The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.

Instances

Instances details
Eq EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Read EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Show EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Generic EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Associated Types

type Rep EncryptionKey :: Type -> Type #

NFData EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

Methods

rnf :: EncryptionKey -> () #

Hashable EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

ToJSON EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

FromJSON EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

type Rep EncryptionKey Source # 
Instance details

Defined in Amazonka.Translate.Types.EncryptionKey

type Rep EncryptionKey = D1 ('MetaData "EncryptionKey" "Amazonka.Translate.Types.EncryptionKey" "libZSservicesZSamazonka-translateZSamazonka-translate" 'False) (C1 ('MetaCons "EncryptionKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionKeyType) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEncryptionKey Source #

Create a value of EncryptionKey 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:type':EncryptionKey', encryptionKey_type - The type of encryption key used by Amazon Translate to encrypt custom terminologies.

$sel:id:EncryptionKey', encryptionKey_id - The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.

encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType Source #

The type of encryption key used by Amazon Translate to encrypt custom terminologies.

encryptionKey_id :: Lens' EncryptionKey Text Source #

The Amazon Resource Name (ARN) of the encryption key being used to encrypt the custom terminology.