AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the PublishStateMachineVersion operation. Creates 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:
Namespace: Amazon.StepFunctions.Model
Assembly: AWSSDK.StepFunctions.dll
Version: 3.x.y.z
public class PublishStateMachineVersionRequest : AmazonStepFunctionsRequest IAmazonWebServiceRequest
The PublishStateMachineVersionRequest type exposes the following members
Name | Description | |
---|---|---|
PublishStateMachineVersionRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description. An optional description of the state machine version. |
|
RevisionId | System.String |
Gets and sets the property RevisionId. Only publish the state machine version if the current state machine's revision ID matches the specified ID.
Use this option to avoid publishing a version if the state machine changed since you
last updated it. If the specified revision ID doesn't match the state machine's current
revision ID, the API returns
To specify an initial revision ID for a state machine with no revision ID assigned,
specify the string |
|
StateMachineArn | System.String |
Gets and sets the property StateMachineArn. The Amazon Resource Name (ARN) of the state machine. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5