getNotificationConfiguration method

Future<GetNotificationConfigurationResponse> getNotificationConfiguration({
  1. required String profilingGroupName,
})

Get the current configuration for anomaly notifications for a profiling group.

May throw InternalServerException. May throw ValidationException. May throw ThrottlingException. May throw ResourceNotFoundException.

Parameter profilingGroupName : The name of the profiling group we want to get the notification configuration for.

Implementation

Future<GetNotificationConfigurationResponse> getNotificationConfiguration({
  required String profilingGroupName,
}) async {
  ArgumentError.checkNotNull(profilingGroupName, 'profilingGroupName');
  _s.validateStringLength(
    'profilingGroupName',
    profilingGroupName,
    1,
    255,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/profilingGroups/${Uri.encodeComponent(profilingGroupName)}/notificationConfiguration',
    exceptionFnMap: _exceptionFns,
  );
  return GetNotificationConfigurationResponse.fromJson(response);
}