aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models

Classes

AuthItem(*, key, data, action)

AuthenticateAction()

CryptoAction()

CryptoItem(*, key, data, action)

DecryptPathStructureInput(*, table_name, ...)

DecryptPathStructureOutput(*, ...)

DecryptStructureInput(*, table_name, ...[, ...])

DecryptStructureOutput(*, ...)

EncryptPathStructureInput(*, table_name, ...)

EncryptPathStructureOutput(*, ...)

EncryptStructureInput(*, table_name, ...[, ...])

EncryptStructureOutput(*, ...)

ParsedHeader(*, algorithm_suite_id, ...)

PathSegmentMember(value)

PathSegmentUnknown(tag)

Represents an unknown variant.

ResolveAuthActionsInput(*, table_name, ...)

ResolveAuthActionsOutput(*, crypto_actions)

StructureSegment(*, key)

StructuredDataTerminal(*, value, type_id)

Unit()

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.AuthenticateAction

Bases: object

SIGN = 'SIGN'
DO_NOT_SIGN = 'DO_NOT_SIGN'
values = frozenset({'DO_NOT_SIGN', 'SIGN'})
class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.StructuredDataTerminal(*, value: bytes | bytearray, type_id: bytes | bytearray)

Bases: object

__init__(*, value: bytes | bytearray, type_id: bytes | bytearray)
value: bytes | bytearray
type_id: bytes | bytearray
as_dict() Dict[str, Any]

Converts the StructuredDataTerminal to a dictionary.

static from_dict(d: Dict[str, Any]) StructuredDataTerminal

Creates a StructuredDataTerminal from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.StructureSegment(*, key: str)

Bases: object

__init__(*, key: str)
key: str
as_dict() Dict[str, Any]

Converts the StructureSegment to a dictionary.

static from_dict(d: Dict[str, Any]) StructureSegment

Creates a StructureSegment from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.PathSegmentMember(value: StructureSegment)

Bases: object

__init__(value: StructureSegment)
as_dict() Dict[str, Any]
static from_dict(d: Dict[str, Any]) PathSegmentMember
class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.PathSegmentUnknown(tag: str)

Bases: object

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

__init__(tag: str)
as_dict() Dict[str, Any]
static from_dict(d: Dict[str, Any]) PathSegmentUnknown
class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.AuthItem(*, key: list[PathSegmentMember | PathSegmentUnknown], data: StructuredDataTerminal, action: str)

Bases: object

__init__(*, key: list[PathSegmentMember | PathSegmentUnknown], data: StructuredDataTerminal, action: str)
key: list[PathSegmentMember | PathSegmentUnknown]
data: StructuredDataTerminal
action: str
as_dict() Dict[str, Any]

Converts the AuthItem to a dictionary.

static from_dict(d: Dict[str, Any]) AuthItem

Creates a AuthItem from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.CryptoAction

Bases: object

ENCRYPT_AND_SIGN = 'ENCRYPT_AND_SIGN'
SIGN_AND_INCLUDE_IN_ENCRYPTION_CONTEXT = 'SIGN_AND_INCLUDE_IN_ENCRYPTION_CONTEXT'
SIGN_ONLY = 'SIGN_ONLY'
DO_NOTHING = 'DO_NOTHING'
values = frozenset({'DO_NOTHING', 'ENCRYPT_AND_SIGN', 'SIGN_AND_INCLUDE_IN_ENCRYPTION_CONTEXT', 'SIGN_ONLY'})
class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.CryptoItem(*, key: list[PathSegmentMember | PathSegmentUnknown], data: StructuredDataTerminal, action: str)

Bases: object

__init__(*, key: list[PathSegmentMember | PathSegmentUnknown], data: StructuredDataTerminal, action: str)
key: list[PathSegmentMember | PathSegmentUnknown]
data: StructuredDataTerminal
action: str
as_dict() Dict[str, Any]

Converts the CryptoItem to a dictionary.

static from_dict(d: Dict[str, Any]) CryptoItem

Creates a CryptoItem from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.DecryptPathStructureInput(*, table_name: str, encrypted_structure: list[AuthItem], cmm: CryptographicMaterialsManager, encryption_context: dict[str, str] | None = None)

Bases: object

__init__(*, table_name: str, encrypted_structure: list[AuthItem], cmm: CryptographicMaterialsManager, encryption_context: dict[str, str] | None = None)
table_name: str
encrypted_structure: list[AuthItem]
cmm: CryptographicMaterialsManager
encryption_context: dict[str, str] | None
as_dict() Dict[str, Any]

Converts the DecryptPathStructureInput to a dictionary.

static from_dict(d: Dict[str, Any]) DecryptPathStructureInput

Creates a DecryptPathStructureInput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.ParsedHeader(*, algorithm_suite_id: str, encrypted_data_keys: list[EncryptedDataKey], stored_encryption_context: dict[str, str], encryption_context: dict[str, str])

Bases: object

__init__(*, algorithm_suite_id: str, encrypted_data_keys: list[EncryptedDataKey], stored_encryption_context: dict[str, str], encryption_context: dict[str, str])
algorithm_suite_id: str
encrypted_data_keys: list[EncryptedDataKey]
stored_encryption_context: dict[str, str]
encryption_context: dict[str, str]
as_dict() Dict[str, Any]

Converts the ParsedHeader to a dictionary.

static from_dict(d: Dict[str, Any]) ParsedHeader

Creates a ParsedHeader from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.DecryptPathStructureOutput(*, plaintext_structure: list[CryptoItem], parsed_header: ParsedHeader)

Bases: object

__init__(*, plaintext_structure: list[CryptoItem], parsed_header: ParsedHeader)
plaintext_structure: list[CryptoItem]
parsed_header: ParsedHeader
as_dict() Dict[str, Any]

Converts the DecryptPathStructureOutput to a dictionary.

static from_dict(d: Dict[str, Any]) DecryptPathStructureOutput

Creates a DecryptPathStructureOutput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.DecryptStructureInput(*, table_name: str, encrypted_structure: dict[str, StructuredDataTerminal], authenticate_schema: dict[str, str], cmm: CryptographicMaterialsManager, encryption_context: dict[str, str] | None = None)

Bases: object

__init__(*, table_name: str, encrypted_structure: dict[str, StructuredDataTerminal], authenticate_schema: dict[str, str], cmm: CryptographicMaterialsManager, encryption_context: dict[str, str] | None = None)
table_name: str
encrypted_structure: dict[str, StructuredDataTerminal]
authenticate_schema: dict[str, str]
cmm: CryptographicMaterialsManager
encryption_context: dict[str, str] | None
as_dict() Dict[str, Any]

Converts the DecryptStructureInput to a dictionary.

static from_dict(d: Dict[str, Any]) DecryptStructureInput

Creates a DecryptStructureInput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.DecryptStructureOutput(*, plaintext_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], parsed_header: ParsedHeader)

Bases: object

__init__(*, plaintext_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], parsed_header: ParsedHeader)
plaintext_structure: dict[str, StructuredDataTerminal]
crypto_schema: dict[str, str]
parsed_header: ParsedHeader
as_dict() Dict[str, Any]

Converts the DecryptStructureOutput to a dictionary.

static from_dict(d: Dict[str, Any]) DecryptStructureOutput

Creates a DecryptStructureOutput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.EncryptPathStructureInput(*, table_name: str, plaintext_structure: list[CryptoItem], cmm: CryptographicMaterialsManager, algorithm_suite_id: str | None = None, encryption_context: dict[str, str] | None = None)

Bases: object

__init__(*, table_name: str, plaintext_structure: list[CryptoItem], cmm: CryptographicMaterialsManager, algorithm_suite_id: str | None = None, encryption_context: dict[str, str] | None = None)
table_name: str
plaintext_structure: list[CryptoItem]
cmm: CryptographicMaterialsManager
algorithm_suite_id: str | None
encryption_context: dict[str, str] | None
as_dict() Dict[str, Any]

Converts the EncryptPathStructureInput to a dictionary.

static from_dict(d: Dict[str, Any]) EncryptPathStructureInput

Creates a EncryptPathStructureInput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.EncryptPathStructureOutput(*, encrypted_structure: list[CryptoItem], parsed_header: ParsedHeader)

Bases: object

__init__(*, encrypted_structure: list[CryptoItem], parsed_header: ParsedHeader)
encrypted_structure: list[CryptoItem]
parsed_header: ParsedHeader
as_dict() Dict[str, Any]

Converts the EncryptPathStructureOutput to a dictionary.

static from_dict(d: Dict[str, Any]) EncryptPathStructureOutput

Creates a EncryptPathStructureOutput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.EncryptStructureInput(*, table_name: str, plaintext_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], cmm: CryptographicMaterialsManager, algorithm_suite_id: str | None = None, encryption_context: dict[str, str] | None = None)

Bases: object

__init__(*, table_name: str, plaintext_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], cmm: CryptographicMaterialsManager, algorithm_suite_id: str | None = None, encryption_context: dict[str, str] | None = None)
table_name: str
plaintext_structure: dict[str, StructuredDataTerminal]
crypto_schema: dict[str, str]
cmm: CryptographicMaterialsManager
algorithm_suite_id: str | None
encryption_context: dict[str, str] | None
as_dict() Dict[str, Any]

Converts the EncryptStructureInput to a dictionary.

static from_dict(d: Dict[str, Any]) EncryptStructureInput

Creates a EncryptStructureInput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.EncryptStructureOutput(*, encrypted_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], parsed_header: ParsedHeader)

Bases: object

__init__(*, encrypted_structure: dict[str, StructuredDataTerminal], crypto_schema: dict[str, str], parsed_header: ParsedHeader)
encrypted_structure: dict[str, StructuredDataTerminal]
crypto_schema: dict[str, str]
parsed_header: ParsedHeader
as_dict() Dict[str, Any]

Converts the EncryptStructureOutput to a dictionary.

static from_dict(d: Dict[str, Any]) EncryptStructureOutput

Creates a EncryptStructureOutput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.ResolveAuthActionsInput(*, table_name: str, auth_actions: list[AuthItem], header_bytes: bytes | bytearray)

Bases: object

__init__(*, table_name: str, auth_actions: list[AuthItem], header_bytes: bytes | bytearray)
table_name: str
auth_actions: list[AuthItem]
header_bytes: bytes | bytearray
as_dict() Dict[str, Any]

Converts the ResolveAuthActionsInput to a dictionary.

static from_dict(d: Dict[str, Any]) ResolveAuthActionsInput

Creates a ResolveAuthActionsInput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.ResolveAuthActionsOutput(*, crypto_actions: list[CryptoItem])

Bases: object

__init__(*, crypto_actions: list[CryptoItem])
crypto_actions: list[CryptoItem]
as_dict() Dict[str, Any]

Converts the ResolveAuthActionsOutput to a dictionary.

static from_dict(d: Dict[str, Any]) ResolveAuthActionsOutput

Creates a ResolveAuthActionsOutput from a dictionary.

class aws_dbesdk_dynamodb.smithygenerated.aws_cryptography_dbencryptionsdk_structuredencryption.models.Unit

Bases: object