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 |
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.
Instances
newDeleteResponsePlan Source #
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:
$sel:arn: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.
DeleteResponsePlanResponse' | |
|
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.