| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMIncidents.CreateResponsePlan
Description
Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
Synopsis
- data CreateResponsePlan = CreateResponsePlan' {
- actions :: Maybe [Action]
- chatChannel :: Maybe ChatChannel
- clientToken :: Maybe Text
- displayName :: Maybe Text
- engagements :: Maybe [Text]
- integrations :: Maybe [Integration]
- tags :: Maybe (HashMap Text Text)
- incidentTemplate :: IncidentTemplate
- name :: Text
- newCreateResponsePlan :: IncidentTemplate -> Text -> CreateResponsePlan
- createResponsePlan_actions :: Lens' CreateResponsePlan (Maybe [Action])
- createResponsePlan_chatChannel :: Lens' CreateResponsePlan (Maybe ChatChannel)
- createResponsePlan_clientToken :: Lens' CreateResponsePlan (Maybe Text)
- createResponsePlan_displayName :: Lens' CreateResponsePlan (Maybe Text)
- createResponsePlan_engagements :: Lens' CreateResponsePlan (Maybe [Text])
- createResponsePlan_integrations :: Lens' CreateResponsePlan (Maybe [Integration])
- createResponsePlan_tags :: Lens' CreateResponsePlan (Maybe (HashMap Text Text))
- createResponsePlan_incidentTemplate :: Lens' CreateResponsePlan IncidentTemplate
- createResponsePlan_name :: Lens' CreateResponsePlan Text
- data CreateResponsePlanResponse = CreateResponsePlanResponse' {
- httpStatus :: Int
- arn :: Text
- newCreateResponsePlanResponse :: Int -> Text -> CreateResponsePlanResponse
- createResponsePlanResponse_httpStatus :: Lens' CreateResponsePlanResponse Int
- createResponsePlanResponse_arn :: Lens' CreateResponsePlanResponse Text
Creating a Request
data CreateResponsePlan Source #
See: newCreateResponsePlan smart constructor.
Constructors
| CreateResponsePlan' | |
Fields
| |
Instances
newCreateResponsePlan Source #
Arguments
| :: IncidentTemplate | |
| -> Text | |
| -> CreateResponsePlan |
Create a value of CreateResponsePlan 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:actions:CreateResponsePlan', createResponsePlan_actions - The actions that the response plan starts at the beginning of an
incident.
CreateResponsePlan, createResponsePlan_chatChannel - The Chatbot chat channel used for collaboration during an incident.
$sel:clientToken:CreateResponsePlan', createResponsePlan_clientToken - A token ensuring that the operation is called only once with the
specified details.
CreateResponsePlan, createResponsePlan_displayName - The long format of the response plan name. This field can contain
spaces.
$sel:engagements:CreateResponsePlan', createResponsePlan_engagements - The Amazon Resource Name (ARN) for the contacts and escalation plans
that the response plan engages during an incident.
$sel:integrations:CreateResponsePlan', createResponsePlan_integrations - Information about third-party services integrated into the response
plan.
$sel:tags:CreateResponsePlan', createResponsePlan_tags - A list of tags that you are adding to the response plan.
$sel:incidentTemplate:CreateResponsePlan', createResponsePlan_incidentTemplate - Details used to create an incident when using this response plan.
CreateResponsePlan, createResponsePlan_name - The short format name of the response plan. Can't include spaces.
Request Lenses
createResponsePlan_actions :: Lens' CreateResponsePlan (Maybe [Action]) Source #
The actions that the response plan starts at the beginning of an incident.
createResponsePlan_chatChannel :: Lens' CreateResponsePlan (Maybe ChatChannel) Source #
The Chatbot chat channel used for collaboration during an incident.
createResponsePlan_clientToken :: Lens' CreateResponsePlan (Maybe Text) Source #
A token ensuring that the operation is called only once with the specified details.
createResponsePlan_displayName :: Lens' CreateResponsePlan (Maybe Text) Source #
The long format of the response plan name. This field can contain spaces.
createResponsePlan_engagements :: Lens' CreateResponsePlan (Maybe [Text]) Source #
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
createResponsePlan_integrations :: Lens' CreateResponsePlan (Maybe [Integration]) Source #
Information about third-party services integrated into the response plan.
createResponsePlan_tags :: Lens' CreateResponsePlan (Maybe (HashMap Text Text)) Source #
A list of tags that you are adding to the response plan.
createResponsePlan_incidentTemplate :: Lens' CreateResponsePlan IncidentTemplate Source #
Details used to create an incident when using this response plan.
createResponsePlan_name :: Lens' CreateResponsePlan Text Source #
The short format name of the response plan. Can't include spaces.
Destructuring the Response
data CreateResponsePlanResponse Source #
See: newCreateResponsePlanResponse smart constructor.
Constructors
| CreateResponsePlanResponse' | |
Fields
| |
Instances
newCreateResponsePlanResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateResponsePlanResponse |
Create a value of CreateResponsePlanResponse 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:CreateResponsePlanResponse', createResponsePlanResponse_httpStatus - The response's http status code.
CreateResponsePlanResponse, createResponsePlanResponse_arn - The Amazon Resource Name (ARN) of the response plan.
Response Lenses
createResponsePlanResponse_httpStatus :: Lens' CreateResponsePlanResponse Int Source #
The response's http status code.
createResponsePlanResponse_arn :: Lens' CreateResponsePlanResponse Text Source #
The Amazon Resource Name (ARN) of the response plan.