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 |
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.
Instances
newDeleteNotificationRule Source #
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.
DeleteNotificationRuleResponse' | |
|
Instances
Generic DeleteNotificationRuleResponse Source # | |
Read DeleteNotificationRuleResponse Source # | |
Show DeleteNotificationRuleResponse Source # | |
NFData DeleteNotificationRuleResponse Source # | |
Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule rnf :: DeleteNotificationRuleResponse -> () # | |
Eq DeleteNotificationRuleResponse Source # | |
type Rep DeleteNotificationRuleResponse Source # | |
Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule type Rep DeleteNotificationRuleResponse = D1 ('MetaData "DeleteNotificationRuleResponse" "Amazonka.CodeStarNotifications.DeleteNotificationRule" "amazonka-codestar-notifications-2.0-1YU4g2Ny2gz2roMHW6JQnw" 'False) (C1 ('MetaCons "DeleteNotificationRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.