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 |
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
Synopsis
- data StartIncident = StartIncident' {}
- newStartIncident :: Text -> StartIncident
- startIncident_clientToken :: Lens' StartIncident (Maybe Text)
- startIncident_triggerDetails :: Lens' StartIncident (Maybe TriggerDetails)
- startIncident_relatedItems :: Lens' StartIncident (Maybe [RelatedItem])
- startIncident_impact :: Lens' StartIncident (Maybe Natural)
- startIncident_title :: Lens' StartIncident (Maybe Text)
- startIncident_responsePlanArn :: Lens' StartIncident Text
- data StartIncidentResponse = StartIncidentResponse' {}
- newStartIncidentResponse :: Int -> Text -> StartIncidentResponse
- startIncidentResponse_httpStatus :: Lens' StartIncidentResponse Int
- startIncidentResponse_incidentRecordArn :: Lens' StartIncidentResponse Text
Creating a Request
data StartIncident Source #
See: newStartIncident
smart constructor.
StartIncident' | |
|
Instances
Create a value of StartIncident
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:clientToken:StartIncident'
, startIncident_clientToken
- A token ensuring that the action is called only once with the specified
details.
$sel:triggerDetails:StartIncident'
, startIncident_triggerDetails
- Details of what created the incident record in Incident Manager.
$sel:relatedItems:StartIncident'
, startIncident_relatedItems
- Add related items to the incident for other responders to use. Related
items are AWS resources, external links, or files uploaded to an S3
bucket.
$sel:impact:StartIncident'
, startIncident_impact
- Defines the impact to the customers. Providing an impact overwrites the
impact provided by a response plan.
Possible impacts:
1
- Critical impact, this typically relates to full application failure that impacts many to all customers.2
- High impact, partial application failure with impact to many customers.3
- Medium impact, the application is providing reduced service to customers.4
- Low impact, customer might aren't impacted by the problem yet.5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
$sel:title:StartIncident'
, startIncident_title
- Provide a title for the incident. Providing a title overwrites the title
provided by the response plan.
$sel:responsePlanArn:StartIncident'
, startIncident_responsePlanArn
- The Amazon Resource Name (ARN) of the response plan that pre-defines
summary, chat channels, SNS topics, runbooks, title, and impact of the
incident.
Request Lenses
startIncident_clientToken :: Lens' StartIncident (Maybe Text) Source #
A token ensuring that the action is called only once with the specified details.
startIncident_triggerDetails :: Lens' StartIncident (Maybe TriggerDetails) Source #
Details of what created the incident record in Incident Manager.
startIncident_relatedItems :: Lens' StartIncident (Maybe [RelatedItem]) Source #
Add related items to the incident for other responders to use. Related items are AWS resources, external links, or files uploaded to an S3 bucket.
startIncident_impact :: Lens' StartIncident (Maybe Natural) Source #
Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Possible impacts:
1
- Critical impact, this typically relates to full application failure that impacts many to all customers.2
- High impact, partial application failure with impact to many customers.3
- Medium impact, the application is providing reduced service to customers.4
- Low impact, customer might aren't impacted by the problem yet.5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
startIncident_title :: Lens' StartIncident (Maybe Text) Source #
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
startIncident_responsePlanArn :: Lens' StartIncident Text Source #
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, SNS topics, runbooks, title, and impact of the incident.
Destructuring the Response
data StartIncidentResponse Source #
See: newStartIncidentResponse
smart constructor.
StartIncidentResponse' | |
|
Instances
newStartIncidentResponse Source #
:: Int | |
-> Text | |
-> StartIncidentResponse |
Create a value of StartIncidentResponse
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:httpStatus:StartIncidentResponse'
, startIncidentResponse_httpStatus
- The response's http status code.
$sel:incidentRecordArn:StartIncidentResponse'
, startIncidentResponse_incidentRecordArn
- The ARN of the newly created incident record.
Response Lenses
startIncidentResponse_httpStatus :: Lens' StartIncidentResponse Int Source #
The response's http status code.
startIncidentResponse_incidentRecordArn :: Lens' StartIncidentResponse Text Source #
The ARN of the newly created incident record.