Values.PublishStateMachineVersionOutputSourceCreates a version from the current revision of a state machine. Use versions to create immutable snapshots of your state machine. You can start executions from versions either directly or with an alias. To create an alias, use CreateStateMachineAlias. You can publish up to 1000 versions for each state machine. You must manually delete unused versions using the DeleteStateMachineVersion API action. PublishStateMachineVersion is an idempotent API. It doesn't create a duplicate state machine version if it already exists for the current revision. Step Functions bases PublishStateMachineVersion's idempotency check on the stateMachineArn, name, and revisionId parameters. Requests with the same parameters return a successful idempotent response. If you don't specify a revisionId, Step Functions checks for a previously published version of the state machine's current revision. Related operations: DeleteStateMachineVersion ListStateMachineVersions
type nonrec t = {creationDate : Timestamp.t option;The date the version was created.
*)stateMachineVersionArn : Arn.t option;The Amazon Resource Name (ARN) (ARN) that identifies the state machine version.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InvalidArn of InvalidArn.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `StateMachineDeleting of StateMachineDeleting.t| `StateMachineDoesNotExist of StateMachineDoesNotExist.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of ConflictException.t
| `InvalidArn of InvalidArn.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `StateMachineDeleting of StateMachineDeleting.t
| `StateMachineDoesNotExist of StateMachineDoesNotExist.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of ConflictException.t
| `InvalidArn of InvalidArn.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `StateMachineDeleting of StateMachineDeleting.t
| `StateMachineDoesNotExist of StateMachineDoesNotExist.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string * [> `String of Arn.t | `Timestamp of Timestamp.t ]) list ]