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.IncidentRecordSource

Description

 
Synopsis

Documentation

data IncidentRecordSource Source #

Details about what created the incident record and when it was created.

See: newIncidentRecordSource smart constructor.

Constructors

IncidentRecordSource' 

Fields

  • invokedBy :: Maybe Text

    The service principal that assumed the role specified in createdBy. If no service principal assumed the role this will be left blank.

  • resourceArn :: Maybe Text

    The resource that caused the incident to be created.

  • createdBy :: Text

    The principal that started the incident.

  • source :: Text

    The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.

Instances

Instances details
FromJSON IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Generic IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Associated Types

type Rep IncidentRecordSource :: Type -> Type #

Read IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Show IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

NFData IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Methods

rnf :: IncidentRecordSource -> () #

Eq IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Hashable IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

type Rep IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

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

newIncidentRecordSource Source #

Create a value of IncidentRecordSource 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:invokedBy:IncidentRecordSource', incidentRecordSource_invokedBy - The service principal that assumed the role specified in createdBy. If no service principal assumed the role this will be left blank.

$sel:resourceArn:IncidentRecordSource', incidentRecordSource_resourceArn - The resource that caused the incident to be created.

$sel:createdBy:IncidentRecordSource', incidentRecordSource_createdBy - The principal that started the incident.

$sel:source:IncidentRecordSource', incidentRecordSource_source - The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.

incidentRecordSource_invokedBy :: Lens' IncidentRecordSource (Maybe Text) Source #

The service principal that assumed the role specified in createdBy. If no service principal assumed the role this will be left blank.

incidentRecordSource_resourceArn :: Lens' IncidentRecordSource (Maybe Text) Source #

The resource that caused the incident to be created.

incidentRecordSource_createdBy :: Lens' IncidentRecordSource Text Source #

The principal that started the incident.

incidentRecordSource_source :: Lens' IncidentRecordSource Text Source #

The service that started the incident. This can be manually created from Incident Manager, automatically created using an Amazon CloudWatch alarm, or Amazon EventBridge event.