Module Values.CreateStateMachineAliasOutputSource

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 resource. Related operations: DescribeStateMachineAlias ListStateMachineAliases UpdateStateMachineAlias DeleteStateMachineAlias

Sourcetype nonrec t = {
  1. stateMachineAliasArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) that identifies the created state machine alias.

    *)
  2. creationDate : Timestamp.t option;
    (*

    The date the state machine alias was created.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InvalidArn of InvalidArn.t
  3. | `InvalidName of InvalidName.t
  4. | `ResourceNotFound of ResourceNotFound.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `StateMachineDeleting of StateMachineDeleting.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?stateMachineAliasArn:??? -> ?creationDate:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InvalidArn of InvalidArn.t | `InvalidName of InvalidName.t | `ResourceNotFound of ResourceNotFound.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `StateMachineDeleting of StateMachineDeleting.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictException of ConflictException.t | `InvalidArn of InvalidArn.t | `InvalidName of InvalidName.t | `ResourceNotFound of ResourceNotFound.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `StateMachineDeleting of StateMachineDeleting.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t