amazonka-ssm-incidents-2.0: Amazon Systems Manager Incident Manager 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.SSMIncidents.Types.EventReference

Description

 
Synopsis

Documentation

data EventReference Source #

An item referenced in a TimelineEvent that is involved in or somehow associated with an incident. You can specify an Amazon Resource Name (ARN) for an Amazon Web Services resource or a RelatedItem ID.

See: newEventReference smart constructor.

Constructors

EventReference' 

Fields

  • relatedItemId :: Maybe Text

    The ID of a RelatedItem referenced in a TimelineEvent.

  • resource :: Maybe Text

    The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.

Instances

Instances details
FromJSON EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

ToJSON EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

Generic EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

Associated Types

type Rep EventReference :: Type -> Type #

Read EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

Show EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

NFData EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

Methods

rnf :: EventReference -> () #

Eq EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

Hashable EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

type Rep EventReference Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.EventReference

type Rep EventReference = D1 ('MetaData "EventReference" "Amazonka.SSMIncidents.Types.EventReference" "amazonka-ssm-incidents-2.0-JEcCJ5TIs2l5vrFa2RYlgd" 'False) (C1 ('MetaCons "EventReference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "relatedItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEventReference :: EventReference Source #

Create a value of EventReference 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:relatedItemId:EventReference', eventReference_relatedItemId - The ID of a RelatedItem referenced in a TimelineEvent.

$sel:resource:EventReference', eventReference_resource - The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.

eventReference_relatedItemId :: Lens' EventReference (Maybe Text) Source #

The ID of a RelatedItem referenced in a TimelineEvent.

eventReference_resource :: Lens' EventReference (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon Web Services resource referenced in a TimelineEvent.