Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data IncidentRecordSource = IncidentRecordSource' {}
- newIncidentRecordSource :: Text -> Text -> IncidentRecordSource
- incidentRecordSource_invokedBy :: Lens' IncidentRecordSource (Maybe Text)
- incidentRecordSource_resourceArn :: Lens' IncidentRecordSource (Maybe Text)
- incidentRecordSource_createdBy :: Lens' IncidentRecordSource Text
- incidentRecordSource_source :: Lens' IncidentRecordSource Text
Documentation
data IncidentRecordSource Source #
Details about how the incident record was created and when.
See: newIncidentRecordSource
smart constructor.
IncidentRecordSource' | |
|
Instances
newIncidentRecordSource Source #
:: Text | |
-> Text | |
-> IncidentRecordSource |
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.