StartApp - AWS SimSpace Weaver

StartApp

Starts a custom app with the configuration specified in the simulation schema.

Request Syntax

POST /startapp HTTP/1.1 Content-type: application/json { "ClientToken": "string", "Description": "string", "Domain": "string", "LaunchOverrides": { "LaunchCommands": [ "string" ] }, "Name": "string", "Simulation": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientToken

A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken is also known as an idempotency token. A ClientToken expires after 24 hours.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 128.

Pattern: ^[a-zA-Z0-9-]+$

Required: No

Description

The description of the app.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 500.

Required: No

Domain

The name of the domain of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Required: Yes

LaunchOverrides

Options that apply when the app starts. These options override default behavior.

Type: LaunchOverrides object

Required: No

Name

The name of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Required: Yes

Simulation

The name of the simulation of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Required: Yes

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Domain": "string", "Name": "string", "Simulation": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Domain

The name of the domain of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Name

The name of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Simulation

The name of the simulation of the app.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_.-]+$

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

HTTP Status Code: 403

ConflictException

HTTP Status Code: 409

InternalServerException

HTTP Status Code: 500

ServiceQuotaExceededException

HTTP Status Code: 402

ValidationException

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: