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 |
Removes a notification channel from DevOps Guru. A notification channel is used to notify you when DevOps Guru generates an insight that contains information about how to improve your operations.
Synopsis
- data RemoveNotificationChannel = RemoveNotificationChannel' {}
- newRemoveNotificationChannel :: Text -> RemoveNotificationChannel
- removeNotificationChannel_id :: Lens' RemoveNotificationChannel Text
- data RemoveNotificationChannelResponse = RemoveNotificationChannelResponse' {
- httpStatus :: Int
- newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse
- removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int
Creating a Request
data RemoveNotificationChannel Source #
See: newRemoveNotificationChannel
smart constructor.
Instances
newRemoveNotificationChannel Source #
Create a value of RemoveNotificationChannel
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:id:RemoveNotificationChannel'
, removeNotificationChannel_id
- The ID of the notification channel to be removed.
Request Lenses
removeNotificationChannel_id :: Lens' RemoveNotificationChannel Text Source #
The ID of the notification channel to be removed.
Destructuring the Response
data RemoveNotificationChannelResponse Source #
See: newRemoveNotificationChannelResponse
smart constructor.
RemoveNotificationChannelResponse' | |
|
Instances
Eq RemoveNotificationChannelResponse Source # | |
Read RemoveNotificationChannelResponse Source # | |
Show RemoveNotificationChannelResponse Source # | |
Generic RemoveNotificationChannelResponse Source # | |
NFData RemoveNotificationChannelResponse Source # | |
Defined in Amazonka.DevOpsGuru.RemoveNotificationChannel rnf :: RemoveNotificationChannelResponse -> () # | |
type Rep RemoveNotificationChannelResponse Source # | |
Defined in Amazonka.DevOpsGuru.RemoveNotificationChannel type Rep RemoveNotificationChannelResponse = D1 ('MetaData "RemoveNotificationChannelResponse" "Amazonka.DevOpsGuru.RemoveNotificationChannel" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "RemoveNotificationChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRemoveNotificationChannelResponse Source #
Create a value of RemoveNotificationChannelResponse
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:RemoveNotificationChannelResponse'
, removeNotificationChannelResponse_httpStatus
- The response's http status code.
Response Lenses
removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int Source #
The response's http status code.