Skip to content

Type definitions#

Index > DataExchange > Type definitions

Auto-generated documentation for DataExchange type annotations stubs module mypy-boto3-dataexchange.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ApiGatewayApiAssetTypeDef#

# ApiGatewayApiAssetTypeDef definition

class ApiGatewayApiAssetTypeDef(TypedDict):
    ApiDescription: NotRequired[str],
    ApiEndpoint: NotRequired[str],
    ApiId: NotRequired[str],
    ApiKey: NotRequired[str],
    ApiName: NotRequired[str],
    ApiSpecificationDownloadUrl: NotRequired[str],
    ApiSpecificationDownloadUrlExpiresAt: NotRequired[datetime],
    ProtocolType: NotRequired[ProtocolTypeType],  # (1)
    Stage: NotRequired[str],
  1. See ProtocolTypeType

AssetDestinationEntryTypeDef#

# AssetDestinationEntryTypeDef definition

class AssetDestinationEntryTypeDef(TypedDict):
    AssetId: str,
    Bucket: str,
    Key: NotRequired[str],

RedshiftDataShareAssetTypeDef#

# RedshiftDataShareAssetTypeDef definition

class RedshiftDataShareAssetTypeDef(TypedDict):
    Arn: str,

S3SnapshotAssetTypeDef#

# S3SnapshotAssetTypeDef definition

class S3SnapshotAssetTypeDef(TypedDict):
    Size: float,

AssetSourceEntryTypeDef#

# AssetSourceEntryTypeDef definition

class AssetSourceEntryTypeDef(TypedDict):
    Bucket: str,
    Key: str,

AutoExportRevisionDestinationEntryTypeDef#

# AutoExportRevisionDestinationEntryTypeDef definition

class AutoExportRevisionDestinationEntryTypeDef(TypedDict):
    Bucket: str,
    KeyPattern: NotRequired[str],

ExportServerSideEncryptionTypeDef#

# ExportServerSideEncryptionTypeDef definition

class ExportServerSideEncryptionTypeDef(TypedDict):
    Type: ServerSideEncryptionTypesType,  # (1)
    KmsKeyArn: NotRequired[str],
  1. See ServerSideEncryptionTypesType

CancelJobRequestRequestTypeDef#

# CancelJobRequestRequestTypeDef definition

class CancelJobRequestRequestTypeDef(TypedDict):
    JobId: str,

CreateDataSetRequestRequestTypeDef#

# CreateDataSetRequestRequestTypeDef definition

class CreateDataSetRequestRequestTypeDef(TypedDict):
    AssetType: AssetTypeType,  # (1)
    Description: str,
    Name: str,
    Tags: NotRequired[Mapping[str, str]],
  1. See AssetTypeType

OriginDetailsTypeDef#

# OriginDetailsTypeDef definition

class OriginDetailsTypeDef(TypedDict):
    ProductId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

CreateRevisionRequestRequestTypeDef#

# CreateRevisionRequestRequestTypeDef definition

class CreateRevisionRequestRequestTypeDef(TypedDict):
    DataSetId: str,
    Comment: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

LFTagOutputTypeDef#

# LFTagOutputTypeDef definition

class LFTagOutputTypeDef(TypedDict):
    TagKey: str,
    TagValues: List[str],

LFTagTypeDef#

# LFTagTypeDef definition

class LFTagTypeDef(TypedDict):
    TagKey: str,
    TagValues: Sequence[str],

DeleteAssetRequestRequestTypeDef#

# DeleteAssetRequestRequestTypeDef definition

class DeleteAssetRequestRequestTypeDef(TypedDict):
    AssetId: str,
    DataSetId: str,
    RevisionId: str,

DeleteDataSetRequestRequestTypeDef#

# DeleteDataSetRequestRequestTypeDef definition

class DeleteDataSetRequestRequestTypeDef(TypedDict):
    DataSetId: str,

DeleteEventActionRequestRequestTypeDef#

# DeleteEventActionRequestRequestTypeDef definition

class DeleteEventActionRequestRequestTypeDef(TypedDict):
    EventActionId: str,

DeleteRevisionRequestRequestTypeDef#

# DeleteRevisionRequestRequestTypeDef definition

class DeleteRevisionRequestRequestTypeDef(TypedDict):
    DataSetId: str,
    RevisionId: str,

ImportAssetFromSignedUrlJobErrorDetailsTypeDef#

# ImportAssetFromSignedUrlJobErrorDetailsTypeDef definition

class ImportAssetFromSignedUrlJobErrorDetailsTypeDef(TypedDict):
    AssetName: str,

RevisionPublishedTypeDef#

# RevisionPublishedTypeDef definition

class RevisionPublishedTypeDef(TypedDict):
    DataSetId: str,

ExportAssetToSignedUrlRequestDetailsTypeDef#

# ExportAssetToSignedUrlRequestDetailsTypeDef definition

class ExportAssetToSignedUrlRequestDetailsTypeDef(TypedDict):
    AssetId: str,
    DataSetId: str,
    RevisionId: str,

ExportAssetToSignedUrlResponseDetailsTypeDef#

# ExportAssetToSignedUrlResponseDetailsTypeDef definition

class ExportAssetToSignedUrlResponseDetailsTypeDef(TypedDict):
    AssetId: str,
    DataSetId: str,
    RevisionId: str,
    SignedUrl: NotRequired[str],
    SignedUrlExpiresAt: NotRequired[datetime],

RevisionDestinationEntryTypeDef#

# RevisionDestinationEntryTypeDef definition

class RevisionDestinationEntryTypeDef(TypedDict):
    Bucket: str,
    RevisionId: str,
    KeyPattern: NotRequired[str],

GetAssetRequestRequestTypeDef#

# GetAssetRequestRequestTypeDef definition

class GetAssetRequestRequestTypeDef(TypedDict):
    AssetId: str,
    DataSetId: str,
    RevisionId: str,

GetDataSetRequestRequestTypeDef#

# GetDataSetRequestRequestTypeDef definition

class GetDataSetRequestRequestTypeDef(TypedDict):
    DataSetId: str,

GetEventActionRequestRequestTypeDef#

# GetEventActionRequestRequestTypeDef definition

class GetEventActionRequestRequestTypeDef(TypedDict):
    EventActionId: str,

GetJobRequestRequestTypeDef#

# GetJobRequestRequestTypeDef definition

class GetJobRequestRequestTypeDef(TypedDict):
    JobId: str,

GetRevisionRequestRequestTypeDef#

# GetRevisionRequestRequestTypeDef definition

class GetRevisionRequestRequestTypeDef(TypedDict):
    DataSetId: str,
    RevisionId: str,

ImportAssetFromApiGatewayApiRequestDetailsTypeDef#

# ImportAssetFromApiGatewayApiRequestDetailsTypeDef definition

class ImportAssetFromApiGatewayApiRequestDetailsTypeDef(TypedDict):
    ApiId: str,
    ApiName: str,
    ApiSpecificationMd5Hash: str,
    DataSetId: str,
    ProtocolType: ProtocolTypeType,  # (1)
    RevisionId: str,
    Stage: str,
    ApiDescription: NotRequired[str],
    ApiKey: NotRequired[str],
  1. See ProtocolTypeType

ImportAssetFromApiGatewayApiResponseDetailsTypeDef#

# ImportAssetFromApiGatewayApiResponseDetailsTypeDef definition

class ImportAssetFromApiGatewayApiResponseDetailsTypeDef(TypedDict):
    ApiId: str,
    ApiName: str,
    ApiSpecificationMd5Hash: str,
    ApiSpecificationUploadUrl: str,
    ApiSpecificationUploadUrlExpiresAt: datetime,
    DataSetId: str,
    ProtocolType: ProtocolTypeType,  # (1)
    RevisionId: str,
    Stage: str,
    ApiDescription: NotRequired[str],
    ApiKey: NotRequired[str],
  1. See ProtocolTypeType

ImportAssetFromSignedUrlRequestDetailsTypeDef#

# ImportAssetFromSignedUrlRequestDetailsTypeDef definition

class ImportAssetFromSignedUrlRequestDetailsTypeDef(TypedDict):
    AssetName: str,
    DataSetId: str,
    Md5Hash: str,
    RevisionId: str,

ImportAssetFromSignedUrlResponseDetailsTypeDef#

# ImportAssetFromSignedUrlResponseDetailsTypeDef definition

class ImportAssetFromSignedUrlResponseDetailsTypeDef(TypedDict):
    AssetName: str,
    DataSetId: str,
    RevisionId: str,
    Md5Hash: NotRequired[str],
    SignedUrl: NotRequired[str],
    SignedUrlExpiresAt: NotRequired[datetime],

RedshiftDataShareAssetSourceEntryTypeDef#

# RedshiftDataShareAssetSourceEntryTypeDef definition

class RedshiftDataShareAssetSourceEntryTypeDef(TypedDict):
    DataShareArn: str,

KmsKeyToGrantTypeDef#

# KmsKeyToGrantTypeDef definition

class KmsKeyToGrantTypeDef(TypedDict):
    KmsKeyArn: str,

LakeFormationTagPolicyDetailsTypeDef#

# LakeFormationTagPolicyDetailsTypeDef definition

class LakeFormationTagPolicyDetailsTypeDef(TypedDict):
    Database: NotRequired[str],
    Table: NotRequired[str],

PaginatorConfigTypeDef#

# Pagi