@aws-sdk/client-iottwinmaker 3.321.1 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-cjs/models/models_0.js +4 -1
  2. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  3. package/dist-es/models/models_0.js +3 -0
  4. package/dist-es/protocols/Aws_restJson1.js +1 -0
  5. package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +66 -0
  6. package/dist-types/commands/CreateComponentTypeCommand.d.ts +8 -0
  7. package/dist-types/commands/CreateEntityCommand.d.ts +9 -0
  8. package/dist-types/commands/CreateSceneCommand.d.ts +7 -0
  9. package/dist-types/commands/CreateSyncJobCommand.d.ts +8 -0
  10. package/dist-types/commands/CreateWorkspaceCommand.d.ts +7 -0
  11. package/dist-types/commands/DeleteComponentTypeCommand.d.ts +6 -0
  12. package/dist-types/commands/DeleteEntityCommand.d.ts +6 -0
  13. package/dist-types/commands/DeleteSceneCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteSyncJobCommand.d.ts +6 -0
  15. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +4 -0
  16. package/dist-types/commands/ExecuteQueryCommand.d.ts +19 -0
  17. package/dist-types/commands/GetComponentTypeCommand.d.ts +119 -0
  18. package/dist-types/commands/GetEntityCommand.d.ts +119 -0
  19. package/dist-types/commands/GetPricingPlanCommand.d.ts +31 -0
  20. package/dist-types/commands/GetPropertyValueCommand.d.ts +60 -0
  21. package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +59 -0
  22. package/dist-types/commands/GetSceneCommand.d.ts +25 -0
  23. package/dist-types/commands/GetSyncJobCommand.d.ts +18 -0
  24. package/dist-types/commands/GetWorkspaceCommand.d.ts +12 -0
  25. package/dist-types/commands/ListComponentTypesCommand.d.ts +25 -0
  26. package/dist-types/commands/ListEntitiesCommand.d.ts +25 -0
  27. package/dist-types/commands/ListScenesCommand.d.ts +16 -0
  28. package/dist-types/commands/ListSyncJobsCommand.d.ts +22 -0
  29. package/dist-types/commands/ListSyncResourcesCommand.d.ts +21 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +9 -0
  31. package/dist-types/commands/ListWorkspacesCommand.d.ts +15 -0
  32. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  33. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  34. package/dist-types/commands/UpdateComponentTypeCommand.d.ts +9 -0
  35. package/dist-types/commands/UpdateEntityCommand.d.ts +7 -0
  36. package/dist-types/commands/UpdatePricingPlanCommand.d.ts +31 -0
  37. package/dist-types/commands/UpdateSceneCommand.d.ts +6 -0
  38. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +6 -0
  39. package/dist-types/models/models_0.d.ts +29 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  41. package/package.json +16 -16
@@ -40,6 +40,10 @@ export interface UpdateSceneCommandOutput extends UpdateSceneResponse, __Metadat
40
40
  * };
41
41
  * const command = new UpdateSceneCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // UpdateSceneResponse
44
+ * // updateDateTime: new Date("TIMESTAMP"), // required
45
+ * // };
46
+ *
43
47
  * ```
44
48
  *
45
49
  * @param UpdateSceneCommandInput - {@link UpdateSceneCommandInput}
@@ -63,6 +67,8 @@ export interface UpdateSceneCommandOutput extends UpdateSceneResponse, __Metadat
63
67
  * @throws {@link ValidationException} (client fault)
64
68
  * <p>Failed</p>
65
69
  *
70
+ * @throws {@link IoTTwinMakerServiceException}
71
+ * <p>Base exception class for all service exceptions from IoTTwinMaker service.</p>
66
72
  *
67
73
  */
68
74
  export declare class UpdateSceneCommand extends $Command<UpdateSceneCommandInput, UpdateSceneCommandOutput, IoTTwinMakerClientResolvedConfig> {
@@ -33,6 +33,10 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
33
33
  * };
34
34
  * const command = new UpdateWorkspaceCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // UpdateWorkspaceResponse
37
+ * // updateDateTime: new Date("TIMESTAMP"), // required
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param UpdateWorkspaceCommandInput - {@link UpdateWorkspaceCommandInput}
@@ -59,6 +63,8 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
59
63
  * @throws {@link ValidationException} (client fault)
60
64
  * <p>Failed</p>
61
65
  *
66
+ * @throws {@link IoTTwinMakerServiceException}
67
+ * <p>Base exception class for all service exceptions from IoTTwinMaker service.</p>
62
68
  *
63
69
  */
64
70
  export declare class UpdateWorkspaceCommand extends $Command<UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput, IoTTwinMakerClientResolvedConfig> {
@@ -1002,6 +1002,31 @@ export interface GetSceneRequest {
1002
1002
  */
1003
1003
  sceneId: string | undefined;
1004
1004
  }
1005
+ /**
1006
+ * @public
1007
+ * @enum
1008
+ */
1009
+ export declare const SceneErrorCode: {
1010
+ readonly MATTERPORT_ERROR: "MATTERPORT_ERROR";
1011
+ };
1012
+ /**
1013
+ * @public
1014
+ */
1015
+ export type SceneErrorCode = (typeof SceneErrorCode)[keyof typeof SceneErrorCode];
1016
+ /**
1017
+ * @public
1018
+ * <p>The scene error.</p>
1019
+ */
1020
+ export interface SceneError {
1021
+ /**
1022
+ * <p>The SceneError code.</p>
1023
+ */
1024
+ code?: SceneErrorCode | string;
1025
+ /**
1026
+ * <p>The SceneError message.</p>
1027
+ */
1028
+ message?: string;
1029
+ }
1005
1030
  /**
1006
1031
  * @public
1007
1032
  */
@@ -1046,6 +1071,10 @@ export interface GetSceneResponse {
1046
1071
  * <p>The generated scene metadata.</p>
1047
1072
  */
1048
1073
  generatedSceneMetadata?: Record<string, string>;
1074
+ /**
1075
+ * <p>The SceneResponse error.</p>
1076
+ */
1077
+ error?: SceneError;
1049
1078
  }
1050
1079
  /**
1051
1080
  * @public
@@ -361,6 +361,15 @@ export interface GetSceneRequest {
361
361
  workspaceId: string | undefined;
362
362
  sceneId: string | undefined;
363
363
  }
364
+ export declare const SceneErrorCode: {
365
+ readonly MATTERPORT_ERROR: "MATTERPORT_ERROR";
366
+ };
367
+ export type SceneErrorCode =
368
+ (typeof SceneErrorCode)[keyof typeof SceneErrorCode];
369
+ export interface SceneError {
370
+ code?: SceneErrorCode | string;
371
+ message?: string;
372
+ }
364
373
  export interface GetSceneResponse {
365
374
  workspaceId: string | undefined;
366
375
  sceneId: string | undefined;
@@ -372,6 +381,7 @@ export interface GetSceneResponse {
372
381
  capabilities?: string[];
373
382
  sceneMetadata?: Record<string, string>;
374
383
  generatedSceneMetadata?: Record<string, string>;
384
+ error?: SceneError;
375
385
  }
376
386
  export interface GetSyncJobRequest {
377
387
  syncSource: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iottwinmaker",
3
3
  "description": "AWS SDK for JavaScript Iottwinmaker Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",