updateQueueHoursOfOperation method
Updates the hours of operation for the specified queue.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter hoursOfOperationId :
The identifier for the hours of operation.
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.
Implementation
Future<void> updateQueueHoursOfOperation({
required String hoursOfOperationId,
required String instanceId,
required String queueId,
}) async {
final $payload = <String, dynamic>{
'HoursOfOperationId': hoursOfOperationId,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/queues/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(queueId)}/hours-of-operation',
exceptionFnMap: _exceptionFns,
);
}