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 Runbook = Runbook' {
- targetParameterName :: Maybe Text
- targetLocations :: Maybe (NonEmpty TargetLocation)
- maxErrors :: Maybe Text
- targets :: Maybe [Target]
- parameters :: Maybe (HashMap Text [Text])
- documentVersion :: Maybe Text
- maxConcurrency :: Maybe Text
- documentName :: Text
- newRunbook :: Text -> Runbook
- runbook_targetParameterName :: Lens' Runbook (Maybe Text)
- runbook_targetLocations :: Lens' Runbook (Maybe (NonEmpty TargetLocation))
- runbook_maxErrors :: Lens' Runbook (Maybe Text)
- runbook_targets :: Lens' Runbook (Maybe [Target])
- runbook_parameters :: Lens' Runbook (Maybe (HashMap Text [Text]))
- runbook_documentVersion :: Lens' Runbook (Maybe Text)
- runbook_maxConcurrency :: Lens' Runbook (Maybe Text)
- runbook_documentName :: Lens' Runbook Text
Documentation
Information about an Automation runbook used in a runbook workflow in Change Manager.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
See: newRunbook
smart constructor.
Runbook' | |
|
Instances
Create a value of Runbook
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:targetParameterName:Runbook'
, runbook_targetParameterName
- The name of the parameter used as the target resource for the
rate-controlled runbook workflow. Required if you specify Targets
.
$sel:targetLocations:Runbook'
, runbook_targetLocations
- Information about the Amazon Web Services Regions and Amazon Web
Services accounts targeted by the current Runbook operation.
$sel:maxErrors:Runbook'
, runbook_maxErrors
- The MaxErrors
value specified by the user when the execution started,
indicating the maximum number of errors that can occur during the
operation before the updates are stopped or rolled back.
$sel:targets:Runbook'
, runbook_targets
- A key-value mapping to target resources that the runbook operation
performs tasks on. Required if you specify TargetParameterName
.
$sel:parameters:Runbook'
, runbook_parameters
- The key-value map of execution parameters, which were supplied when
calling StartChangeRequestExecution
.
$sel:documentVersion:Runbook'
, runbook_documentVersion
- The version of the Automation runbook used in a runbook workflow.
$sel:maxConcurrency:Runbook'
, runbook_maxConcurrency
- The MaxConcurrency
value specified by the user when the operation
started, indicating the maximum number of resources that the runbook
operation can run on at the same time.
$sel:documentName:Runbook'
, runbook_documentName
- The name of the Automation runbook used in a runbook workflow.
runbook_targetParameterName :: Lens' Runbook (Maybe Text) Source #
The name of the parameter used as the target resource for the
rate-controlled runbook workflow. Required if you specify Targets
.
runbook_targetLocations :: Lens' Runbook (Maybe (NonEmpty TargetLocation)) Source #
Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
runbook_maxErrors :: Lens' Runbook (Maybe Text) Source #
The MaxErrors
value specified by the user when the execution started,
indicating the maximum number of errors that can occur during the
operation before the updates are stopped or rolled back.
runbook_targets :: Lens' Runbook (Maybe [Target]) Source #
A key-value mapping to target resources that the runbook operation
performs tasks on. Required if you specify TargetParameterName
.
runbook_parameters :: Lens' Runbook (Maybe (HashMap Text [Text])) Source #
The key-value map of execution parameters, which were supplied when
calling StartChangeRequestExecution
.
runbook_documentVersion :: Lens' Runbook (Maybe Text) Source #
The version of the Automation runbook used in a runbook workflow.