updateRoutingProfileDefaultOutboundQueue method

Future<void> updateRoutingProfileDefaultOutboundQueue({
  1. required String defaultOutboundQueueId,
  2. required String instanceId,
  3. required String routingProfileId,
})

Updates the default outbound queue of a routing profile.

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

Parameter defaultOutboundQueueId : The identifier for the default outbound queue.

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

Parameter routingProfileId : The identifier of the routing profile.

Implementation

Future<void> updateRoutingProfileDefaultOutboundQueue({
  required String defaultOutboundQueueId,
  required String instanceId,
  required String routingProfileId,
}) async {
  final $payload = <String, dynamic>{
    'DefaultOutboundQueueId': defaultOutboundQueueId,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/routing-profiles/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(routingProfileId)}/default-outbound-queue',
    exceptionFnMap: _exceptionFns,
  );
}