describeNotification method

Future<DescribeNotificationResponse> describeNotification({
  1. required String instanceId,
  2. required String notificationId,
})

Retrieves detailed information about a specific notification, including its content, priority, recipients, and metadata.

May throw AccessDeniedException. May throw InternalServiceException. May throw InvalidParameterException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter instanceId : The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Parameter notificationId : The unique identifier for the notification.

Implementation

Future<DescribeNotificationResponse> describeNotification({
  required String instanceId,
  required String notificationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/notifications/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(notificationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeNotificationResponse.fromJson(response);
}