#[non_exhaustive]pub struct ListProfileTimesInput {
pub profiling_group_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub period: Option<AggregationPeriod>,
pub order_by: Option<OrderBy>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Expand description
The structure representing the listProfileTimesRequest.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.profiling_group_name: Option<String>
The name of the profiling group.
start_time: Option<DateTime>
The start time of the time range from which to list the profiles.
end_time: Option<DateTime>
The end time of the time range from which to list the profiles.
period: Option<AggregationPeriod>
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
order_by: Option<OrderBy>
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
max_results: Option<i32>
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.
next_token: Option<String>
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.
Implementations
sourceimpl ListProfileTimesInput
impl ListProfileTimesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListProfileTimes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListProfileTimes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListProfileTimes
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListProfileTimesInput
sourceimpl ListProfileTimesInput
impl ListProfileTimesInput
sourcepub fn profiling_group_name(&self) -> Option<&str>
pub fn profiling_group_name(&self) -> Option<&str>
The name of the profiling group.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the time range from which to list the profiles.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end time of the time range from which to list the profiles.
sourcepub fn period(&self) -> Option<&AggregationPeriod>
pub fn period(&self) -> Option<&AggregationPeriod>
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) -> Option<&OrderBy>
pub fn order_by(&self) -> Option<&OrderBy>
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) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
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) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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 ListProfileTimesInput
impl Clone for ListProfileTimesInput
sourcefn clone(&self) -> ListProfileTimesInput
fn clone(&self) -> ListProfileTimesInput
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 Debug for ListProfileTimesInput
impl Debug for ListProfileTimesInput
sourceimpl PartialEq<ListProfileTimesInput> for ListProfileTimesInput
impl PartialEq<ListProfileTimesInput> for ListProfileTimesInput
sourcefn eq(&self, other: &ListProfileTimesInput) -> bool
fn eq(&self, other: &ListProfileTimesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListProfileTimesInput) -> bool
fn ne(&self, other: &ListProfileTimesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListProfileTimesInput
Auto Trait Implementations
impl RefUnwindSafe for ListProfileTimesInput
impl Send for ListProfileTimesInput
impl Sync for ListProfileTimesInput
impl Unpin for ListProfileTimesInput
impl UnwindSafe for ListProfileTimesInput
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> 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