#[non_exhaustive]pub struct ListClustersInput {
pub creation_time_after: Option<DateTime>,
pub creation_time_before: Option<DateTime>,
pub max_results: Option<i32>,
pub name_contains: Option<String>,
pub next_token: Option<String>,
pub sort_by: Option<ClusterSortBy>,
pub sort_order: Option<SortOrder>,
}
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.creation_time_after: Option<DateTime>
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
-
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
-
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
-
YYYY-MM-DD
, for example,2014-10-01
-
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
creation_time_before: Option<DateTime>
Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
max_results: Option<i32>
Set the maximum number of SageMaker HyperPod clusters to list.
name_contains: Option<String>
Set the maximum number of instances to print in the list.
next_token: Option<String>
Set the next token to retrieve the list of SageMaker HyperPod clusters.
sort_by: Option<ClusterSortBy>
The field by which to sort results. The default value is CREATION_TIME
.
sort_order: Option<SortOrder>
The sort order for results. The default value is Ascending
.
Implementations§
source§impl ListClustersInput
impl ListClustersInput
sourcepub fn creation_time_after(&self) -> Option<&DateTime>
pub fn creation_time_after(&self) -> Option<&DateTime>
Set a start time for the time range during which you want to list SageMaker HyperPod clusters. Timestamps are formatted according to the ISO 8601 standard.
Acceptable formats include:
-
YYYY-MM-DDThh:mm:ss.sssTZD
(UTC), for example,2014-10-01T20:30:00.000Z
-
YYYY-MM-DDThh:mm:ss.sssTZD
(with offset), for example,2014-10-01T12:30:00.000-08:00
-
YYYY-MM-DD
, for example,2014-10-01
-
Unix time in seconds, for example,
1412195400
. This is also referred to as Unix Epoch time and represents the number of seconds since midnight, January 1, 1970 UTC.
For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn creation_time_before(&self) -> Option<&DateTime>
pub fn creation_time_before(&self) -> Option<&DateTime>
Set an end time for the time range during which you want to list SageMaker HyperPod clusters. A filter that returns nodes in a SageMaker HyperPod cluster created before the specified time. The acceptable formats are the same as the timestamp formats for CreationTimeAfter
. For more information about the timestamp format, see Timestamp in the Amazon Web Services Command Line Interface User Guide.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Set the maximum number of SageMaker HyperPod clusters to list.
sourcepub fn name_contains(&self) -> Option<&str>
pub fn name_contains(&self) -> Option<&str>
Set the maximum number of instances to print in the list.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Set the next token to retrieve the list of SageMaker HyperPod clusters.
sourcepub fn sort_by(&self) -> Option<&ClusterSortBy>
pub fn sort_by(&self) -> Option<&ClusterSortBy>
The field by which to sort results. The default value is CREATION_TIME
.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The sort order for results. The default value is Ascending
.
source§impl ListClustersInput
impl ListClustersInput
sourcepub fn builder() -> ListClustersInputBuilder
pub fn builder() -> ListClustersInputBuilder
Creates a new builder-style object to manufacture ListClustersInput
.
Trait Implementations§
source§impl Clone for ListClustersInput
impl Clone for ListClustersInput
source§fn clone(&self) -> ListClustersInput
fn clone(&self) -> ListClustersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListClustersInput
impl Debug for ListClustersInput
source§impl PartialEq for ListClustersInput
impl PartialEq for ListClustersInput
source§fn eq(&self, other: &ListClustersInput) -> bool
fn eq(&self, other: &ListClustersInput) -> bool
self
and other
values to be equal, and is used
by ==
.