#[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§
source§impl 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.
source§impl ListProfileTimesInput
impl ListProfileTimesInput
sourcepub fn builder() -> ListProfileTimesInputBuilder
pub fn builder() -> ListProfileTimesInputBuilder
Creates a new builder-style object to manufacture ListProfileTimesInput
.
Trait Implementations§
source§impl Clone for ListProfileTimesInput
impl Clone for ListProfileTimesInput
source§fn clone(&self) -> ListProfileTimesInput
fn clone(&self) -> ListProfileTimesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProfileTimesInput
impl Debug for ListProfileTimesInput
source§impl PartialEq for ListProfileTimesInput
impl PartialEq for ListProfileTimesInput
source§fn eq(&self, other: &ListProfileTimesInput) -> bool
fn eq(&self, other: &ListProfileTimesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProfileTimesInput
Auto Trait Implementations§
impl Freeze for ListProfileTimesInput
impl RefUnwindSafe for ListProfileTimesInput
impl Send for ListProfileTimesInput
impl Sync for ListProfileTimesInput
impl Unpin for ListProfileTimesInput
impl UnwindSafe for ListProfileTimesInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more