| 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.DevOpsGuru.RemoveNotificationChannel
Description
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.
Constructors
| RemoveNotificationChannel' | |
Instances
newRemoveNotificationChannel Source #
Arguments
| :: Text | |
| -> RemoveNotificationChannel |
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:
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.
Constructors
| RemoveNotificationChannelResponse' | |
Fields
| |
Instances
newRemoveNotificationChannelResponse Source #
Arguments
| :: Int | |
| -> RemoveNotificationChannelResponse |
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.