pub struct PerformanceInsightsClient { /* private fields */ }
Expand description
A client for the AWS PI API.
Implementations§
Source§impl PerformanceInsightsClient
impl PerformanceInsightsClient
Sourcepub fn new(region: Region) -> PerformanceInsightsClient
pub fn new(region: Region) -> PerformanceInsightsClient
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,
) -> PerformanceInsightsClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client( client: Client, region: Region, ) -> PerformanceInsightsClient
Trait Implementations§
Source§impl Clone for PerformanceInsightsClient
impl Clone for PerformanceInsightsClient
Source§fn clone(&self) -> PerformanceInsightsClient
fn clone(&self) -> PerformanceInsightsClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PerformanceInsights for PerformanceInsightsClient
impl PerformanceInsights for PerformanceInsightsClient
Source§fn describe_dimension_keys<'life0, 'async_trait>(
&'life0 self,
input: DescribeDimensionKeysRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeDimensionKeysResponse, RusotoError<DescribeDimensionKeysError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
For a specific time period, retrieve the top N
dimension keys for a metric.
Source§fn get_resource_metrics<'life0, 'async_trait>(
&'life0 self,
input: GetResourceMetricsRequest,
) -> Pin<Box<dyn Future<Output = Result<GetResourceMetricsResponse, RusotoError<GetResourceMetricsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: '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.
Auto Trait Implementations§
impl Freeze for PerformanceInsightsClient
impl !RefUnwindSafe for PerformanceInsightsClient
impl Send for PerformanceInsightsClient
impl Sync for PerformanceInsightsClient
impl Unpin for PerformanceInsightsClient
impl !UnwindSafe for PerformanceInsightsClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more