Skip to content

BillingandCostManagementDataExportsClient#

Index > BillingandCostManagementDataExports > BillingandCostManagementDataExportsClient

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

BillingandCostManagementDataExportsClient#

Type annotations and code completion for boto3.client("bcm-data-exports"). boto3 documentation

# BillingandCostManagementDataExportsClient usage example

from boto3.session import Session
from mypy_boto3_bcm_data_exports.client import BillingandCostManagementDataExportsClient

def get_bcm-data-exports_client() -> BillingandCostManagementDataExportsClient:
    return Session().client("bcm-data-exports")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("bcm-data-exports").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("bcm-data-exports")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_bcm_data_exports.client import Exceptions

def handle_error(exc: Exceptions.ClientError) -> None:
    ...

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("bcm-data-exports").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("bcm-data-exports").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_export#

Creates a data export and specifies the data query, the delivery preference, and any optional resource tags.

Type annotations and code completion for boto3.client("bcm-data-exports").create_export method. boto3 documentation

# create_export method definition

def create_export(
    self,
    *,
    Export: Union[ExportTypeDef, ExportOutputTypeDef],  # (1)
    ResourceTags: Sequence[ResourceTagTypeDef] = ...,  # (2)
) -> CreateExportResponseTypeDef:  # (3)
    ...
  1. See ExportTypeDef ExportOutputTypeDef
  2. See ResourceTagTypeDef
  3. See CreateExportResponseTypeDef
# create_export method usage example with argument unpacking

kwargs: CreateExportRequestRequestTypeDef = {  # (1)
    "Export": ...,
}

parent.create_export(**kwargs)
  1. See CreateExportRequestRequestTypeDef

delete_export#

Deletes an existing data export.

Type annotations and code completion for boto3.client("bcm-data-exports").delete_export method. boto3 documentation

# delete_export method definition

def delete_export(
    self,
    *,
    ExportArn: str,
) -> DeleteExportResponseTypeDef:  # (1)
    ...
  1. See DeleteExportResponseTypeDef
# delete_export method usage example with argument unpacking

kwargs: DeleteExportRequestRequestTypeDef = {  # (1)
    "ExportArn": ...,
}

parent.delete_export(**kwargs)
  1. See DeleteExportRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("bcm-data-exports").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_execution#

Exports data based on the source data update.

Type annotations and code completion for boto3.client("bcm-data-exports").get_execution method. boto3 documentation

# get_execution method definition

def get_execution(
    self,
    *,
    ExecutionId: str,
    ExportArn: str,
) -> GetExecutionResponseTypeDef:  # (1)
    ...
  1. See GetExecutionResponseTypeDef
# get_execution method usage example with argument unpacking

kwargs: GetExecutionRequestRequestTypeDef = {  # (1)
    "ExecutionId": ...,
    "ExportArn": ...,
}

parent.get_execution(**kwargs)
  1. See GetExecutionRequestRequestTypeDef

get_export#

Views the definition of an existing data export.

Type annotations and code completion for boto3.client("bcm-data-exports").get_export method. boto3 documentation

# get_export method definition

def get_export(
    self,
    *,
    ExportArn: str,
) -> GetExportResponseTypeDef:  # (1)
    ...
  1. See GetExportResponseTypeDef
# get_export method usage example with argument unpacking

kwargs: GetExportRequestRequestTypeDef = {  # (1)
    "ExportArn": ...,
}

parent.get_export(**kwargs)
  1. See GetExportRequestRequestTypeDef

get_table#

Returns the metadata for the specified table and table properties.

Type annotations and code completion for boto3.client("bcm-data-exports").get_table method. boto3 documentation

# get_table method definition

def get_table(
    self,
    *,
    TableName: str,
    TableProperties: Mapping[str, str] = ...,
) -> GetTableResponseTypeDef:  # (1)
    ...
  1. See GetTableResponseTypeDef
# get_table method usage example with argument unpacking

kwargs: GetTableRequestRequestTypeDef = {  # (1)
    "TableName": ...,
}

parent.get_table(**kwargs)
  1. See GetTableRequestRequestTypeDef

list_executions#

Lists the historical executions for the export.

Type annotations and code completion for boto3.client("bcm-data-exports").list_executions method. boto3 documentation

# list_executions method definition

def list_executions(
    self,
    *,
    ExportArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListExecutionsResponseTypeDef:  # (1)
    ...
  1. See ListExecutionsResponseTypeDef
# list_executions method usage example with argument unpacking

kwargs: ListExecutionsRequestRequestTypeDef = {  # (1)
    "ExportArn": ...,
}

parent.list_executions(**kwargs)
  1. See ListExecutionsRequestRequestTypeDef

list_exports#

Lists all data export definitions.

Type annotations and code completion for boto3.client("bcm-data-exports").list_exports method. boto3 documentation

# list_exports method definition

def list_exports(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListExportsResponseTypeDef:  # (1)
    ...
  1. See ListExportsResponseTypeDef
# list_exports method usage example with argument unpacking

kwargs: ListExportsRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_exports(**kwargs)
  1. See ListExportsRequestRequestTypeDef

list_tables#

Lists all available tables in data exports.

Type annotations and code completion for boto3.client("bcm-data-exports").list_tables method. boto3 documentation

# list_tables method definition

def list_tables(
    self,
    *,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListTablesResponseTypeDef:  # (1)
    ...
  1. See ListTablesResponseTypeDef
# list_tables method usage example with argument unpacking

kwargs: ListTablesRequestRequestTypeDef = {  # (1)
    "MaxResults": ...,
}

parent.list_tables(**kwargs)
  1. See ListTablesRequestRequestTypeDef

list_tags_for_resource#

List tags associated with an existing data export.

Type annotations and code completion for boto3.client("bcm-data-exports").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

tag_resource#

Adds tags for an existing data export definition.

Type annotations and code completion for boto3.client("bcm-data-exports").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    ResourceArn: str,
    ResourceTags: Sequence[ResourceTagTypeDef],  # (1)
) -> Dict[str, Any]:
    ...
  1. See ResourceTagTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "ResourceTags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Deletes tags associated with an existing data export definition.

Type annotations and code completion for boto3.client("bcm-data-exports").untag_resource method.