SimSpaceWeaver.Client.
describe_simulation
(**kwargs)¶Returns the current state of the given simulation.
See also: AWS API Documentation
Request Syntax
response = client.describe_simulation(
Simulation='string'
)
[REQUIRED]
The name of the simulation.
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'ExecutionId': 'string',
'LiveSimulationState': {
'Clocks': [
{
'Status': 'UNKNOWN'|'STARTING'|'STARTED'|'STOPPING'|'STOPPED',
'TargetStatus': 'UNKNOWN'|'STARTED'|'STOPPED'
},
],
'Domains': [
{
'Lifecycle': 'Unknown'|'PerWorker'|'BySpatialSubdivision'|'ByRequest',
'Name': 'string'
},
]
},
'LoggingConfiguration': {
'Destinations': [
{
'CloudWatchLogsLogGroup': {
'LogGroupArn': 'string'
}
},
]
},
'MaximumDuration': 'string',
'Name': 'string',
'RoleArn': 'string',
'SchemaError': 'string',
'SchemaS3Location': {
'BucketName': 'string',
'ObjectKey': 'string'
},
'Status': 'UNKNOWN'|'STARTING'|'STARTED'|'STOPPING'|'STOPPED'|'FAILED'|'DELETING'|'DELETED',
'TargetStatus': 'UNKNOWN'|'STARTED'|'STOPPED'|'DELETED'
}
Response Structure
The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference .
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
The description of the simulation.
A universally unique identifier (UUID) for this simulation.
A collection of additional state information, such as domain and clock configuration.
A list of simulation clocks.
Note
At this time, a simulation has only one clock.
Status information about the simulation clock.
The current status of the simulation clock.
The desired status of the simulation clock.
A list of domains for the simulation. For more information about domains, see Key concepts in the Amazon Web Services SimSpace Weaver User Guide .
A collection of app instances that run the same executable app code and have the same launch options and commands.
For more information about domains, see Key concepts in the Amazon Web Services SimSpace Weaver User Guide .
The type of lifecycle management for apps in the domain. This value indicates whether apps in this domain are managed (SimSpace Weaver starts and stops the apps) or unmanaged (you must start and stop the apps).
Lifecycle types
PerWorker
– Managed: SimSpace Weaver starts 1 app on each workerBySpatialSubdivision
– Managed: SimSpace Weaver starts 1 app for each spatial partitionByRequest
– Unmanaged: You use the StartApp API to start the apps and use the StopApp API to stop the apps.Note
The lifecycle types will change when the service is released for general availability (GA).
The name of the domain.
Settings that control how SimSpace Weaver handles your simulation log data.
A list of the locations where SimSpace Weaver sends simulation log data.
The location where SimSpace Weaver sends simulation log data.
An Amazon CloudWatch Logs log group that stores simulation log data. For more information about log groups, see Working with log groups and log streams in the Amazon CloudWatch Logs User Guide .
The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log group for the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference . For more information about log groups, see Working with log groups and log streams in the Amazon CloudWatch Logs User Guide .
The maximum running time of the simulation, specified as a number of months (m or M), hours (h or H), or days (d or D). The simulation stops when it reaches this limit.
The name of the simulation.
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that the simulation assumes to perform actions. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference . For more information about IAM roles, see IAM roles in the Identity and Access Management User Guide .
An error message that SimSpace Weaver returns only if there is a problem with the simulation schema.
The location of the simulation schema in Amazon Simple Storage Service (Amazon S3). For more information about Amazon S3, see the Amazon Simple Storage Service User Guide.
The name of an Amazon S3 bucket. For more information about buckets, see Creating, configuring, and working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide .
The key name of an object in Amazon S3. For more information about Amazon S3 objects and object keys, see Uploading, downloading, and working with objects in Amazon S3 in the Amazon Simple Storage Service User Guide .
The current lifecycle state of the simulation.
The desired lifecycle state of the simulation.
Exceptions
SimSpaceWeaver.Client.exceptions.ResourceNotFoundException
SimSpaceWeaver.Client.exceptions.InternalServerException
SimSpaceWeaver.Client.exceptions.AccessDeniedException
SimSpaceWeaver.Client.exceptions.ValidationException