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'
}
)
[REQUIRED]
The ID of the workspace that contains the scene.
[REQUIRED]
The ID of the scene.
[REQUIRED]
The relative path that specifies the location of the content definition file.
A list of capabilities that the scene uses to render itself.
Metadata that you can use to manage the scene.
dict
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
IoTTwinMaker.Client.exceptions.InternalServerException
IoTTwinMaker.Client.exceptions.AccessDeniedException
IoTTwinMaker.Client.exceptions.ThrottlingException
IoTTwinMaker.Client.exceptions.ValidationException
IoTTwinMaker.Client.exceptions.ConflictException
IoTTwinMaker.Client.exceptions.ServiceQuotaExceededException