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 |
Remove one anomaly notifications channel for a profiling group.
Synopsis
- data RemoveNotificationChannel = RemoveNotificationChannel' {}
- newRemoveNotificationChannel :: Text -> Text -> RemoveNotificationChannel
- removeNotificationChannel_channelId :: Lens' RemoveNotificationChannel Text
- removeNotificationChannel_profilingGroupName :: Lens' RemoveNotificationChannel Text
- data RemoveNotificationChannelResponse = RemoveNotificationChannelResponse' {}
- newRemoveNotificationChannelResponse :: Int -> RemoveNotificationChannelResponse
- removeNotificationChannelResponse_notificationConfiguration :: Lens' RemoveNotificationChannelResponse (Maybe NotificationConfiguration)
- removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int
Creating a Request
data RemoveNotificationChannel Source #
The structure representing the RemoveNotificationChannelRequest.
See: newRemoveNotificationChannel
smart constructor.
RemoveNotificationChannel' | |
|
Instances
newRemoveNotificationChannel Source #
:: Text | |
-> 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:
$sel:channelId:RemoveNotificationChannel'
, removeNotificationChannel_channelId
- The id of the channel that we want to stop receiving notifications.
$sel:profilingGroupName:RemoveNotificationChannel'
, removeNotificationChannel_profilingGroupName
- The name of the profiling group we want to change notification
configuration for.
Request Lenses
removeNotificationChannel_channelId :: Lens' RemoveNotificationChannel Text Source #
The id of the channel that we want to stop receiving notifications.
removeNotificationChannel_profilingGroupName :: Lens' RemoveNotificationChannel Text Source #
The name of the profiling group we want to change notification configuration for.
Destructuring the Response
data RemoveNotificationChannelResponse Source #
The structure representing the RemoveNotificationChannelResponse.
See: newRemoveNotificationChannelResponse
smart constructor.
RemoveNotificationChannelResponse' | |
|
Instances
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:notificationConfiguration:RemoveNotificationChannelResponse'
, removeNotificationChannelResponse_notificationConfiguration
- The new notification configuration for this profiling group.
$sel:httpStatus:RemoveNotificationChannelResponse'
, removeNotificationChannelResponse_httpStatus
- The response's http status code.
Response Lenses
removeNotificationChannelResponse_notificationConfiguration :: Lens' RemoveNotificationChannelResponse (Maybe NotificationConfiguration) Source #
The new notification configuration for this profiling group.
removeNotificationChannelResponse_httpStatus :: Lens' RemoveNotificationChannelResponse Int Source #
The response's http status code.