Struct aws_sdk_batch::input::CancelJobInput [−][src]
#[non_exhaustive]pub struct CancelJobInput {
pub job_id: Option<String>,
pub reason: Option<String>,
}
Expand description
Contains the parameters for CancelJob
.
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_id: Option<String>
The Batch job ID of the job to cancel.
reason: Option<String>
A message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the Batch activity logs.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CancelJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CancelJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CancelJob
>
Creates a new builder-style object to manufacture CancelJobInput
A message to attach to the job that explains the reason for canceling it. This message is returned by future DescribeJobs operations on the job. This message is also recorded in the Batch activity logs.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CancelJobInput
impl Send for CancelJobInput
impl Sync for CancelJobInput
impl Unpin for CancelJobInput
impl UnwindSafe for CancelJobInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more