@aws-sdk/client-iottwinmaker 3.299.0 → 3.301.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 +56 -0
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +101 -0
- package/dist-types/commands/CreateEntityCommand.d.ts +95 -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 +61 -0
- package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +61 -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 +98 -0
- package/dist-types/commands/UpdateEntityCommand.d.ts +96 -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
|
@@ -26,6 +26,62 @@ export interface BatchPutPropertyValuesCommandOutput extends BatchPutPropertyVal
|
|
|
26
26
|
* import { IoTTwinMakerClient, BatchPutPropertyValuesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, BatchPutPropertyValuesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // BatchPutPropertyValuesRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entries: [ // Entries // required
|
|
32
|
+
* { // PropertyValueEntry
|
|
33
|
+
* entityPropertyReference: { // EntityPropertyReference
|
|
34
|
+
* componentName: "STRING_VALUE",
|
|
35
|
+
* externalIdProperty: { // ExternalIdProperty
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* entityId: "STRING_VALUE",
|
|
39
|
+
* propertyName: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* propertyValues: [ // PropertyValues
|
|
42
|
+
* { // PropertyValue
|
|
43
|
+
* timestamp: new Date("TIMESTAMP"),
|
|
44
|
+
* value: { // DataValue
|
|
45
|
+
* booleanValue: true || false,
|
|
46
|
+
* doubleValue: Number("double"),
|
|
47
|
+
* integerValue: Number("int"),
|
|
48
|
+
* longValue: Number("long"),
|
|
49
|
+
* stringValue: "STRING_VALUE",
|
|
50
|
+
* listValue: [ // DataValueList
|
|
51
|
+
* {
|
|
52
|
+
* booleanValue: true || false,
|
|
53
|
+
* doubleValue: Number("double"),
|
|
54
|
+
* integerValue: Number("int"),
|
|
55
|
+
* longValue: Number("long"),
|
|
56
|
+
* stringValue: "STRING_VALUE",
|
|
57
|
+
* listValue: [
|
|
58
|
+
* "<DataValue>",
|
|
59
|
+
* ],
|
|
60
|
+
* mapValue: { // DataValueMap
|
|
61
|
+
* "<keys>": "<DataValue>",
|
|
62
|
+
* },
|
|
63
|
+
* relationshipValue: { // RelationshipValue
|
|
64
|
+
* targetEntityId: "STRING_VALUE",
|
|
65
|
+
* targetComponentName: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* expression: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* mapValue: {
|
|
71
|
+
* "<keys>": "<DataValue>",
|
|
72
|
+
* },
|
|
73
|
+
* relationshipValue: {
|
|
74
|
+
* targetEntityId: "STRING_VALUE",
|
|
75
|
+
* targetComponentName: "STRING_VALUE",
|
|
76
|
+
* },
|
|
77
|
+
* expression: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* time: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* };
|
|
29
85
|
* const command = new BatchPutPropertyValuesCommand(input);
|
|
30
86
|
* const response = await client.send(command);
|
|
31
87
|
* ```
|
|
@@ -26,6 +26,107 @@ export interface CreateComponentTypeCommandOutput extends CreateComponentTypeRes
|
|
|
26
26
|
* import { IoTTwinMakerClient, CreateComponentTypeCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, CreateComponentTypeCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // CreateComponentTypeRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* isSingleton: true || false,
|
|
32
|
+
* componentTypeId: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* propertyDefinitions: { // PropertyDefinitionsRequest
|
|
35
|
+
* "<keys>": { // PropertyDefinitionRequest
|
|
36
|
+
* dataType: { // DataType
|
|
37
|
+
* type: "STRING_VALUE", // required
|
|
38
|
+
* nestedType: {
|
|
39
|
+
* type: "STRING_VALUE", // required
|
|
40
|
+
* nestedType: "<DataType>",
|
|
41
|
+
* allowedValues: [ // DataValueList
|
|
42
|
+
* { // DataValue
|
|
43
|
+
* booleanValue: true || false,
|
|
44
|
+
* doubleValue: Number("double"),
|
|
45
|
+
* integerValue: Number("int"),
|
|
46
|
+
* longValue: Number("long"),
|
|
47
|
+
* stringValue: "STRING_VALUE",
|
|
48
|
+
* listValue: [
|
|
49
|
+
* {
|
|
50
|
+
* booleanValue: true || false,
|
|
51
|
+
* doubleValue: Number("double"),
|
|
52
|
+
* integerValue: Number("int"),
|
|
53
|
+
* longValue: Number("long"),
|
|
54
|
+
* stringValue: "STRING_VALUE",
|
|
55
|
+
* listValue: "<DataValueList>",
|
|
56
|
+
* mapValue: { // DataValueMap
|
|
57
|
+
* "<keys>": "<DataValue>",
|
|
58
|
+
* },
|
|
59
|
+
* relationshipValue: { // RelationshipValue
|
|
60
|
+
* targetEntityId: "STRING_VALUE",
|
|
61
|
+
* targetComponentName: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* expression: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* mapValue: {
|
|
67
|
+
* "<keys>": "<DataValue>",
|
|
68
|
+
* },
|
|
69
|
+
* relationshipValue: {
|
|
70
|
+
* targetEntityId: "STRING_VALUE",
|
|
71
|
+
* targetComponentName: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* expression: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
77
|
+
* relationship: { // Relationship
|
|
78
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
79
|
+
* relationshipType: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* allowedValues: "<DataValueList>",
|
|
83
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
84
|
+
* relationship: {
|
|
85
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
86
|
+
* relationshipType: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* isRequiredInEntity: true || false,
|
|
90
|
+
* isExternalId: true || false,
|
|
91
|
+
* isStoredExternally: true || false,
|
|
92
|
+
* isTimeSeries: true || false,
|
|
93
|
+
* defaultValue: "<DataValue>",
|
|
94
|
+
* configuration: { // Configuration
|
|
95
|
+
* "<keys>": "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* displayName: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* extendsFrom: [ // ExtendsFrom
|
|
101
|
+
* "STRING_VALUE",
|
|
102
|
+
* ],
|
|
103
|
+
* functions: { // FunctionsRequest
|
|
104
|
+
* "<keys>": { // FunctionRequest
|
|
105
|
+
* requiredProperties: [ // RequiredProperties
|
|
106
|
+
* "STRING_VALUE",
|
|
107
|
+
* ],
|
|
108
|
+
* scope: "STRING_VALUE",
|
|
109
|
+
* implementedBy: { // DataConnector
|
|
110
|
+
* lambda: { // LambdaFunction
|
|
111
|
+
* arn: "STRING_VALUE", // required
|
|
112
|
+
* },
|
|
113
|
+
* isNative: true || false,
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* tags: { // TagMap
|
|
118
|
+
* "<keys>": "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* propertyGroups: { // PropertyGroupsRequest
|
|
121
|
+
* "<keys>": { // PropertyGroupRequest
|
|
122
|
+
* groupType: "STRING_VALUE",
|
|
123
|
+
* propertyNames: [ // PropertyNames
|
|
124
|
+
* "STRING_VALUE",
|
|
125
|
+
* ],
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* componentTypeName: "STRING_VALUE",
|
|
129
|
+
* };
|
|
29
130
|
* const command = new CreateComponentTypeCommand(input);
|
|
30
131
|
* const response = await client.send(command);
|
|
31
132
|
* ```
|
|
@@ -26,6 +26,101 @@ export interface CreateEntityCommandOutput extends CreateEntityResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, CreateEntityCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, CreateEntityCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // CreateEntityRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entityId: "STRING_VALUE",
|
|
32
|
+
* entityName: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* components: { // ComponentsMapRequest
|
|
35
|
+
* "<keys>": { // ComponentRequest
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* componentTypeId: "STRING_VALUE",
|
|
38
|
+
* properties: { // PropertyRequests
|
|
39
|
+
* "<keys>": { // PropertyRequest
|
|
40
|
+
* definition: { // PropertyDefinitionRequest
|
|
41
|
+
* dataType: { // DataType
|
|
42
|
+
* type: "STRING_VALUE", // required
|
|
43
|
+
* nestedType: {
|
|
44
|
+
* type: "STRING_VALUE", // required
|
|
45
|
+
* nestedType: "<DataType>",
|
|
46
|
+
* allowedValues: [ // DataValueList
|
|
47
|
+
* { // DataValue
|
|
48
|
+
* booleanValue: true || false,
|
|
49
|
+
* doubleValue: Number("double"),
|
|
50
|
+
* integerValue: Number("int"),
|
|
51
|
+
* longValue: Number("long"),
|
|
52
|
+
* stringValue: "STRING_VALUE",
|
|
53
|
+
* listValue: [
|
|
54
|
+
* {
|
|
55
|
+
* booleanValue: true || false,
|
|
56
|
+
* doubleValue: Number("double"),
|
|
57
|
+
* integerValue: Number("int"),
|
|
58
|
+
* longValue: Number("long"),
|
|
59
|
+
* stringValue: "STRING_VALUE",
|
|
60
|
+
* listValue: "<DataValueList>",
|
|
61
|
+
* mapValue: { // DataValueMap
|
|
62
|
+
* "<keys>": "<DataValue>",
|
|
63
|
+
* },
|
|
64
|
+
* relationshipValue: { // RelationshipValue
|
|
65
|
+
* targetEntityId: "STRING_VALUE",
|
|
66
|
+
* targetComponentName: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* expression: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* mapValue: {
|
|
72
|
+
* "<keys>": "<DataValue>",
|
|
73
|
+
* },
|
|
74
|
+
* relationshipValue: {
|
|
75
|
+
* targetEntityId: "STRING_VALUE",
|
|
76
|
+
* targetComponentName: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* expression: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
82
|
+
* relationship: { // Relationship
|
|
83
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
84
|
+
* relationshipType: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* allowedValues: "<DataValueList>",
|
|
88
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
89
|
+
* relationship: {
|
|
90
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
91
|
+
* relationshipType: "STRING_VALUE",
|
|
92
|
+
* },
|
|
93
|
+
* },
|
|
94
|
+
* isRequiredInEntity: true || false,
|
|
95
|
+
* isExternalId: true || false,
|
|
96
|
+
* isStoredExternally: true || false,
|
|
97
|
+
* isTimeSeries: true || false,
|
|
98
|
+
* defaultValue: "<DataValue>",
|
|
99
|
+
* configuration: { // Configuration
|
|
100
|
+
* "<keys>": "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* displayName: "STRING_VALUE",
|
|
103
|
+
* },
|
|
104
|
+
* value: "<DataValue>",
|
|
105
|
+
* updateType: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* },
|
|
108
|
+
* propertyGroups: { // ComponentPropertyGroupRequests
|
|
109
|
+
* "<keys>": { // ComponentPropertyGroupRequest
|
|
110
|
+
* groupType: "STRING_VALUE",
|
|
111
|
+
* propertyNames: [ // PropertyNames
|
|
112
|
+
* "STRING_VALUE",
|
|
113
|
+
* ],
|
|
114
|
+
* updateType: "STRING_VALUE",
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* parentEntityId: "STRING_VALUE",
|
|
120
|
+
* tags: { // TagMap
|
|
121
|
+
* "<keys>": "STRING_VALUE",
|
|
122
|
+
* },
|
|
123
|
+
* };
|
|
29
124
|
* const command = new CreateEntityCommand(input);
|
|
30
125
|
* const response = await client.send(command);
|
|
31
126
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateSceneCommandOutput extends CreateSceneResponse, __Metadat
|
|
|
26
26
|
* import { IoTTwinMakerClient, CreateSceneCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, CreateSceneCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // CreateSceneRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* sceneId: "STRING_VALUE", // required
|
|
32
|
+
* contentLocation: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* capabilities: [ // SceneCapabilities
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* tags: { // TagMap
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* sceneMetadata: { // SceneMetadataMap
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateSceneCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface CreateSyncJobCommandOutput extends CreateSyncJobResponse, __Met
|
|
|
26
26
|
* import { IoTTwinMakerClient, CreateSyncJobCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, CreateSyncJobCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // CreateSyncJobRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* syncSource: "STRING_VALUE", // required
|
|
32
|
+
* syncRole: "STRING_VALUE", // required
|
|
33
|
+
* tags: { // TagMap
|
|
34
|
+
* "<keys>": "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreateSyncJobCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -26,6 +26,15 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
|
|
|
26
26
|
* import { IoTTwinMakerClient, CreateWorkspaceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, CreateWorkspaceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // CreateWorkspaceRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* s3Location: "STRING_VALUE", // required
|
|
33
|
+
* role: "STRING_VALUE", // required
|
|
34
|
+
* tags: { // TagMap
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
29
38
|
* const command = new CreateWorkspaceCommand(input);
|
|
30
39
|
* const response = await client.send(command);
|
|
31
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteComponentTypeCommandOutput extends DeleteComponentTypeRes
|
|
|
26
26
|
* import { IoTTwinMakerClient, DeleteComponentTypeCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, DeleteComponentTypeCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // DeleteComponentTypeRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* componentTypeId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteComponentTypeCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DeleteEntityCommandOutput extends DeleteEntityResponse, __Metad
|
|
|
26
26
|
* import { IoTTwinMakerClient, DeleteEntityCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, DeleteEntityCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // DeleteEntityRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entityId: "STRING_VALUE", // required
|
|
32
|
+
* isRecursive: true || false,
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DeleteEntityCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteSceneCommandOutput extends DeleteSceneResponse, __Metadat
|
|
|
26
26
|
* import { IoTTwinMakerClient, DeleteSceneCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, DeleteSceneCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // DeleteSceneRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* sceneId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteSceneCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteSyncJobCommandOutput extends DeleteSyncJobResponse, __Met
|
|
|
26
26
|
* import { IoTTwinMakerClient, DeleteSyncJobCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, DeleteSyncJobCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // DeleteSyncJobRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* syncSource: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteSyncJobCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, _
|
|
|
26
26
|
* import { IoTTwinMakerClient, DeleteWorkspaceCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // DeleteWorkspaceRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteWorkspaceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ExecuteQueryCommandOutput extends ExecuteQueryResponse, __Metad
|
|
|
27
27
|
* import { IoTTwinMakerClient, ExecuteQueryCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
28
28
|
* // const { IoTTwinMakerClient, ExecuteQueryCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
29
29
|
* const client = new IoTTwinMakerClient(config);
|
|
30
|
+
* const input = { // ExecuteQueryRequest
|
|
31
|
+
* workspaceId: "STRING_VALUE", // required
|
|
32
|
+
* queryStatement: "STRING_VALUE", // required
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ExecuteQueryCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetComponentTypeCommandOutput extends GetComponentTypeResponse,
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetComponentTypeCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetComponentTypeCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // GetComponentTypeRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* componentTypeId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetComponentTypeCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetEntityCommandOutput extends GetEntityResponse, __MetadataBea
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetEntityCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetEntityCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = { // GetEntityRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entityId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetEntityCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,7 @@ export interface GetPricingPlanCommandOutput extends GetPricingPlanResponse, __M
|
|
|
26
26
|
* import { IoTTwinMakerClient, GetPricingPlanCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
27
27
|
* // const { IoTTwinMakerClient, GetPricingPlanCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
28
28
|
* const client = new IoTTwinMakerClient(config);
|
|
29
|
+
* const input = {};
|
|
29
30
|
* const command = new GetPricingPlanCommand(input);
|
|
30
31
|
* const response = await client.send(command);
|
|
31
32
|
* ```
|
|
@@ -28,6 +28,67 @@ export interface GetPropertyValueCommandOutput extends GetPropertyValueResponse,
|
|
|
28
28
|
* import { IoTTwinMakerClient, GetPropertyValueCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
|
|
29
29
|
* // const { IoTTwinMakerClient, GetPropertyValueCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
|
|
30
30
|
* const client = new IoTTwinMakerClient(config);
|
|
31
|
+
* const input = { // GetPropertyValueRequest
|
|
32
|
+
* componentName: "STRING_VALUE",
|
|
33
|
+
* componentTypeId: "STRING_VALUE",
|
|
34
|
+
* entityId: "STRING_VALUE",
|
|
35
|
+
* selectedProperties: [ // SelectedPropertyList // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* workspaceId: "STRING_VALUE", // required
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* propertyGroupName: "STRING_VALUE",
|
|
42
|
+
* tabularConditions: { // TabularConditions
|
|
43
|
+
* orderBy: [ // OrderByList
|
|
44
|
+
* { // OrderBy
|
|
45
|
+
* order: "STRING_VALUE",
|
|
46
|
+
* propertyName: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* propertyFilters: [ // PropertyFilters
|
|
50
|
+
* { // PropertyFilter
|
|
51
|
+
* propertyName: "STRING_VALUE",
|
|
52
|
+
* operator: "STRING_VALUE",
|
|
53
|
+
* value: { // DataValue
|
|
54
|
+
* booleanValue: true || false,
|
|
55
|
+
* doubleValue: Number("double"),
|
|
56
|
+
* integerValue: Number("int"),
|
|
57
|
+
* longValue: Number("long"),
|
|
58
|
+
* stringValue: "STRING_VALUE",
|
|
59
|
+
* listValue: [ // DataValueList
|
|
60
|
+
* {
|
|
61
|
+
* booleanValue: true || false,
|
|
62
|
+
* doubleValue: Number("double"),
|
|
63
|
+
* integerValue: Number("int"),
|
|
64
|
+
* longValue: Number("long"),
|
|
65
|
+
* stringValue: "STRING_VALUE",
|
|
66
|
+
* listValue: [
|
|
67
|
+
* "<DataValue>",
|
|
68
|
+
* ],
|
|
69
|
+
* mapValue: { // DataValueMap
|
|
70
|
+
* "<keys>": "<DataValue>",
|
|
71
|
+
* },
|
|
72
|
+
* relationshipValue: { // RelationshipValue
|
|
73
|
+
* targetEntityId: "STRING_VALUE",
|
|
74
|
+
* targetComponentName: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* expression: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* mapValue: {
|
|
80
|
+
* "<keys>": "<DataValue>",
|
|
81
|
+
* },
|
|
82
|
+
* relationshipValue: {
|
|
83
|
+
* targetEntityId: "STRING_VALUE",
|
|
84
|
+
* targetComponentName: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* expression: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* },
|
|
91
|
+
* };
|
|
31
92
|
* const command = new GetPropertyValueCommand(input);
|
|
32
93
|
* const response = await client.send(command);
|
|
33
94
|
* ```
|
|
@@ -30,6 +30,67 @@ 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 = { // GetPropertyValueHistoryRequest
|
|
34
|
+
* workspaceId: "STRING_VALUE", // required
|
|
35
|
+
* entityId: "STRING_VALUE",
|
|
36
|
+
* componentName: "STRING_VALUE",
|
|
37
|
+
* componentTypeId: "STRING_VALUE",
|
|
38
|
+
* selectedProperties: [ // SelectedPropertyList // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* propertyFilters: [ // PropertyFilters
|
|
42
|
+
* { // PropertyFilter
|
|
43
|
+
* propertyName: "STRING_VALUE",
|
|
44
|
+
* operator: "STRING_VALUE",
|
|
45
|
+
* value: { // DataValue
|
|
46
|
+
* booleanValue: true || false,
|
|
47
|
+
* doubleValue: Number("double"),
|
|
48
|
+
* integerValue: Number("int"),
|
|
49
|
+
* longValue: Number("long"),
|
|
50
|
+
* stringValue: "STRING_VALUE",
|
|
51
|
+
* listValue: [ // DataValueList
|
|
52
|
+
* {
|
|
53
|
+
* booleanValue: true || false,
|
|
54
|
+
* doubleValue: Number("double"),
|
|
55
|
+
* integerValue: Number("int"),
|
|
56
|
+
* longValue: Number("long"),
|
|
57
|
+
* stringValue: "STRING_VALUE",
|
|
58
|
+
* listValue: [
|
|
59
|
+
* "<DataValue>",
|
|
60
|
+
* ],
|
|
61
|
+
* mapValue: { // DataValueMap
|
|
62
|
+
* "<keys>": "<DataValue>",
|
|
63
|
+
* },
|
|
64
|
+
* relationshipValue: { // RelationshipValue
|
|
65
|
+
* targetEntityId: "STRING_VALUE",
|
|
66
|
+
* targetComponentName: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* expression: "STRING_VALUE",
|
|
69
|
+
* },
|
|
70
|
+
* ],
|
|
71
|
+
* mapValue: {
|
|
72
|
+
* "<keys>": "<DataValue>",
|
|
73
|
+
* },
|
|
74
|
+
* relationshipValue: {
|
|
75
|
+
* targetEntityId: "STRING_VALUE",
|
|
76
|
+
* targetComponentName: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* expression: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* startDateTime: new Date("TIMESTAMP"),
|
|
83
|
+
* endDateTime: new Date("TIMESTAMP"),
|
|
84
|
+
* interpolation: { // InterpolationParameters
|
|
85
|
+
* interpolationType: "STRING_VALUE",
|
|
86
|
+
* intervalInSeconds: Number("long"),
|
|
87
|
+
* },
|
|
88
|
+
* nextToken: "STRING_VALUE",
|
|
89
|
+
* maxResults: Number("int"),
|
|
90
|
+
* orderByTime: "STRING_VALUE",
|
|
91
|
+
* startTime: "STRING_VALUE",
|
|
92
|
+
* endTime: "STRING_VALUE",
|
|
93
|
+
* };
|
|
33
94
|
* const command = new GetPropertyValueHistoryCommand(input);
|
|
34
95
|
* const response = await client.send(command);
|
|
35
96
|
* ```
|
|
@@ -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 = { // GetSceneRequest
|
|
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 = { // GetSyncJobRequest
|
|
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 = { // GetWorkspaceRequest
|
|
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 = { // ListComponentTypesRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* filters: [ // ListComponentTypesFilters
|
|
32
|
+
* { // ListComponentTypesFilter 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 = { // ListEntitiesRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* filters: [ // ListEntitiesFilters
|
|
32
|
+
* { // ListEntitiesFilter 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 = { // ListScenesRequest
|
|
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 = { // ListSyncJobsRequest
|
|
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 = { // ListSyncResourcesRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* syncSource: "STRING_VALUE", // required
|
|
32
|
+
* filters: [ // SyncResourceFilters
|
|
33
|
+
* { // SyncResourceFilter 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 = { // ListTagsForResourceRequest
|
|
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 = { // ListWorkspacesRequest
|
|
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 = { // TagResourceRequest
|
|
30
|
+
* resourceARN: "STRING_VALUE", // required
|
|
31
|
+
* tags: { // TagMap // 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 = { // UntagResourceRequest
|
|
30
|
+
* resourceARN: "STRING_VALUE", // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // 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,104 @@ 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 = { // UpdateComponentTypeRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* isSingleton: true || false,
|
|
32
|
+
* componentTypeId: "STRING_VALUE", // required
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* propertyDefinitions: { // PropertyDefinitionsRequest
|
|
35
|
+
* "<keys>": { // PropertyDefinitionRequest
|
|
36
|
+
* dataType: { // DataType
|
|
37
|
+
* type: "STRING_VALUE", // required
|
|
38
|
+
* nestedType: {
|
|
39
|
+
* type: "STRING_VALUE", // required
|
|
40
|
+
* nestedType: "<DataType>",
|
|
41
|
+
* allowedValues: [ // DataValueList
|
|
42
|
+
* { // DataValue
|
|
43
|
+
* booleanValue: true || false,
|
|
44
|
+
* doubleValue: Number("double"),
|
|
45
|
+
* integerValue: Number("int"),
|
|
46
|
+
* longValue: Number("long"),
|
|
47
|
+
* stringValue: "STRING_VALUE",
|
|
48
|
+
* listValue: [
|
|
49
|
+
* {
|
|
50
|
+
* booleanValue: true || false,
|
|
51
|
+
* doubleValue: Number("double"),
|
|
52
|
+
* integerValue: Number("int"),
|
|
53
|
+
* longValue: Number("long"),
|
|
54
|
+
* stringValue: "STRING_VALUE",
|
|
55
|
+
* listValue: "<DataValueList>",
|
|
56
|
+
* mapValue: { // DataValueMap
|
|
57
|
+
* "<keys>": "<DataValue>",
|
|
58
|
+
* },
|
|
59
|
+
* relationshipValue: { // RelationshipValue
|
|
60
|
+
* targetEntityId: "STRING_VALUE",
|
|
61
|
+
* targetComponentName: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* expression: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* mapValue: {
|
|
67
|
+
* "<keys>": "<DataValue>",
|
|
68
|
+
* },
|
|
69
|
+
* relationshipValue: {
|
|
70
|
+
* targetEntityId: "STRING_VALUE",
|
|
71
|
+
* targetComponentName: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* expression: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
77
|
+
* relationship: { // Relationship
|
|
78
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
79
|
+
* relationshipType: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* allowedValues: "<DataValueList>",
|
|
83
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
84
|
+
* relationship: {
|
|
85
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
86
|
+
* relationshipType: "STRING_VALUE",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* isRequiredInEntity: true || false,
|
|
90
|
+
* isExternalId: true || false,
|
|
91
|
+
* isStoredExternally: true || false,
|
|
92
|
+
* isTimeSeries: true || false,
|
|
93
|
+
* defaultValue: "<DataValue>",
|
|
94
|
+
* configuration: { // Configuration
|
|
95
|
+
* "<keys>": "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* displayName: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* extendsFrom: [ // ExtendsFrom
|
|
101
|
+
* "STRING_VALUE",
|
|
102
|
+
* ],
|
|
103
|
+
* functions: { // FunctionsRequest
|
|
104
|
+
* "<keys>": { // FunctionRequest
|
|
105
|
+
* requiredProperties: [ // RequiredProperties
|
|
106
|
+
* "STRING_VALUE",
|
|
107
|
+
* ],
|
|
108
|
+
* scope: "STRING_VALUE",
|
|
109
|
+
* implementedBy: { // DataConnector
|
|
110
|
+
* lambda: { // LambdaFunction
|
|
111
|
+
* arn: "STRING_VALUE", // required
|
|
112
|
+
* },
|
|
113
|
+
* isNative: true || false,
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* propertyGroups: { // PropertyGroupsRequest
|
|
118
|
+
* "<keys>": { // PropertyGroupRequest
|
|
119
|
+
* groupType: "STRING_VALUE",
|
|
120
|
+
* propertyNames: [ // PropertyNames
|
|
121
|
+
* "STRING_VALUE",
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* componentTypeName: "STRING_VALUE",
|
|
126
|
+
* };
|
|
29
127
|
* const command = new UpdateComponentTypeCommand(input);
|
|
30
128
|
* const response = await client.send(command);
|
|
31
129
|
* ```
|
|
@@ -26,6 +26,102 @@ 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 = { // UpdateEntityRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* entityId: "STRING_VALUE", // required
|
|
32
|
+
* entityName: "STRING_VALUE",
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* componentUpdates: { // ComponentUpdatesMapRequest
|
|
35
|
+
* "<keys>": { // ComponentUpdateRequest
|
|
36
|
+
* updateType: "STRING_VALUE",
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* componentTypeId: "STRING_VALUE",
|
|
39
|
+
* propertyUpdates: { // PropertyRequests
|
|
40
|
+
* "<keys>": { // PropertyRequest
|
|
41
|
+
* definition: { // PropertyDefinitionRequest
|
|
42
|
+
* dataType: { // DataType
|
|
43
|
+
* type: "STRING_VALUE", // required
|
|
44
|
+
* nestedType: {
|
|
45
|
+
* type: "STRING_VALUE", // required
|
|
46
|
+
* nestedType: "<DataType>",
|
|
47
|
+
* allowedValues: [ // DataValueList
|
|
48
|
+
* { // DataValue
|
|
49
|
+
* booleanValue: true || false,
|
|
50
|
+
* doubleValue: Number("double"),
|
|
51
|
+
* integerValue: Number("int"),
|
|
52
|
+
* longValue: Number("long"),
|
|
53
|
+
* stringValue: "STRING_VALUE",
|
|
54
|
+
* listValue: [
|
|
55
|
+
* {
|
|
56
|
+
* booleanValue: true || false,
|
|
57
|
+
* doubleValue: Number("double"),
|
|
58
|
+
* integerValue: Number("int"),
|
|
59
|
+
* longValue: Number("long"),
|
|
60
|
+
* stringValue: "STRING_VALUE",
|
|
61
|
+
* listValue: "<DataValueList>",
|
|
62
|
+
* mapValue: { // DataValueMap
|
|
63
|
+
* "<keys>": "<DataValue>",
|
|
64
|
+
* },
|
|
65
|
+
* relationshipValue: { // RelationshipValue
|
|
66
|
+
* targetEntityId: "STRING_VALUE",
|
|
67
|
+
* targetComponentName: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* expression: "STRING_VALUE",
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* mapValue: {
|
|
73
|
+
* "<keys>": "<DataValue>",
|
|
74
|
+
* },
|
|
75
|
+
* relationshipValue: {
|
|
76
|
+
* targetEntityId: "STRING_VALUE",
|
|
77
|
+
* targetComponentName: "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* expression: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
83
|
+
* relationship: { // Relationship
|
|
84
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
85
|
+
* relationshipType: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* allowedValues: "<DataValueList>",
|
|
89
|
+
* unitOfMeasure: "STRING_VALUE",
|
|
90
|
+
* relationship: {
|
|
91
|
+
* targetComponentTypeId: "STRING_VALUE",
|
|
92
|
+
* relationshipType: "STRING_VALUE",
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* isRequiredInEntity: true || false,
|
|
96
|
+
* isExternalId: true || false,
|
|
97
|
+
* isStoredExternally: true || false,
|
|
98
|
+
* isTimeSeries: true || false,
|
|
99
|
+
* defaultValue: "<DataValue>",
|
|
100
|
+
* configuration: { // Configuration
|
|
101
|
+
* "<keys>": "STRING_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* displayName: "STRING_VALUE",
|
|
104
|
+
* },
|
|
105
|
+
* value: "<DataValue>",
|
|
106
|
+
* updateType: "STRING_VALUE",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* propertyGroupUpdates: { // ComponentPropertyGroupRequests
|
|
110
|
+
* "<keys>": { // ComponentPropertyGroupRequest
|
|
111
|
+
* groupType: "STRING_VALUE",
|
|
112
|
+
* propertyNames: [ // PropertyNames
|
|
113
|
+
* "STRING_VALUE",
|
|
114
|
+
* ],
|
|
115
|
+
* updateType: "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* },
|
|
119
|
+
* },
|
|
120
|
+
* parentEntityUpdate: { // ParentEntityUpdateRequest
|
|
121
|
+
* updateType: "STRING_VALUE", // required
|
|
122
|
+
* parentEntityId: "STRING_VALUE",
|
|
123
|
+
* },
|
|
124
|
+
* };
|
|
29
125
|
* const command = new UpdateEntityCommand(input);
|
|
30
126
|
* const response = await client.send(command);
|
|
31
127
|
* ```
|
|
@@ -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 = { // UpdatePricingPlanRequest
|
|
30
|
+
* pricingMode: "STRING_VALUE", // required
|
|
31
|
+
* bundleNames: [ // PricingBundles
|
|
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 = { // UpdateSceneRequest
|
|
30
|
+
* workspaceId: "STRING_VALUE", // required
|
|
31
|
+
* sceneId: "STRING_VALUE", // required
|
|
32
|
+
* contentLocation: "STRING_VALUE",
|
|
33
|
+
* description: "STRING_VALUE",
|
|
34
|
+
* capabilities: [ // SceneCapabilities
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* sceneMetadata: { // SceneMetadataMap
|
|
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 = { // UpdateWorkspaceRequest
|
|
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
|
* ```
|
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.
|
|
4
|
+
"version": "3.301.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|