@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
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Constructor and Description |
|---|
AWSCostAndUsageReportClient()
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service.
|
AWSCostAndUsageReportClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service using the specified AWS
account credentials.
|
AWSCostAndUsageReportClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service using the specified AWS
account credentials and client configuration options.
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service using the specified AWS
account credentials provider.
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service using the specified AWS
account credentials provider and client configuration options.
|
AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service using the specified AWS
account credentials provider, client configuration options, and request metric collector.
|
AWSCostAndUsageReportClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Cost and Usage Report Service.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteReportDefinitionResult |
deleteReportDefinition(DeleteReportDefinitionRequest deleteReportDefinitionRequest)
Delete a specified report definition
|
DescribeReportDefinitionsResult |
describeReportDefinitions(DescribeReportDefinitionsRequest describeReportDefinitionsRequest)
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 putReportDefinitionRequest)
Create a new report definition
|
addRequestHandler, addRequestHandler, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected static final ClientConfigurationFactory configFactory
public AWSCostAndUsageReportClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AWSCostAndUsageReportClient(ClientConfiguration 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.).DefaultAWSCredentialsProviderChainpublic AWSCostAndUsageReportClient(AWSCredentials awsCredentials)
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.public AWSCostAndUsageReportClient(AWSCredentials awsCredentials, ClientConfiguration 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.).public AWSCostAndUsageReportClient(AWSCredentialsProvider 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.public AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration 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.).public AWSCostAndUsageReportClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector 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 DeleteReportDefinitionResult deleteReportDefinition(DeleteReportDefinitionRequest deleteReportDefinitionRequest)
deleteReportDefinition in interface AWSCostAndUsageReportdeleteReportDefinitionRequest - 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 describeReportDefinitionsRequest)
describeReportDefinitions in interface AWSCostAndUsageReportdescribeReportDefinitionsRequest - Request of DescribeReportDefinitionsInternalErrorException - This exception is thrown on a known dependency failure.public PutReportDefinitionResult putReportDefinition(PutReportDefinitionRequest putReportDefinitionRequest)
putReportDefinition in interface AWSCostAndUsageReportputReportDefinitionRequest - 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 AWSCostAndUsageReportrequest - The originally executed requestCopyright © 2017. All rights reserved.