Struct rusoto_pi::PerformanceInsightsClient
source · [−]pub struct PerformanceInsightsClient { /* private fields */ }
Expand description
A client for the AWS PI API.
Implementations
sourceimpl 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
) -> PerformanceInsightsClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(
client: Client,
region: Region
) -> PerformanceInsightsClient
Trait Implementations
sourceimpl Clone for PerformanceInsightsClient
impl Clone for PerformanceInsightsClient
sourcefn clone(&self) -> PerformanceInsightsClient
fn clone(&self) -> PerformanceInsightsClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PerformanceInsights for PerformanceInsightsClient
impl PerformanceInsights for PerformanceInsightsClient
sourcefn 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.
sourcefn 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.
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more