aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models
Classes
|
Inputs for decrypting a DynamoDB Item. |
|
Outputs for decrypting a DynamoDB Item. |
|
Inputs for encrypting a DynamoDB Item. |
|
Outputs for encrypting a DynamoDB Item. |
|
A parsed version of the header that was written with or read on an encrypted DynamoDB item. |
|
- class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models.DecryptItemInput(*, encrypted_item: dict[str, dict[str, Any]])
Bases:
objectInputs for decrypting a DynamoDB Item.
- Parameters:
encrypted_item – The encrypted DynamoDB item to decrypt.
- __init__(*, encrypted_item: dict[str, dict[str, Any]])
Inputs for decrypting a DynamoDB Item.
- Parameters:
encrypted_item – The encrypted DynamoDB item to decrypt.
- static from_dict(d: Dict[str, Any]) DecryptItemInput
Creates a DecryptItemInput from a dictionary.
- class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models.EncryptItemInput(*, plaintext_item: dict[str, dict[str, Any]])
Bases:
objectInputs for encrypting a DynamoDB Item.
- Parameters:
plaintext_item – The DynamoDB item to encrypt.
- __init__(*, plaintext_item: dict[str, dict[str, Any]])
Inputs for encrypting a DynamoDB Item.
- Parameters:
plaintext_item – The DynamoDB item to encrypt.
- static from_dict(d: Dict[str, Any]) EncryptItemInput
Creates a EncryptItemInput from a dictionary.
- class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models.ParsedHeader(*, attribute_actions_on_encrypt: dict[str, str], algorithm_suite_id: str, encrypted_data_keys: list[EncryptedDataKey], stored_encryption_context: dict[str, str], encryption_context: dict[str, str], selector_context: dict[str, dict[str, Any]])
Bases:
objectA parsed version of the header that was written with or read on an encrypted DynamoDB item.
- Parameters:
attribute_actions_on_encrypt – The non-DO_NOTHING Crypto Actions that were configured when this item was originally encrypted.
algorithm_suite_id – The ID of the algorithm suite that was used to encrypt this item.
encrypted_data_keys – The encrypted data keys that are stored in the header of this item.
stored_encryption_context – The portion of the encryption context that was stored in the header of this item.
encryption_context – The full encryption context.
selector_context – The encryption context as presented to the branch key selector.
- __init__(*, attribute_actions_on_encrypt: dict[str, str], algorithm_suite_id: str, encrypted_data_keys: list[EncryptedDataKey], stored_encryption_context: dict[str, str], encryption_context: dict[str, str], selector_context: dict[str, dict[str, Any]])
A parsed version of the header that was written with or read on an encrypted DynamoDB item.
- Parameters:
attribute_actions_on_encrypt – The non-DO_NOTHING Crypto Actions that were configured when this item was originally encrypted.
algorithm_suite_id – The ID of the algorithm suite that was used to encrypt this item.
encrypted_data_keys – The encrypted data keys that are stored in the header of this item.
stored_encryption_context – The portion of the encryption context that was stored in the header of this item.
encryption_context – The full encryption context.
selector_context – The encryption context as presented to the branch key selector.
- static from_dict(d: Dict[str, Any]) ParsedHeader
Creates a ParsedHeader from a dictionary.
- class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models.DecryptItemOutput(*, plaintext_item: dict[str, dict[str, Any]], parsed_header: ParsedHeader | None = None)
Bases:
objectOutputs for decrypting a DynamoDB Item.
- Parameters:
plaintext_item – The decrypted DynamoDB item.
parsed_header – A parsed version of the header on the encrypted DynamoDB item.
- __init__(*, plaintext_item: dict[str, dict[str, Any]], parsed_header: ParsedHeader | None = None)
Outputs for decrypting a DynamoDB Item.
- Parameters:
plaintext_item – The decrypted DynamoDB item.
parsed_header – A parsed version of the header on the encrypted DynamoDB item.
- parsed_header: ParsedHeader | None
- static from_dict(d: Dict[str, Any]) DecryptItemOutput
Creates a DecryptItemOutput from a dictionary.
- class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_dynamodb_itemencryptor.models.EncryptItemOutput(*, encrypted_item: dict[str, dict[str, Any]], parsed_header: ParsedHeader | None = None)
Bases:
objectOutputs for encrypting a DynamoDB Item.
- Parameters:
encrypted_item – The encrypted DynamoDB item.
parsed_header – A parsed version of the header written with the encrypted DynamoDB item.
- __init__(*, encrypted_item: dict[str, dict[str, Any]], parsed_header: ParsedHeader | None = None)
Outputs for encrypting a DynamoDB Item.
- Parameters:
encrypted_item – The encrypted DynamoDB item.
parsed_header – A parsed version of the header written with the encrypted DynamoDB item.
- parsed_header: ParsedHeader | None
- static from_dict(d: Dict[str, Any]) EncryptItemOutput
Creates a EncryptItemOutput from a dictionary.