AWS Step Functions AWS Step Functions #X Amz Target=AWSStepFunctions.CreateStat… API

The AWS Step Functions #X Amz Target=AWSStepFunctions.CreateStat… API from AWS Step Functions — 1 operation(s) for aws step functions #x amz target=awsstepfunctions.createstat….

GitHub OpenAPI

Operations 1

POST /#CreateStateMachineAlias Create State Machine Alias #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-step-functions:aws-step-functions-aws-step-functions-x-amz-target-awsstepfunctions-createstat-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-step-functions-aws-step-functions-x-amz-target-awsstepfunctions-createstat-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Step Functions Aws Step Functions X Amz Target Awsstepfunctions Createstat API
  version: '2016-11-23'
  description: Generated from AWS's published Smithy model for AWS Step Functions. 1 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://states.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateStateMachineAlias:
    post:
      operationId: CreateStateMachineAlias
      summary: Create State Machine Alias
      description: Creates an alias for a state machine that points to one or two versions of the same state machine. You
        can set your application to call StartExecution with an alias and update the version the alias uses without changing
        the client's code. You can also map an alias to split StartExecution requests between two versions of a state machine.
        To do this, add a second RoutingConfig object in the routingConfiguration parameter. You must also specify the percentage
        of execution run requests each version should receive in both RoutingConfig objects. Step Functions randomly chooses
        which version runs a given execution based on the percentage you specify. To create an alias that points to a single
        version, specify a single RoutingConfig object with a weight set to 100. You can create up to 100 aliases for each
        state machine. You must delete unused aliases using the DeleteStateMachineAlias API action. CreateStateMachineAlias
        is an idempotent API. Step Functions bases the idempotency check on the stateMachineArn, description, name, and routingConfiguration
        parameters. Requests that contain the same values for these parameters return a successful idempotent response without
        creating a duplicate r
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateStateMachineAliasOutput'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '400':
          description: InvalidArn; InvalidName; StateMachineDeleting; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidArn'
        '404':
          description: ResourceNotFound
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFound'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSStepFunctions.CreateStateMachineAlias
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateStateMachineAliasInput'
      tags:
      - Aws Step Functions X Amz Target Awsstepfunctions Createstat
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: states
  schemas:
    ConflictException:
      type: object
      properties:
        message:
          type: string
    CreateStateMachineAliasInput:
      type: object
      properties:
        description:
          type: string
          description: A description for the state machine alias.
        name:
          type: string
          description: The name of the state machine alias. To avoid conflict with version ARNs, don't use an integer in the
            name of the alias.
        routingConfiguration:
          type: array
          items:
            $ref: '#/components/schemas/RoutingConfigurationListItem'
          description: The routing configuration of a state machine alias. The routing configuration shifts execution traffic
            between two state machine versions. routingConfiguration contains an array of RoutingConfig objects that specify
            up to two state machine versions. Step Functions then randomly choses which version to run an execution with based
            on the weight assigned to each RoutingConfig.
      required:
      - name
      - routingConfiguration
    CreateStateMachineAliasOutput:
      type: object
      properties:
        stateMachineAliasArn:
          type: string
          description: The Amazon Resource Name (ARN) that identifies the created state machine alias.
        creationDate:
          type: string
          format: date-time
          description: The date the state machine alias was created.
      required:
      - stateMachineAliasArn
      - creationDate
    InvalidArn:
      type: object
      properties:
        message:
          type: string
    ResourceNotFound:
      type: object
      properties:
        message:
          type: string
        resourceName:
          type: string
    RoutingConfigurationListItem:
      type: object
      properties:
        stateMachineVersionArn:
          type: string
          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:
          type: integer
          description: The percentage of traffic you want to route to a state machine version. The sum of the weights in the
            routing configuration must be equal to 100.
      required:
      - stateMachineVersionArn
      - weight
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/sfn/service/2016-11-23/sfn-2016-11-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)