openapi: 3.1.0 info: title: 'Amazon Step Functions Executions #X Amz Target=AWSStepFunctions.DeleteStateMachineVersion API' description: Amazon Step Functions is a serverless workflow orchestration service that lets you coordinate distributed applications and microservices using visual workflows. This API enables you to create and manage state machines, start and monitor executions, and retrieve execution history. version: '2016-11-23' contact: name: Amazon Web Services url: https://aws.amazon.com/contact-us/ termsOfService: https://aws.amazon.com/service-terms/ servers: - url: https://states.{region}.amazonaws.com description: Amazon Step Functions Regional Endpoint variables: region: default: us-east-1 description: AWS Region security: - sigv4Auth: [] tags: - name: '#X Amz Target=AWSStepFunctions.DeleteStateMachineVersion' paths: /#X-Amz-Target=AWSStepFunctions.DeleteStateMachineVersion: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: DeleteStateMachineVersion description:

Deletes a state machine version. After you delete a version, you can't call StartExecution using that version's ARN or use the version with a state machine alias.

Deleting a state machine version won't terminate its in-progress executions.

You can't delete a state machine version currently referenced by one or more aliases. Before you delete a version, you must either delete the aliases or update them to point to another state machine version.

Related operations:

responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DeleteStateMachineVersionOutput' examples: DeleteStateMachineVersion200Example: summary: Default DeleteStateMachineVersion 200 x-microcks-default: true value: {} '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: DeleteStateMachineVersion480Example: summary: Default DeleteStateMachineVersion 480 x-microcks-default: true value: example-value '481': description: InvalidArn content: application/json: schema: $ref: '#/components/schemas/InvalidArn' examples: DeleteStateMachineVersion481Example: summary: Default DeleteStateMachineVersion 481 x-microcks-default: true value: example-value '482': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: DeleteStateMachineVersion482Example: summary: Default DeleteStateMachineVersion 482 x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DeleteStateMachineVersionInput' examples: DeleteStateMachineVersionRequestExample: summary: Default DeleteStateMachineVersion request x-microcks-default: true value: stateMachineVersionArn: arn:aws:service:us-east-1:123456789012:resource/example parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AWSStepFunctions.DeleteStateMachineVersion summary: Amazon Delete State Machine Version x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=AWSStepFunctions.DeleteStateMachineVersion' components: parameters: X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false schemas: ValidationException: {} DeleteStateMachineVersionOutput: type: object properties: {} LongArn: type: string minLength: 1 maxLength: 2000 InvalidArn: {} DeleteStateMachineVersionInput: type: object required: - stateMachineVersionArn title: DeleteStateMachineVersionInput properties: stateMachineVersionArn: allOf: - $ref: '#/components/schemas/LongArn' - description: The Amazon Resource Name (ARN) of the state machine version to delete. ConflictException: {} securitySchemes: sigv4Auth: type: apiKey name: Authorization in: header description: AWS Signature Version 4 authentication externalDocs: description: Amazon Step Functions API Reference url: https://docs.aws.amazon.com/step-functions/latest/apireference/