RoboMaker / Client / get_world_template_body

get_world_template_body#

RoboMaker.Client.get_world_template_body(**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/.

Gets the world template body.

See also: AWS API Documentation

Request Syntax

response = client.get_world_template_body(
    template='string',
    generationJob='string'
)
Parameters:
  • template (string) – The Amazon Resource Name (arn) of the world template.

  • generationJob (string) – The Amazon Resource Name (arn) of the world generator job.

Return type:

dict

Returns:

Response Syntax

{
    'templateBody': 'string'
}

Response Structure

  • (dict) –

    • templateBody (string) –

      The world template body.

Exceptions

  • RoboMaker.Client.exceptions.InvalidParameterException

  • RoboMaker.Client.exceptions.ResourceNotFoundException

  • RoboMaker.Client.exceptions.ThrottlingException

  • RoboMaker.Client.exceptions.InternalServerException