Skip to content

Type definitions#

Index > PaymentCryptographyControlPlane > Type definitions

Auto-generated documentation for PaymentCryptographyControlPlane type annotations stubs module mypy-boto3-payment-cryptography.

AliasTypeDef#

# AliasTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import AliasTypeDef


def get_value() -> AliasTypeDef:
    return {
        "AliasName": ...,
    }


# AliasTypeDef definition

class AliasTypeDef(TypedDict):
    AliasName: str,
    KeyArn: NotRequired[str],

CreateAliasInputTypeDef#

# CreateAliasInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import CreateAliasInputTypeDef


def get_value() -> CreateAliasInputTypeDef:
    return {
        "AliasName": ...,
    }


# CreateAliasInputTypeDef definition

class CreateAliasInputTypeDef(TypedDict):
    AliasName: str,
    KeyArn: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

TagTypeDef#

# TagTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }


# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

DeleteAliasInputTypeDef#

# DeleteAliasInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import DeleteAliasInputTypeDef


def get_value() -> DeleteAliasInputTypeDef:
    return {
        "AliasName": ...,
    }


# DeleteAliasInputTypeDef definition

class DeleteAliasInputTypeDef(TypedDict):
    AliasName: str,

DeleteKeyInputTypeDef#

# DeleteKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import DeleteKeyInputTypeDef


def get_value() -> DeleteKeyInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# DeleteKeyInputTypeDef definition

class DeleteKeyInputTypeDef(TypedDict):
    KeyIdentifier: str,
    DeleteKeyInDays: NotRequired[int],

ExportDukptInitialKeyTypeDef#

# ExportDukptInitialKeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportDukptInitialKeyTypeDef


def get_value() -> ExportDukptInitialKeyTypeDef:
    return {
        "KeySerialNumber": ...,
    }


# ExportDukptInitialKeyTypeDef definition

class ExportDukptInitialKeyTypeDef(TypedDict):
    KeySerialNumber: str,

ExportKeyCryptogramTypeDef#

# ExportKeyCryptogramTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportKeyCryptogramTypeDef


def get_value() -> ExportKeyCryptogramTypeDef:
    return {
        "CertificateAuthorityPublicKeyIdentifier": ...,
    }


# ExportKeyCryptogramTypeDef definition

class ExportKeyCryptogramTypeDef(TypedDict):
    CertificateAuthorityPublicKeyIdentifier: str,
    WrappingKeyCertificate: str,
    WrappingSpec: NotRequired[WrappingKeySpecType],  # (1)
  1. See WrappingKeySpecType

WrappedKeyTypeDef#

# WrappedKeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import WrappedKeyTypeDef


def get_value() -> WrappedKeyTypeDef:
    return {
        "WrappingKeyArn": ...,
    }


# WrappedKeyTypeDef definition

class WrappedKeyTypeDef(TypedDict):
    WrappingKeyArn: str,
    WrappedKeyMaterialFormat: WrappedKeyMaterialFormatType,  # (1)
    KeyMaterial: str,
    KeyCheckValue: NotRequired[str],
    KeyCheckValueAlgorithm: NotRequired[KeyCheckValueAlgorithmType],  # (2)
  1. See WrappedKeyMaterialFormatType
  2. See KeyCheckValueAlgorithmType

GetAliasInputTypeDef#

# GetAliasInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetAliasInputTypeDef


def get_value() -> GetAliasInputTypeDef:
    return {
        "AliasName": ...,
    }


# GetAliasInputTypeDef definition

class GetAliasInputTypeDef(TypedDict):
    AliasName: str,

GetKeyInputTypeDef#

# GetKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetKeyInputTypeDef


def get_value() -> GetKeyInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# GetKeyInputTypeDef definition

class GetKeyInputTypeDef(TypedDict):
    KeyIdentifier: str,

GetParametersForExportInputTypeDef#

# GetParametersForExportInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetParametersForExportInputTypeDef


def get_value() -> GetParametersForExportInputTypeDef:
    return {
        "KeyMaterialType": ...,
    }


# GetParametersForExportInputTypeDef definition

class GetParametersForExportInputTypeDef(TypedDict):
    KeyMaterialType: KeyMaterialTypeType,  # (1)
    SigningKeyAlgorithm: KeyAlgorithmType,  # (2)
  1. See KeyMaterialTypeType
  2. See KeyAlgorithmType

GetParametersForImportInputTypeDef#

# GetParametersForImportInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetParametersForImportInputTypeDef


def get_value() -> GetParametersForImportInputTypeDef:
    return {
        "KeyMaterialType": ...,
    }


# GetParametersForImportInputTypeDef definition

class GetParametersForImportInputTypeDef(TypedDict):
    KeyMaterialType: KeyMaterialTypeType,  # (1)
    WrappingKeyAlgorithm: KeyAlgorithmType,  # (2)
  1. See KeyMaterialTypeType
  2. See KeyAlgorithmType

GetPublicKeyCertificateInputTypeDef#

# GetPublicKeyCertificateInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetPublicKeyCertificateInputTypeDef


def get_value() -> GetPublicKeyCertificateInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# GetPublicKeyCertificateInputTypeDef definition

class GetPublicKeyCertificateInputTypeDef(TypedDict):
    KeyIdentifier: str,

ImportTr31KeyBlockTypeDef#

# ImportTr31KeyBlockTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportTr31KeyBlockTypeDef


def get_value() -> ImportTr31KeyBlockTypeDef:
    return {
        "WrappingKeyIdentifier": ...,
    }


# ImportTr31KeyBlockTypeDef definition

class ImportTr31KeyBlockTypeDef(TypedDict):
    WrappingKeyIdentifier: str,
    WrappedKeyBlock: str,

ImportTr34KeyBlockTypeDef#

# ImportTr34KeyBlockTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportTr34KeyBlockTypeDef


def get_value() -> ImportTr34KeyBlockTypeDef:
    return {
        "CertificateAuthorityPublicKeyIdentifier": ...,
    }


# ImportTr34KeyBlockTypeDef definition

class ImportTr34KeyBlockTypeDef(TypedDict):
    CertificateAuthorityPublicKeyIdentifier: str,
    SigningKeyCertificate: str,
    ImportToken: str,
    WrappedKeyBlock: str,
    KeyBlockFormat: Tr34KeyBlockFormatType,  # (1)
    RandomNonce: NotRequired[str],
  1. See Tr34KeyBlockFormatType

KeyModesOfUseTypeDef#

# KeyModesOfUseTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import KeyModesOfUseTypeDef


def get_value() -> KeyModesOfUseTypeDef:
    return {
        "Encrypt": ...,
    }


# KeyModesOfUseTypeDef definition

class KeyModesOfUseTypeDef(TypedDict):
    Encrypt: NotRequired[bool],
    Decrypt: NotRequired[bool],
    Wrap: NotRequired[bool],
    Unwrap: NotRequired[bool],
    Generate: NotRequired[bool],
    Sign: NotRequired[bool],
    Verify: NotRequired[bool],
    DeriveKey: NotRequired[bool],
    NoRestrictions: NotRequired[bool],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListAliasesInputTypeDef#

# ListAliasesInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListAliasesInputTypeDef


def get_value() -> ListAliasesInputTypeDef:
    return {
        "KeyArn": ...,
    }


# ListAliasesInputTypeDef definition

class ListAliasesInputTypeDef(TypedDict):
    KeyArn: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListKeysInputTypeDef#

# ListKeysInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListKeysInputTypeDef


def get_value() -> ListKeysInputTypeDef:
    return {
        "KeyState": ...,
    }


# ListKeysInputTypeDef definition

class ListKeysInputTypeDef(TypedDict):
    KeyState: NotRequired[KeyStateType],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See KeyStateType

ListTagsForResourceInputTypeDef#

# ListTagsForResourceInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListTagsForResourceInputTypeDef


def get_value() -> ListTagsForResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsForResourceInputTypeDef definition

class ListTagsForResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

RestoreKeyInputTypeDef#

# RestoreKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import RestoreKeyInputTypeDef


def get_value() -> RestoreKeyInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# RestoreKeyInputTypeDef definition

class RestoreKeyInputTypeDef(TypedDict):
    KeyIdentifier: str,

StartKeyUsageInputTypeDef#

# StartKeyUsageInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import StartKeyUsageInputTypeDef


def get_value() -> StartKeyUsageInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# StartKeyUsageInputTypeDef definition

class StartKeyUsageInputTypeDef(TypedDict):
    KeyIdentifier: str,

StopKeyUsageInputTypeDef#

# StopKeyUsageInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import StopKeyUsageInputTypeDef


def get_value() -> StopKeyUsageInputTypeDef:
    return {
        "KeyIdentifier": ...,
    }


# StopKeyUsageInputTypeDef definition

class StopKeyUsageInputTypeDef(TypedDict):
    KeyIdentifier: str,

UntagResourceInputTypeDef#

# UntagResourceInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import UntagResourceInputTypeDef


def get_value() -> UntagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# UntagResourceInputTypeDef definition

class UntagResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateAliasInputTypeDef#

# UpdateAliasInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import UpdateAliasInputTypeDef


def get_value() -> UpdateAliasInputTypeDef:
    return {
        "AliasName": ...,
    }


# UpdateAliasInputTypeDef definition

class UpdateAliasInputTypeDef(TypedDict):
    AliasName: str,
    KeyArn: NotRequired[str],

CreateAliasOutputTypeDef#

# CreateAliasOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import CreateAliasOutputTypeDef


def get_value() -> CreateAliasOutputTypeDef:
    return {
        "Alias": ...,
    }


# CreateAliasOutputTypeDef definition

class CreateAliasOutputTypeDef(TypedDict):
    Alias: AliasTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasTypeDef
  2. See ResponseMetadataTypeDef

GetAliasOutputTypeDef#

# GetAliasOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetAliasOutputTypeDef


def get_value() -> GetAliasOutputTypeDef:
    return {
        "Alias": ...,
    }


# GetAliasOutputTypeDef definition

class GetAliasOutputTypeDef(TypedDict):
    Alias: AliasTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasTypeDef
  2. See ResponseMetadataTypeDef

GetParametersForExportOutputTypeDef#

# GetParametersForExportOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetParametersForExportOutputTypeDef


def get_value() -> GetParametersForExportOutputTypeDef:
    return {
        "SigningKeyCertificate": ...,
    }


# GetParametersForExportOutputTypeDef definition

class GetParametersForExportOutputTypeDef(TypedDict):
    SigningKeyCertificate: str,
    SigningKeyCertificateChain: str,
    SigningKeyAlgorithm: KeyAlgorithmType,  # (1)
    ExportToken: str,
    ParametersValidUntilTimestamp: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyAlgorithmType
  2. See ResponseMetadataTypeDef

GetParametersForImportOutputTypeDef#

# GetParametersForImportOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetParametersForImportOutputTypeDef


def get_value() -> GetParametersForImportOutputTypeDef:
    return {
        "WrappingKeyCertificate": ...,
    }


# GetParametersForImportOutputTypeDef definition

class GetParametersForImportOutputTypeDef(TypedDict):
    WrappingKeyCertificate: str,
    WrappingKeyCertificateChain: str,
    WrappingKeyAlgorithm: KeyAlgorithmType,  # (1)
    ImportToken: str,
    ParametersValidUntilTimestamp: datetime.datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyAlgorithmType
  2. See ResponseMetadataTypeDef

GetPublicKeyCertificateOutputTypeDef#

# GetPublicKeyCertificateOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetPublicKeyCertificateOutputTypeDef


def get_value() -> GetPublicKeyCertificateOutputTypeDef:
    return {
        "KeyCertificate": ...,
    }


# GetPublicKeyCertificateOutputTypeDef definition

class GetPublicKeyCertificateOutputTypeDef(TypedDict):
    KeyCertificate: str,
    KeyCertificateChain: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAliasesOutputTypeDef#

# ListAliasesOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListAliasesOutputTypeDef


def get_value() -> ListAliasesOutputTypeDef:
    return {
        "Aliases": ...,
    }


# ListAliasesOutputTypeDef definition

class ListAliasesOutputTypeDef(TypedDict):
    Aliases: List[AliasTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See List[AliasTypeDef]
  2. See ResponseMetadataTypeDef

UpdateAliasOutputTypeDef#

# UpdateAliasOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import UpdateAliasOutputTypeDef


def get_value() -> UpdateAliasOutputTypeDef:
    return {
        "Alias": ...,
    }


# UpdateAliasOutputTypeDef definition

class UpdateAliasOutputTypeDef(TypedDict):
    Alias: AliasTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AliasTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListTagsForResourceOutputTypeDef


def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
    }


# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See List[TagTypeDef]
  2. See ResponseMetadataTypeDef

TagResourceInputTypeDef#

# TagResourceInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import TagResourceInputTypeDef


def get_value() -> TagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# TagResourceInputTypeDef definition

class TagResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See Sequence[TagTypeDef]

ExportAttributesTypeDef#

# ExportAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportAttributesTypeDef


def get_value() -> ExportAttributesTypeDef:
    return {
        "ExportDukptInitialKey": ...,
    }


# ExportAttributesTypeDef definition

class ExportAttributesTypeDef(TypedDict):
    ExportDukptInitialKey: NotRequired[ExportDukptInitialKeyTypeDef],  # (1)
    KeyCheckValueAlgorithm: NotRequired[KeyCheckValueAlgorithmType],  # (2)
  1. See ExportDukptInitialKeyTypeDef
  2. See KeyCheckValueAlgorithmType

ExportKeyOutputTypeDef#

# ExportKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportKeyOutputTypeDef


def get_value() -> ExportKeyOutputTypeDef:
    return {
        "WrappedKey": ...,
    }


# ExportKeyOutputTypeDef definition

class ExportKeyOutputTypeDef(TypedDict):
    WrappedKey: WrappedKeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See WrappedKeyTypeDef
  2. See ResponseMetadataTypeDef

KeyAttributesTypeDef#

# KeyAttributesTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import KeyAttributesTypeDef


def get_value() -> KeyAttributesTypeDef:
    return {
        "KeyUsage": ...,
    }


# KeyAttributesTypeDef definition

class KeyAttributesTypeDef(TypedDict):
    KeyUsage: KeyUsageType,  # (1)
    KeyClass: KeyClassType,  # (2)
    KeyAlgorithm: KeyAlgorithmType,  # (3)
    KeyModesOfUse: KeyModesOfUseTypeDef,  # (4)
  1. See KeyUsageType
  2. See KeyClassType
  3. See KeyAlgorithmType
  4. See KeyModesOfUseTypeDef

KeyBlockHeadersTypeDef#

# KeyBlockHeadersTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import KeyBlockHeadersTypeDef


def get_value() -> KeyBlockHeadersTypeDef:
    return {
        "KeyModesOfUse": ...,
    }


# KeyBlockHeadersTypeDef definition

class KeyBlockHeadersTypeDef(TypedDict):
    KeyModesOfUse: NotRequired[KeyModesOfUseTypeDef],  # (1)
    KeyExportability: NotRequired[KeyExportabilityType],  # (2)
    KeyVersion: NotRequired[str],
    OptionalBlocks: NotRequired[Mapping[str, str]],
  1. See KeyModesOfUseTypeDef
  2. See KeyExportabilityType

ListAliasesInputPaginateTypeDef#

# ListAliasesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListAliasesInputPaginateTypeDef


def get_value() -> ListAliasesInputPaginateTypeDef:
    return {
        "KeyArn": ...,
    }


# ListAliasesInputPaginateTypeDef definition

class ListAliasesInputPaginateTypeDef(TypedDict):
    KeyArn: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListKeysInputPaginateTypeDef#

# ListKeysInputPaginateTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListKeysInputPaginateTypeDef


def get_value() -> ListKeysInputPaginateTypeDef:
    return {
        "KeyState": ...,
    }


# ListKeysInputPaginateTypeDef definition

class ListKeysInputPaginateTypeDef(TypedDict):
    KeyState: NotRequired[KeyStateType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See KeyStateType
  2. See PaginatorConfigTypeDef

ListTagsForResourceInputPaginateTypeDef#

# ListTagsForResourceInputPaginateTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListTagsForResourceInputPaginateTypeDef


def get_value() -> ListTagsForResourceInputPaginateTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsForResourceInputPaginateTypeDef definition

class ListTagsForResourceInputPaginateTypeDef(TypedDict):
    ResourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

CreateKeyInputTypeDef#

# CreateKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import CreateKeyInputTypeDef


def get_value() -> CreateKeyInputTypeDef:
    return {
        "KeyAttributes": ...,
    }


# CreateKeyInputTypeDef definition

class CreateKeyInputTypeDef(TypedDict):
    KeyAttributes: KeyAttributesTypeDef,  # (1)
    Exportable: bool,
    KeyCheckValueAlgorithm: NotRequired[KeyCheckValueAlgorithmType],  # (2)
    Enabled: NotRequired[bool],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See KeyAttributesTypeDef
  2. See KeyCheckValueAlgorithmType
  3. See Sequence[TagTypeDef]

ImportKeyCryptogramTypeDef#

# ImportKeyCryptogramTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportKeyCryptogramTypeDef


def get_value() -> ImportKeyCryptogramTypeDef:
    return {
        "KeyAttributes": ...,
    }


# ImportKeyCryptogramTypeDef definition

class ImportKeyCryptogramTypeDef(TypedDict):
    KeyAttributes: KeyAttributesTypeDef,  # (1)
    Exportable: bool,
    WrappedKeyCryptogram: str,
    ImportToken: str,
    WrappingSpec: NotRequired[WrappingKeySpecType],  # (2)
  1. See KeyAttributesTypeDef
  2. See WrappingKeySpecType

KeySummaryTypeDef#

# KeySummaryTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import KeySummaryTypeDef


def get_value() -> KeySummaryTypeDef:
    return {
        "KeyArn": ...,
    }


# KeySummaryTypeDef definition

class KeySummaryTypeDef(TypedDict):
    KeyArn: str,
    KeyState: KeyStateType,  # (1)
    KeyAttributes: KeyAttributesTypeDef,  # (2)
    KeyCheckValue: str,
    Exportable: bool,
    Enabled: bool,
  1. See KeyStateType
  2. See KeyAttributesTypeDef

KeyTypeDef#

# KeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import KeyTypeDef


def get_value() -> KeyTypeDef:
    return {
        "KeyArn": ...,
    }


# KeyTypeDef definition

class KeyTypeDef(TypedDict):
    KeyArn: str,
    KeyAttributes: KeyAttributesTypeDef,  # (1)
    KeyCheckValue: str,
    KeyCheckValueAlgorithm: KeyCheckValueAlgorithmType,  # (2)
    Enabled: bool,
    Exportable: bool,
    KeyState: KeyStateType,  # (3)
    KeyOrigin: KeyOriginType,  # (4)
    CreateTimestamp: datetime.datetime,
    UsageStartTimestamp: NotRequired[datetime.datetime],
    UsageStopTimestamp: NotRequired[datetime.datetime],
    DeletePendingTimestamp: NotRequired[datetime.datetime],
    DeleteTimestamp: NotRequired[datetime.datetime],
  1. See KeyAttributesTypeDef
  2. See KeyCheckValueAlgorithmType
  3. See KeyStateType
  4. See KeyOriginType

RootCertificatePublicKeyTypeDef#

# RootCertificatePublicKeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import RootCertificatePublicKeyTypeDef


def get_value() -> RootCertificatePublicKeyTypeDef:
    return {
        "KeyAttributes": ...,
    }


# RootCertificatePublicKeyTypeDef definition

class RootCertificatePublicKeyTypeDef(TypedDict):
    KeyAttributes: KeyAttributesTypeDef,  # (1)
    PublicKeyCertificate: str,
  1. See KeyAttributesTypeDef

TrustedCertificatePublicKeyTypeDef#

# TrustedCertificatePublicKeyTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import TrustedCertificatePublicKeyTypeDef


def get_value() -> TrustedCertificatePublicKeyTypeDef:
    return {
        "KeyAttributes": ...,
    }


# TrustedCertificatePublicKeyTypeDef definition

class TrustedCertificatePublicKeyTypeDef(TypedDict):
    KeyAttributes: KeyAttributesTypeDef,  # (1)
    PublicKeyCertificate: str,
    CertificateAuthorityPublicKeyIdentifier: str,
  1. See KeyAttributesTypeDef

ExportTr31KeyBlockTypeDef#

# ExportTr31KeyBlockTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportTr31KeyBlockTypeDef


def get_value() -> ExportTr31KeyBlockTypeDef:
    return {
        "WrappingKeyIdentifier": ...,
    }


# ExportTr31KeyBlockTypeDef definition

class ExportTr31KeyBlockTypeDef(TypedDict):
    WrappingKeyIdentifier: str,
    KeyBlockHeaders: NotRequired[KeyBlockHeadersTypeDef],  # (1)
  1. See KeyBlockHeadersTypeDef

ExportTr34KeyBlockTypeDef#

# ExportTr34KeyBlockTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportTr34KeyBlockTypeDef


def get_value() -> ExportTr34KeyBlockTypeDef:
    return {
        "CertificateAuthorityPublicKeyIdentifier": ...,
    }


# ExportTr34KeyBlockTypeDef definition

class ExportTr34KeyBlockTypeDef(TypedDict):
    CertificateAuthorityPublicKeyIdentifier: str,
    WrappingKeyCertificate: str,
    ExportToken: str,
    KeyBlockFormat: Tr34KeyBlockFormatType,  # (1)
    RandomNonce: NotRequired[str],
    KeyBlockHeaders: NotRequired[KeyBlockHeadersTypeDef],  # (2)
  1. See Tr34KeyBlockFormatType
  2. See KeyBlockHeadersTypeDef

ListKeysOutputTypeDef#

# ListKeysOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ListKeysOutputTypeDef


def get_value() -> ListKeysOutputTypeDef:
    return {
        "Keys": ...,
    }


# ListKeysOutputTypeDef definition

class ListKeysOutputTypeDef(TypedDict):
    Keys: List[KeySummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See List[KeySummaryTypeDef]
  2. See ResponseMetadataTypeDef

CreateKeyOutputTypeDef#

# CreateKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import CreateKeyOutputTypeDef


def get_value() -> CreateKeyOutputTypeDef:
    return {
        "Key": ...,
    }


# CreateKeyOutputTypeDef definition

class CreateKeyOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

DeleteKeyOutputTypeDef#

# DeleteKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import DeleteKeyOutputTypeDef


def get_value() -> DeleteKeyOutputTypeDef:
    return {
        "Key": ...,
    }


# DeleteKeyOutputTypeDef definition

class DeleteKeyOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

GetKeyOutputTypeDef#

# GetKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import GetKeyOutputTypeDef


def get_value() -> GetKeyOutputTypeDef:
    return {
        "Key": ...,
    }


# GetKeyOutputTypeDef definition

class GetKeyOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

ImportKeyOutputTypeDef#

# ImportKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportKeyOutputTypeDef


def get_value() -> ImportKeyOutputTypeDef:
    return {
        "Key": ...,
    }


# ImportKeyOutputTypeDef definition

class ImportKeyOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

RestoreKeyOutputTypeDef#

# RestoreKeyOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import RestoreKeyOutputTypeDef


def get_value() -> RestoreKeyOutputTypeDef:
    return {
        "Key": ...,
    }


# RestoreKeyOutputTypeDef definition

class RestoreKeyOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

StartKeyUsageOutputTypeDef#

# StartKeyUsageOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import StartKeyUsageOutputTypeDef


def get_value() -> StartKeyUsageOutputTypeDef:
    return {
        "Key": ...,
    }


# StartKeyUsageOutputTypeDef definition

class StartKeyUsageOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

StopKeyUsageOutputTypeDef#

# StopKeyUsageOutputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import StopKeyUsageOutputTypeDef


def get_value() -> StopKeyUsageOutputTypeDef:
    return {
        "Key": ...,
    }


# StopKeyUsageOutputTypeDef definition

class StopKeyUsageOutputTypeDef(TypedDict):
    Key: KeyTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See KeyTypeDef
  2. See ResponseMetadataTypeDef

ImportKeyMaterialTypeDef#

# ImportKeyMaterialTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportKeyMaterialTypeDef


def get_value() -> ImportKeyMaterialTypeDef:
    return {
        "RootCertificatePublicKey": ...,
    }


# ImportKeyMaterialTypeDef definition

class ImportKeyMaterialTypeDef(TypedDict):
    RootCertificatePublicKey: NotRequired[RootCertificatePublicKeyTypeDef],  # (1)
    TrustedCertificatePublicKey: NotRequired[TrustedCertificatePublicKeyTypeDef],  # (2)
    Tr31KeyBlock: NotRequired[ImportTr31KeyBlockTypeDef],  # (3)
    Tr34KeyBlock: NotRequired[ImportTr34KeyBlockTypeDef],  # (4)
    KeyCryptogram: NotRequired[ImportKeyCryptogramTypeDef],  # (5)
  1. See RootCertificatePublicKeyTypeDef
  2. See TrustedCertificatePublicKeyTypeDef
  3. See ImportTr31KeyBlockTypeDef
  4. See ImportTr34KeyBlockTypeDef
  5. See ImportKeyCryptogramTypeDef

ExportKeyMaterialTypeDef#

# ExportKeyMaterialTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportKeyMaterialTypeDef


def get_value() -> ExportKeyMaterialTypeDef:
    return {
        "Tr31KeyBlock": ...,
    }


# ExportKeyMaterialTypeDef definition

class ExportKeyMaterialTypeDef(TypedDict):
    Tr31KeyBlock: NotRequired[ExportTr31KeyBlockTypeDef],  # (1)
    Tr34KeyBlock: NotRequired[ExportTr34KeyBlockTypeDef],  # (2)
    KeyCryptogram: NotRequired[ExportKeyCryptogramTypeDef],  # (3)
  1. See ExportTr31KeyBlockTypeDef
  2. See ExportTr34KeyBlockTypeDef
  3. See ExportKeyCryptogramTypeDef

ImportKeyInputTypeDef#

# ImportKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ImportKeyInputTypeDef


def get_value() -> ImportKeyInputTypeDef:
    return {
        "KeyMaterial": ...,
    }


# ImportKeyInputTypeDef definition

class ImportKeyInputTypeDef(TypedDict):
    KeyMaterial: ImportKeyMaterialTypeDef,  # (1)
    KeyCheckValueAlgorithm: NotRequired[KeyCheckValueAlgorithmType],  # (2)
    Enabled: NotRequired[bool],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
  1. See ImportKeyMaterialTypeDef
  2. See KeyCheckValueAlgorithmType
  3. See Sequence[TagTypeDef]

ExportKeyInputTypeDef#

# ExportKeyInputTypeDef TypedDict usage example

from mypy_boto3_payment_cryptography.type_defs import ExportKeyInputTypeDef


def get_value() -> ExportKeyInputTypeDef:
    return {
        "KeyMaterial": ...,
    }


# ExportKeyInputTypeDef definition

class ExportKeyInputTypeDef(TypedDict):
    KeyMaterial: ExportKeyMaterialTypeDef,  # (1)
    ExportKeyIdentifier: str,
    ExportAttributes: NotRequired[ExportAttributesTypeDef],  # (2)
  1. See ExportKeyMaterialTypeDef
  2. See ExportAttributesTypeDef