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 |
Retrieves the details of the specified response plan.
Synopsis
- data GetResponsePlan = GetResponsePlan' {}
- newGetResponsePlan :: Text -> GetResponsePlan
- getResponsePlan_arn :: Lens' GetResponsePlan Text
- data GetResponsePlanResponse = GetResponsePlanResponse' {
- actions :: Maybe [Action]
- chatChannel :: Maybe ChatChannel
- displayName :: Maybe Text
- engagements :: Maybe [Text]
- integrations :: Maybe [Integration]
- httpStatus :: Int
- arn :: Text
- incidentTemplate :: IncidentTemplate
- name :: Text
- newGetResponsePlanResponse :: Int -> Text -> IncidentTemplate -> Text -> GetResponsePlanResponse
- getResponsePlanResponse_actions :: Lens' GetResponsePlanResponse (Maybe [Action])
- getResponsePlanResponse_chatChannel :: Lens' GetResponsePlanResponse (Maybe ChatChannel)
- getResponsePlanResponse_displayName :: Lens' GetResponsePlanResponse (Maybe Text)
- getResponsePlanResponse_engagements :: Lens' GetResponsePlanResponse (Maybe [Text])
- getResponsePlanResponse_integrations :: Lens' GetResponsePlanResponse (Maybe [Integration])
- getResponsePlanResponse_httpStatus :: Lens' GetResponsePlanResponse Int
- getResponsePlanResponse_arn :: Lens' GetResponsePlanResponse Text
- getResponsePlanResponse_incidentTemplate :: Lens' GetResponsePlanResponse IncidentTemplate
- getResponsePlanResponse_name :: Lens' GetResponsePlanResponse Text
Creating a Request
data GetResponsePlan Source #
See: newGetResponsePlan
smart constructor.
Instances
Create a value of GetResponsePlan
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:
GetResponsePlan
, getResponsePlan_arn
- The Amazon Resource Name (ARN) of the response plan.
Request Lenses
getResponsePlan_arn :: Lens' GetResponsePlan Text Source #
The Amazon Resource Name (ARN) of the response plan.
Destructuring the Response
data GetResponsePlanResponse Source #
See: newGetResponsePlanResponse
smart constructor.
GetResponsePlanResponse' | |
|
Instances
newGetResponsePlanResponse Source #
:: Int | |
-> Text | |
-> IncidentTemplate | |
-> Text | |
-> GetResponsePlanResponse |
Create a value of GetResponsePlanResponse
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:GetResponsePlanResponse'
, getResponsePlanResponse_actions
- The actions that this response plan takes at the beginning of the
incident.
GetResponsePlanResponse
, getResponsePlanResponse_chatChannel
- The Chatbot chat channel used for collaboration during an incident.
GetResponsePlanResponse
, getResponsePlanResponse_displayName
- The long format name of the response plan. Can contain spaces.
$sel:engagements:GetResponsePlanResponse'
, getResponsePlanResponse_engagements
- The Amazon Resource Name (ARN) for the contacts and escalation plans
that the response plan engages during an incident.
$sel:integrations:GetResponsePlanResponse'
, getResponsePlanResponse_integrations
- Information about third-party services integrated into the Incident
Manager response plan.
$sel:httpStatus:GetResponsePlanResponse'
, getResponsePlanResponse_httpStatus
- The response's http status code.
GetResponsePlan
, getResponsePlanResponse_arn
- The ARN of the response plan.
$sel:incidentTemplate:GetResponsePlanResponse'
, getResponsePlanResponse_incidentTemplate
- Details used to create the incident when using this response plan.
GetResponsePlanResponse
, getResponsePlanResponse_name
- The short format name of the response plan. The name can't contain
spaces.
Response Lenses
getResponsePlanResponse_actions :: Lens' GetResponsePlanResponse (Maybe [Action]) Source #
The actions that this response plan takes at the beginning of the incident.
getResponsePlanResponse_chatChannel :: Lens' GetResponsePlanResponse (Maybe ChatChannel) Source #
The Chatbot chat channel used for collaboration during an incident.
getResponsePlanResponse_displayName :: Lens' GetResponsePlanResponse (Maybe Text) Source #
The long format name of the response plan. Can contain spaces.
getResponsePlanResponse_engagements :: Lens' GetResponsePlanResponse (Maybe [Text]) Source #
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
getResponsePlanResponse_integrations :: Lens' GetResponsePlanResponse (Maybe [Integration]) Source #
Information about third-party services integrated into the Incident Manager response plan.
getResponsePlanResponse_httpStatus :: Lens' GetResponsePlanResponse Int Source #
The response's http status code.
getResponsePlanResponse_arn :: Lens' GetResponsePlanResponse Text Source #
The ARN of the response plan.
getResponsePlanResponse_incidentTemplate :: Lens' GetResponsePlanResponse IncidentTemplate Source #
Details used to create the incident when using this response plan.
getResponsePlanResponse_name :: Lens' GetResponsePlanResponse Text Source #
The short format name of the response plan. The name can't contain spaces.