Skip to content

Type definitions#

Index > SignerDataPlane > Type definitions

Auto-generated documentation for SignerDataPlane type annotations stubs module types-boto3-signer-data.

TimestampTypeDef#

# TimestampTypeDef Union usage example

from types_boto3_signer_data.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime.datetime,
    str,
]

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from types_boto3_signer_data.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],

GetRevocationStatusRequestTypeDef#

# GetRevocationStatusRequestTypeDef TypedDict usage example

from types_boto3_signer_data.type_defs import GetRevocationStatusRequestTypeDef


def get_value() -> GetRevocationStatusRequestTypeDef:
    return {
        "signatureTimestamp": ...,
    }


# GetRevocationStatusRequestTypeDef definition

class GetRevocationStatusRequestTypeDef(TypedDict):
    signatureTimestamp: TimestampTypeDef,
    platformId: str,
    profileVersionArn: str,
    jobArn: str,
    certificateHashes: Sequence[str],

GetRevocationStatusResponseTypeDef#

# GetRevocationStatusResponseTypeDef TypedDict usage example

from types_boto3_signer_data.type_defs import GetRevocationStatusResponseTypeDef


def get_value() -> GetRevocationStatusResponseTypeDef:
    return {
        "revokedEntities": ...,
    }


# GetRevocationStatusResponseTypeDef definition

class GetRevocationStatusResponseTypeDef(TypedDict):
    revokedEntities: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef