Struct aws_sdk_batch::model::EvaluateOnExit
source · [−]#[non_exhaustive]pub struct EvaluateOnExit {
pub on_status_reason: Option<String>,
pub on_reason: Option<String>,
pub on_exit_code: Option<String>,
pub action: Option<RetryAction>,
}
Expand description
Specifies a set of conditions to be met, and an action to take (RETRY
or EXIT
) if all conditions are met.
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.on_status_reason: Option<String>
Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
on_reason: Option<String>
Contains a glob pattern to match against the Reason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
on_exit_code: Option<String>
Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
action: Option<RetryAction>
Specifies the action to take if all of the specified conditions (onStatusReason
, onReason
, and onExitCode
) are met. The values aren't case sensitive.
Implementations
Contains a glob pattern to match against the StatusReason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
Contains a glob pattern to match against the Reason
returned for a job. The pattern can be up to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
Contains a glob pattern to match against the decimal representation of the ExitCode
returned for a job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
The string can be between 1 and 512 characters in length.
Specifies the action to take if all of the specified conditions (onStatusReason
, onReason
, and onExitCode
) are met. The values aren't case sensitive.
Creates a new builder-style object to manufacture EvaluateOnExit
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 EvaluateOnExit
impl Send for EvaluateOnExit
impl Sync for EvaluateOnExit
impl Unpin for EvaluateOnExit
impl UnwindSafe for EvaluateOnExit
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