RoboMaker / Client / update_world_template

update_world_template#

RoboMaker.Client.update_world_template(**kwargs)#

Warning

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Updates a world template.

See also: AWS API Documentation

Request Syntax

response = client.update_world_template(
    template='string',
    name='string',
    templateBody='string',
    templateLocation={
        's3Bucket': 'string',
        's3Key': 'string'
    }
)
Parameters:
  • template (string) –

    [REQUIRED]

    The Amazon Resource Name (arn) of the world template to update.

  • name (string) – The name of the template.

  • templateBody (string) – The world template body.

  • templateLocation (dict) –

    The location of the world template.

    • s3Bucket (string) – [REQUIRED]

      The Amazon S3 bucket name.

    • s3Key (string) – [REQUIRED]

      The list of S3 keys identifying the data source files.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'name': 'string',
    'createdAt': datetime(2015, 1, 1),
    'lastUpdatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (arn) of the world template.

    • name (string) –

      The name of the world template.

    • createdAt (datetime) –

      The time, in milliseconds since the epoch, when the world template was created.

    • lastUpdatedAt (datetime) –

      The time, in milliseconds since the epoch, when the world template was last updated.

Exceptions

  • RoboMaker.Client.exceptions.InvalidParameterException

  • RoboMaker.Client.exceptions.ResourceNotFoundException

  • RoboMaker.Client.exceptions.ThrottlingException

  • RoboMaker.Client.exceptions.InternalServerException