openapi: 3.1.0 info: title: 'Amazon Step Functions Executions #X Amz Target=AWSStepFunctions.ListStateMachineVersions 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.ListStateMachineVersions' paths: /#X-Amz-Target=AWSStepFunctions.ListStateMachineVersions: 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: ListStateMachineVersions description:
Lists versions for the specified state machine Amazon Resource Name (ARN).
The results are sorted in descending order of the version creation time.
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
Related operations:
responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/ListStateMachineVersionsOutput' examples: ListStateMachineVersions200Example: summary: Default ListStateMachineVersions 200 x-microcks-default: true value: stateMachineVersions: example-value nextToken: example-value '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: ListStateMachineVersions480Example: summary: Default ListStateMachineVersions 480 x-microcks-default: true value: example-value '481': description: InvalidArn content: application/json: schema: $ref: '#/components/schemas/InvalidArn' examples: ListStateMachineVersions481Example: summary: Default ListStateMachineVersions 481 x-microcks-default: true value: example-value '482': description: InvalidToken content: application/json: schema: $ref: '#/components/schemas/InvalidToken' examples: ListStateMachineVersions482Example: summary: Default ListStateMachineVersions 482 x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ListStateMachineVersionsInput' examples: ListStateMachineVersionsRequestExample: summary: Default ListStateMachineVersions request x-microcks-default: true value: stateMachineArn: arn:aws:service:us-east-1:123456789012:resource/example nextToken: example-value maxResults: example-value parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AWSStepFunctions.ListStateMachineVersions summary: Amazon List State Machine Versions x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=AWSStepFunctions.ListStateMachineVersions' components: schemas: StateMachineVersionList: type: array items: $ref: '#/components/schemas/StateMachineVersionListItem' PageSize: type: integer minimum: 0 maximum: 1000 ListStateMachineVersionsOutput: type: object required: - stateMachineVersions properties: stateMachineVersions: allOf: - $ref: '#/components/schemas/StateMachineVersionList' - description: Versions for the state machine. nextToken: allOf: - $ref: '#/components/schemas/PageToken' - description: IfnextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
ValidationException: {}
InvalidToken: {}
InvalidArn: {}
ListStateMachineVersionsInput:
type: object
required:
- stateMachineArn
title: ListStateMachineVersionsInput
properties:
stateMachineArn:
allOf:
- $ref: '#/components/schemas/Arn'
- description: The Amazon Resource Name (ARN) of the state machine.
nextToken:
allOf:
- $ref: '#/components/schemas/PageToken'
- description: If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
maxResults:
allOf:
- $ref: '#/components/schemas/PageSize'
- description: The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results. The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.
This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.
LongArn: type: string minLength: 1 maxLength: 2000 StateMachineVersionListItem: type: object required: - stateMachineVersionArn - creationDate properties: stateMachineVersionArn: allOf: - $ref: '#/components/schemas/LongArn' - description: The Amazon Resource Name (ARN) that identifies a state machine version. The version ARN is a combination of state machine ARN and the version number separated by a colon (:). For example,stateMachineARN:1.
creationDate:
allOf:
- $ref: '#/components/schemas/Timestamp'
- description: The creation date of a state machine version.
description: Contains details about a specific state machine version.
Timestamp:
type: string
format: date-time
PageToken:
type: string
minLength: 1
maxLength: 1024
Arn:
type: string
minLength: 1
maxLength: 256
parameters:
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
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-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
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/