@aws-sdk/client-iottwinmaker 3.67.0 → 3.74.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/CHANGELOG.md +27 -0
- package/README.md +0 -5
- package/dist-cjs/models/models_0.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -4
- package/dist-types/IoTTwinMaker.d.ts +1 -11
- package/dist-types/IoTTwinMakerClient.d.ts +1 -6
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +0 -5
- package/dist-types/models/models_0.d.ts +37 -5
- package/dist-types/ts3.4/models/models_0.d.ts +22 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iottwinmaker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-iottwinmaker
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.69.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.68.0...v3.69.0) (2022-04-12)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-iottwinmaker:** This release adds the following new features: 1) ListEntities API now supports search using ExternalId. 2) BatchPutPropertyValue and GetPropertyValueHistory API now allows users to represent time in sub-second level precisions. ([f000752](https://github.com/aws/aws-sdk-js-v3/commit/f0007527263b955c0e0af12ca2372b00caa40961))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-iottwinmaker
|
package/README.md
CHANGED
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript IoTTwinMaker Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<important>
|
|
11
|
-
<p>
|
|
12
|
-
TwinMaker is in public preview and is subject to change.
|
|
13
|
-
</p>
|
|
14
|
-
</important>
|
|
15
10
|
<p>IoT TwinMaker is a service that enables you to build operational digital twins of
|
|
16
11
|
physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
|
|
17
12
|
cameras, and enterprise applications so you can create data visualizations to monitor your
|
|
@@ -163,6 +163,7 @@ class ServiceQuotaExceededException extends IoTTwinMakerServiceException_1.IoTTw
|
|
|
163
163
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
164
164
|
var PropertyUpdateType;
|
|
165
165
|
(function (PropertyUpdateType) {
|
|
166
|
+
PropertyUpdateType["CREATE"] = "CREATE";
|
|
166
167
|
PropertyUpdateType["DELETE"] = "DELETE";
|
|
167
168
|
PropertyUpdateType["UPDATE"] = "UPDATE";
|
|
168
169
|
})(PropertyUpdateType = exports.PropertyUpdateType || (exports.PropertyUpdateType = {}));
|
|
@@ -398,6 +399,8 @@ var ListEntitiesFilter;
|
|
|
398
399
|
return visitor.parentEntityId(value.parentEntityId);
|
|
399
400
|
if (value.componentTypeId !== undefined)
|
|
400
401
|
return visitor.componentTypeId(value.componentTypeId);
|
|
402
|
+
if (value.externalId !== undefined)
|
|
403
|
+
return visitor.externalId(value.externalId);
|
|
401
404
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
402
405
|
};
|
|
403
406
|
ListEntitiesFilter.filterSensitiveLog = (obj) => {
|
|
@@ -405,6 +408,8 @@ var ListEntitiesFilter;
|
|
|
405
408
|
return { parentEntityId: obj.parentEntityId };
|
|
406
409
|
if (obj.componentTypeId !== undefined)
|
|
407
410
|
return { componentTypeId: obj.componentTypeId };
|
|
411
|
+
if (obj.externalId !== undefined)
|
|
412
|
+
return { externalId: obj.externalId };
|
|
408
413
|
if (obj.$unknown !== undefined)
|
|
409
414
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
410
415
|
};
|
|
@@ -566,6 +566,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
|
|
|
566
566
|
input.componentTypeId !== null && { componentTypeId: input.componentTypeId }),
|
|
567
567
|
...(input.endDateTime !== undefined &&
|
|
568
568
|
input.endDateTime !== null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000) }),
|
|
569
|
+
...(input.endTime !== undefined && input.endTime !== null && { endTime: input.endTime }),
|
|
569
570
|
...(input.entityId !== undefined && input.entityId !== null && { entityId: input.entityId }),
|
|
570
571
|
...(input.interpolation !== undefined &&
|
|
571
572
|
input.interpolation !== null && {
|
|
@@ -584,6 +585,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
|
|
|
584
585
|
}),
|
|
585
586
|
...(input.startDateTime !== undefined &&
|
|
586
587
|
input.startDateTime !== null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000) }),
|
|
588
|
+
...(input.startTime !== undefined && input.startTime !== null && { startTime: input.startTime }),
|
|
587
589
|
});
|
|
588
590
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
589
591
|
if (context.disableHostPrefix !== true) {
|
|
@@ -2931,6 +2933,7 @@ const serializeAws_restJson1ListComponentTypesFilters = (input, context) => {
|
|
|
2931
2933
|
const serializeAws_restJson1ListEntitiesFilter = (input, context) => {
|
|
2932
2934
|
return models_0_1.ListEntitiesFilter.visit(input, {
|
|
2933
2935
|
componentTypeId: (value) => ({ componentTypeId: value }),
|
|
2936
|
+
externalId: (value) => ({ externalId: value }),
|
|
2934
2937
|
parentEntityId: (value) => ({ parentEntityId: value }),
|
|
2935
2938
|
_: (name, value) => ({ name: value }),
|
|
2936
2939
|
});
|
|
@@ -3023,6 +3026,7 @@ const serializeAws_restJson1PropertyRequests = (input, context) => {
|
|
|
3023
3026
|
};
|
|
3024
3027
|
const serializeAws_restJson1PropertyValue = (input, context) => {
|
|
3025
3028
|
return {
|
|
3029
|
+
...(input.time !== undefined && input.time !== null && { time: input.time }),
|
|
3026
3030
|
...(input.timestamp !== undefined &&
|
|
3027
3031
|
input.timestamp !== null && { timestamp: Math.round(input.timestamp.getTime() / 1000) }),
|
|
3028
3032
|
...(input.value !== undefined &&
|
|
@@ -3444,6 +3448,7 @@ const deserializeAws_restJson1PropertyResponses = (output, context) => {
|
|
|
3444
3448
|
};
|
|
3445
3449
|
const deserializeAws_restJson1PropertyValue = (output, context) => {
|
|
3446
3450
|
return {
|
|
3451
|
+
time: (0, smithy_client_1.expectString)(output.time),
|
|
3447
3452
|
timestamp: output.timestamp !== undefined && output.timestamp !== null
|
|
3448
3453
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp)))
|
|
3449
3454
|
: undefined,
|
|
@@ -138,6 +138,7 @@ var ServiceQuotaExceededException = (function (_super) {
|
|
|
138
138
|
export { ServiceQuotaExceededException };
|
|
139
139
|
export var PropertyUpdateType;
|
|
140
140
|
(function (PropertyUpdateType) {
|
|
141
|
+
PropertyUpdateType["CREATE"] = "CREATE";
|
|
141
142
|
PropertyUpdateType["DELETE"] = "DELETE";
|
|
142
143
|
PropertyUpdateType["UPDATE"] = "UPDATE";
|
|
143
144
|
})(PropertyUpdateType || (PropertyUpdateType = {}));
|
|
@@ -317,6 +318,8 @@ export var ListEntitiesFilter;
|
|
|
317
318
|
return visitor.parentEntityId(value.parentEntityId);
|
|
318
319
|
if (value.componentTypeId !== undefined)
|
|
319
320
|
return visitor.componentTypeId(value.componentTypeId);
|
|
321
|
+
if (value.externalId !== undefined)
|
|
322
|
+
return visitor.externalId(value.externalId);
|
|
320
323
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
321
324
|
};
|
|
322
325
|
ListEntitiesFilter.filterSensitiveLog = function (obj) {
|
|
@@ -325,6 +328,8 @@ export var ListEntitiesFilter;
|
|
|
325
328
|
return { parentEntityId: obj.parentEntityId };
|
|
326
329
|
if (obj.componentTypeId !== undefined)
|
|
327
330
|
return { componentTypeId: obj.componentTypeId };
|
|
331
|
+
if (obj.externalId !== undefined)
|
|
332
|
+
return { externalId: obj.externalId };
|
|
328
333
|
if (obj.$unknown !== undefined)
|
|
329
334
|
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
330
335
|
};
|
|
@@ -611,9 +611,9 @@ export var serializeAws_restJson1GetPropertyValueHistoryCommand = function (inpu
|
|
|
611
611
|
else {
|
|
612
612
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
613
613
|
}
|
|
614
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName })), (input.componentTypeId !== undefined &&
|
|
614
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName })), (input.componentTypeId !== undefined &&
|
|
615
615
|
input.componentTypeId !== null && { componentTypeId: input.componentTypeId })), (input.endDateTime !== undefined &&
|
|
616
|
-
input.endDateTime !== null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000) })), (input.entityId !== undefined && input.entityId !== null && { entityId: input.entityId })), (input.interpolation !== undefined &&
|
|
616
|
+
input.endDateTime !== null && { endDateTime: Math.round(input.endDateTime.getTime() / 1000) })), (input.endTime !== undefined && input.endTime !== null && { endTime: input.endTime })), (input.entityId !== undefined && input.entityId !== null && { entityId: input.entityId })), (input.interpolation !== undefined &&
|
|
617
617
|
input.interpolation !== null && {
|
|
618
618
|
interpolation: serializeAws_restJson1InterpolationParameters(input.interpolation, context),
|
|
619
619
|
})), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.orderByTime !== undefined && input.orderByTime !== null && { orderByTime: input.orderByTime })), (input.propertyFilters !== undefined &&
|
|
@@ -623,7 +623,7 @@ export var serializeAws_restJson1GetPropertyValueHistoryCommand = function (inpu
|
|
|
623
623
|
input.selectedProperties !== null && {
|
|
624
624
|
selectedProperties: serializeAws_restJson1SelectedPropertyList(input.selectedProperties, context),
|
|
625
625
|
})), (input.startDateTime !== undefined &&
|
|
626
|
-
input.startDateTime !== null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000) })));
|
|
626
|
+
input.startDateTime !== null && { startDateTime: Math.round(input.startDateTime.getTime() / 1000) })), (input.startTime !== undefined && input.startTime !== null && { startTime: input.startTime })));
|
|
627
627
|
return [4, context.endpoint()];
|
|
628
628
|
case 2:
|
|
629
629
|
resolvedHostname = (_c.sent()).hostname;
|
|
@@ -3562,6 +3562,7 @@ var serializeAws_restJson1ListComponentTypesFilters = function (input, context)
|
|
|
3562
3562
|
var serializeAws_restJson1ListEntitiesFilter = function (input, context) {
|
|
3563
3563
|
return ListEntitiesFilter.visit(input, {
|
|
3564
3564
|
componentTypeId: function (value) { return ({ componentTypeId: value }); },
|
|
3565
|
+
externalId: function (value) { return ({ externalId: value }); },
|
|
3565
3566
|
parentEntityId: function (value) { return ({ parentEntityId: value }); },
|
|
3566
3567
|
_: function (name, value) { return ({ name: value }); },
|
|
3567
3568
|
});
|
|
@@ -3632,7 +3633,7 @@ var serializeAws_restJson1PropertyRequests = function (input, context) {
|
|
|
3632
3633
|
}, {});
|
|
3633
3634
|
};
|
|
3634
3635
|
var serializeAws_restJson1PropertyValue = function (input, context) {
|
|
3635
|
-
return __assign(__assign({}, (input.timestamp !== undefined &&
|
|
3636
|
+
return __assign(__assign(__assign({}, (input.time !== undefined && input.time !== null && { time: input.time })), (input.timestamp !== undefined &&
|
|
3636
3637
|
input.timestamp !== null && { timestamp: Math.round(input.timestamp.getTime() / 1000) })), (input.value !== undefined &&
|
|
3637
3638
|
input.value !== null && { value: serializeAws_restJson1DataValue(input.value, context) }));
|
|
3638
3639
|
};
|
|
@@ -4033,6 +4034,7 @@ var deserializeAws_restJson1PropertyResponses = function (output, context) {
|
|
|
4033
4034
|
};
|
|
4034
4035
|
var deserializeAws_restJson1PropertyValue = function (output, context) {
|
|
4035
4036
|
return {
|
|
4037
|
+
time: __expectString(output.time),
|
|
4036
4038
|
timestamp: output.timestamp !== undefined && output.timestamp !== null
|
|
4037
4039
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
4038
4040
|
: undefined,
|
|
@@ -27,12 +27,7 @@ import { UpdateSceneCommandInput, UpdateSceneCommandOutput } from "./commands/Up
|
|
|
27
27
|
import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
|
|
28
28
|
import { IoTTwinMakerClient } from "./IoTTwinMakerClient";
|
|
29
29
|
/**
|
|
30
|
-
* <
|
|
31
|
-
* <p>
|
|
32
|
-
* TwinMaker is in public preview and is subject to change.
|
|
33
|
-
* </p>
|
|
34
|
-
* </important>
|
|
35
|
-
* <p>IoT TwinMaker is a service that enables you to build operational digital twins of
|
|
30
|
+
* <p>IoT TwinMaker is a service that enables you to build operational digital twins of
|
|
36
31
|
* physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
|
|
37
32
|
* cameras, and enterprise applications so you can create data visualizations to monitor your
|
|
38
33
|
* physical factory, building, or industrial plant. You can use this real-world data to
|
|
@@ -47,11 +42,6 @@ export declare class IoTTwinMaker extends IoTTwinMakerClient {
|
|
|
47
42
|
batchPutPropertyValues(args: BatchPutPropertyValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutPropertyValuesCommandOutput) => void): void;
|
|
48
43
|
/**
|
|
49
44
|
* <p>Creates a component type.</p>
|
|
50
|
-
* <important>
|
|
51
|
-
* <p>
|
|
52
|
-
* TwinMaker is in public preview and is subject to change.
|
|
53
|
-
* </p>
|
|
54
|
-
* </important>
|
|
55
45
|
*/
|
|
56
46
|
createComponentType(args: CreateComponentTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentTypeCommandOutput>;
|
|
57
47
|
createComponentType(args: CreateComponentTypeCommandInput, cb: (err: any, data?: CreateComponentTypeCommandOutput) => void): void;
|
|
@@ -152,12 +152,7 @@ declare type IoTTwinMakerClientResolvedConfigType = __SmithyResolvedConfiguratio
|
|
|
152
152
|
export interface IoTTwinMakerClientResolvedConfig extends IoTTwinMakerClientResolvedConfigType {
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* <
|
|
156
|
-
* <p>
|
|
157
|
-
* TwinMaker is in public preview and is subject to change.
|
|
158
|
-
* </p>
|
|
159
|
-
* </important>
|
|
160
|
-
* <p>IoT TwinMaker is a service that enables you to build operational digital twins of
|
|
155
|
+
* <p>IoT TwinMaker is a service that enables you to build operational digital twins of
|
|
161
156
|
* physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
|
|
162
157
|
* cameras, and enterprise applications so you can create data visualizations to monitor your
|
|
163
158
|
* physical factory, building, or industrial plant. You can use this real-world data to
|
|
@@ -8,11 +8,6 @@ export interface CreateComponentTypeCommandOutput extends CreateComponentTypeRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a component type.</p>
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>
|
|
13
|
-
* TwinMaker is in public preview and is subject to change.
|
|
14
|
-
* </p>
|
|
15
|
-
* </important>
|
|
16
11
|
* @example
|
|
17
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
13
|
* ```javascript
|
|
@@ -138,7 +138,7 @@ export interface DataConnector {
|
|
|
138
138
|
*/
|
|
139
139
|
lambda?: LambdaFunction;
|
|
140
140
|
/**
|
|
141
|
-
* <p>A Boolean value that specifies whether the data connector is native to TwinMaker.</p>
|
|
141
|
+
* <p>A Boolean value that specifies whether the data connector is native to IoT TwinMaker.</p>
|
|
142
142
|
*/
|
|
143
143
|
isNative?: boolean;
|
|
144
144
|
}
|
|
@@ -243,6 +243,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
243
243
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
244
244
|
}
|
|
245
245
|
export declare enum PropertyUpdateType {
|
|
246
|
+
CREATE = "CREATE",
|
|
246
247
|
DELETE = "DELETE",
|
|
247
248
|
UPDATE = "UPDATE"
|
|
248
249
|
}
|
|
@@ -887,7 +888,7 @@ export declare namespace ListComponentTypesResponse {
|
|
|
887
888
|
/**
|
|
888
889
|
* <p>An object that filters items in a list of entities.</p>
|
|
889
890
|
*/
|
|
890
|
-
export declare type ListEntitiesFilter = ListEntitiesFilter.ComponentTypeIdMember | ListEntitiesFilter.ParentEntityIdMember | ListEntitiesFilter.$UnknownMember;
|
|
891
|
+
export declare type ListEntitiesFilter = ListEntitiesFilter.ComponentTypeIdMember | ListEntitiesFilter.ExternalIdMember | ListEntitiesFilter.ParentEntityIdMember | ListEntitiesFilter.$UnknownMember;
|
|
891
892
|
export declare namespace ListEntitiesFilter {
|
|
892
893
|
/**
|
|
893
894
|
* <p>The parent of the entities in the list.</p>
|
|
@@ -895,6 +896,7 @@ export declare namespace ListEntitiesFilter {
|
|
|
895
896
|
interface ParentEntityIdMember {
|
|
896
897
|
parentEntityId: string;
|
|
897
898
|
componentTypeId?: never;
|
|
899
|
+
externalId?: never;
|
|
898
900
|
$unknown?: never;
|
|
899
901
|
}
|
|
900
902
|
/**
|
|
@@ -903,16 +905,28 @@ export declare namespace ListEntitiesFilter {
|
|
|
903
905
|
interface ComponentTypeIdMember {
|
|
904
906
|
parentEntityId?: never;
|
|
905
907
|
componentTypeId: string;
|
|
908
|
+
externalId?: never;
|
|
909
|
+
$unknown?: never;
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* <p>The external-Id property of a component. The external-Id property is the primary key of an external storage system.</p>
|
|
913
|
+
*/
|
|
914
|
+
interface ExternalIdMember {
|
|
915
|
+
parentEntityId?: never;
|
|
916
|
+
componentTypeId?: never;
|
|
917
|
+
externalId: string;
|
|
906
918
|
$unknown?: never;
|
|
907
919
|
}
|
|
908
920
|
interface $UnknownMember {
|
|
909
921
|
parentEntityId?: never;
|
|
910
922
|
componentTypeId?: never;
|
|
923
|
+
externalId?: never;
|
|
911
924
|
$unknown: [string, any];
|
|
912
925
|
}
|
|
913
926
|
interface Visitor<T> {
|
|
914
927
|
parentEntityId: (value: string) => T;
|
|
915
928
|
componentTypeId: (value: string) => T;
|
|
929
|
+
externalId: (value: string) => T;
|
|
916
930
|
_: (name: string, value: any) => T;
|
|
917
931
|
}
|
|
918
932
|
const visit: <T>(value: ListEntitiesFilter, visitor: Visitor<T>) => T;
|
|
@@ -1477,13 +1491,19 @@ export declare namespace PropertyLatestValue {
|
|
|
1477
1491
|
*/
|
|
1478
1492
|
export interface PropertyValue {
|
|
1479
1493
|
/**
|
|
1494
|
+
* @deprecated
|
|
1495
|
+
*
|
|
1480
1496
|
* <p>The timestamp of a value for a time series property.</p>
|
|
1481
1497
|
*/
|
|
1482
|
-
timestamp
|
|
1498
|
+
timestamp?: Date;
|
|
1483
1499
|
/**
|
|
1484
1500
|
* <p>An object that specifies a value for a time series property.</p>
|
|
1485
1501
|
*/
|
|
1486
1502
|
value: DataValue | undefined;
|
|
1503
|
+
/**
|
|
1504
|
+
* Timestamp represented in ISO 8601 format
|
|
1505
|
+
*/
|
|
1506
|
+
time?: string;
|
|
1487
1507
|
}
|
|
1488
1508
|
export declare namespace PropertyValue {
|
|
1489
1509
|
/**
|
|
@@ -1548,13 +1568,17 @@ export interface GetPropertyValueHistoryRequest {
|
|
|
1548
1568
|
*/
|
|
1549
1569
|
propertyFilters?: PropertyFilter[];
|
|
1550
1570
|
/**
|
|
1571
|
+
* @deprecated
|
|
1572
|
+
*
|
|
1551
1573
|
* <p>The date and time of the earliest property value to return.</p>
|
|
1552
1574
|
*/
|
|
1553
|
-
startDateTime
|
|
1575
|
+
startDateTime?: Date;
|
|
1554
1576
|
/**
|
|
1577
|
+
* @deprecated
|
|
1578
|
+
*
|
|
1555
1579
|
* <p>The date and time of the latest property value to return.</p>
|
|
1556
1580
|
*/
|
|
1557
|
-
endDateTime
|
|
1581
|
+
endDateTime?: Date;
|
|
1558
1582
|
/**
|
|
1559
1583
|
* <p>An object that specifies the interpolation type and the interval over which to interpolate data.</p>
|
|
1560
1584
|
*/
|
|
@@ -1571,6 +1595,14 @@ export interface GetPropertyValueHistoryRequest {
|
|
|
1571
1595
|
* <p>The time direction to use in the result order.</p>
|
|
1572
1596
|
*/
|
|
1573
1597
|
orderByTime?: OrderByTime | string;
|
|
1598
|
+
/**
|
|
1599
|
+
* Timestamp represented in ISO 8601 format
|
|
1600
|
+
*/
|
|
1601
|
+
startTime?: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Timestamp represented in ISO 8601 format
|
|
1604
|
+
*/
|
|
1605
|
+
endTime?: string;
|
|
1574
1606
|
}
|
|
1575
1607
|
export declare namespace GetPropertyValueHistoryRequest {
|
|
1576
1608
|
/**
|
|
@@ -155,6 +155,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
155
155
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
156
156
|
}
|
|
157
157
|
export declare enum PropertyUpdateType {
|
|
158
|
+
CREATE = "CREATE",
|
|
158
159
|
DELETE = "DELETE",
|
|
159
160
|
UPDATE = "UPDATE"
|
|
160
161
|
}
|
|
@@ -558,23 +559,33 @@ export declare namespace ListComponentTypesResponse {
|
|
|
558
559
|
const filterSensitiveLog: (obj: ListComponentTypesResponse) => any;
|
|
559
560
|
}
|
|
560
561
|
|
|
561
|
-
export declare type ListEntitiesFilter = ListEntitiesFilter.ComponentTypeIdMember | ListEntitiesFilter.ParentEntityIdMember | ListEntitiesFilter.$UnknownMember;
|
|
562
|
+
export declare type ListEntitiesFilter = ListEntitiesFilter.ComponentTypeIdMember | ListEntitiesFilter.ExternalIdMember | ListEntitiesFilter.ParentEntityIdMember | ListEntitiesFilter.$UnknownMember;
|
|
562
563
|
export declare namespace ListEntitiesFilter {
|
|
563
564
|
|
|
564
565
|
interface ParentEntityIdMember {
|
|
565
566
|
parentEntityId: string;
|
|
566
567
|
componentTypeId?: never;
|
|
568
|
+
externalId?: never;
|
|
567
569
|
$unknown?: never;
|
|
568
570
|
}
|
|
569
571
|
|
|
570
572
|
interface ComponentTypeIdMember {
|
|
571
573
|
parentEntityId?: never;
|
|
572
574
|
componentTypeId: string;
|
|
575
|
+
externalId?: never;
|
|
576
|
+
$unknown?: never;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
interface ExternalIdMember {
|
|
580
|
+
parentEntityId?: never;
|
|
581
|
+
componentTypeId?: never;
|
|
582
|
+
externalId: string;
|
|
573
583
|
$unknown?: never;
|
|
574
584
|
}
|
|
575
585
|
interface $UnknownMember {
|
|
576
586
|
parentEntityId?: never;
|
|
577
587
|
componentTypeId?: never;
|
|
588
|
+
externalId?: never;
|
|
578
589
|
$unknown: [
|
|
579
590
|
string,
|
|
580
591
|
any
|
|
@@ -583,6 +594,7 @@ export declare namespace ListEntitiesFilter {
|
|
|
583
594
|
interface Visitor<T> {
|
|
584
595
|
parentEntityId: (value: string) => T;
|
|
585
596
|
componentTypeId: (value: string) => T;
|
|
597
|
+
externalId: (value: string) => T;
|
|
586
598
|
_: (name: string, value: any) => T;
|
|
587
599
|
}
|
|
588
600
|
const visit: <T>(value: ListEntitiesFilter, visitor: Visitor<T>) => T;
|
|
@@ -923,9 +935,11 @@ export declare namespace PropertyLatestValue {
|
|
|
923
935
|
|
|
924
936
|
export interface PropertyValue {
|
|
925
937
|
|
|
926
|
-
timestamp
|
|
938
|
+
timestamp?: Date;
|
|
927
939
|
|
|
928
940
|
value: DataValue | undefined;
|
|
941
|
+
|
|
942
|
+
time?: string;
|
|
929
943
|
}
|
|
930
944
|
export declare namespace PropertyValue {
|
|
931
945
|
|
|
@@ -962,9 +976,9 @@ export interface GetPropertyValueHistoryRequest {
|
|
|
962
976
|
|
|
963
977
|
propertyFilters?: PropertyFilter[];
|
|
964
978
|
|
|
965
|
-
startDateTime
|
|
979
|
+
startDateTime?: Date;
|
|
966
980
|
|
|
967
|
-
endDateTime
|
|
981
|
+
endDateTime?: Date;
|
|
968
982
|
|
|
969
983
|
interpolation?: InterpolationParameters;
|
|
970
984
|
|
|
@@ -973,6 +987,10 @@ export interface GetPropertyValueHistoryRequest {
|
|
|
973
987
|
maxResults?: number;
|
|
974
988
|
|
|
975
989
|
orderByTime?: OrderByTime | string;
|
|
990
|
+
|
|
991
|
+
startTime?: string;
|
|
992
|
+
|
|
993
|
+
endTime?: string;
|
|
976
994
|
}
|
|
977
995
|
export declare namespace GetPropertyValueHistoryRequest {
|
|
978
996
|
|
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.74.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.74.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.74.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.74.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
38
|
+
"@aws-sdk/smithy-client": "3.72.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
41
|
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.72.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.72.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|