create_scene
async
¶
create_scene(
workspace_id: Id,
scene_id: Id,
content_location: S3Url,
*,
config_overrides: Optional[AsyncIoTTwinMakerClientConfig] = 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.
Source code in docs_src/capo_iottwinmaker/_services/async_io_t_twin_maker.py
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 | |