pub struct ListProfileTimes { /* private fields */ }
Expand description
Fluent builder constructing a request to ListProfileTimes
.
Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
Implementations
sourceimpl ListProfileTimes
impl ListProfileTimes
sourcepub async fn send(
self
) -> Result<ListProfileTimesOutput, SdkError<ListProfileTimesError>>
pub async fn send(
self
) -> Result<ListProfileTimesOutput, SdkError<ListProfileTimesError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListProfileTimesPaginator
pub fn into_paginator(self) -> ListProfileTimesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the time range from which to list the profiles.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the time range from which to list the profiles.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time of the time range from which to list the profiles.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the time range from which to list the profiles.
sourcepub fn period(self, input: AggregationPeriod) -> Self
pub fn period(self, input: AggregationPeriod) -> Self
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn set_period(self, input: Option<AggregationPeriod>) -> Self
pub fn set_period(self, input: Option<AggregationPeriod>) -> Self
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn order_by(self, input: OrderBy) -> Self
pub fn order_by(self, input: OrderBy) -> Self
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
sourcepub fn set_order_by(self, input: Option<OrderBy>) -> Self
pub fn set_order_by(self, input: Option<OrderBy>) -> Self
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of profile time results returned by ListProfileTimes
in paginated output. When this parameter is used, ListProfileTimes
only returns maxResults
results in a single page with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfileTimes
request with the returned nextToken
value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of profile time results returned by ListProfileTimes
in paginated output. When this parameter is used, ListProfileTimes
only returns maxResults
results in a single page with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfileTimes
request with the returned nextToken
value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous paginated ListProfileTimes
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous paginated ListProfileTimes
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
Trait Implementations
sourceimpl Clone for ListProfileTimes
impl Clone for ListProfileTimes
sourcefn clone(&self) -> ListProfileTimes
fn clone(&self) -> ListProfileTimes
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
Auto Trait Implementations
impl !RefUnwindSafe for ListProfileTimes
impl Send for ListProfileTimes
impl Sync for ListProfileTimes
impl Unpin for ListProfileTimes
impl !UnwindSafe for ListProfileTimes
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