Struct aws_sdk_batch::operation::describe_compute_environments::DescribeComputeEnvironmentsInput
source · #[non_exhaustive]pub struct DescribeComputeEnvironmentsInput {
pub compute_environments: Option<Vec<String>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}Expand description
Contains the parameters for DescribeComputeEnvironments.
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.compute_environments: Option<Vec<String>>A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
max_results: Option<i32>The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output. When this parameter is used, DescribeComputeEnvironments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments returns up to 100 results and a nextToken value if applicable.
next_token: Option<String>The nextToken value returned from a previous paginated DescribeComputeEnvironments 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 value is null when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Implementations§
source§impl DescribeComputeEnvironmentsInput
impl DescribeComputeEnvironmentsInput
sourcepub fn compute_environments(&self) -> &[String]
pub fn compute_environments(&self) -> &[String]
A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .compute_environments.is_none().
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output. When this parameter is used, DescribeComputeEnvironments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments 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 DescribeComputeEnvironments 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 value is null when there are no more results to return.
Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
source§impl DescribeComputeEnvironmentsInput
impl DescribeComputeEnvironmentsInput
sourcepub fn builder() -> DescribeComputeEnvironmentsInputBuilder
pub fn builder() -> DescribeComputeEnvironmentsInputBuilder
Creates a new builder-style object to manufacture DescribeComputeEnvironmentsInput.
Trait Implementations§
source§impl Clone for DescribeComputeEnvironmentsInput
impl Clone for DescribeComputeEnvironmentsInput
source§fn clone(&self) -> DescribeComputeEnvironmentsInput
fn clone(&self) -> DescribeComputeEnvironmentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeComputeEnvironmentsInput
impl PartialEq for DescribeComputeEnvironmentsInput
source§fn eq(&self, other: &DescribeComputeEnvironmentsInput) -> bool
fn eq(&self, other: &DescribeComputeEnvironmentsInput) -> bool
self and other values to be equal, and is used
by ==.