Skip to content

Type definitions#

Index > BillingandCostManagementDataExports > Type definitions

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

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],

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

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

RefreshCadenceTypeDef#

# RefreshCadenceTypeDef definition

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

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):
    NextToken: str,
    ResourceTags: List[ResourceTagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  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)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExecutionReferenceTypeDef
  2. See ResponseMetadataTypeDef

ListExportsResponseTypeDef#

# ListExportsResponseTypeDef definition

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

DestinationConfigurationsTypeDef#

# DestinationConfigurationsTypeDef definition

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

ListTablesResponseTypeDef#

# ListTablesResponseTypeDef definition

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

ExportTypeDef#

# ExportTypeDef definition

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

CreateExportRequestRequestTypeDef#

# CreateExportRequestRequestTypeDef definition

class CreateExportRequestRequestTypeDef(TypedDict):
    Export: ExportTypeDef,  # (1)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
  1. See ExportTypeDef
  2. See ResourceTagTypeDef

GetExecutionResponseTypeDef#

# GetExecutionResponseTypeDef definition

class GetExecutionResponseTypeDef(TypedDict):
    ExecutionId: str,
    ExecutionStatus: ExecutionStatusTypeDef,  # (1)
    Export: ExportTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ExecutionStatusTypeDef
  2. See ExportTypeDef
  3. See ResponseMetadataTypeDef

GetExportResponseTypeDef#

# GetExportResponseTypeDef definition

class GetExportResponseTypeDef(TypedDict):
    Export: ExportTypeDef,  # (1)
    ExportStatus: ExportStatusTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ExportTypeDef
  2. See ExportStatusTypeDef
  3. See ResponseMetadataTypeDef

UpdateExportRequestRequestTypeDef#

# UpdateExportRequestRequestTypeDef definition

class UpdateExportRequestRequestTypeDef(TypedDict):
    Export: ExportTypeDef,  # (1)
    ExportArn: str,
  1. See ExportTypeDef