IoTTwinMaker / Client / create_scene
create_scene#
- IoTTwinMaker.Client.create_scene(**kwargs)#
Creates a scene.
See also: AWS API Documentation
Request Syntax
response = client.create_scene( workspaceId='string', sceneId='string', contentLocation='string', description='string', capabilities=[ 'string', ], tags={ 'string': 'string' }, sceneMetadata={ 'string': 'string' } )
- Parameters:
workspaceId (string) –
[REQUIRED]
The ID of the workspace that contains the scene.
sceneId (string) –
[REQUIRED]
The ID of the scene.
contentLocation (string) –
[REQUIRED]
The relative path that specifies the location of the content definition file.
description (string) – The description for this scene.
capabilities (list) –
A list of capabilities that the scene uses to render itself.
(string) –
tags (dict) –
Metadata that you can use to manage the scene.
(string) –
(string) –
sceneMetadata (dict) –
The request metadata.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'arn': 'string', 'creationDateTime': datetime(2015, 1, 1) }
Response Structure
(dict) –
arn (string) –
The ARN of the scene.
creationDateTime (datetime) –
The date and time when the scene was created.
Exceptions