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 |
Updates the specified response plan.
Synopsis
- data UpdateResponsePlan = UpdateResponsePlan' {
- incidentTemplateImpact :: Maybe Natural
- clientToken :: Maybe Text
- actions :: Maybe [Action]
- incidentTemplateSummary :: Maybe Text
- displayName :: Maybe Text
- chatChannel :: Maybe ChatChannel
- incidentTemplateDedupeString :: Maybe Text
- incidentTemplateTitle :: Maybe Text
- engagements :: Maybe [Text]
- incidentTemplateNotificationTargets :: Maybe [NotificationTargetItem]
- arn :: Text
- newUpdateResponsePlan :: Text -> UpdateResponsePlan
- updateResponsePlan_incidentTemplateImpact :: Lens' UpdateResponsePlan (Maybe Natural)
- updateResponsePlan_clientToken :: Lens' UpdateResponsePlan (Maybe Text)
- updateResponsePlan_actions :: Lens' UpdateResponsePlan (Maybe [Action])
- updateResponsePlan_incidentTemplateSummary :: Lens' UpdateResponsePlan (Maybe Text)
- updateResponsePlan_displayName :: Lens' UpdateResponsePlan (Maybe Text)
- updateResponsePlan_chatChannel :: Lens' UpdateResponsePlan (Maybe ChatChannel)
- updateResponsePlan_incidentTemplateDedupeString :: Lens' UpdateResponsePlan (Maybe Text)
- updateResponsePlan_incidentTemplateTitle :: Lens' UpdateResponsePlan (Maybe Text)
- updateResponsePlan_engagements :: Lens' UpdateResponsePlan (Maybe [Text])
- updateResponsePlan_incidentTemplateNotificationTargets :: Lens' UpdateResponsePlan (Maybe [NotificationTargetItem])
- updateResponsePlan_arn :: Lens' UpdateResponsePlan Text
- data UpdateResponsePlanResponse = UpdateResponsePlanResponse' {
- httpStatus :: Int
- newUpdateResponsePlanResponse :: Int -> UpdateResponsePlanResponse
- updateResponsePlanResponse_httpStatus :: Lens' UpdateResponsePlanResponse Int
Creating a Request
data UpdateResponsePlan Source #
See: newUpdateResponsePlan
smart constructor.
UpdateResponsePlan' | |
|
Instances
newUpdateResponsePlan Source #
Create a value of UpdateResponsePlan
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:incidentTemplateImpact:UpdateResponsePlan'
, updateResponsePlan_incidentTemplateImpact
- Defines the impact to the customers. Providing an impact overwrites the
impact provided by a response plan.
Possible impacts:
5
- Severe impact4
- High impact3
- Medium impact2
- Low impact1
- No impact
$sel:clientToken:UpdateResponsePlan'
, updateResponsePlan_clientToken
- A token ensuring that the action is called only once with the specified
details.
$sel:actions:UpdateResponsePlan'
, updateResponsePlan_actions
- The actions that this response plan takes at the beginning of an
incident.
$sel:incidentTemplateSummary:UpdateResponsePlan'
, updateResponsePlan_incidentTemplateSummary
- A brief summary of the incident. This typically contains what has
happened, what's currently happening, and next steps.
$sel:displayName:UpdateResponsePlan'
, updateResponsePlan_displayName
- The long format name of the response plan. Can't contain spaces.
$sel:chatChannel:UpdateResponsePlan'
, updateResponsePlan_chatChannel
- The AWS Chatbot chat channel used for collaboration during an incident.
Use the empty structure to remove the chat channel from the response plan.
$sel:incidentTemplateDedupeString:UpdateResponsePlan'
, updateResponsePlan_incidentTemplateDedupeString
- Used to create only one incident record for an incident.
$sel:incidentTemplateTitle:UpdateResponsePlan'
, updateResponsePlan_incidentTemplateTitle
- The short format name of the incident. Can't contain spaces.
$sel:engagements:UpdateResponsePlan'
, updateResponsePlan_engagements
- The contacts and escalation plans that Incident Manager engages at the
start of the incident.
$sel:incidentTemplateNotificationTargets:UpdateResponsePlan'
, updateResponsePlan_incidentTemplateNotificationTargets
- The SNS targets that are notified when updates are made to an incident.
$sel:arn:UpdateResponsePlan'
, updateResponsePlan_arn
- The Amazon Resource Name (ARN) of the response plan.
Request Lenses
updateResponsePlan_incidentTemplateImpact :: Lens' UpdateResponsePlan (Maybe Natural) Source #
Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Possible impacts:
5
- Severe impact4
- High impact3
- Medium impact2
- Low impact1
- No impact
updateResponsePlan_clientToken :: Lens' UpdateResponsePlan (Maybe Text) Source #
A token ensuring that the action is called only once with the specified details.
updateResponsePlan_actions :: Lens' UpdateResponsePlan (Maybe [Action]) Source #
The actions that this response plan takes at the beginning of an incident.
updateResponsePlan_incidentTemplateSummary :: Lens' UpdateResponsePlan (Maybe Text) Source #
A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps.
updateResponsePlan_displayName :: Lens' UpdateResponsePlan (Maybe Text) Source #
The long format name of the response plan. Can't contain spaces.
updateResponsePlan_chatChannel :: Lens' UpdateResponsePlan (Maybe ChatChannel) Source #
The AWS Chatbot chat channel used for collaboration during an incident.
Use the empty structure to remove the chat channel from the response plan.
updateResponsePlan_incidentTemplateDedupeString :: Lens' UpdateResponsePlan (Maybe Text) Source #
Used to create only one incident record for an incident.
updateResponsePlan_incidentTemplateTitle :: Lens' UpdateResponsePlan (Maybe Text) Source #
The short format name of the incident. Can't contain spaces.
updateResponsePlan_engagements :: Lens' UpdateResponsePlan (Maybe [Text]) Source #
The contacts and escalation plans that Incident Manager engages at the start of the incident.
updateResponsePlan_incidentTemplateNotificationTargets :: Lens' UpdateResponsePlan (Maybe [NotificationTargetItem]) Source #
The SNS targets that are notified when updates are made to an incident.
updateResponsePlan_arn :: Lens' UpdateResponsePlan Text Source #
The Amazon Resource Name (ARN) of the response plan.
Destructuring the Response
data UpdateResponsePlanResponse Source #
See: newUpdateResponsePlanResponse
smart constructor.
UpdateResponsePlanResponse' | |
|
Instances
newUpdateResponsePlanResponse Source #
Create a value of UpdateResponsePlanResponse
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:UpdateResponsePlanResponse'
, updateResponsePlanResponse_httpStatus
- The response's http status code.
Response Lenses
updateResponsePlanResponse_httpStatus :: Lens' UpdateResponsePlanResponse Int Source #
The response's http status code.