amazonka-ssm-contacts-2.0: Amazon Systems Manager Incident Manager Contacts SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSMContacts.Types.Target

Description

 
Synopsis

Documentation

data Target Source #

The contact or contact channel that's being engaged.

See: newTarget smart constructor.

Constructors

Target' 

Fields

Instances

Instances details
FromJSON Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

ToJSON Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Generic Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Associated Types

type Rep Target :: Type -> Type #

Methods

from :: Target -> Rep Target x #

to :: Rep Target x -> Target #

Read Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Show Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

NFData Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

rnf :: Target -> () #

Eq Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

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

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

Hashable Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

type Rep Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.SSMContacts.Types.Target" "amazonka-ssm-contacts-2.0-ItNmOyIH300HIsnE5QTEXx" 'False) (C1 ('MetaCons "Target'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelTargetInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelTargetInfo)) :*: S1 ('MetaSel ('Just "contactTargetInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContactTargetInfo))))

newTarget :: Target Source #

Create a value of Target 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:channelTargetInfo:Target', target_channelTargetInfo - Information about the contact channel Incident Manager is engaging.

$sel:contactTargetInfo:Target', target_contactTargetInfo - Information about the contact that Incident Manager is engaging.

target_channelTargetInfo :: Lens' Target (Maybe ChannelTargetInfo) Source #

Information about the contact channel Incident Manager is engaging.

target_contactTargetInfo :: Lens' Target (Maybe ContactTargetInfo) Source #

Information about the contact that Incident Manager is engaging.