@aws-sdk/client-iottwinmaker 3.299.0 → 3.300.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.
- package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +86 -0
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +141 -0
- package/dist-types/commands/CreateEntityCommand.d.ts +145 -0
- package/dist-types/commands/CreateSceneCommand.d.ts +15 -0
- package/dist-types/commands/CreateSyncJobCommand.d.ts +8 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +9 -0
- package/dist-types/commands/DeleteComponentTypeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEntityCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSceneCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -0
- package/dist-types/commands/ExecuteQueryCommand.d.ts +6 -0
- package/dist-types/commands/GetComponentTypeCommand.d.ts +4 -0
- package/dist-types/commands/GetEntityCommand.d.ts +4 -0
- package/dist-types/commands/GetPricingPlanCommand.d.ts +1 -0
- package/dist-types/commands/GetPropertyValueCommand.d.ts +91 -0
- package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +91 -0
- package/dist-types/commands/GetSceneCommand.d.ts +4 -0
- package/dist-types/commands/GetSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/GetWorkspaceCommand.d.ts +3 -0
- package/dist-types/commands/ListComponentTypesCommand.d.ts +12 -0
- package/dist-types/commands/ListEntitiesCommand.d.ts +12 -0
- package/dist-types/commands/ListScenesCommand.d.ts +5 -0
- package/dist-types/commands/ListSyncJobsCommand.d.ts +5 -0
- package/dist-types/commands/ListSyncResourcesCommand.d.ts +14 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateComponentTypeCommand.d.ts +138 -0
- package/dist-types/commands/UpdateEntityCommand.d.ts +146 -0
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +6 -0
- package/dist-types/commands/UpdateSceneCommand.d.ts +12 -0
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +5 -0
- package/package.json +8 -8
|
@@ -30,6 +30,97 @@ export interface GetPropertyValueHistoryCommandOutput extends GetPropertyValueHi
|
|
|
30
30
|
* import { IoTTwinMakerClient, GetPropertyValueHistoryCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
31
31
|
* // const { IoTTwinMakerClient, GetPropertyValueHistoryCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
32
32
|
* const client = new IoTTwinMakerClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* workspaceId: "STRING_VALUE", // required
|
|
35
|
+
* entityId: "STRING_VALUE",
|
|
36
|
+
* componentName: "STRING_VALUE",
|
|
37
|
+
* componentTypeId: "STRING_VALUE",
|
|
38
|
+
* selectedProperties: [ // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* propertyFilters: [
|
|
42
|
+
* {
|
|
43
|
+
* propertyName: "STRING_VALUE",
|
|
44
|
+
* operator: "STRING_VALUE",
|
|
45
|
+
* value: {
|
|
46
|
+
* booleanValue: true || false,
|
|
47
|
+
* doubleValue: Number("double"),
|
|
48
|
+
* integerValue: Number("int"),
|
|
49
|
+
* longValue: Number("long"),
|
|
50
|
+
* stringValue: "STRING_VALUE",
|
|
51
|
+
* listValue: [
|
|
52
|
+
* {
|
|
53
|
+
* booleanValue: true || false,
|
|
54
|
+
* doubleValue: Number("double"),
|
|
55
|
+
* integerValue: Number("int"),
|
|
56
|
+
* longValue: Number("long"),
|
|
57
|
+
* stringValue: "STRING_VALUE",
|
|
58
|
+
* listValue: [
|
|
59
|
+
* {
|
|
60
|
+
* booleanValue: "<DataValue>",
|
|
61
|
+
* doubleValue: "<DataValue>",
|
|
62
|
+
* integerValue: "<DataValue>",
|
|
63
|
+
* longValue: "<DataValue>",
|
|
64
|
+
* stringValue: "<DataValue>",
|
|
65
|
+
* listValue: "<DataValue>",
|
|
66
|
+
* mapValue: {
|
|
67
|
+
* "<keys>": {
|
|
68
|
+
* booleanValue: "<DataValue>",
|
|
69
|
+
* doubleValue: "<DataValue>",
|
|
70
|
+
* integerValue: "<DataValue>",
|
|
71
|
+
* longValue: "<DataValue>",
|
|
72
|
+
* stringValue: "<DataValue>",
|
|
73
|
+
* listValue: "<DataValue>",
|
|
74
|
+
* mapValue: {
|
|
75
|
+
* "<keys>": {
|
|
76
|
+
* booleanValue: "<DataValue>",
|
|
77
|
+
* doubleValue: "<DataValue>",
|
|
78
|
+
* integerValue: "<DataValue>",
|
|
79
|
+
* longValue: "<DataValue>",
|
|
80
|
+
* stringValue: "<DataValue>",
|
|
81
|
+
* listValue: "<DataValue>",
|
|
82
|
+
* mapValue: "<DataValue>",
|
|
83
|
+
* relationshipValue: {
|
|
84
|
+
* targetEntityId: "STRING_VALUE",
|
|
85
|
+
* targetComponentName: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* expression: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* relationshipValue: {
|
|
91
|
+
* targetEntityId: "STRING_VALUE",
|
|
92
|
+
* targetComponentName: "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* expression: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* relationshipValue: "<DataValue>",
|
|
98
|
+
* expression: "<DataValue>",
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* mapValue: "<DataValue>",
|
|
102
|
+
* relationshipValue: "<DataValue>",
|
|
103
|
+
* expression: "<DataValue>",
|
|
104
|
+
* },
|
|
105
|
+
* ],
|
|
106
|
+
* mapValue: "<DataValue>",
|
|
107
|
+
* relationshipValue: "<DataValue>",
|
|
108
|
+
* expression: "<DataValue>",
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* ],
|
|
112
|
+
* startDateTime: new Date("TIMESTAMP"),
|
|
113
|
+
* endDateTime: new Date("TIMESTAMP"),
|
|
114
|
+
* interpolation: {
|
|
115
|
+
* interpolationType: "STRING_VALUE",
|
|
116
|
+
* intervalInSeconds: Number("long"),
|
|
117
|
+
* },
|
|
118
|
+
* nextToken: "STRING_VALUE",
|
|
119
|
+
* maxResults: Number("int"),
|
|
120
|
+
* orderByTime: "STRING_VALUE",
|
|
121
|
+
* startTime: "STRING_VALUE",
|
|
122
|
+
* endTime: "STRING_VALUE",
|
|
123
|
+
* };
|
|
33
124
|
* const command = new GetPropertyValueHistoryCommand(input);
|
|
34
125
|
* const response = await client.send(command);
|
|
35
126
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetSceneCommandOutput extends GetSceneResponse, __MetadataBeare
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetSceneCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetSceneCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* sceneId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetSceneCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetSyncJobCommandOutput extends GetSyncJobResponse, __MetadataB
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetSyncJobCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetSyncJobCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* syncSource: "STRING_VALUE", // required
|
|
31
|
+
* workspaceId: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetSyncJobCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetWorkspaceCommandOutput extends GetWorkspaceResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetWorkspaceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetWorkspaceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetWorkspaceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface ListComponentTypesCommandOutput extends ListComponentTypesRespo
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListComponentTypesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListComponentTypesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* filters: [
|
|
32
|
+
* { // Union: only one key present
|
|
33
|
+
* extendsFrom: "STRING_VALUE",
|
|
34
|
+
* namespace: "STRING_VALUE",
|
|
35
|
+
* isAbstract: true || false,
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* };
|
|
29
41
|
* const command = new ListComponentTypesCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface ListEntitiesCommandOutput extends ListEntitiesResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListEntitiesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListEntitiesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* filters: [
|
|
32
|
+
* { // Union: only one key present
|
|
33
|
+
* parentEntityId: "STRING_VALUE",
|
|
34
|
+
* componentTypeId: "STRING_VALUE",
|
|
35
|
+
* externalId: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
29
41
|
* const command = new ListEntitiesCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListScenesCommandOutput extends ListScenesResponse, __MetadataB
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListScenesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListScenesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListScenesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListSyncJobsCommandOutput extends ListSyncJobsResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListSyncJobsCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListSyncJobsCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListSyncJobsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface ListSyncResourcesCommandOutput extends ListSyncResourcesRespons
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListSyncResourcesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListSyncResourcesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* syncSource: "STRING_VALUE", // required
|
|
32
|
+
* filters: [
|
|
33
|
+
* { // Union: only one key present
|
|
34
|
+
* state: "STRING_VALUE",
|
|
35
|
+
* resourceType: "STRING_VALUE",
|
|
36
|
+
* resourceId: "STRING_VALUE",
|
|
37
|
+
* externalId: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
29
43
|
* const command = new ListSyncResourcesCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListTagsForResourceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceARN: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __M
|
|
|
26
26
|
* import { IoTTwinMakerClient, ListWorkspacesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, ListWorkspacesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* maxResults: Number("int"),
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListWorkspacesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { IoTTwinMakerClient, TagResourceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, TagResourceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceARN: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // required
|
|
32
|
+
* "<keys>": "STRING_VALUE",
|
|
33
|
+
* },
|
|
34
|
+
* };
|
|
29
35
|
* const command = new TagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { IoTTwinMakerClient, UntagResourceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UntagResourceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* resourceARN: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UntagResourceCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,144 @@ export interface UpdateComponentTypeCommandOutput extends UpdateComponentTypeRes
|
|
|
26
26
|
* import { IoTTwinMakerClient, UpdateComponentTypeCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UpdateComponentTypeCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* isSingleton: true || false,
|
|
32
|
+
* componentTypeId: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* propertyDefinitions: {
|
|
35
|
+
* "<keys>": {
|
|
36
|
+
* dataType: {
|
|
37
|
+
* type: "STRING_VALUE", // required
|
|
38
|
+
* nestedType: {
|
|
39
|
+
* type: "STRING_VALUE", // required
|
|
40
|
+
* nestedType: {
|
|
41
|
+
* type: "<DataType>",
|
|
42
|
+
* nestedType: "<DataType>",
|
|
43
|
+
* allowedValues: [
|
|
44
|
+
* {
|
|
45
|
+
* booleanValue: true || false,
|
|
46
|
+
* doubleValue: Number("double"),
|
|
47
|
+
* integerValue: Number("int"),
|
|
48
|
+
* longValue: Number("long"),
|
|
49
|
+
* stringValue: "STRING_VALUE",
|
|
50
|
+
* listValue: [
|
|
51
|
+
* {
|
|
52
|
+
* booleanValue: true || false,
|
|
53
|
+
* doubleValue: Number("double"),
|
|
54
|
+
* integerValue: Number("int"),
|
|
55
|
+
* longValue: Number("long"),
|
|
56
|
+
* stringValue: "STRING_VALUE",
|
|
57
|
+
* listValue: [
|
|
58
|
+
* "<DataValueList>",
|
|
59
|
+
* ],
|
|
60
|
+
* mapValue: {
|
|
61
|
+
* "<keys>": {
|
|
62
|
+
* booleanValue: "<DataValue>",
|
|
63
|
+
* doubleValue: "<DataValue>",
|
|
64
|
+
* integerValue: "<DataValue>",
|
|
65
|
+
* longValue: "<DataValue>",
|
|
66
|
+
* stringValue: "<DataValue>",
|
|
67
|
+
* listValue: "<DataValue>",
|
|
68
|
+
* mapValue: {
|
|
69
|
+
* "<keys>": {
|
|
70
|
+
* booleanValue: "<DataValue>",
|
|
71
|
+
* doubleValue: "<DataValue>",
|
|
72
|
+
* integerValue: "<DataValue>",
|
|
73
|
+
* longValue: "<DataValue>",
|
|
74
|
+
* stringValue: "<DataValue>",
|
|
75
|
+
* listValue: "<DataValue>",
|
|
76
|
+
* mapValue: "<DataValue>",
|
|
77
|
+
* relationshipValue: {
|
|
78
|
+
* targetEntityId: "STRING_VALUE",
|
|
79
|
+
* targetComponentName: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* expression: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* relationshipValue: {
|
|
85
|
+
* targetEntityId: "STRING_VALUE",
|
|
86
|
+
* targetComponentName: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* expression: "STRING_VALUE",
|
|
89
|
+
* },
|
|
90
|
+
* },
|
|
91
|
+
* relationshipValue: "<DataValue>",
|
|
92
|
+
* expression: "<DataValue>",
|
|
93
|
+
* },
|
|
94
|
+
* ],
|
|
95
|
+
* mapValue: "<DataValue>",
|
|
96
|
+
* relationshipValue: "<DataValue>",
|
|
97
|
+
* expression: "<DataValue>",
|
|
98
|
+
* },
|
|
99
|
+
* ],
|
|
100
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
101
|
+
* relationship: {
|
|
102
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
103
|
+
* relationshipType: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* allowedValues: [
|
|
107
|
+
* "<DataValueList>",
|
|
108
|
+
* ],
|
|
109
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
110
|
+
* relationship: {
|
|
111
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
112
|
+
* relationshipType: "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* allowedValues: "<DataType>",
|
|
116
|
+
* unitOfMeasure: "<DataType>",
|
|
117
|
+
* relationship: "<DataType>",
|
|
118
|
+
* },
|
|
119
|
+
* isRequiredInEntity: true || false,
|
|
120
|
+
* isExternalId: true || false,
|
|
121
|
+
* isStoredExternally: true || false,
|
|
122
|
+
* isTimeSeries: true || false,
|
|
123
|
+
* defaultValue: {
|
|
124
|
+
* booleanValue: "<DataValue>",
|
|
125
|
+
* doubleValue: "<DataValue>",
|
|
126
|
+
* integerValue: "<DataValue>",
|
|
127
|
+
* longValue: "<DataValue>",
|
|
128
|
+
* stringValue: "<DataValue>",
|
|
129
|
+
* listValue: "<DataValue>",
|
|
130
|
+
* mapValue: "<DataValue>",
|
|
131
|
+
* relationshipValue: "<DataValue>",
|
|
132
|
+
* expression: "<DataValue>",
|
|
133
|
+
* },
|
|
134
|
+
* configuration: {
|
|
135
|
+
* "<keys>": "STRING_VALUE",
|
|
136
|
+
* },
|
|
137
|
+
* displayName: "STRING_VALUE",
|
|
138
|
+
* },
|
|
139
|
+
* },
|
|
140
|
+
* extendsFrom: [
|
|
141
|
+
* "STRING_VALUE",
|
|
142
|
+
* ],
|
|
143
|
+
* functions: {
|
|
144
|
+
* "<keys>": {
|
|
145
|
+
* requiredProperties: [
|
|
146
|
+
* "STRING_VALUE",
|
|
147
|
+
* ],
|
|
148
|
+
* scope: "STRING_VALUE",
|
|
149
|
+
* implementedBy: {
|
|
150
|
+
* lambda: {
|
|
151
|
+
* arn: "STRING_VALUE", // required
|
|
152
|
+
* },
|
|
153
|
+
* isNative: true || false,
|
|
154
|
+
* },
|
|
155
|
+
* },
|
|
156
|
+
* },
|
|
157
|
+
* propertyGroups: {
|
|
158
|
+
* "<keys>": {
|
|
159
|
+
* groupType: "STRING_VALUE",
|
|
160
|
+
* propertyNames: [
|
|
161
|
+
* "STRING_VALUE",
|
|
162
|
+
* ],
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* componentTypeName: "STRING_VALUE",
|
|
166
|
+
* };
|
|
29
167
|
* const command = new UpdateComponentTypeCommand(input);
|
|
30
168
|
* const response = await client.send(command);
|
|
31
169
|
* ```
|
|
@@ -26,6 +26,152 @@ export interface UpdateEntityCommandOutput extends UpdateEntityResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, UpdateEntityCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UpdateEntityCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entityId: "STRING_VALUE", // required
|
|
32
|
+
* entityName: "STRING_VALUE",
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* componentUpdates: {
|
|
35
|
+
* "<keys>": {
|
|
36
|
+
* updateType: "STRING_VALUE",
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* componentTypeId: "STRING_VALUE",
|
|
39
|
+
* propertyUpdates: {
|
|
40
|
+
* "<keys>": {
|
|
41
|
+
* definition: {
|
|
42
|
+
* dataType: {
|
|
43
|
+
* type: "STRING_VALUE", // required
|
|
44
|
+
* nestedType: {
|
|
45
|
+
* type: "STRING_VALUE", // required
|
|
46
|
+
* nestedType: {
|
|
47
|
+
* type: "<DataType>",
|
|
48
|
+
* nestedType: "<DataType>",
|
|
49
|
+
* allowedValues: [
|
|
50
|
+
* {
|
|
51
|
+
* booleanValue: true || false,
|
|
52
|
+
* doubleValue: Number("double"),
|
|
53
|
+
* integerValue: Number("int"),
|
|
54
|
+
* longValue: Number("long"),
|
|
55
|
+
* stringValue: "STRING_VALUE",
|
|
56
|
+
* listValue: [
|
|
57
|
+
* {
|
|
58
|
+
* booleanValue: true || false,
|
|
59
|
+
* doubleValue: Number("double"),
|
|
60
|
+
* integerValue: Number("int"),
|
|
61
|
+
* longValue: Number("long"),
|
|
62
|
+
* stringValue: "STRING_VALUE",
|
|
63
|
+
* listValue: [
|
|
64
|
+
* "<DataValueList>",
|
|
65
|
+
* ],
|
|
66
|
+
* mapValue: {
|
|
67
|
+
* "<keys>": {
|
|
68
|
+
* booleanValue: "<DataValue>",
|
|
69
|
+
* doubleValue: "<DataValue>",
|
|
70
|
+
* integerValue: "<DataValue>",
|
|
71
|
+
* longValue: "<DataValue>",
|
|
72
|
+
* stringValue: "<DataValue>",
|
|
73
|
+
* listValue: "<DataValue>",
|
|
74
|
+
* mapValue: {
|
|
75
|
+
* "<keys>": {
|
|
76
|
+
* booleanValue: "<DataValue>",
|
|
77
|
+
* doubleValue: "<DataValue>",
|
|
78
|
+
* integerValue: "<DataValue>",
|
|
79
|
+
* longValue: "<DataValue>",
|
|
80
|
+
* stringValue: "<DataValue>",
|
|
81
|
+
* listValue: "<DataValue>",
|
|
82
|
+
* mapValue: "<DataValue>",
|
|
83
|
+
* relationshipValue: {
|
|
84
|
+
* targetEntityId: "STRING_VALUE",
|
|
85
|
+
* targetComponentName: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* expression: "STRING_VALUE",
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* relationshipValue: {
|
|
91
|
+
* targetEntityId: "STRING_VALUE",
|
|
92
|
+
* targetComponentName: "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* expression: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* relationshipValue: "<DataValue>",
|
|
98
|
+
* expression: "<DataValue>",
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* mapValue: "<DataValue>",
|
|
102
|
+
* relationshipValue: "<DataValue>",
|
|
103
|
+
* expression: "<DataValue>",
|
|
104
|
+
* },
|
|
105
|
+
* ],
|
|
106
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
107
|
+
* relationship: {
|
|
108
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
109
|
+
* relationshipType: "STRING_VALUE",
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* allowedValues: [
|
|
113
|
+
* "<DataValueList>",
|
|
114
|
+
* ],
|
|
115
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
116
|
+
* relationship: {
|
|
117
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
118
|
+
* relationshipType: "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* allowedValues: "<DataType>",
|
|
122
|
+
* unitOfMeasure: "<DataType>",
|
|
123
|
+
* relationship: "<DataType>",
|
|
124
|
+
* },
|
|
125
|
+
* isRequiredInEntity: true || false,
|
|
126
|
+
* isExternalId: true || false,
|
|
127
|
+
* isStoredExternally: true || false,
|
|
128
|
+
* isTimeSeries: true || false,
|
|
129
|
+
* defaultValue: {
|
|
130
|
+
* booleanValue: "<DataValue>",
|
|
131
|
+
* doubleValue: "<DataValue>",
|
|
132
|
+
* integerValue: "<DataValue>",
|
|
133
|
+
* longValue: "<DataValue>",
|
|
134
|
+
* stringValue: "<DataValue>",
|
|
135
|
+
* listValue: "<DataValue>",
|
|
136
|
+
* mapValue: "<DataValue>",
|
|
137
|
+
* relationshipValue: "<DataValue>",
|
|
138
|
+
* expression: "<DataValue>",
|
|
139
|
+
* },
|
|
140
|
+
* configuration: {
|
|
141
|
+
* "<keys>": "STRING_VALUE",
|
|
142
|
+
* },
|
|
143
|
+
* displayName: "STRING_VALUE",
|
|
144
|
+
* },
|
|
145
|
+
* value: {
|
|
146
|
+
* booleanValue: "<DataValue>",
|
|
147
|
+
* doubleValue: "<DataValue>",
|
|
148
|
+
* integerValue: "<DataValue>",
|
|
149
|
+
* longValue: "<DataValue>",
|
|
150
|
+
* stringValue: "<DataValue>",
|
|
151
|
+
* listValue: "<DataValue>",
|
|
152
|
+
* mapValue: "<DataValue>",
|
|
153
|
+
* relationshipValue: "<DataValue>",
|
|
154
|
+
* expression: "<DataValue>",
|
|
155
|
+
* },
|
|
156
|
+
* updateType: "STRING_VALUE",
|
|
157
|
+
* },
|
|
158
|
+
* },
|
|
159
|
+
* propertyGroupUpdates: {
|
|
160
|
+
* "<keys>": {
|
|
161
|
+
* groupType: "STRING_VALUE",
|
|
162
|
+
* propertyNames: [
|
|
163
|
+
* "STRING_VALUE",
|
|
164
|
+
* ],
|
|
165
|
+
* updateType: "STRING_VALUE",
|
|
166
|
+
* },
|
|
167
|
+
* },
|
|
168
|
+
* },
|
|
169
|
+
* },
|
|
170
|
+
* parentEntityUpdate: {
|
|
171
|
+
* updateType: "STRING_VALUE", // required
|
|
172
|
+
* parentEntityId: "STRING_VALUE",
|
|
173
|
+
* },
|
|
174
|
+
* };
|
|
29
175
|
* const command = new UpdateEntityCommand(input);
|
|
30
176
|
* const response = await client.send(command);
|
|
31
177
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface UpdatePricingPlanCommandOutput extends UpdatePricingPlanRespons
|
|
|
26
26
|
* import { IoTTwinMakerClient, UpdatePricingPlanCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UpdatePricingPlanCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* pricingMode: "STRING_VALUE", // required
|
|
31
|
+
* bundleNames: [
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
29
35
|
* const command = new UpdatePricingPlanCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface UpdateSceneCommandOutput extends UpdateSceneResponse, __Metadat
|
|
|
26
26
|
* import { IoTTwinMakerClient, UpdateSceneCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UpdateSceneCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* sceneId: "STRING_VALUE", // required
|
|
32
|
+
* contentLocation: "STRING_VALUE",
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* capabilities: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* sceneMetadata: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new UpdateSceneCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface UpdateWorkspaceCommandOutput extends UpdateWorkspaceResponse, _
|
|
|
26
26
|
* import { IoTTwinMakerClient, UpdateWorkspaceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, UpdateWorkspaceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* role: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new UpdateWorkspaceCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|