update_world_template

RoboMaker.Client.update_world_template(**kwargs)

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