@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBCMDataExportsClient extends AmazonWebServiceClient implements AWSBCMDataExports
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_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSBCMDataExportsClientBuilder |
builder() |
CreateExportResult |
createExport(CreateExportRequest request)
Creates a data export and specifies the data query, the delivery preference, and any optional resource tags.
|
DeleteExportResult |
deleteExport(DeleteExportRequest request)
Deletes an existing data export.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetExecutionResult |
getExecution(GetExecutionRequest request)
Exports data based on the source data update.
|
GetExportResult |
getExport(GetExportRequest request)
Views the definition of an existing data export.
|
GetTableResult |
getTable(GetTableRequest request)
Returns the metadata for the specified table and table properties.
|
ListExecutionsResult |
listExecutions(ListExecutionsRequest request)
Lists the historical executions for the export.
|
ListExportsResult |
listExports(ListExportsRequest request)
Lists all data export definitions.
|
ListTablesResult |
listTables(ListTablesRequest request)
Lists all available tables in data exports.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
List tags associated with an existing data export.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds tags for an existing data export definition.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Deletes tags associated with an existing data export definition.
|
UpdateExportResult |
updateExport(UpdateExportRequest request)
Updates an existing data export by overwriting all export parameters.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSBCMDataExportsClientBuilder builder()
public CreateExportResult createExport(CreateExportRequest request)
Creates 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.
createExport
in interface AWSBCMDataExports
createExportRequest
- ServiceQuotaExceededException
- You've reached the limit on the number of resources you can create, or exceeded the size of an individual
resource.InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public DeleteExportResult deleteExport(DeleteExportRequest request)
Deletes an existing data export.
deleteExport
in interface AWSBCMDataExports
deleteExportRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetExecutionResult getExecution(GetExecutionRequest request)
Exports data based on the source data update.
getExecution
in interface AWSBCMDataExports
getExecutionRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetExportResult getExport(GetExportRequest request)
Views the definition of an existing data export.
getExport
in interface AWSBCMDataExports
getExportRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public GetTableResult getTable(GetTableRequest request)
Returns 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.
getTable
in interface AWSBCMDataExports
getTableRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListExecutionsResult listExecutions(ListExecutionsRequest request)
Lists the historical executions for the export.
listExecutions
in interface AWSBCMDataExports
listExecutionsRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListExportsResult listExports(ListExportsRequest request)
Lists all data export definitions.
listExports
in interface AWSBCMDataExports
listExportsRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListTablesResult listTables(ListTablesRequest request)
Lists all available tables in data exports.
listTables
in interface AWSBCMDataExports
listTablesRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
List tags associated with an existing data export.
listTagsForResource
in interface AWSBCMDataExports
listTagsForResourceRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags for an existing data export definition.
tagResource
in interface AWSBCMDataExports
tagResourceRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public UntagResourceResult untagResource(UntagResourceRequest request)
Deletes tags associated with an existing data export definition.
untagResource
in interface AWSBCMDataExports
untagResourceRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public UpdateExportResult updateExport(UpdateExportRequest request)
Updates an existing data export by overwriting all export parameters. All export parameters must be provided in the UpdateExport request.
updateExport
in interface AWSBCMDataExports
updateExportRequest
- InternalServerException
- An error on the server occurred during the processing of your request. Try again later.ResourceNotFoundException
- The specified Amazon Resource Name (ARN) in the request doesn't exist.ThrottlingException
- The request was denied due to request throttling.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Services service.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSBCMDataExports
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSBCMDataExports
shutdown
in class AmazonWebServiceClient