Skip to main content

Interface: ISetWorkerDeploymentCurrentVersionResponse

workflowservice.v1.ISetWorkerDeploymentCurrentVersionResponse

Properties of a SetWorkerDeploymentCurrentVersionResponse.

Implemented by

Properties

conflictToken

Optional conflictToken: null | Uint8Array

This value is returned so that it can be optionally passed to APIs that write to the Worker Deployment state to ensure that the state did not change between this API call and a future write.


previousDeploymentVersion

Optional previousDeploymentVersion: null | IWorkerDeploymentVersion

The version that was current before executing this operation. Deprecated in favor of idempotency of the API. Use DescribeWorkerDeployment to get the Current version info before calling this API. By passing the conflict_token got from the DescribeWorkerDeployment call to this API you can ensure there is no interfering changes between the two calls.


previousVersion

Optional previousVersion: null | string

Deprecated. Use previous_deployment_version.