get_notification_configuration
(**kwargs)¶Get the current configuration for anomaly notifications for a profiling group.
See also: AWS API Documentation
Request Syntax
response = client.get_notification_configuration(
profilingGroupName='string'
)
[REQUIRED]
The name of the profiling group we want to get the notification configuration for.
{
'notificationConfiguration': {
'channels': [
{
'eventPublishers': [
'AnomalyDetection',
],
'id': 'string',
'uri': 'string'
},
]
}
}
Response Structure
The structure representing the GetNotificationConfigurationResponse.
The current notification configuration for this profiling group.
List of up to two channels to be used for sending notifications for events detected from the application profile.
Notification medium for users to get alerted for events that occur in application profile. We support SNS topic as a notification channel.
List of publishers for different type of events that may be detected in an application from the profile. Anomaly detection is the only event publisher in Profiler.
Unique identifier for each Channel
in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.
Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.
Exceptions
CodeGuruProfiler.Client.exceptions.InternalServerException
CodeGuruProfiler.Client.exceptions.ValidationException
CodeGuruProfiler.Client.exceptions.ThrottlingException
CodeGuruProfiler.Client.exceptions.ResourceNotFoundException