/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.stepfunctions.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartExecutionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The Amazon Resource Name (ARN) of the state machine to execute. *

*

* The stateMachineArn parameter accepts one of the following inputs: *

* */ private String stateMachineArn; /** *

* Optional name of the execution. This name must be unique for your Amazon Web Services account, Region, and state * machine for 90 days. For more information, see * Limits Related to State Machine Executions in the Step Functions Developer Guide. *

*

* A name must not contain: *

* *

* To enable logging with CloudWatch Logs, the name should only contain 0-9, A-Z, a-z, - and _. *

*/ private String name; /** *

* The string that contains the JSON input data for the execution, for example: *

*

* "input": "{\"first_name\" : \"test\"}" *

* *

* If you don't include any JSON input data, you still must include the two braces, for example: * "input": "{}" *

*
*

* Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding. *

*/ private String input; /** *

* Passes the X-Ray trace header. The trace header can also be passed in the request payload. *

*/ private String traceHeader; /** *

* The Amazon Resource Name (ARN) of the state machine to execute. *

*

* The stateMachineArn parameter accepts one of the following inputs: *

* * * @param stateMachineArn * The Amazon Resource Name (ARN) of the state machine to execute.

*

* The stateMachineArn parameter accepts one of the following inputs: *

*