@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCostAndUsageReportClient extends AmazonWebServiceClient implements AWSCostAndUsageReport
All public APIs for AWS Cost and Usage Report service
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AWSCostAndUsageReportClient()
Deprecated.
|
AWSCostAndUsageReportClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AWSCostAndUsageReportClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AWSCostAndUsageReportClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AWSCostAndUsageReportClient(ClientConfiguration clientConfiguration)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AWSCostAndUsageReportClientBuilder |
builder() |
DeleteReportDefinitionResult |
deleteReportDefinition(DeleteReportDefinitionRequest request)
Delete a specified report definition
|
DescribeReportDefinitionsResult |
describeReportDefinitions(DescribeReportDefinitionsRequest request)
Describe a list of report definitions owned by the account
|
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.
|
PutReportDefinitionResult |
putReportDefinition(PutReportDefinitionRequest request)
Create a new report definition
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
@Deprecated public AWSCostAndUsageReportClient()
AWSCostAndUsageReportClientBuilder.defaultClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
@Deprecated public AWSCostAndUsageReportClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client connects to AWS Cost and Usage Report Service
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
@Deprecated public AWSCostAndUsageReportClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
for example:
AWSCostAndUsageReportClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AWSCostAndUsageReportClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Cost and Usage Report Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Cost and Usage Report Service
(ex: proxy settings, retry counts, etc.).@Deprecated public AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)
and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)
and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client connects to AWS Cost and Usage Report Service
(ex: proxy settings, retry counts, etc.).requestMetricCollector
- optional request metric collectorpublic static AWSCostAndUsageReportClientBuilder builder()
public DeleteReportDefinitionResult deleteReportDefinition(DeleteReportDefinitionRequest request)
deleteReportDefinition
in interface AWSCostAndUsageReport
deleteReportDefinitionRequest
- Request of DeleteReportDefinitionInternalErrorException
- This exception is thrown on a known dependency failure.ValidationException
- This exception is thrown when providing an invalid input. eg. Put a report preference with an invalid
report name, or Delete a report preference with an empty report name.public DescribeReportDefinitionsResult describeReportDefinitions(DescribeReportDefinitionsRequest request)
describeReportDefinitions
in interface AWSCostAndUsageReport
describeReportDefinitionsRequest
- Request of DescribeReportDefinitionsInternalErrorException
- This exception is thrown on a known dependency failure.public PutReportDefinitionResult putReportDefinition(PutReportDefinitionRequest request)
putReportDefinition
in interface AWSCostAndUsageReport
putReportDefinitionRequest
- Request of PutReportDefinitionDuplicateReportNameException
- This exception is thrown when putting a report preference with a name that already exists.ReportLimitReachedException
- This exception is thrown when the number of report preference reaches max limit. The max number is 5.InternalErrorException
- This exception is thrown on a known dependency failure.ValidationException
- This exception is thrown when providing an invalid input. eg. Put a report preference with an invalid
report name, or Delete a report preference with an empty report name.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 AWSCostAndUsageReport
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.