@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBCMDataExportsAsyncClient extends AWSBCMDataExportsClient implements AWSBCMDataExportsAsync
AsyncHandler
can be used to receive notification when an asynchronous operation completes.
You can use the Data Exports API to create customized exports from multiple Amazon Web Services cost management and billing datasets, such as cost and usage data and cost optimization recommendations.
The Data Exports API provides the following endpoint:
https://bcm-data-exports.us-east-1.api.aws
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createExport, deleteExport, getCachedResponseMetadata, getExecution, getExport, getTable, listExecutions, listExports, listTables, listTagsForResource, tagResource, untagResource, updateExportaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateExport, deleteExport, getCachedResponseMetadata, getExecution, getExport, getTable, listExecutions, listExports, listTables, listTagsForResource, tagResource, untagResource, updateExportpublic static AWSBCMDataExportsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateExportResult> createExportAsync(CreateExportRequest request)
AWSBCMDataExportsAsyncCreates a data export and specifies the data query, the delivery preference, and any optional resource tags.
A DataQuery consists of both a QueryStatement and TableConfigurations.
The QueryStatement is an SQL statement. Data Exports only supports a limited subset of the SQL
syntax. For more information on the SQL syntax that is supported, see Data query. To view the available
tables and columns, see the Data Exports table
dictionary.
The TableConfigurations is a collection of specified TableProperties for the table
being queried in the QueryStatement. TableProperties are additional configurations you can provide
to change the data and schema of a table. Each table can have different TableProperties. However, tables are not
required to have any TableProperties. Each table property has a default value that it assumes if not specified.
For more information on table configurations, see Data query. To view the table
properties available for each table, see the Data Exports table
dictionary or use the ListTables API to get a response of all tables and their available
properties.
createExportAsync in interface AWSBCMDataExportsAsyncpublic Future<CreateExportResult> createExportAsync(CreateExportRequest request, AsyncHandler<CreateExportRequest,CreateExportResult> asyncHandler)
AWSBCMDataExportsAsyncCreates a data export and specifies the data query, the delivery preference, and any optional resource tags.
A DataQuery consists of both a QueryStatement and TableConfigurations.
The QueryStatement is an SQL statement. Data Exports only supports a limited subset of the SQL
syntax. For more information on the SQL syntax that is supported, see Data query. To view the available
tables and columns, see the Data Exports table
dictionary.
The TableConfigurations is a collection of specified TableProperties for the table
being queried in the QueryStatement. TableProperties are additional configurations you can provide
to change the data and schema of a table. Each table can have different TableProperties. However, tables are not
required to have any TableProperties. Each table property has a default value that it assumes if not specified.
For more information on table configurations, see Data query. To view the table
properties available for each table, see the Data Exports table
dictionary or use the ListTables API to get a response of all tables and their available
properties.
createExportAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteExportResult> deleteExportAsync(DeleteExportRequest request)
AWSBCMDataExportsAsyncDeletes an existing data export.
deleteExportAsync in interface AWSBCMDataExportsAsyncpublic Future<DeleteExportResult> deleteExportAsync(DeleteExportRequest request, AsyncHandler<DeleteExportRequest,DeleteExportResult> asyncHandler)
AWSBCMDataExportsAsyncDeletes an existing data export.
deleteExportAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetExecutionResult> getExecutionAsync(GetExecutionRequest request)
AWSBCMDataExportsAsyncExports data based on the source data update.
getExecutionAsync in interface AWSBCMDataExportsAsyncpublic Future<GetExecutionResult> getExecutionAsync(GetExecutionRequest request, AsyncHandler<GetExecutionRequest,GetExecutionResult> asyncHandler)
AWSBCMDataExportsAsyncExports data based on the source data update.
getExecutionAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetExportResult> getExportAsync(GetExportRequest request)
AWSBCMDataExportsAsyncViews the definition of an existing data export.
getExportAsync in interface AWSBCMDataExportsAsyncpublic Future<GetExportResult> getExportAsync(GetExportRequest request, AsyncHandler<GetExportRequest,GetExportResult> asyncHandler)
AWSBCMDataExportsAsyncViews the definition of an existing data export.
getExportAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTableResult> getTableAsync(GetTableRequest request)
AWSBCMDataExportsAsyncReturns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.
getTableAsync in interface AWSBCMDataExportsAsyncpublic Future<GetTableResult> getTableAsync(GetTableRequest request, AsyncHandler<GetTableRequest,GetTableResult> asyncHandler)
AWSBCMDataExportsAsyncReturns the metadata for the specified table and table properties. This includes the list of columns in the table schema, their data types, and column descriptions.
getTableAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListExecutionsResult> listExecutionsAsync(ListExecutionsRequest request)
AWSBCMDataExportsAsyncLists the historical executions for the export.
listExecutionsAsync in interface AWSBCMDataExportsAsyncpublic Future<ListExecutionsResult> listExecutionsAsync(ListExecutionsRequest request, AsyncHandler<ListExecutionsRequest,ListExecutionsResult> asyncHandler)
AWSBCMDataExportsAsyncLists the historical executions for the export.
listExecutionsAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListExportsResult> listExportsAsync(ListExportsRequest request)
AWSBCMDataExportsAsyncLists all data export definitions.
listExportsAsync in interface AWSBCMDataExportsAsyncpublic Future<ListExportsResult> listExportsAsync(ListExportsRequest request, AsyncHandler<ListExportsRequest,ListExportsResult> asyncHandler)
AWSBCMDataExportsAsyncLists all data export definitions.
listExportsAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTablesResult> listTablesAsync(ListTablesRequest request)
AWSBCMDataExportsAsyncLists all available tables in data exports.
listTablesAsync in interface AWSBCMDataExportsAsyncpublic Future<ListTablesResult> listTablesAsync(ListTablesRequest request, AsyncHandler<ListTablesRequest,ListTablesResult> asyncHandler)
AWSBCMDataExportsAsyncLists all available tables in data exports.
listTablesAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBCMDataExportsAsyncList tags associated with an existing data export.
listTagsForResourceAsync in interface AWSBCMDataExportsAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBCMDataExportsAsyncList tags associated with an existing data export.
listTagsForResourceAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBCMDataExportsAsyncAdds tags for an existing data export definition.
tagResourceAsync in interface AWSBCMDataExportsAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBCMDataExportsAsyncAdds tags for an existing data export definition.
tagResourceAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBCMDataExportsAsyncDeletes tags associated with an existing data export definition.
untagResourceAsync in interface AWSBCMDataExportsAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBCMDataExportsAsyncDeletes tags associated with an existing data export definition.
untagResourceAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateExportResult> updateExportAsync(UpdateExportRequest request)
AWSBCMDataExportsAsyncUpdates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.
updateExportAsync in interface AWSBCMDataExportsAsyncpublic Future<UpdateExportResult> updateExportAsync(UpdateExportRequest request, AsyncHandler<UpdateExportRequest,UpdateExportResult> asyncHandler)
AWSBCMDataExportsAsyncUpdates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.
updateExportAsync in interface AWSBCMDataExportsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSBCMDataExportsshutdown in class AWSBCMDataExportsClient