View Source AWS.SimSpaceWeaver (aws-elixir v1.0.0)

SimSpace Weaver (SimSpace Weaver) is a service that you can use to build and run large-scale spatial simulations in the Amazon Web Services Cloud.

For example, you can create crowd simulations, large real-world environments, and immersive and interactive experiences. For more information about SimSpace Weaver, see the SimSpace Weaver User Guide .

This API reference describes the API operations and data types that you can use to communicate directly with SimSpace Weaver.

SimSpace Weaver also provides the SimSpace Weaver app SDK, which you use for app development. The SimSpace Weaver app SDK API reference is included in the SimSpace Weaver app SDK documentation. This documentation is part of the SimSpace Weaver app SDK distributable package.

Summary

Functions

Creates a snapshot of the specified simulation.

Deletes the instance of the given custom app.

Deletes all SimSpace Weaver resources assigned to the given simulation.

Returns the state of the given custom app.

Returns the current state of the given simulation.

Lists all custom apps or service apps for the given simulation and domain.

Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.

Lists all tags on a SimSpace Weaver resource.

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

Starts the simulation clock.

Starts a simulation with the given name.

Stops the given custom app and shuts down all of its allocated compute resources.

Stops the simulation clock.

Stops the given simulation.

Adds tags to a SimSpace Weaver resource.

Removes tags from a SimSpace Weaver resource.

Functions

Link to this function

create_snapshot(client, input, options \\ [])

View Source

Creates a snapshot of the specified simulation.

A snapshot is a file that contains simulation state data at a specific time. The state data saved in a snapshot includes entity data from the State Fabric, the simulation configuration specified in the schema, and the clock tick number. You can use the snapshot to initialize a new simulation. For more information about snapshots, see Snapshots in the SimSpace Weaver User Guide.

You specify a Destination when you create a snapshot. The Destination is the name of an Amazon S3 bucket and an optional ObjectKeyPrefix. The ObjectKeyPrefix is usually the name of a folder in the bucket. SimSpace Weaver creates a snapshot folder inside the Destination and places the snapshot file there.

The snapshot file is an Amazon S3 object. It has an object key with the form:


*object-key-prefix*/snapshot/*simulation-name*-*YYMMdd*-*HHmm*-*ss*.zip

, where:

*


*YY*

is the 2-digit year

*


*MM*

is the 2-digit month

*


*dd*

is the 2-digit day of the month

*


*HH*

is the 2-digit hour (24-hour clock)

*


*mm*

is the 2-digit minutes

*


*ss*

is the 2-digit seconds

Link to this function

delete_app(client, input, options \\ [])

View Source

Deletes the instance of the given custom app.

Link to this function

delete_simulation(client, input, options \\ [])

View Source

Deletes all SimSpace Weaver resources assigned to the given simulation.

Your simulation uses resources in other Amazon Web Services. This API operation doesn't delete resources in other Amazon Web Services.

Link to this function

describe_app(client, app, domain, simulation, options \\ [])

View Source

Returns the state of the given custom app.

Link to this function

describe_simulation(client, simulation, options \\ [])

View Source

Returns the current state of the given simulation.

Link to this function

list_apps(client, domain \\ nil, max_results \\ nil, next_token \\ nil, simulation, options \\ [])

View Source

Lists all custom apps or service apps for the given simulation and domain.

Link to this function

list_simulations(client, max_results \\ nil, next_token \\ nil, options \\ [])

View Source

Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.

Link to this function

list_tags_for_resource(client, resource_arn, options \\ [])

View Source

Lists all tags on a SimSpace Weaver resource.

Link to this function

start_app(client, input, options \\ [])

View Source

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

Link to this function

start_clock(client, input, options \\ [])

View Source

Starts the simulation clock.

Link to this function

start_simulation(client, input, options \\ [])

View Source

Starts a simulation with the given name.

You must choose to start your simulation from a schema or from a snapshot. For more information about the schema, see the schema reference in the SimSpace Weaver User Guide. For more information about snapshots, see Snapshots in the SimSpace Weaver User Guide.

Link to this function

stop_app(client, input, options \\ [])

View Source

Stops the given custom app and shuts down all of its allocated compute resources.

Link to this function

stop_clock(client, input, options \\ [])

View Source

Stops the simulation clock.

Link to this function

stop_simulation(client, input, options \\ [])

View Source

Stops the given simulation.

You can't restart a simulation after you stop it. If you want to restart a simulation, then you must stop it, delete it, and start a new instance of it.

Link to this function

tag_resource(client, resource_arn, input, options \\ [])

View Source

Adds tags to a SimSpace Weaver resource.

For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

Link to this function

untag_resource(client, resource_arn, input, options \\ [])

View Source

Removes tags from a SimSpace Weaver resource.

For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.