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 |
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]
- displayName :: Maybe Text
- chatChannel :: Maybe ChatChannel
- engagements :: Maybe [Text]
- httpStatus :: Int
- arn :: Text
- incidentTemplate :: IncidentTemplate
- name :: Text
- newGetResponsePlanResponse :: Int -> Text -> IncidentTemplate -> Text -> GetResponsePlanResponse
- getResponsePlanResponse_actions :: Lens' GetResponsePlanResponse (Maybe [Action])
- getResponsePlanResponse_displayName :: Lens' GetResponsePlanResponse (Maybe Text)
- getResponsePlanResponse_chatChannel :: Lens' GetResponsePlanResponse (Maybe ChatChannel)
- getResponsePlanResponse_engagements :: Lens' GetResponsePlanResponse (Maybe [Text])
- 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:
$sel:arn: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.
$sel:displayName:GetResponsePlanResponse'
, getResponsePlanResponse_displayName
- The long format name of the response plan. Can contain spaces.
$sel:chatChannel:GetResponsePlanResponse'
, getResponsePlanResponse_chatChannel
- The AWS Chatbot chat channel used for collaboration during an incident.
$sel:engagements:GetResponsePlanResponse'
, getResponsePlanResponse_engagements
- The contacts and escalation plans that the response plan engages during
an incident.
$sel:httpStatus:GetResponsePlanResponse'
, getResponsePlanResponse_httpStatus
- The response's http status code.
$sel:arn: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.
$sel:name:GetResponsePlanResponse'
, getResponsePlanResponse_name
- The short format name of the response plan. 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_displayName :: Lens' GetResponsePlanResponse (Maybe Text) Source #
The long format name of the response plan. Can contain spaces.
getResponsePlanResponse_chatChannel :: Lens' GetResponsePlanResponse (Maybe ChatChannel) Source #
The AWS Chatbot chat channel used for collaboration during an incident.
getResponsePlanResponse_engagements :: Lens' GetResponsePlanResponse (Maybe [Text]) Source #
The contacts and escalation plans that the response plan engages during an incident.
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. Can't contain spaces.