Skip to content

Type definitions#

Index > BillingandCostManagementDataExports > Type definitions

Auto-generated documentation for BillingandCostManagementDataExports type annotations stubs module mypy-boto3-bcm-data-exports.

ExportUnionTypeDef#

# ExportUnionTypeDef definition

ExportUnionTypeDef = Union[
    ExportTypeDef,  # (1)
    ExportOutputTypeDef,  # (2)
]
  1. See ExportTypeDef
  2. See ExportOutputTypeDef

ColumnTypeDef#

# ColumnTypeDef definition

class ColumnTypeDef(TypedDict):
    Description: NotRequired[str],
    Name: NotRequired[str],
    Type: NotRequired[str],

ResourceTagTypeDef#

# ResourceTagTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

DataQueryOutputTypeDef#

# DataQueryOutputTypeDef definition

class DataQueryOutputTypeDef(TypedDict):
    QueryStatement: str,
    TableConfigurations: NotRequired[Dict[str, Dict[str, str]]],

DataQueryTypeDef#

# DataQueryTypeDef definition

class DataQueryTypeDef(TypedDict):
    QueryStatement: str,
    TableConfigurations: NotRequired[Mapping[str, Mapping[str, str]]],

DeleteExportRequestRequestTypeDef#

# DeleteExportRequestRequestTypeDef definition

class DeleteExportRequestRequestTypeDef(TypedDict):
    ExportArn: str,

ExecutionStatusTypeDef#

# ExecutionStatusTypeDef definition

class ExecutionStatusTypeDef(TypedDict):
    CompletedAt: NotRequired[datetime],
    CreatedAt: NotRequired[datetime],
    LastUpdatedAt: NotRequired[datetime],
    StatusCode: NotRequired[ExecutionStatusCodeType],  # (1)
    StatusReason: NotRequired[ExecutionStatusReasonType],  # (2)
  1. See ExecutionStatusCodeType
  2. See ExecutionStatusReasonType

RefreshCadenceTypeDef#

# RefreshCadenceTypeDef definition

class RefreshCadenceTypeDef(TypedDict):
    Frequency: FrequencyOptionType,  # (1)
  1. See FrequencyOptionType

ExportStatusTypeDef#

# ExportStatusTypeDef definition

class ExportStatusTypeDef(TypedDict):
    CreatedAt: NotRequired[datetime],
    LastRefreshedAt: NotRequired[datetime],
    LastUpdatedAt: NotRequired[datetime],
    StatusCode: NotRequired[ExportStatusCodeType],  # (1)
    StatusReason: NotRequired[ExecutionStatusReasonType],  # (2)
  1. See ExportStatusCodeType
  2. See ExecutionStatusReasonType

GetExecutionRequestRequestTypeDef#

# GetExecutionRequestRequestTypeDef definition

class GetExecutionRequestRequestTypeDef(TypedDict):
    ExecutionId: str,
    ExportArn: str,

GetExportRequestRequestTypeDef#

# GetExportRequestRequestTypeDef definition

class GetExportRequestRequestTypeDef(TypedDict):
    ExportArn: str,

GetTableRequestRequestTypeDef#

# GetTableRequestRequestTypeDef definition

class GetTableRequestRequestTypeDef(TypedDict):
    TableName: str,
    TableProperties: NotRequired[Mapping[str, str]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListExecutionsRequestRequestTypeDef#

# ListExecutionsRequestRequestTypeDef definition

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

ListExportsRequestRequestTypeDef#

# ListExportsRequestRequestTypeDef definition

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

ListTablesRequestRequestTypeDef#

# ListTablesRequestRequestTypeDef definition

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

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

S3OutputConfigurationsTypeDef#

# S3OutputConfigurationsTypeDef definition

class S3OutputConfigurationsTypeDef(TypedDict):
    Compression: CompressionOptionType,  # (1)
    Format: FormatOptionType,  # (2)
    OutputType: S3OutputTypeType,  # (3)
    Overwrite: OverwriteOptionType,  # (4)
  1. See CompressionOptionType
  2. See FormatOptionType
  3. See S3OutputTypeType
  4. See OverwriteOptionType

TablePropertyDescriptionTypeDef#

# TablePropertyDescriptionTypeDef definition

class TablePropertyDescriptionTypeDef(TypedDict):
    DefaultValue: NotRequired[str],
    Description: NotRequired[str],
    Name: NotRequired[str],
    ValidValues: NotRequired[List[str]],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTagKeys: Sequence[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    ResourceTags: Sequence[ResourceTagTypeDef],  # (1)
  1. See ResourceTagTypeDef

CreateExportResponseTypeDef#

# CreateExportResponseTypeDef definition

class CreateExportResponseTypeDef(TypedDict):
    ExportArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteExportResponseTypeDef#

# DeleteExportResponseTypeDef definition

class DeleteExportResponseTypeDef(TypedDict):
    ExportArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetTableResponseTypeDef#

# GetTableResponseTypeDef definition

class GetTableResponseTypeDef(TypedDict):
    Description: str,
    Schema: List[ColumnTypeDef],  # (1)
    TableName: str,
    TableProperties: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ColumnTypeDef
  2. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    ResourceTags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ResourceTagTypeDef
  2. See ResponseMetadataTypeDef

UpdateExportResponseTypeDef#

# UpdateExportResponseTypeDef definition

class UpdateExportResponseTypeDef(TypedDict):
    ExportArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ExecutionReferenceTypeDef#

# ExecutionReferenceTypeDef definition

class ExecutionReferenceTypeDef(TypedDict):
    ExecutionId: str,
    ExecutionStatus: ExecutionStatusTypeDef,  # (1)
  1. See ExecutionStatusTypeDef

ExportReferenceTypeDef#

# ExportReferenceTypeDef definition

class ExportReferenceTypeDef(TypedDict):
    ExportArn: str,
    ExportName: str,
    ExportStatus: ExportStatusTypeDef,  # (1)
  1. See ExportStatusTypeDef

ListExecutionsRequestListExecutionsPaginateTypeDef#

# ListExecutionsRequestListExecutionsPaginateTypeDef definition

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

ListExportsRequestListExportsPaginateTypeDef#

# ListExportsRequestListExportsPaginateTypeDef definition

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

ListTablesRequestListTablesPaginateTypeDef#

# ListTablesRequestListTablesPaginateTypeDef definition

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

S3DestinationTypeDef#

# S3DestinationTypeDef definition

class S3DestinationTypeDef(TypedDict):
    S3Bucket: str,
    S3OutputConfigurations: S3OutputConfigurationsTypeDef,  # (1)
    S3Prefix: str,
    S3Region: str,
  1. See S3OutputConfigurationsTypeDef

TableTypeDef#

# TableTypeDef definition

class TableTypeDef(TypedDict):
    Description: NotRequired[str],
    TableName: NotRequired[str],
    TableProperties: NotRequired[List[TablePropertyDescriptionTypeDef]],  # (1)
  1. See TablePropertyDescriptionTypeDef

ListExecutionsResponseTypeDef#

# ListExecutionsResponseTypeDef definition

class ListExecutionsResponseTypeDef(TypedDict):
    Executions: List[ExecutionReferenceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ExecutionReferenceTypeDef
  2. See ResponseMetadataTypeDef

ListExportsResponseTypeDef#

# ListExportsResponseTypeDef definition

class ListExportsResponseTypeDef(TypedDict):
    Exports: List[ExportReferenceTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ExportReferenceTypeDef
  2. See ResponseMetadataTypeDef

DestinationConfigurationsTypeDef#

# DestinationConfigurationsTypeDef definition

class DestinationConfigurationsTypeDef(TypedDict):
    S3Destination: S3DestinationTypeDef,  # (1)
  1. See S3DestinationTypeDef

ListTablesResponseTypeDef#

# ListTablesResponseTypeDef definition

class ListTablesResponseTypeDef(TypedDict):
    Tables: List[TableTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TableTypeDef
  2. See ResponseMetadataTypeDef

ExportOutputTypeDef#

# ExportOutputTypeDef definition

class ExportOutputTypeDef(TypedDict):
    DataQuery: DataQueryOutputTypeDef,  # (1)
    DestinationConfigurations: DestinationConfigurationsTypeDef,  # (2)
    Name: str,
    RefreshCadence: RefreshCadenceTypeDef,  # (3)
    Description: NotRequired[str],
    ExportArn: NotRequired[str],
  1. See