libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.Types.Stage

Description

 
Synopsis

Documentation

data Stage Source #

A set amount of time that an escalation plan or engagement plan engages the specified contacts or contact methods.

See: newStage smart constructor.

Constructors

Stage' 

Fields

  • durationInMinutes :: Natural

    The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.

  • targets :: [Target]

    The contacts or contact methods that the escalation plan or engagement plan is engaging.

Instances

Instances details
Eq Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Methods

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

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

Read Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Show Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Methods

showsPrec :: Int -> Stage -> ShowS #

show :: Stage -> String #

showList :: [Stage] -> ShowS #

Generic Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Associated Types

type Rep Stage :: Type -> Type #

Methods

from :: Stage -> Rep Stage x #

to :: Rep Stage x -> Stage #

NFData Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Methods

rnf :: Stage -> () #

Hashable Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

Methods

hashWithSalt :: Int -> Stage -> Int #

hash :: Stage -> Int #

ToJSON Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

FromJSON Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

type Rep Stage Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Stage

type Rep Stage = D1 ('MetaData "Stage" "Amazonka.SSMContacts.Types.Stage" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "Stage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "durationInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Target])))

newStage Source #

Create a value of Stage 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:durationInMinutes:Stage', stage_durationInMinutes - The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.

$sel:targets:Stage', stage_targets - The contacts or contact methods that the escalation plan or engagement plan is engaging.

stage_durationInMinutes :: Lens' Stage Natural Source #

The time to wait until beginning the next stage. The duration can only be set to 0 if a target is specified.

stage_targets :: Lens' Stage [Target] Source #

The contacts or contact methods that the escalation plan or engagement plan is engaging.