associateQueueQuickConnects method

Future<void> associateQueueQuickConnects({
  1. required String instanceId,
  2. required String queueId,
  3. required List<String> quickConnectIds,
})

Associates a set of quick connects with a queue.

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

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 queueId : The identifier for the queue.

Parameter quickConnectIds : The quick connects to associate with this queue.

Implementation

Future<void> associateQueueQuickConnects({
  required String instanceId,
  required String queueId,
  required List<String> quickConnectIds,
}) async {
  final $payload = <String, dynamic>{
    'QuickConnectIds': quickConnectIds,
  };
  await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri:
        '/queues/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(queueId)}/associate-quick-connects',
    exceptionFnMap: _exceptionFns,
  );
}