| 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.GetNotificationConfiguration
Description
Get the current configuration for anomaly notifications for a profiling group.
Synopsis
- data GetNotificationConfiguration = GetNotificationConfiguration' {}
- newGetNotificationConfiguration :: Text -> GetNotificationConfiguration
- getNotificationConfiguration_profilingGroupName :: Lens' GetNotificationConfiguration Text
- data GetNotificationConfigurationResponse = GetNotificationConfigurationResponse' {}
- newGetNotificationConfigurationResponse :: Int -> NotificationConfiguration -> GetNotificationConfigurationResponse
- getNotificationConfigurationResponse_httpStatus :: Lens' GetNotificationConfigurationResponse Int
- getNotificationConfigurationResponse_notificationConfiguration :: Lens' GetNotificationConfigurationResponse NotificationConfiguration
Creating a Request
data GetNotificationConfiguration Source #
The structure representing the GetNotificationConfigurationRequest.
See: newGetNotificationConfiguration smart constructor.
Constructors
| GetNotificationConfiguration' | |
Fields
| |
Instances
newGetNotificationConfiguration Source #
Arguments
| :: Text | |
| -> GetNotificationConfiguration |
Create a value of GetNotificationConfiguration 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:
GetNotificationConfiguration, getNotificationConfiguration_profilingGroupName - The name of the profiling group we want to get the notification
configuration for.
Request Lenses
getNotificationConfiguration_profilingGroupName :: Lens' GetNotificationConfiguration Text Source #
The name of the profiling group we want to get the notification configuration for.
Destructuring the Response
data GetNotificationConfigurationResponse Source #
The structure representing the GetNotificationConfigurationResponse.
See: newGetNotificationConfigurationResponse smart constructor.
Constructors
| GetNotificationConfigurationResponse' | |
Fields
| |
Instances
newGetNotificationConfigurationResponse Source #
Arguments
| :: Int | |
| -> NotificationConfiguration |
|
| -> GetNotificationConfigurationResponse |
Create a value of GetNotificationConfigurationResponse 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:GetNotificationConfigurationResponse', getNotificationConfigurationResponse_httpStatus - The response's http status code.
$sel:notificationConfiguration:GetNotificationConfigurationResponse', getNotificationConfigurationResponse_notificationConfiguration - The current notification configuration for this profiling group.
Response Lenses
getNotificationConfigurationResponse_httpStatus :: Lens' GetNotificationConfigurationResponse Int Source #
The response's http status code.
getNotificationConfigurationResponse_notificationConfiguration :: Lens' GetNotificationConfigurationResponse NotificationConfiguration Source #
The current notification configuration for this profiling group.