Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EvaluateOnExit = EvaluateOnExit' {
- onExitCode :: Maybe Text
- onReason :: Maybe Text
- onStatusReason :: Maybe Text
- action :: RetryAction
- newEvaluateOnExit :: RetryAction -> EvaluateOnExit
- evaluateOnExit_onExitCode :: Lens' EvaluateOnExit (Maybe Text)
- evaluateOnExit_onReason :: Lens' EvaluateOnExit (Maybe Text)
- evaluateOnExit_onStatusReason :: Lens' EvaluateOnExit (Maybe Text)
- evaluateOnExit_action :: Lens' EvaluateOnExit RetryAction
Documentation
data EvaluateOnExit Source #
Specifies a set of conditions to be met, and an action to take (RETRY
or EXIT
) if all conditions are met.
See: newEvaluateOnExit
smart constructor.
EvaluateOnExit' | |
|
Instances
Create a value of EvaluateOnExit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onExitCode:EvaluateOnExit'
, evaluateOnExit_onExitCode
- 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.
$sel:onReason:EvaluateOnExit'
, evaluateOnExit_onReason
- 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.
$sel:onStatusReason:EvaluateOnExit'
, evaluateOnExit_onStatusReason
- 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.
$sel:action:EvaluateOnExit'
, evaluateOnExit_action
- Specifies the action to take if all of the specified conditions
(onStatusReason
, onReason
, and onExitCode
) are met. The values
aren't case sensitive.
evaluateOnExit_onExitCode :: Lens' EvaluateOnExit (Maybe Text) Source #
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.
evaluateOnExit_onReason :: Lens' EvaluateOnExit (Maybe Text) Source #
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.
evaluateOnExit_onStatusReason :: Lens' EvaluateOnExit (Maybe Text) Source #
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.
evaluateOnExit_action :: Lens' EvaluateOnExit RetryAction Source #
Specifies the action to take if all of the specified conditions
(onStatusReason
, onReason
, and onExitCode
) are met. The values
aren't case sensitive.