Skip to content

Type definitions#

Index > PaymentCryptographyControlPlane > Type definitions

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

AliasTypeDef#

# AliasTypeDef definition

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

CreateAliasInputRequestTypeDef#

# CreateAliasInputRequestTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    Value: NotRequired[str],

DeleteAliasInputRequestTypeDef#

# DeleteAliasInputRequestTypeDef definition

class DeleteAliasInputRequestTypeDef(TypedDict):
    AliasName: str,

DeleteKeyInputRequestTypeDef#

# DeleteKeyInputRequestTypeDef definition

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

ExportDukptInitialKeyTypeDef#

# ExportDukptInitialKeyTypeDef definition

class ExportDukptInitialKeyTypeDef(TypedDict):
    KeySerialNumber: str,

ExportKeyCryptogramTypeDef#

# ExportKeyCryptogramTypeDef definition

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

WrappedKeyTypeDef#

# 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

GetAliasInputRequestTypeDef#

# GetAliasInputRequestTypeDef definition

class GetAliasInputRequestTypeDef(TypedDict):
    AliasName: str,

GetKeyInputRequestTypeDef#

# GetKeyInputRequestTypeDef definition

class GetKeyInputRequestTypeDef(TypedDict):
    KeyIdentifier: str,

GetParametersForExportInputRequestTypeDef#

# GetParametersForExportInputRequestTypeDef definition

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

GetParametersForImportInputRequestTypeDef#

# GetParametersForImportInputRequestTypeDef definition

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

GetPublicKeyCertificateInputRequestTypeDef#

# GetPublicKeyCertificateInputRequestTypeDef definition

class GetPublicKeyCertificateInputRequestTypeDef(TypedDict):
    KeyIdentifier: str,

ImportTr31KeyBlockTypeDef#

# ImportTr31KeyBlockTypeDef definition

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

ImportTr34KeyBlockTypeDef#

# ImportTr34KeyBlockTypeDef definition

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

KeyModesOfUseTypeDef#

# 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 definition

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

ListAliasesInputRequestTypeDef#

# ListAliasesInputRequestTypeDef definition

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

ListKeysInputRequestTypeDef#

# ListKeysInputRequestTypeDef definition

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

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef definition

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

RestoreKeyInputRequestTypeDef#

# RestoreKeyInputRequestTypeDef definition

class RestoreKeyInputRequestTypeDef(TypedDict):
    KeyIdentifier: str,

StartKeyUsageInputRequestTypeDef#

# StartKeyUsageInputRequestTypeDef definition

class StartKeyUsageInputRequestTypeDef(TypedDict):
    KeyIdentifier: str,

StopKeyUsageInputRequestTypeDef#

# StopKeyUsageInputRequestTypeDef definition

class StopKeyUsageInputRequestTypeDef(TypedDict):
    KeyIdentifier: str,

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef definition

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

UpdateAliasInputRequestTypeDef#

# UpdateAliasInputRequestTypeDef definition

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

CreateAliasOutputTypeDef#

# CreateAliasOutputTypeDef definition

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

GetAliasOutputTypeDef#

# GetAliasOutputTypeDef definition

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

GetParametersForExportOutputTypeDef#

# GetParametersForExportOutputTypeDef definition

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

GetParametersForImportOutputTypeDef#

# GetParametersForImportOutputTypeDef definition

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

GetPublicKeyCertificateOutputTypeDef#

# GetPublicKeyCertificateOutputTypeDef definition

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

ListAliasesOutputTypeDef#

# ListAliasesOutputTypeDef definition

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

UpdateAliasOutputTypeDef#

# UpdateAliasOutputTypeDef definition

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

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef definition

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef definition

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

ExportAttributesTypeDef#

# ExportAttributesTypeDef definition

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

ExportKeyOutputTypeDef#

# ExportKeyOutputTypeDef definition

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

KeyAttributesTypeDef#

# 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 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

ListAliasesInputListAliasesPaginateTypeDef#

# ListAliasesInputListAliasesPaginateTypeDef definition

class ListAliasesInputListAliasesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListKeysInputListKeysPaginateTypeDef#

# ListKeysInputListKeysPaginateTypeDef definition

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

ListTagsForResourceInputListTagsForResourcePaginateTypeDef#

# ListTagsForResourceInputListTagsForResourcePaginateTypeDef definition

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

CreateKeyInputRequestTypeDef#

# CreateKeyInputRequestTypeDef definition

class CreateKeyInputRequestTypeDef(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 TagTypeDef

ImportKeyCryptogramTypeDef#

# 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 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 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,
    UsageStartTimestamp: NotRequired[datetime],
    UsageStopTimestamp: NotRequired[datetime],
    DeletePendingTimestamp: NotRequired[datetime],
    DeleteTimestamp: NotRequired[datetime],
  1. See KeyAttributesTypeDef
  2. See KeyCheckValueAlgorithmType
  3. See KeyStateType
  4. See KeyOriginType

RootCertificatePublicKeyTypeDef#

# RootCertificatePublicKeyTypeDef definition

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

TrustedCertificatePublicKeyTypeDef#

# TrustedCertificatePublicKeyTypeDef definition

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

ExportTr31KeyBlockTypeDef#

# ExportTr31KeyBlockTypeDef definition

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

ExportTr34KeyBlockTypeDef#

# 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 definition

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

CreateKeyOutputTypeDef#

# CreateKeyOutputTypeDef definition

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

DeleteKeyOutputTypeDef#

# DeleteKeyOutputTypeDef definition

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

GetKeyOutputTypeDef#

# GetKeyOutputTypeDef definition

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