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 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:
$sel:arn: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
Eq DeleteNotificationRuleResponse Source # | |
Read DeleteNotificationRuleResponse Source # | |
Show DeleteNotificationRuleResponse Source # | |
Generic DeleteNotificationRuleResponse Source # | |
NFData DeleteNotificationRuleResponse Source # | |
Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule rnf :: DeleteNotificationRuleResponse -> () # | |
type Rep DeleteNotificationRuleResponse Source # | |
Defined in Amazonka.CodeStarNotifications.DeleteNotificationRule type Rep DeleteNotificationRuleResponse = D1 ('MetaData "DeleteNotificationRuleResponse" "Amazonka.CodeStarNotifications.DeleteNotificationRule" "libZSservicesZSamazonka-codestar-notificationsZSamazonka-codestar-notifications" '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:
$sel:arn: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.