start_simulation
(**kwargs)¶Starts a simulation with the given name and schema.
See also: AWS API Documentation
Request Syntax
response = client.start_simulation(
ClientToken='string',
Description='string',
MaximumDuration='string',
Name='string',
RoleArn='string',
SchemaS3Location={
'BucketName': 'string',
'ObjectKey': 'string'
},
Tags={
'string': 'string'
}
)
A value that you provide to ensure that repeated calls to this API operation using the same parameters complete only once. A ClientToken
is also known as an idempotency token . A ClientToken
expires after 24 hours.
This field is autopopulated if not provided.
[REQUIRED]
The name of the simulation.
[REQUIRED]
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 .
[REQUIRED]
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 .
A list of tags for the simulation. For more information about tags, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference .
dict
Response Syntax
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'ExecutionId': 'string'
}
Response Structure
(dict) --
Arn (string) --
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 .
CreationTime (datetime) --
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).
ExecutionId (string) --
A universally unique identifier (UUID) for this simulation.
Exceptions
SimSpaceWeaver.Client.exceptions.InternalServerException
SimSpaceWeaver.Client.exceptions.AccessDeniedException
SimSpaceWeaver.Client.exceptions.ValidationException
SimSpaceWeaver.Client.exceptions.ServiceQuotaExceededException
SimSpaceWeaver.Client.exceptions.ConflictException