deleteViewVersion method
Deletes the particular version specified in ViewVersion
identifier.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
May throw TooManyRequestsException.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find the
instanceId in the ARN of the instance.
Parameter viewId :
The identifier of the view. Both ViewArn and
ViewId can be used.
Parameter viewVersion :
The version number of the view.
Implementation
Future<void> deleteViewVersion({
required String instanceId,
required String viewId,
required int viewVersion,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/views/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(viewId)}/versions/${Uri.encodeComponent(viewVersion.toString())}',
exceptionFnMap: _exceptionFns,
);
}