| 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.DeleteResponsePlan
Description
Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
Synopsis
- data DeleteResponsePlan = DeleteResponsePlan' {}
- newDeleteResponsePlan :: Text -> DeleteResponsePlan
- deleteResponsePlan_arn :: Lens' DeleteResponsePlan Text
- data DeleteResponsePlanResponse = DeleteResponsePlanResponse' {
- httpStatus :: Int
- newDeleteResponsePlanResponse :: Int -> DeleteResponsePlanResponse
- deleteResponsePlanResponse_httpStatus :: Lens' DeleteResponsePlanResponse Int
Creating a Request
data DeleteResponsePlan Source #
See: newDeleteResponsePlan smart constructor.
Constructors
| DeleteResponsePlan' | |
Instances
newDeleteResponsePlan Source #
Arguments
| :: Text | |
| -> DeleteResponsePlan |
Create a value of DeleteResponsePlan 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:
DeleteResponsePlan, deleteResponsePlan_arn - The Amazon Resource Name (ARN) of the response plan.
Request Lenses
deleteResponsePlan_arn :: Lens' DeleteResponsePlan Text Source #
The Amazon Resource Name (ARN) of the response plan.
Destructuring the Response
data DeleteResponsePlanResponse Source #
See: newDeleteResponsePlanResponse smart constructor.
Constructors
| DeleteResponsePlanResponse' | |
Fields
| |
Instances
newDeleteResponsePlanResponse Source #
Create a value of DeleteResponsePlanResponse 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:DeleteResponsePlanResponse', deleteResponsePlanResponse_httpStatus - The response's http status code.
Response Lenses
deleteResponsePlanResponse_httpStatus :: Lens' DeleteResponsePlanResponse Int Source #
The response's http status code.