Struct rusoto_pi::PerformanceInsightsClient [−][src]
pub struct PerformanceInsightsClient { /* fields omitted */ }
Expand description
A client for the AWS PI API.
Implementations
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> PerformanceInsightsClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
Trait Implementations
fn describe_dimension_keys<'life0, 'async_trait>(
&'life0 self,
input: DescribeDimensionKeysRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDimensionKeysResponse, RusotoError<DescribeDimensionKeysError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_dimension_keys<'life0, 'async_trait>(
&'life0 self,
input: DescribeDimensionKeysRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDimensionKeysResponse, RusotoError<DescribeDimensionKeysError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
fn get_dimension_key_details<'life0, 'async_trait>(
&'life0 self,
input: GetDimensionKeyDetailsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDimensionKeyDetailsResponse, RusotoError<GetDimensionKeyDetailsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_dimension_key_details<'life0, 'async_trait>(
&'life0 self,
input: GetDimensionKeyDetailsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDimensionKeyDetailsResponse, RusotoError<GetDimensionKeyDetailsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
fn get_resource_metrics<'life0, 'async_trait>(
&'life0 self,
input: GetResourceMetricsRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourceMetricsResponse, RusotoError<GetResourceMetricsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_resource_metrics<'life0, 'async_trait>(
&'life0 self,
input: GetResourceMetricsRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourceMetricsResponse, RusotoError<GetResourceMetricsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.
Auto Trait Implementations
impl !RefUnwindSafe for PerformanceInsightsClient
impl Send for PerformanceInsightsClient
impl Sync for PerformanceInsightsClient
impl Unpin for PerformanceInsightsClient
impl !UnwindSafe for PerformanceInsightsClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self