| 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.CodeStarNotifications.DeleteNotificationRule
Description
Deletes a notification rule for a resource.
Synopsis
- data DeleteNotificationRule = DeleteNotificationRule' {}
- newDeleteNotificationRule :: Text -> DeleteNotificationRule
- deleteNotificationRule_arn :: Lens' DeleteNotificationRule Text
- data DeleteNotificationRuleResponse = DeleteNotificationRuleResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDeleteNotificationRuleResponse :: Int -> DeleteNotificationRuleResponse
- deleteNotificationRuleResponse_arn :: Lens' DeleteNotificationRuleResponse (Maybe Text)
- deleteNotificationRuleResponse_httpStatus :: Lens' DeleteNotificationRuleResponse Int
Creating a Request
data DeleteNotificationRule Source #
See: newDeleteNotificationRule smart constructor.
Constructors
| DeleteNotificationRule' | |
Instances
newDeleteNotificationRule Source #
Arguments
| :: Text | |
| -> DeleteNotificationRule |
Create a value of DeleteNotificationRule 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:
DeleteNotificationRule, deleteNotificationRule_arn - The Amazon Resource Name (ARN) of the notification rule you want to
delete.
Request Lenses
deleteNotificationRule_arn :: Lens' DeleteNotificationRule Text Source #
The Amazon Resource Name (ARN) of the notification rule you want to delete.
Destructuring the Response
data DeleteNotificationRuleResponse Source #
See: newDeleteNotificationRuleResponse smart constructor.
Constructors
| DeleteNotificationRuleResponse' | |
Fields
| |
Instances
newDeleteNotificationRuleResponse Source #
Create a value of DeleteNotificationRuleResponse 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:
DeleteNotificationRule, deleteNotificationRuleResponse_arn - The Amazon Resource Name (ARN) of the deleted notification rule.
$sel:httpStatus:DeleteNotificationRuleResponse', deleteNotificationRuleResponse_httpStatus - The response's http status code.
Response Lenses
deleteNotificationRuleResponse_arn :: Lens' DeleteNotificationRuleResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the deleted notification rule.
deleteNotificationRuleResponse_httpStatus :: Lens' DeleteNotificationRuleResponse Int Source #
The response's http status code.