Struct aws_sdk_batch::input::TerminateJobInput
source · [−]#[non_exhaustive]pub struct TerminateJobInput {
pub job_id: Option<String>,
pub reason: Option<String>,
}
Expand description
Contains the parameters for TerminateJob
.
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 terminate.
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<TerminateJob, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TerminateJob, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<TerminateJob
>
Creates a new builder-style object to manufacture TerminateJobInput
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 TerminateJobInput
impl Send for TerminateJobInput
impl Sync for TerminateJobInput
impl Unpin for TerminateJobInput
impl UnwindSafe for TerminateJobInput
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