libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.IncidentRecordSource

Description

 
Synopsis

Documentation

data IncidentRecordSource Source #

Details about how the incident record was created and when.

See: newIncidentRecordSource smart constructor.

Constructors

IncidentRecordSource' 

Fields

  • invokedBy :: Maybe Text

    The principal the assumed the role specified of the createdBy.

  • 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 AWS CloudWatch alarm, or Amazon EventBridge event.

Instances

Instances details
Eq IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Read IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

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

NFData IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

Methods

rnf :: IncidentRecordSource -> () #

Hashable IncidentRecordSource Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.IncidentRecordSource

FromJSON 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" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" '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 principal the assumed the role specified of the createdBy.

$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 AWS CloudWatch alarm, or Amazon EventBridge event.

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

The principal the assumed the role specified of the createdBy.

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 AWS CloudWatch alarm, or Amazon EventBridge event.