#[non_exhaustive]pub struct ListClusterNodesInput {
pub cluster_name: Option<String>,
pub creation_time_after: Option<DateTime>,
pub creation_time_before: Option<DateTime>,
pub instance_group_name_contains: Option<String>,
pub max_results: Option<i32>,
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.cluster_name: Option<String>
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
creation_time_after: Option<DateTime>
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. 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>
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.
instance_group_name_contains: Option<String>
A filter that returns the instance groups whose name contain a specified string.
max_results: Option<i32>
The maximum number of nodes to return in the response.
next_token: Option<String>
If the result of the previous ListClusterNodes
request was truncated, the response includes a NextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
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 ListClusterNodesInput
impl ListClusterNodesInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster in which you want to retrieve the list of nodes.
sourcepub fn creation_time_after(&self) -> Option<&DateTime>
pub fn creation_time_after(&self) -> Option<&DateTime>
A filter that returns nodes in a SageMaker HyperPod cluster created after the specified time. 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>
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 instance_group_name_contains(&self) -> Option<&str>
pub fn instance_group_name_contains(&self) -> Option<&str>
A filter that returns the instance groups whose name contain a specified string.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of nodes to return in the response.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the result of the previous ListClusterNodes
request was truncated, the response includes a NextToken
. To retrieve the next set of cluster nodes, use the token in the next request.
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 ListClusterNodesInput
impl ListClusterNodesInput
sourcepub fn builder() -> ListClusterNodesInputBuilder
pub fn builder() -> ListClusterNodesInputBuilder
Creates a new builder-style object to manufacture ListClusterNodesInput
.
Trait Implementations§
source§impl Clone for ListClusterNodesInput
impl Clone for ListClusterNodesInput
source§fn clone(&self) -> ListClusterNodesInput
fn clone(&self) -> ListClusterNodesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListClusterNodesInput
impl Debug for ListClusterNodesInput
source§impl PartialEq for ListClusterNodesInput
impl PartialEq for ListClusterNodesInput
impl StructuralPartialEq for ListClusterNodesInput
Auto Trait Implementations§
impl Freeze for ListClusterNodesInput
impl RefUnwindSafe for ListClusterNodesInput
impl Send for ListClusterNodesInput
impl Sync for ListClusterNodesInput
impl Unpin for ListClusterNodesInput
impl UnwindSafe for ListClusterNodesInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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