updateQueueStatus method
Updates the status of the queue.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
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 status :
The status of the queue.
Implementation
Future<void> updateQueueStatus({
required String instanceId,
required String queueId,
required QueueStatus status,
}) async {
final $payload = <String, dynamic>{
'Status': status.value,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/queues/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(queueId)}/status',
exceptionFnMap: _exceptionFns,
);
}