update_scene

IoTTwinMaker.Client.update_scene(**kwargs)

Updates a scene.

See also: AWS API Documentation

Request Syntax

response = client.update_scene(
    workspaceId='string',
    sceneId='string',
    contentLocation='string',
    description='string',
    capabilities=[
        'string',
    ]
)
Parameters
  • workspaceId (string) --

    [REQUIRED]

    The ID of the workspace that contains the scene.

  • sceneId (string) --

    [REQUIRED]

    The ID of the scene.

  • contentLocation (string) -- The relative path that specifies the location of the content definition file.
  • description (string) -- The description of this scene.
  • capabilities (list) --

    A list of capabilities that the scene uses to render.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'updateDateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • updateDateTime (datetime) --

      The date and time when the scene was last updated.

Exceptions

  • IoTTwinMaker.Client.exceptions.InternalServerException
  • IoTTwinMaker.Client.exceptions.AccessDeniedException
  • IoTTwinMaker.Client.exceptions.ResourceNotFoundException
  • IoTTwinMaker.Client.exceptions.ThrottlingException
  • IoTTwinMaker.Client.exceptions.ValidationException