| 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.CodeGuruProfiler.RemoveNotificationChannel
Description
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.
Constructors
| RemoveNotificationChannel' | |
Fields
| |
Instances
newRemoveNotificationChannel Source #
Arguments
| :: 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.
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.
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: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.