Struct aws_sdk_eks::operation::list_nodegroups::ListNodegroupsInput
source · #[non_exhaustive]pub struct ListNodegroupsInput {
pub cluster_name: Option<String>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}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 name of the Amazon EKS cluster that you would like to list node groups in.
max_results: Option<i32>The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.
next_token: Option<String>The nextToken value returned from a previous paginated ListNodegroups 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.
Implementations§
source§impl ListNodegroupsInput
impl ListNodegroupsInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the Amazon EKS cluster that you would like to list node groups in.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of node group results returned by ListNodegroups in paginated output. When you use this parameter, ListNodegroups returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListNodegroups request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListNodegroups returns up to 100 results and a nextToken value if applicable.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken value returned from a previous paginated ListNodegroups 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.
source§impl ListNodegroupsInput
impl ListNodegroupsInput
sourcepub fn builder() -> ListNodegroupsInputBuilder
pub fn builder() -> ListNodegroupsInputBuilder
Creates a new builder-style object to manufacture ListNodegroupsInput.
Trait Implementations§
source§impl Clone for ListNodegroupsInput
impl Clone for ListNodegroupsInput
source§fn clone(&self) -> ListNodegroupsInput
fn clone(&self) -> ListNodegroupsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListNodegroupsInput
impl Debug for ListNodegroupsInput
source§impl PartialEq for ListNodegroupsInput
impl PartialEq for ListNodegroupsInput
source§fn eq(&self, other: &ListNodegroupsInput) -> bool
fn eq(&self, other: &ListNodegroupsInput) -> bool
self and other values to be equal, and is used
by ==.