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: ExportTypeDef, # (1)
ResourceTags: Sequence[ResourceTagTypeDef] = ..., # (2)
) -> CreateExportResponseTypeDef: # (3)
...
# create_export method usage example with argument unpacking
kwargs: CreateExportRequestRequestTypeDef = { # (1)
"Export": ...,
}
parent.create_export(**kwargs)
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)
...
# delete_export method usage example with argument unpacking
kwargs: DeleteExportRequestRequestTypeDef = { # (1)
"ExportArn": ...,
}
parent.delete_export(**kwargs)
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)
...
# get_execution method usage example with argument unpacking
kwargs: GetExecutionRequestRequestTypeDef = { # (1)
"ExecutionId": ...,
"ExportArn": ...,
}
parent.get_execution(**kwargs)
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)
...
# get_export method usage example with argument unpacking
kwargs: GetExportRequestRequestTypeDef = { # (1)
"ExportArn": ...,
}
parent.get_export(**kwargs)
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)
...
# get_table method usage example with argument unpacking
kwargs: GetTableRequestRequestTypeDef = { # (1)
"TableName": ...,
}
parent.get_table(**kwargs)
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)
...
# list_executions method usage example with argument unpacking
kwargs: ListExecutionsRequestRequestTypeDef = { # (1)
"ExportArn": ...,
}
parent.list_executions(**kwargs)
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)
...
# list_exports method usage example with argument unpacking
kwargs: ListExportsRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_exports(**kwargs)
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)
...
# list_tables method usage example with argument unpacking
kwargs: ListTablesRequestRequestTypeDef = { # (1)
"MaxResults": ...,
}
parent.list_tables(**kwargs)
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)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
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]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"ResourceTags": ...,
}
parent.tag_resource(**kwargs)
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.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
ResourceTagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"ResourceTagKeys": ...,
}
parent.untag_resource(**kwargs)
update_export#
Updates an existing data export by overwriting all export parameters.
Type annotations and code completion for boto3.client("bcm-data-exports").update_export
method.
boto3 documentation
# update_export method definition
def update_export(
self,
*,
Export: ExportTypeDef, # (1)
ExportArn: str,
) -> UpdateExportResponseTypeDef: # (2)
...
# update_export method usage example with argument unpacking
kwargs: UpdateExportRequestRequestTypeDef = { # (1)
"Export": ...,
"ExportArn": ...,
}
parent.update_export(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("bcm-data-exports").get_paginator
method with overloads.
client.get_paginator("list_executions")
-> ListExecutionsPaginatorclient.get_paginator("list_exports")
-> ListExportsPaginatorclient.get_paginator("list_tables")
-> ListTablesPaginator