openapi: 3.2.0 info: version: '2016-11-23' x-release: v4 title: 'AWS Step Functions #X Amz Target=AWSStepFunctions.UpdateStat…' description: 'Step Functions Step Functions is a service that lets you coordinate the components of distributed applications and microservices using visual workflows.' x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: states x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/states-2016-11-23.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://states.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS SFN multi-region endpoint - url: https://states.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The AWS SFN multi-region endpoint - url: http://states.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS SFN endpoint for China (Beijing) and China (Ningxia) - url: https://states.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The AWS SFN endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: 'AWS Step Functions #X Amz Target=AWSStepFunctions.UpdateStat…' paths: /#X-Amz-Target=AWSStepFunctions.UpdateStateMachineAlias: 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: UpdateStateMachineAlias description: 'Updates the configuration of an existing state machine alias by modifying its description or routingConfiguration. You must specify at least one of the description or routingConfiguration parameters to update a state machine alias. UpdateStateMachineAlias is an idempotent API. Step Functions bases the idempotency check on the stateMachineAliasArn, description, and routingConfiguration parameters. Requests with the same parameters return an idempotent response. This operation is eventually consistent. All StartExecution requests made within a few seconds use the latest alias configuration. Executions started immediately after calling UpdateStateMachineAlias may use the previous routing configuration. Related operations: CreateStateMachineAlias DescribeStateMachineAlias ListStateMachineAliases DeleteStateMachineAlias' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/UpdateStateMachineAliasOutput' examples: UpdateStateMachineAlias200Example: summary: Default UpdateStateMachineAlias 200 x-microcks-default: true value: updateDate: example-value '480': description: ValidationException content: application/json: schema: $ref: '#/components/schemas/ValidationException' examples: UpdateStateMachineAlias480Example: summary: Default UpdateStateMachineAlias 480 x-microcks-default: true value: example-value '481': description: InvalidArn content: application/json: schema: $ref: '#/components/schemas/InvalidArn' examples: UpdateStateMachineAlias481Example: summary: Default UpdateStateMachineAlias 481 x-microcks-default: true value: example-value '482': description: ResourceNotFound content: application/json: schema: $ref: '#/components/schemas/ResourceNotFound' examples: UpdateStateMachineAlias482Example: summary: Default UpdateStateMachineAlias 482 x-microcks-default: true value: example-value '483': description: ConflictException content: application/json: schema: $ref: '#/components/schemas/ConflictException' examples: UpdateStateMachineAlias483Example: summary: Default UpdateStateMachineAlias 483 x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/UpdateStateMachineAliasInput' examples: UpdateStateMachineAliasRequestExample: summary: Default UpdateStateMachineAlias request x-microcks-default: true value: stateMachineAliasArn: arn:aws:service:us-east-1:123456789012:resource/example description: example-value routingConfiguration: example-value parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - AWSStepFunctions.UpdateStateMachineAlias summary: Amazon Update State Machine Alias x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - 'AWS Step Functions #X Amz Target=AWSStepFunctions.UpdateStat…' components: schemas: ConflictException: {} RoutingConfigurationListItem: type: object required: - stateMachineVersionArn - weight properties: stateMachineVersionArn: allOf: - $ref: '#/components/schemas/Arn' - description:
The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
If you specify the ARN of a second version, it must belong to the same state machine as the first version.
weight: allOf: - $ref: '#/components/schemas/VersionWeight' - description: The percentage of traffic you want to route to the second state machine version. The sum of the weights in the routing configuration must be equal to 100. description: Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version. RoutingConfigurationList: type: array items: $ref: '#/components/schemas/RoutingConfigurationListItem' minItems: 1 maxItems: 2 VersionWeight: type: integer minimum: 0 maximum: 100 Timestamp: type: string format: date-time UpdateStateMachineAliasInput: type: object required: - stateMachineAliasArn title: UpdateStateMachineAliasInput properties: stateMachineAliasArn: allOf: - $ref: '#/components/schemas/Arn' - description: The Amazon Resource Name (ARN) of the state machine alias. description: allOf: - $ref: '#/components/schemas/AliasDescription' - description: A description of the state machine alias. routingConfiguration: allOf: - $ref: '#/components/schemas/RoutingConfigurationList' - description:The routing configuration of the state machine alias.
An array of RoutingConfig objects that specifies up to two state machine versions that the alias starts executions for.