deleteContactFlowModuleVersion method
Removes a specific version of a contact flow module.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter contactFlowModuleId :
The identifier of the flow module.
Parameter contactFlowModuleVersion :
The version of the flow module to delete.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Implementation
Future<void> deleteContactFlowModuleVersion({
required String contactFlowModuleId,
required int contactFlowModuleVersion,
required String instanceId,
}) async {
_s.validateNumRange(
'contactFlowModuleVersion',
contactFlowModuleVersion,
1,
1152921504606846976,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/contact-flow-modules/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(contactFlowModuleId)}/version/${Uri.encodeComponent(contactFlowModuleVersion.toString())}',
exceptionFnMap: _exceptionFns,
);
}