@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSSimSpaceWeaverAsync extends AbstractAWSSimSpaceWeaver implements AWSSimSpaceWeaverAsync
AWSSimSpaceWeaverAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createSnapshot, deleteApp, deleteSimulation, describeApp, describeSimulation, getCachedResponseMetadata, listApps, listSimulations, listTagsForResource, shutdown, startApp, startClock, startSimulation, stopApp, stopClock, stopSimulation, tagResource, untagResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSnapshot, deleteApp, deleteSimulation, describeApp, describeSimulation, getCachedResponseMetadata, listApps, listSimulations, listTagsForResource, shutdown, startApp, startClock, startSimulation, stopApp, stopClock, stopSimulation, tagResource, untagResource
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request)
AWSSimSpaceWeaverAsync
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
createSnapshotAsync
in interface AWSSimSpaceWeaverAsync
public Future<CreateSnapshotResult> createSnapshotAsync(CreateSnapshotRequest request, AsyncHandler<CreateSnapshotRequest,CreateSnapshotResult> asyncHandler)
AWSSimSpaceWeaverAsync
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
createSnapshotAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request)
AWSSimSpaceWeaverAsync
Deletes the instance of the given custom app.
deleteAppAsync
in interface AWSSimSpaceWeaverAsync
public Future<DeleteAppResult> deleteAppAsync(DeleteAppRequest request, AsyncHandler<DeleteAppRequest,DeleteAppResult> asyncHandler)
AWSSimSpaceWeaverAsync
Deletes the instance of the given custom app.
deleteAppAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSimulationResult> deleteSimulationAsync(DeleteSimulationRequest request)
AWSSimSpaceWeaverAsync
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.
deleteSimulationAsync
in interface AWSSimSpaceWeaverAsync
public Future<DeleteSimulationResult> deleteSimulationAsync(DeleteSimulationRequest request, AsyncHandler<DeleteSimulationRequest,DeleteSimulationResult> asyncHandler)
AWSSimSpaceWeaverAsync
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.
deleteSimulationAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeAppResult> describeAppAsync(DescribeAppRequest request)
AWSSimSpaceWeaverAsync
Returns the state of the given custom app.
describeAppAsync
in interface AWSSimSpaceWeaverAsync
public Future<DescribeAppResult> describeAppAsync(DescribeAppRequest request, AsyncHandler<DescribeAppRequest,DescribeAppResult> asyncHandler)
AWSSimSpaceWeaverAsync
Returns the state of the given custom app.
describeAppAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSimulationResult> describeSimulationAsync(DescribeSimulationRequest request)
AWSSimSpaceWeaverAsync
Returns the current state of the given simulation.
describeSimulationAsync
in interface AWSSimSpaceWeaverAsync
public Future<DescribeSimulationResult> describeSimulationAsync(DescribeSimulationRequest request, AsyncHandler<DescribeSimulationRequest,DescribeSimulationResult> asyncHandler)
AWSSimSpaceWeaverAsync
Returns the current state of the given simulation.
describeSimulationAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAppsResult> listAppsAsync(ListAppsRequest request)
AWSSimSpaceWeaverAsync
Lists all custom apps or service apps for the given simulation and domain.
listAppsAsync
in interface AWSSimSpaceWeaverAsync
public Future<ListAppsResult> listAppsAsync(ListAppsRequest request, AsyncHandler<ListAppsRequest,ListAppsResult> asyncHandler)
AWSSimSpaceWeaverAsync
Lists all custom apps or service apps for the given simulation and domain.
listAppsAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSimulationsResult> listSimulationsAsync(ListSimulationsRequest request)
AWSSimSpaceWeaverAsync
Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
listSimulationsAsync
in interface AWSSimSpaceWeaverAsync
public Future<ListSimulationsResult> listSimulationsAsync(ListSimulationsRequest request, AsyncHandler<ListSimulationsRequest,ListSimulationsResult> asyncHandler)
AWSSimSpaceWeaverAsync
Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
listSimulationsAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSSimSpaceWeaverAsync
Lists all tags on a SimSpace Weaver resource.
listTagsForResourceAsync
in interface AWSSimSpaceWeaverAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSSimSpaceWeaverAsync
Lists all tags on a SimSpace Weaver resource.
listTagsForResourceAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartAppResult> startAppAsync(StartAppRequest request)
AWSSimSpaceWeaverAsync
Starts a custom app with the configuration specified in the simulation schema.
startAppAsync
in interface AWSSimSpaceWeaverAsync
public Future<StartAppResult> startAppAsync(StartAppRequest request, AsyncHandler<StartAppRequest,StartAppResult> asyncHandler)
AWSSimSpaceWeaverAsync
Starts a custom app with the configuration specified in the simulation schema.
startAppAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartClockResult> startClockAsync(StartClockRequest request)
AWSSimSpaceWeaverAsync
Starts the simulation clock.
startClockAsync
in interface AWSSimSpaceWeaverAsync
public Future<StartClockResult> startClockAsync(StartClockRequest request, AsyncHandler<StartClockRequest,StartClockResult> asyncHandler)
AWSSimSpaceWeaverAsync
Starts the simulation clock.
startClockAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSimulationResult> startSimulationAsync(StartSimulationRequest request)
AWSSimSpaceWeaverAsync
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.
startSimulationAsync
in interface AWSSimSpaceWeaverAsync
public Future<StartSimulationResult> startSimulationAsync(StartSimulationRequest request, AsyncHandler<StartSimulationRequest,StartSimulationResult> asyncHandler)
AWSSimSpaceWeaverAsync
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.
startSimulationAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopAppResult> stopAppAsync(StopAppRequest request)
AWSSimSpaceWeaverAsync
Stops the given custom app and shuts down all of its allocated compute resources.
stopAppAsync
in interface AWSSimSpaceWeaverAsync
public Future<StopAppResult> stopAppAsync(StopAppRequest request, AsyncHandler<StopAppRequest,StopAppResult> asyncHandler)
AWSSimSpaceWeaverAsync
Stops the given custom app and shuts down all of its allocated compute resources.
stopAppAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopClockResult> stopClockAsync(StopClockRequest request)
AWSSimSpaceWeaverAsync
Stops the simulation clock.
stopClockAsync
in interface AWSSimSpaceWeaverAsync
public Future<StopClockResult> stopClockAsync(StopClockRequest request, AsyncHandler<StopClockRequest,StopClockResult> asyncHandler)
AWSSimSpaceWeaverAsync
Stops the simulation clock.
stopClockAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StopSimulationResult> stopSimulationAsync(StopSimulationRequest request)
AWSSimSpaceWeaverAsync
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.
stopSimulationAsync
in interface AWSSimSpaceWeaverAsync
public Future<StopSimulationResult> stopSimulationAsync(StopSimulationRequest request, AsyncHandler<StopSimulationRequest,StopSimulationResult> asyncHandler)
AWSSimSpaceWeaverAsync
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.
stopSimulationAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSSimSpaceWeaverAsync
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.
tagResourceAsync
in interface AWSSimSpaceWeaverAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSSimSpaceWeaverAsync
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.
tagResourceAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSSimSpaceWeaverAsync
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.
untagResourceAsync
in interface AWSSimSpaceWeaverAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSSimSpaceWeaverAsync
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.
untagResourceAsync
in interface AWSSimSpaceWeaverAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.