libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.Action

Description

 
Synopsis

Documentation

data Action Source #

The action that starts at the beginning of an incident. The response plan defines the action.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
Eq Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Methods

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

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

Read Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

NFData Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

ToJSON Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

FromJSON Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

type Rep Action Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.SSMIncidents.Types.Action" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ssmAutomation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SsmAutomation))))

newAction :: Action Source #

Create a value of Action 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:ssmAutomation:Action', action_ssmAutomation - The Systems Manager automation document to start as the runbook at the beginning of the incident.

action_ssmAutomation :: Lens' Action (Maybe SsmAutomation) Source #

The Systems Manager automation document to start as the runbook at the beginning of the incident.