list_apps
(**kwargs)¶Lists all custom apps or service apps for the given simulation and domain.
See also: AWS API Documentation
Request Syntax
response = client.list_apps(
Domain='string',
MaxResults=123,
NextToken='string',
Simulation='string'
)
nextToken
, there are more results available. The value of nextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, nextToken
is set to null
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, you receive an HTTP 400 ValidationException error.[REQUIRED]
The name of the simulation that you want to list apps for.
dict
Response Syntax
{
'Apps': [
{
'Domain': 'string',
'Name': 'string',
'Simulation': 'string',
'Status': 'STARTING'|'STARTED'|'STOPPING'|'STOPPED'|'ERROR'|'UNKNOWN',
'TargetStatus': 'UNKNOWN'|'STARTED'|'STOPPED'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Apps (list) --
The list of apps for the given simulation and domain.
(dict) --
A collection of metadata about an app.
Domain (string) --
The domain of the app. For more information about domains, see Key concepts in the Amazon Web Services SimSpace Weaver User Guide .
Name (string) --
The name of the app.
Simulation (string) --
The name of the simulation of the app.
Status (string) --
The current status of the app.
TargetStatus (string) --
The desired status of the app.
NextToken (string) --
If SimSpace Weaver returns nextToken
, there are more results available. The value of nextToken
is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, nextToken
is set to null
. Each pagination token expires after 24 hours. If you provide a token that isn't valid, you receive an HTTP 400 ValidationException error.
Exceptions
SimSpaceWeaver.Client.exceptions.ResourceNotFoundException
SimSpaceWeaver.Client.exceptions.InternalServerException
SimSpaceWeaver.Client.exceptions.AccessDeniedException
SimSpaceWeaver.Client.exceptions.ValidationException