Please Note: The SDK is currently in Developer Preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.
Amazon Web Services SimSpace Weaver (SimSpace Weaver) is a managed service that you can use to build and operate large-scale spatial simulations in the Amazon Web Services Cloud. For example, you can create a digital twin of a city, crowd simulations with millions of people and objects, and massilvely-multiplayer games with hundreds of thousands of connected players. For more information about SimSpace Weaver, see the _ Amazon Web Services 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, which is part of the SimSpace Weaver app SDK distributable package.
Examples are available for many services and operations, check out the examples folder in GitHub.
The SDK provides one crate per AWS service. You must add Tokio
as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-simspaceweaver
to
your project, add the following to your Cargo.toml file:
toml
[dependencies]
aws-config = "0.55.2"
aws-sdk-simspaceweaver = "0.5.0"
tokio = { version = "1", features = ["full"] }
Then in code, a client can be created with the following:
```rust,norun use awssdk_simspaceweaver as simspaceweaver;
async fn main() -> Result<(), simspaceweaver::Error> { let config = awsconfig::loadfrom_env().await; let client = simspaceweaver::Client::new(&config);
// ... make some calls with the client
Ok(())
} ```
See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.
Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.
This project is licensed under the Apache-2.0 License.