Interface SimSpaceWeaverClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic SimSpaceWeaverClientBuilderbuilder()Create a builder that can be used to configure and create aSimSpaceWeaverClient.static SimSpaceWeaverClientcreate()Create aSimSpaceWeaverClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateSnapshotResponsecreateSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) Creates a snapshot of the specified simulation.default CreateSnapshotResponsecreateSnapshot(CreateSnapshotRequest createSnapshotRequest) Creates a snapshot of the specified simulation.default DeleteAppResponsedeleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes the instance of the given custom app.default DeleteAppResponsedeleteApp(DeleteAppRequest deleteAppRequest) Deletes the instance of the given custom app.default DeleteSimulationResponsedeleteSimulation(Consumer<DeleteSimulationRequest.Builder> deleteSimulationRequest) Deletes all SimSpace Weaver resources assigned to the given simulation.default DeleteSimulationResponsedeleteSimulation(DeleteSimulationRequest deleteSimulationRequest) Deletes all SimSpace Weaver resources assigned to the given simulation.default DescribeAppResponsedescribeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) Returns the state of the given custom app.default DescribeAppResponsedescribeApp(DescribeAppRequest describeAppRequest) Returns the state of the given custom app.default DescribeSimulationResponsedescribeSimulation(Consumer<DescribeSimulationRequest.Builder> describeSimulationRequest) Returns the current state of the given simulation.default DescribeSimulationResponsedescribeSimulation(DescribeSimulationRequest describeSimulationRequest) Returns the current state of the given simulation.default ListAppsResponselistApps(Consumer<ListAppsRequest.Builder> listAppsRequest) Lists all custom apps or service apps for the given simulation and domain.default ListAppsResponselistApps(ListAppsRequest listAppsRequest) Lists all custom apps or service apps for the given simulation and domain.default ListAppsIterablelistAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation.default ListAppsIterablelistAppsPaginator(ListAppsRequest listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation.default ListSimulationsResponselistSimulations(Consumer<ListSimulationsRequest.Builder> listSimulationsRequest) Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.default ListSimulationsResponselistSimulations(ListSimulationsRequest listSimulationsRequest) Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.default ListSimulationsIterablelistSimulationsPaginator(Consumer<ListSimulationsRequest.Builder> listSimulationsRequest) This is a variant oflistSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation.default ListSimulationsIterablelistSimulationsPaginator(ListSimulationsRequest listSimulationsRequest) This is a variant oflistSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags on a SimSpace Weaver resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags on a SimSpace Weaver resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartAppResponsestartApp(Consumer<StartAppRequest.Builder> startAppRequest) Starts a custom app with the configuration specified in the simulation schema.default StartAppResponsestartApp(StartAppRequest startAppRequest) Starts a custom app with the configuration specified in the simulation schema.default StartClockResponsestartClock(Consumer<StartClockRequest.Builder> startClockRequest) Starts the simulation clock.default StartClockResponsestartClock(StartClockRequest startClockRequest) Starts the simulation clock.default StartSimulationResponsestartSimulation(Consumer<StartSimulationRequest.Builder> startSimulationRequest) Starts a simulation with the given name.default StartSimulationResponsestartSimulation(StartSimulationRequest startSimulationRequest) Starts a simulation with the given name.default StopAppResponsestopApp(Consumer<StopAppRequest.Builder> stopAppRequest) Stops the given custom app and shuts down all of its allocated compute resources.default StopAppResponsestopApp(StopAppRequest stopAppRequest) Stops the given custom app and shuts down all of its allocated compute resources.default StopClockResponsestopClock(Consumer<StopClockRequest.Builder> stopClockRequest) Stops the simulation clock.default StopClockResponsestopClock(StopClockRequest stopClockRequest) Stops the simulation clock.default StopSimulationResponsestopSimulation(Consumer<StopSimulationRequest.Builder> stopSimulationRequest) Stops the given simulation.default StopSimulationResponsestopSimulation(StopSimulationRequest stopSimulationRequest) Stops the given simulation.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a SimSpace Weaver resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a SimSpace Weaver resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a SimSpace Weaver resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a SimSpace Weaver resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createSnapshot
default CreateSnapshotResponse createSnapshot(CreateSnapshotRequest createSnapshotRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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
Destinationwhen you create a snapshot. TheDestinationis the name of an Amazon S3 bucket and an optionalObjectKeyPrefix. TheObjectKeyPrefixis usually the name of a folder in the bucket. SimSpace Weaver creates asnapshotfolder inside theDestinationand 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:-
YYis the 2-digit year -
MMis the 2-digit month -
ddis the 2-digit day of the month -
HHis the 2-digit hour (24-hour clock) -
mmis the 2-digit minutes -
ssis the 2-digit seconds
- Parameters:
createSnapshotRequest-- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
-
createSnapshot
default CreateSnapshotResponse createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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
Destinationwhen you create a snapshot. TheDestinationis the name of an Amazon S3 bucket and an optionalObjectKeyPrefix. TheObjectKeyPrefixis usually the name of a folder in the bucket. SimSpace Weaver creates asnapshotfolder inside theDestinationand 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:-
YYis the 2-digit year -
MMis the 2-digit month -
ddis the 2-digit day of the month -
HHis the 2-digit hour (24-hour clock) -
mmis the 2-digit minutes -
ssis the 2-digit seconds
This is a convenience which creates an instance of the
CreateSnapshotRequest.Builderavoiding the need to create one manually viaCreateSnapshotRequest.builder()- Parameters:
createSnapshotRequest- AConsumerthat will call methods onCreateSnapshotRequest.Builderto create a request.- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
-
deleteApp
default DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Deletes the instance of the given custom app.
- Parameters:
deleteAppRequest-- Returns:
- Result of the DeleteApp operation returned by the service.
- See Also:
-
deleteApp
default DeleteAppResponse deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Deletes the instance of the given custom app.
This is a convenience which creates an instance of the
DeleteAppRequest.Builderavoiding the need to create one manually viaDeleteAppRequest.builder()- Parameters:
deleteAppRequest- AConsumerthat will call methods onDeleteAppRequest.Builderto create a request.- Returns:
- Result of the DeleteApp operation returned by the service.
- See Also:
-
deleteSimulation
default DeleteSimulationResponse deleteSimulation(DeleteSimulationRequest deleteSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
- Parameters:
deleteSimulationRequest-- Returns:
- Result of the DeleteSimulation operation returned by the service.
- See Also:
-
deleteSimulation
default DeleteSimulationResponse deleteSimulation(Consumer<DeleteSimulationRequest.Builder> deleteSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
This is a convenience which creates an instance of the
DeleteSimulationRequest.Builderavoiding the need to create one manually viaDeleteSimulationRequest.builder()- Parameters:
deleteSimulationRequest- AConsumerthat will call methods onDeleteSimulationRequest.Builderto create a request.- Returns:
- Result of the DeleteSimulation operation returned by the service.
- See Also:
-
describeApp
default DescribeAppResponse describeApp(DescribeAppRequest describeAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Returns the state of the given custom app.
- Parameters:
describeAppRequest-- Returns:
- Result of the DescribeApp operation returned by the service.
- See Also:
-
describeApp
default DescribeAppResponse describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Returns the state of the given custom app.
This is a convenience which creates an instance of the
DescribeAppRequest.Builderavoiding the need to create one manually viaDescribeAppRequest.builder()- Parameters:
describeAppRequest- AConsumerthat will call methods onDescribeAppRequest.Builderto create a request.- Returns:
- Result of the DescribeApp operation returned by the service.
- See Also:
-
describeSimulation
default DescribeSimulationResponse describeSimulation(DescribeSimulationRequest describeSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Returns the current state of the given simulation.
- Parameters:
describeSimulationRequest-- Returns:
- Result of the DescribeSimulation operation returned by the service.
- See Also:
-
describeSimulation
default DescribeSimulationResponse describeSimulation(Consumer<DescribeSimulationRequest.Builder> describeSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Returns the current state of the given simulation.
This is a convenience which creates an instance of the
DescribeSimulationRequest.Builderavoiding the need to create one manually viaDescribeSimulationRequest.builder()- Parameters:
describeSimulationRequest- AConsumerthat will call methods onDescribeSimulationRequest.Builderto create a request.- Returns:
- Result of the DescribeSimulation operation returned by the service.
- See Also:
-
listApps
default ListAppsResponse listApps(ListAppsRequest listAppsRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists all custom apps or service apps for the given simulation and domain.
- Parameters:
listAppsRequest-- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
listApps
default ListAppsResponse listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists all custom apps or service apps for the given simulation and domain.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(ListAppsRequest listAppsRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException This is a variant of
listApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); for (software.amazon.awssdk.services.simspaceweaver.model.ListAppsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation.- Parameters:
listAppsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException This is a variant of
listApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); for (software.amazon.awssdk.services.simspaceweaver.model.ListAppsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.simspaceweaver.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.simspaceweaver.model.ListAppsRequest)operation.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSimulations
default ListSimulationsResponse listSimulations(ListSimulationsRequest listSimulationsRequest) throws InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
- Parameters:
listSimulationsRequest-- Returns:
- Result of the ListSimulations operation returned by the service.
- See Also:
-
listSimulations
default ListSimulationsResponse listSimulations(Consumer<ListSimulationsRequest.Builder> listSimulationsRequest) throws InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.
This is a convenience which creates an instance of the
ListSimulationsRequest.Builderavoiding the need to create one manually viaListSimulationsRequest.builder()- Parameters:
listSimulationsRequest- AConsumerthat will call methods onListSimulationsRequest.Builderto create a request.- Returns:
- Result of the ListSimulations operation returned by the service.
- See Also:
-
listSimulationsPaginator
default ListSimulationsIterable listSimulationsPaginator(ListSimulationsRequest listSimulationsRequest) throws InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException This is a variant of
listSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client.listSimulationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client .listSimulationsPaginator(request); for (software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client.listSimulationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation.- Parameters:
listSimulationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSimulationsPaginator
default ListSimulationsIterable listSimulationsPaginator(Consumer<ListSimulationsRequest.Builder> listSimulationsRequest) throws InternalServerException, AccessDeniedException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException This is a variant of
listSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client.listSimulationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client .listSimulationsPaginator(request); for (software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.simspaceweaver.paginators.ListSimulationsIterable responses = client.listSimulationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSimulations(software.amazon.awssdk.services.simspaceweaver.model.ListSimulationsRequest)operation.
This is a convenience which creates an instance of the
ListSimulationsRequest.Builderavoiding the need to create one manually viaListSimulationsRequest.builder()- Parameters:
listSimulationsRequest- AConsumerthat will call methods onListSimulationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists all tags on a SimSpace Weaver resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException Lists all tags on a SimSpace Weaver resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startApp
default StartAppResponse startApp(StartAppRequest startAppRequest) throws InternalServerException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Starts a custom app with the configuration specified in the simulation schema.
- Parameters:
startAppRequest-- Returns:
- Result of the StartApp operation returned by the service.
- See Also:
-
startApp
default StartAppResponse startApp(Consumer<StartAppRequest.Builder> startAppRequest) throws InternalServerException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Starts a custom app with the configuration specified in the simulation schema.
This is a convenience which creates an instance of the
StartAppRequest.Builderavoiding the need to create one manually viaStartAppRequest.builder()- Parameters:
startAppRequest- AConsumerthat will call methods onStartAppRequest.Builderto create a request.- Returns:
- Result of the StartApp operation returned by the service.
- See Also:
-
startClock
default StartClockResponse startClock(StartClockRequest startClockRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Starts the simulation clock.
- Parameters:
startClockRequest-- Returns:
- Result of the StartClock operation returned by the service.
- See Also:
-
startClock
default StartClockResponse startClock(Consumer<StartClockRequest.Builder> startClockRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Starts the simulation clock.
This is a convenience which creates an instance of the
StartClockRequest.Builderavoiding the need to create one manually viaStartClockRequest.builder()- Parameters:
startClockRequest- AConsumerthat will call methods onStartClockRequest.Builderto create a request.- Returns:
- Result of the StartClock operation returned by the service.
- See Also:
-
startSimulation
default StartSimulationResponse startSimulation(StartSimulationRequest startSimulationRequest) throws InternalServerException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
- Parameters:
startSimulationRequest-- Returns:
- Result of the StartSimulation operation returned by the service.
- See Also:
-
startSimulation
default StartSimulationResponse startSimulation(Consumer<StartSimulationRequest.Builder> startSimulationRequest) throws InternalServerException, AccessDeniedException, ValidationException, ServiceQuotaExceededException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
This is a convenience which creates an instance of the
StartSimulationRequest.Builderavoiding the need to create one manually viaStartSimulationRequest.builder()- Parameters:
startSimulationRequest- AConsumerthat will call methods onStartSimulationRequest.Builderto create a request.- Returns:
- Result of the StartSimulation operation returned by the service.
- See Also:
-
stopApp
default StopAppResponse stopApp(StopAppRequest stopAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Stops the given custom app and shuts down all of its allocated compute resources.
- Parameters:
stopAppRequest-- Returns:
- Result of the StopApp operation returned by the service.
- See Also:
-
stopApp
default StopAppResponse stopApp(Consumer<StopAppRequest.Builder> stopAppRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Stops the given custom app and shuts down all of its allocated compute resources.
This is a convenience which creates an instance of the
StopAppRequest.Builderavoiding the need to create one manually viaStopAppRequest.builder()- Parameters:
stopAppRequest- AConsumerthat will call methods onStopAppRequest.Builderto create a request.- Returns:
- Result of the StopApp operation returned by the service.
- See Also:
-
stopClock
default StopClockResponse stopClock(StopClockRequest stopClockRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Stops the simulation clock.
- Parameters:
stopClockRequest-- Returns:
- Result of the StopClock operation returned by the service.
- See Also:
-
stopClock
default StopClockResponse stopClock(Consumer<StopClockRequest.Builder> stopClockRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException Stops the simulation clock.
This is a convenience which creates an instance of the
StopClockRequest.Builderavoiding the need to create one manually viaStopClockRequest.builder()- Parameters:
stopClockRequest- AConsumerthat will call methods onStopClockRequest.Builderto create a request.- Returns:
- Result of the StopClock operation returned by the service.
- See Also:
-
stopSimulation
default StopSimulationResponse stopSimulation(StopSimulationRequest stopSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
- Parameters:
stopSimulationRequest-- Returns:
- Result of the StopSimulation operation returned by the service.
- See Also:
-
stopSimulation
default StopSimulationResponse stopSimulation(Consumer<StopSimulationRequest.Builder> stopSimulationRequest) throws ResourceNotFoundException, InternalServerException, AccessDeniedException, ValidationException, ConflictException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
This is a convenience which creates an instance of the
StopSimulationRequest.Builderavoiding the need to create one manually viaStopSimulationRequest.builder()- Parameters:
stopSimulationRequest- AConsumerthat will call methods onStopSimulationRequest.Builderto create a request.- Returns:
- Result of the StopSimulation operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws TooManyTagsException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws TooManyTagsException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, SimSpaceWeaverException 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.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
create
Create aSimSpaceWeaverClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSimSpaceWeaverClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-