SimSpaceWeaver / Client / start_simulation

start_simulation#

SimSpaceWeaver.Client.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'
    }
)
Parameters:
  • ClientToken (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.

  • Description (string) – The description of the simulation.

  • MaximumDuration (string) – 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.

  • Name (string) –

    [REQUIRED]

    The name of the simulation.

  • RoleArn (string) –

    [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.

  • SchemaS3Location (dict) –

    [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.

  • Tags (dict) –

    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.

    • (string) –

      • (string) –

Return type:

dict

Returns:

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