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 |
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.
GetNotificationConfiguration' | |
|
Instances
newGetNotificationConfiguration Source #
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:
$sel:profilingGroupName: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.
GetNotificationConfigurationResponse' | |
|
Instances
newGetNotificationConfigurationResponse Source #
:: 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.