Values_0.CreateContactFlowVersionResponseSourcePublishes a new version of the flow provided. Versions are immutable and monotonically increasing. If the FlowContentSha256 provided is different from the FlowContentSha256 of the $LATEST published flow content, then an error is returned. This API only supports creating versions for flows of type Campaign.
type nonrec t = {contactFlowArn : ARN.t option;The Amazon Resource Name (ARN) of the flow.
*)version : ResourceVersion.t option;The identifier of the flow version.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServiceException of InternalServiceException.t| `InvalidParameterException of InvalidParameterException.t| `InvalidRequestException of InvalidRequestException.t| `LimitExceededException of LimitExceededException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidParameterException of InvalidParameterException.t
| `InvalidRequestException of InvalidRequestException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidParameterException of InvalidParameterException.t
| `InvalidRequestException of InvalidRequestException.t
| `LimitExceededException of LimitExceededException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string * [> `Long of ResourceVersion.t | `String of ARN.t ]) list ]