libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.Types.Runbook

Description

 
Synopsis

Documentation

data Runbook Source #

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.

Constructors

Runbook' 

Fields

  • targetParameterName :: Maybe Text

    The name of the parameter used as the target resource for the rate-controlled runbook workflow. Required if you specify Targets.

  • targetLocations :: Maybe (NonEmpty TargetLocation)

    Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.

  • maxErrors :: Maybe Text

    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.

  • targets :: Maybe [Target]

    A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName.

  • parameters :: Maybe (HashMap Text [Text])

    The key-value map of execution parameters, which were supplied when calling StartChangeRequestExecution.

  • documentVersion :: Maybe Text

    The version of the Automation runbook used in a runbook workflow.

  • maxConcurrency :: Maybe Text

    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.

  • documentName :: Text

    The name of the Automation runbook used in a runbook workflow.

Instances

Instances details
Eq Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

(==) :: Runbook -> Runbook -> Bool #

(/=) :: Runbook -> Runbook -> Bool #

Read Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Show Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Generic Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Associated Types

type Rep Runbook :: Type -> Type #

Methods

from :: Runbook -> Rep Runbook x #

to :: Rep Runbook x -> Runbook #

NFData Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

rnf :: Runbook -> () #

Hashable Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

Methods

hashWithSalt :: Int -> Runbook -> Int #

hash :: Runbook -> Int #

ToJSON Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

FromJSON Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

type Rep Runbook Source # 
Instance details

Defined in Amazonka.SSM.Types.Runbook

newRunbook Source #

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.

runbook_maxConcurrency :: Lens' Runbook (Maybe Text) Source #

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.

runbook_documentName :: Lens' Runbook Text Source #

The name of the Automation runbook used in a runbook workflow.