@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSPIAsync extends AbstractAWSPI implements AWSPIAsync
AWSPIAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
createPerformanceAnalysisReport, deletePerformanceAnalysisReport, describeDimensionKeys, getCachedResponseMetadata, getDimensionKeyDetails, getPerformanceAnalysisReport, getResourceMetadata, getResourceMetrics, listAvailableResourceDimensions, listAvailableResourceMetrics, listPerformanceAnalysisReports, listTagsForResource, shutdown, tagResource, untagResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPerformanceAnalysisReport, deletePerformanceAnalysisReport, describeDimensionKeys, getCachedResponseMetadata, getDimensionKeyDetails, getPerformanceAnalysisReport, getResourceMetadata, getResourceMetrics, listAvailableResourceDimensions, listAvailableResourceMetrics, listPerformanceAnalysisReports, listTagsForResource, shutdown, tagResource, untagResource
public Future<CreatePerformanceAnalysisReportResult> createPerformanceAnalysisReportAsync(CreatePerformanceAnalysisReportRequest request)
AWSPIAsync
Creates a new performance analysis report for a specific time period for the DB instance.
createPerformanceAnalysisReportAsync
in interface AWSPIAsync
public Future<CreatePerformanceAnalysisReportResult> createPerformanceAnalysisReportAsync(CreatePerformanceAnalysisReportRequest request, AsyncHandler<CreatePerformanceAnalysisReportRequest,CreatePerformanceAnalysisReportResult> asyncHandler)
AWSPIAsync
Creates a new performance analysis report for a specific time period for the DB instance.
createPerformanceAnalysisReportAsync
in interface AWSPIAsync
asyncHandler
- 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<DeletePerformanceAnalysisReportResult> deletePerformanceAnalysisReportAsync(DeletePerformanceAnalysisReportRequest request)
AWSPIAsync
Deletes a performance analysis report.
deletePerformanceAnalysisReportAsync
in interface AWSPIAsync
public Future<DeletePerformanceAnalysisReportResult> deletePerformanceAnalysisReportAsync(DeletePerformanceAnalysisReportRequest request, AsyncHandler<DeletePerformanceAnalysisReportRequest,DeletePerformanceAnalysisReportResult> asyncHandler)
AWSPIAsync
Deletes a performance analysis report.
deletePerformanceAnalysisReportAsync
in interface AWSPIAsync
asyncHandler
- 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<DescribeDimensionKeysResult> describeDimensionKeysAsync(DescribeDimensionKeysRequest request)
AWSPIAsync
For a specific time period, retrieve the top N
dimension keys for a metric.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
describeDimensionKeysAsync
in interface AWSPIAsync
public Future<DescribeDimensionKeysResult> describeDimensionKeysAsync(DescribeDimensionKeysRequest request, AsyncHandler<DescribeDimensionKeysRequest,DescribeDimensionKeysResult> asyncHandler)
AWSPIAsync
For a specific time period, retrieve the top N
dimension keys for a metric.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
describeDimensionKeysAsync
in interface AWSPIAsync
asyncHandler
- 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<GetDimensionKeyDetailsResult> getDimensionKeyDetailsAsync(GetDimensionKeyDetailsRequest request)
AWSPIAsync
Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify
a SQL ID, GetDimensionKeyDetails
retrieves the full text of the dimension
db.sql.statement
associated with this ID. This operation is useful because
GetResourceMetrics
and DescribeDimensionKeys
don't support retrieval of large SQL
statement text.
getDimensionKeyDetailsAsync
in interface AWSPIAsync
public Future<GetDimensionKeyDetailsResult> getDimensionKeyDetailsAsync(GetDimensionKeyDetailsRequest request, AsyncHandler<GetDimensionKeyDetailsRequest,GetDimensionKeyDetailsResult> asyncHandler)
AWSPIAsync
Get the attributes of the specified dimension group for a DB instance or data source. For example, if you specify
a SQL ID, GetDimensionKeyDetails
retrieves the full text of the dimension
db.sql.statement
associated with this ID. This operation is useful because
GetResourceMetrics
and DescribeDimensionKeys
don't support retrieval of large SQL
statement text.
getDimensionKeyDetailsAsync
in interface AWSPIAsync
asyncHandler
- 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<GetPerformanceAnalysisReportResult> getPerformanceAnalysisReportAsync(GetPerformanceAnalysisReportRequest request)
AWSPIAsync
Retrieves the report including the report ID, status, time details, and the insights with recommendations. The
report status can be RUNNING
, SUCCEEDED
, or FAILED
. The insights include
the description
and recommendation
fields.
getPerformanceAnalysisReportAsync
in interface AWSPIAsync
public Future<GetPerformanceAnalysisReportResult> getPerformanceAnalysisReportAsync(GetPerformanceAnalysisReportRequest request, AsyncHandler<GetPerformanceAnalysisReportRequest,GetPerformanceAnalysisReportResult> asyncHandler)
AWSPIAsync
Retrieves the report including the report ID, status, time details, and the insights with recommendations. The
report status can be RUNNING
, SUCCEEDED
, or FAILED
. The insights include
the description
and recommendation
fields.
getPerformanceAnalysisReportAsync
in interface AWSPIAsync
asyncHandler
- 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<GetResourceMetadataResult> getResourceMetadataAsync(GetResourceMetadataRequest request)
AWSPIAsync
Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
getResourceMetadataAsync
in interface AWSPIAsync
public Future<GetResourceMetadataResult> getResourceMetadataAsync(GetResourceMetadataRequest request, AsyncHandler<GetResourceMetadataRequest,GetResourceMetadataResult> asyncHandler)
AWSPIAsync
Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
getResourceMetadataAsync
in interface AWSPIAsync
asyncHandler
- 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<GetResourceMetricsResult> getResourceMetricsAsync(GetResourceMetricsRequest request)
AWSPIAsync
Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for each metric.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
getResourceMetricsAsync
in interface AWSPIAsync
public Future<GetResourceMetricsResult> getResourceMetricsAsync(GetResourceMetricsRequest request, AsyncHandler<GetResourceMetricsRequest,GetResourceMetricsResult> asyncHandler)
AWSPIAsync
Retrieve Performance Insights metrics for a set of data sources over a time period. You can provide specific dimension groups and dimensions, and provide filtering criteria for each group. You must specify an aggregate function for each metric.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
getResourceMetricsAsync
in interface AWSPIAsync
asyncHandler
- 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<ListAvailableResourceDimensionsResult> listAvailableResourceDimensionsAsync(ListAvailableResourceDimensionsRequest request)
AWSPIAsync
Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.
listAvailableResourceDimensionsAsync
in interface AWSPIAsync
public Future<ListAvailableResourceDimensionsResult> listAvailableResourceDimensionsAsync(ListAvailableResourceDimensionsRequest request, AsyncHandler<ListAvailableResourceDimensionsRequest,ListAvailableResourceDimensionsResult> asyncHandler)
AWSPIAsync
Retrieve the dimensions that can be queried for each specified metric type on a specified DB instance.
listAvailableResourceDimensionsAsync
in interface AWSPIAsync
asyncHandler
- 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<ListAvailableResourceMetricsResult> listAvailableResourceMetricsAsync(ListAvailableResourceMetricsRequest request)
AWSPIAsync
Retrieve metrics of the specified types that can be queried for a specified DB instance.
listAvailableResourceMetricsAsync
in interface AWSPIAsync
public Future<ListAvailableResourceMetricsResult> listAvailableResourceMetricsAsync(ListAvailableResourceMetricsRequest request, AsyncHandler<ListAvailableResourceMetricsRequest,ListAvailableResourceMetricsResult> asyncHandler)
AWSPIAsync
Retrieve metrics of the specified types that can be queried for a specified DB instance.
listAvailableResourceMetricsAsync
in interface AWSPIAsync
asyncHandler
- 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<ListPerformanceAnalysisReportsResult> listPerformanceAnalysisReportsAsync(ListPerformanceAnalysisReportsRequest request)
AWSPIAsync
Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each report.
listPerformanceAnalysisReportsAsync
in interface AWSPIAsync
public Future<ListPerformanceAnalysisReportsResult> listPerformanceAnalysisReportsAsync(ListPerformanceAnalysisReportsRequest request, AsyncHandler<ListPerformanceAnalysisReportsRequest,ListPerformanceAnalysisReportsResult> asyncHandler)
AWSPIAsync
Lists all the analysis reports created for the DB instance. The reports are sorted based on the start time of each report.
listPerformanceAnalysisReportsAsync
in interface AWSPIAsync
asyncHandler
- 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)
AWSPIAsync
Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.
listTagsForResourceAsync
in interface AWSPIAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSPIAsync
Retrieves all the metadata tags associated with Amazon RDS Performance Insights resource.
listTagsForResourceAsync
in interface AWSPIAsync
asyncHandler
- 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)
AWSPIAsync
Adds metadata tags to the Amazon RDS Performance Insights resource.
tagResourceAsync
in interface AWSPIAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSPIAsync
Adds metadata tags to the Amazon RDS Performance Insights resource.
tagResourceAsync
in interface AWSPIAsync
asyncHandler
- 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)
AWSPIAsync
Deletes the metadata tags from the Amazon RDS Performance Insights resource.
untagResourceAsync
in interface AWSPIAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSPIAsync
Deletes the metadata tags from the Amazon RDS Performance Insights resource.
untagResourceAsync
in interface AWSPIAsync
asyncHandler
- 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.