Struct aws_sdk_batch::input::DescribeJobDefinitionsInput
source · [−]#[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.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Implementations
sourceimpl DescribeJobDefinitionsInput
impl DescribeJobDefinitionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeJobDefinitions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeJobDefinitions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeJobDefinitions>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeJobDefinitionsInput.
sourceimpl 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.
This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.
Trait Implementations
sourceimpl Clone for DescribeJobDefinitionsInput
impl Clone for DescribeJobDefinitionsInput
sourcefn clone(&self) -> DescribeJobDefinitionsInput
fn clone(&self) -> DescribeJobDefinitionsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescribeJobDefinitionsInput
impl Debug for DescribeJobDefinitionsInput
sourceimpl PartialEq<DescribeJobDefinitionsInput> for DescribeJobDefinitionsInput
impl PartialEq<DescribeJobDefinitionsInput> for DescribeJobDefinitionsInput
sourcefn eq(&self, other: &DescribeJobDefinitionsInput) -> bool
fn eq(&self, other: &DescribeJobDefinitionsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescribeJobDefinitionsInput) -> bool
fn ne(&self, other: &DescribeJobDefinitionsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for DescribeJobDefinitionsInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeJobDefinitionsInput
impl Send for DescribeJobDefinitionsInput
impl Sync for DescribeJobDefinitionsInput
impl Unpin for DescribeJobDefinitionsInput
impl UnwindSafe for DescribeJobDefinitionsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more