create_scene
¶
create_scene(
workspace_id: Id,
scene_id: Id,
content_location: S3Url,
*,
config_overrides: Optional[IoTTwinMakerClientConfig] = None,
description: Optional[Description] = None,
capabilities: Optional[SceneCapabilities] = None,
tags: Optional[TagMap] = None,
scene_metadata: Optional[SceneMetadataMap] = None,
) -> CreateSceneResponse
Creates a scene.
Parameters:
-
workspace_id(Id) –The ID of the workspace that contains the scene.
-
scene_id(Id) –The ID of the scene.
-
content_location(S3Url) –The relative path that specifies the location of the content definition file.
-
description(Optional[Description], default:None) –The description for this scene.
-
capabilities(Optional[SceneCapabilities], default:None) –A list of capabilities that the scene uses to render itself.
-
tags(Optional[TagMap], default:None) –Metadata that you can use to manage the scene.
-
scene_metadata(Optional[SceneMetadataMap], default:None) –The request metadata.
Raises:
-
AccessDeniedException–Access is denied.
-
ConflictException–A conflict occurred.
-
InternalServerException–An unexpected error has occurred.
-
ServiceQuotaExceededException–The service quota was exceeded.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–Failed
-
UnknownServiceError–The service returned an error code this client does not model.