@Generated(value="software.amazon.awssdk:codegen") public interface PiAsyncClient extends SdkClient
builder()
method.
AWS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running RDS instance. The guide provides detailed information about Performance Insights data types, parameters and errors. For more information about Performance Insights capabilities see Using Amazon RDS Performance Insights in the Amazon RDS User Guide.
The AWS Performance Insights API provides visibility into the performance of your RDS instance, when Performance Insights is enabled for supported engine types. While Amazon CloudWatch provides the authoritative source for AWS service vended monitoring metrics, AWS Performance Insights offers a domain-specific view of database load measured as Average Active Sessions and provided to API consumers as a 2-dimensional time-series dataset. The time dimension of the data provides DB load data for each time point in the queried time range, and each time point decomposes overall load in relation to the requested dimensions, such as SQL, Wait-event, User or Host, measured at that time point.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static PiAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
PiAsyncClient . |
static PiAsyncClient |
create()
Create a
PiAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<DescribeDimensionKeysResponse> |
describeDimensionKeys(Consumer<DescribeDimensionKeysRequest.Builder> describeDimensionKeysRequest)
For a specific time period, retrieve the top
N dimension keys for a metric. |
default CompletableFuture<DescribeDimensionKeysResponse> |
describeDimensionKeys(DescribeDimensionKeysRequest describeDimensionKeysRequest)
For a specific time period, retrieve the top
N dimension keys for a metric. |
default CompletableFuture<GetResourceMetricsResponse> |
getResourceMetrics(Consumer<GetResourceMetricsRequest.Builder> getResourceMetricsRequest)
Retrieve Performance Insights metrics for a set of data sources, over a time period.
|
default CompletableFuture<GetResourceMetricsResponse> |
getResourceMetrics(GetResourceMetricsRequest getResourceMetricsRequest)
Retrieve Performance Insights metrics for a set of data sources, over a time period.
|
serviceName
close
static final String SERVICE_NAME
static PiAsyncClient create()
PiAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static PiAsyncClientBuilder builder()
PiAsyncClient
.default CompletableFuture<DescribeDimensionKeysResponse> describeDimensionKeys(DescribeDimensionKeysRequest describeDimensionKeysRequest)
For a specific time period, retrieve the top N
dimension keys for a metric.
describeDimensionKeysRequest
- default CompletableFuture<DescribeDimensionKeysResponse> describeDimensionKeys(Consumer<DescribeDimensionKeysRequest.Builder> describeDimensionKeysRequest)
For a specific time period, retrieve the top N
dimension keys for a metric.
This is a convenience which creates an instance of the DescribeDimensionKeysRequest.Builder
avoiding the
need to create one manually via DescribeDimensionKeysRequest.builder()
describeDimensionKeysRequest
- A Consumer
that will call methods on DescribeDimensionKeysRequest.Builder
to create a
request.default CompletableFuture<GetResourceMetricsResponse> getResourceMetrics(GetResourceMetricsRequest getResourceMetricsRequest)
Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group.
getResourceMetricsRequest
- default CompletableFuture<GetResourceMetricsResponse> getResourceMetrics(Consumer<GetResourceMetricsRequest.Builder> getResourceMetricsRequest)
Retrieve Performance Insights metrics for a set of data sources, over a time period. You can provide specific dimension groups and dimensions, and provide aggregation and filtering criteria for each group.
This is a convenience which creates an instance of the GetResourceMetricsRequest.Builder
avoiding the
need to create one manually via GetResourceMetricsRequest.builder()
getResourceMetricsRequest
- A Consumer
that will call methods on GetResourceMetricsRequest.Builder
to create a
request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.