#[non_exhaustive]pub struct DescribeJobDefinitionsInput {
pub job_definitions: Option<Vec<String>>,
pub max_results: Option<i32>,
pub job_definition_name: Option<String>,
pub status: Option<String>,
pub next_token: Option<String>,
}Expand description
Contains the parameters for DescribeJobDefinitions.
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.job_definitions: Option<Vec<String>>A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short version using the form ${JobDefinitionName}:${Revision}.
max_results: Option<i32>The maximum number of results returned by DescribeJobDefinitions in paginated output. When this parameter is used, DescribeJobDefinitions only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up to 100 results and a nextToken value if applicable.
job_definition_name: Option<String>The name of the job definition to describe.
status: Option<String>The status used to filter job definitions.
next_token: Option<String>The nextToken value returned from a previous paginated DescribeJobDefinitions 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 DescribeJobDefinitionsInput
impl DescribeJobDefinitionsInput
sourcepub fn job_definitions(&self) -> Option<&[String]>
pub fn job_definitions(&self) -> Option<&[String]>
A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision} or a short version using the form ${JobDefinitionName}:${Revision}.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results returned by DescribeJobDefinitions in paginated output. When this parameter is used, DescribeJobDefinitions only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up to 100 results and a nextToken value if applicable.
sourcepub fn job_definition_name(&self) -> Option<&str>
pub fn job_definition_name(&self) -> Option<&str>
The name of the job definition to describe.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken value returned from a previous paginated DescribeJobDefinitions 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 DescribeJobDefinitionsInput
impl DescribeJobDefinitionsInput
sourcepub fn builder() -> DescribeJobDefinitionsInputBuilder
pub fn builder() -> DescribeJobDefinitionsInputBuilder
Creates a new builder-style object to manufacture DescribeJobDefinitionsInput.
Trait Implementations§
source§impl Clone for DescribeJobDefinitionsInput
impl Clone for DescribeJobDefinitionsInput
source§fn clone(&self) -> DescribeJobDefinitionsInput
fn clone(&self) -> DescribeJobDefinitionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeJobDefinitionsInput
impl Debug for DescribeJobDefinitionsInput
source§impl PartialEq for DescribeJobDefinitionsInput
impl PartialEq for DescribeJobDefinitionsInput
source§fn eq(&self, other: &DescribeJobDefinitionsInput) -> bool
fn eq(&self, other: &DescribeJobDefinitionsInput) -> bool
self and other values to be equal, and is used
by ==.