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.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
Eq Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

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

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

Read Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Show 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 #

NFData Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

rnf :: Target -> () #

Hashable Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

Methods

hashWithSalt :: Int -> Target -> Int #

hash :: Target -> Int #

ToJSON Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

FromJSON Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

type Rep Target Source # 
Instance details

Defined in Amazonka.SSMContacts.Types.Target

type Rep Target = D1 ('MetaData "Target" "Amazonka.SSMContacts.Types.Target" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" '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.