updateQueueOutboundEmailConfig method
Updates the outbound email address Id for a specified queue.
May throw AccessDeniedException.
May throw ConditionalOperationFailedException.
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 outboundEmailConfig :
The outbound email address ID for a specified queue.
Parameter queueId :
The identifier for the queue.
Implementation
Future<void> updateQueueOutboundEmailConfig({
required String instanceId,
required OutboundEmailConfig outboundEmailConfig,
required String queueId,
}) async {
final $payload = <String, dynamic>{
'OutboundEmailConfig': outboundEmailConfig,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri:
'/queues/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(queueId)}/outbound-email-config',
exceptionFnMap: _exceptionFns,
);
}