@aws-sdk/client-iotsitewise 3.201.0 → 3.202.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 +11 -0
- package/dist-cjs/IoTSiteWise.js +30 -0
- package/dist-cjs/commands/ListAssetModelPropertiesCommand.js +46 -0
- package/dist-cjs/commands/ListAssetPropertiesCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +40 -6
- package/dist-cjs/pagination/ListAssetModelPropertiesPaginator.js +36 -0
- package/dist-cjs/pagination/ListAssetPropertiesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +211 -3
- package/dist-es/IoTSiteWise.js +30 -0
- package/dist-es/commands/ListAssetModelPropertiesCommand.js +42 -0
- package/dist-es/commands/ListAssetPropertiesCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListAssetModelPropertiesPaginator.js +32 -0
- package/dist-es/pagination/ListAssetPropertiesPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +204 -0
- package/dist-types/IoTSiteWise.d.ts +35 -21
- package/dist-types/IoTSiteWiseClient.d.ts +4 -2
- package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +2 -2
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateBulkImportJobCommand.d.ts +4 -6
- package/dist-types/commands/CreatePortalCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +2 -3
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +39 -0
- package/dist-types/commands/ListAssetPropertiesCommand.d.ts +39 -0
- package/dist-types/commands/ListBulkImportJobsCommand.d.ts +2 -3
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +285 -72
- package/dist-types/pagination/ListAssetModelPropertiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAssetPropertiesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/IoTSiteWise.d.ts +34 -0
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListAssetModelPropertiesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAssetPropertiesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -0
- package/dist-types/ts3.4/pagination/ListAssetModelPropertiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssetPropertiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +4 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListAssetModelPropertiesCommandInput, ListAssetModelPropertiesCommandOutput } from "../commands/ListAssetModelPropertiesCommand";
|
|
3
|
+
import { IoTSiteWisePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListAssetModelProperties(config: IoTSiteWisePaginationConfiguration, input: ListAssetModelPropertiesCommandInput, ...additionalArguments: any): Paginator<ListAssetModelPropertiesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListAssetPropertiesCommandInput, ListAssetPropertiesCommandOutput } from "../commands/ListAssetPropertiesCommand";
|
|
3
|
+
import { IoTSiteWisePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListAssetProperties(config: IoTSiteWisePaginationConfiguration, input: ListAssetPropertiesCommandInput, ...additionalArguments: any): Paginator<ListAssetPropertiesCommandOutput>;
|
|
@@ -6,7 +6,9 @@ export * from "./GetAssetPropertyValueHistoryPaginator";
|
|
|
6
6
|
export * from "./GetInterpolatedAssetPropertyValuesPaginator";
|
|
7
7
|
export * from "./Interfaces";
|
|
8
8
|
export * from "./ListAccessPoliciesPaginator";
|
|
9
|
+
export * from "./ListAssetModelPropertiesPaginator";
|
|
9
10
|
export * from "./ListAssetModelsPaginator";
|
|
11
|
+
export * from "./ListAssetPropertiesPaginator";
|
|
10
12
|
export * from "./ListAssetRelationshipsPaginator";
|
|
11
13
|
export * from "./ListAssetsPaginator";
|
|
12
14
|
export * from "./ListAssociatedAssetsPaginator";
|
|
@@ -45,7 +45,9 @@ import { GetAssetPropertyValueCommandInput, GetAssetPropertyValueCommandOutput }
|
|
|
45
45
|
import { GetAssetPropertyValueHistoryCommandInput, GetAssetPropertyValueHistoryCommandOutput } from "../commands/GetAssetPropertyValueHistoryCommand";
|
|
46
46
|
import { GetInterpolatedAssetPropertyValuesCommandInput, GetInterpolatedAssetPropertyValuesCommandOutput } from "../commands/GetInterpolatedAssetPropertyValuesCommand";
|
|
47
47
|
import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "../commands/ListAccessPoliciesCommand";
|
|
48
|
+
import { ListAssetModelPropertiesCommandInput, ListAssetModelPropertiesCommandOutput } from "../commands/ListAssetModelPropertiesCommand";
|
|
48
49
|
import { ListAssetModelsCommandInput, ListAssetModelsCommandOutput } from "../commands/ListAssetModelsCommand";
|
|
50
|
+
import { ListAssetPropertiesCommandInput, ListAssetPropertiesCommandOutput } from "../commands/ListAssetPropertiesCommand";
|
|
49
51
|
import { ListAssetRelationshipsCommandInput, ListAssetRelationshipsCommandOutput } from "../commands/ListAssetRelationshipsCommand";
|
|
50
52
|
import { ListAssetsCommandInput, ListAssetsCommandOutput } from "../commands/ListAssetsCommand";
|
|
51
53
|
import { ListAssociatedAssetsCommandInput, ListAssociatedAssetsCommandOutput } from "../commands/ListAssociatedAssetsCommand";
|
|
@@ -116,7 +118,9 @@ export declare const serializeAws_restJson1GetAssetPropertyValueCommand: (input:
|
|
|
116
118
|
export declare const serializeAws_restJson1GetAssetPropertyValueHistoryCommand: (input: GetAssetPropertyValueHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
117
119
|
export declare const serializeAws_restJson1GetInterpolatedAssetPropertyValuesCommand: (input: GetInterpolatedAssetPropertyValuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
118
120
|
export declare const serializeAws_restJson1ListAccessPoliciesCommand: (input: ListAccessPoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
121
|
+
export declare const serializeAws_restJson1ListAssetModelPropertiesCommand: (input: ListAssetModelPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
119
122
|
export declare const serializeAws_restJson1ListAssetModelsCommand: (input: ListAssetModelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
123
|
+
export declare const serializeAws_restJson1ListAssetPropertiesCommand: (input: ListAssetPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
120
124
|
export declare const serializeAws_restJson1ListAssetRelationshipsCommand: (input: ListAssetRelationshipsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
121
125
|
export declare const serializeAws_restJson1ListAssetsCommand: (input: ListAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
122
126
|
export declare const serializeAws_restJson1ListAssociatedAssetsCommand: (input: ListAssociatedAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -187,7 +191,9 @@ export declare const deserializeAws_restJson1GetAssetPropertyValueCommand: (outp
|
|
|
187
191
|
export declare const deserializeAws_restJson1GetAssetPropertyValueHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAssetPropertyValueHistoryCommandOutput>;
|
|
188
192
|
export declare const deserializeAws_restJson1GetInterpolatedAssetPropertyValuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInterpolatedAssetPropertyValuesCommandOutput>;
|
|
189
193
|
export declare const deserializeAws_restJson1ListAccessPoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccessPoliciesCommandOutput>;
|
|
194
|
+
export declare const deserializeAws_restJson1ListAssetModelPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetModelPropertiesCommandOutput>;
|
|
190
195
|
export declare const deserializeAws_restJson1ListAssetModelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetModelsCommandOutput>;
|
|
196
|
+
export declare const deserializeAws_restJson1ListAssetPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetPropertiesCommandOutput>;
|
|
191
197
|
export declare const deserializeAws_restJson1ListAssetRelationshipsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetRelationshipsCommandOutput>;
|
|
192
198
|
export declare const deserializeAws_restJson1ListAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssetsCommandOutput>;
|
|
193
199
|
export declare const deserializeAws_restJson1ListAssociatedAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAssociatedAssetsCommandOutput>;
|
|
@@ -179,10 +179,18 @@ import {
|
|
|
179
179
|
ListAccessPoliciesCommandInput,
|
|
180
180
|
ListAccessPoliciesCommandOutput,
|
|
181
181
|
} from "./commands/ListAccessPoliciesCommand";
|
|
182
|
+
import {
|
|
183
|
+
ListAssetModelPropertiesCommandInput,
|
|
184
|
+
ListAssetModelPropertiesCommandOutput,
|
|
185
|
+
} from "./commands/ListAssetModelPropertiesCommand";
|
|
182
186
|
import {
|
|
183
187
|
ListAssetModelsCommandInput,
|
|
184
188
|
ListAssetModelsCommandOutput,
|
|
185
189
|
} from "./commands/ListAssetModelsCommand";
|
|
190
|
+
import {
|
|
191
|
+
ListAssetPropertiesCommandInput,
|
|
192
|
+
ListAssetPropertiesCommandOutput,
|
|
193
|
+
} from "./commands/ListAssetPropertiesCommand";
|
|
186
194
|
import {
|
|
187
195
|
ListAssetRelationshipsCommandInput,
|
|
188
196
|
ListAssetRelationshipsCommandOutput,
|
|
@@ -906,6 +914,19 @@ export declare class IoTSiteWise extends IoTSiteWiseClient {
|
|
|
906
914
|
options: __HttpHandlerOptions,
|
|
907
915
|
cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void
|
|
908
916
|
): void;
|
|
917
|
+
listAssetModelProperties(
|
|
918
|
+
args: ListAssetModelPropertiesCommandInput,
|
|
919
|
+
options?: __HttpHandlerOptions
|
|
920
|
+
): Promise<ListAssetModelPropertiesCommandOutput>;
|
|
921
|
+
listAssetModelProperties(
|
|
922
|
+
args: ListAssetModelPropertiesCommandInput,
|
|
923
|
+
cb: (err: any, data?: ListAssetModelPropertiesCommandOutput) => void
|
|
924
|
+
): void;
|
|
925
|
+
listAssetModelProperties(
|
|
926
|
+
args: ListAssetModelPropertiesCommandInput,
|
|
927
|
+
options: __HttpHandlerOptions,
|
|
928
|
+
cb: (err: any, data?: ListAssetModelPropertiesCommandOutput) => void
|
|
929
|
+
): void;
|
|
909
930
|
listAssetModels(
|
|
910
931
|
args: ListAssetModelsCommandInput,
|
|
911
932
|
options?: __HttpHandlerOptions
|
|
@@ -919,6 +940,19 @@ export declare class IoTSiteWise extends IoTSiteWiseClient {
|
|
|
919
940
|
options: __HttpHandlerOptions,
|
|
920
941
|
cb: (err: any, data?: ListAssetModelsCommandOutput) => void
|
|
921
942
|
): void;
|
|
943
|
+
listAssetProperties(
|
|
944
|
+
args: ListAssetPropertiesCommandInput,
|
|
945
|
+
options?: __HttpHandlerOptions
|
|
946
|
+
): Promise<ListAssetPropertiesCommandOutput>;
|
|
947
|
+
listAssetProperties(
|
|
948
|
+
args: ListAssetPropertiesCommandInput,
|
|
949
|
+
cb: (err: any, data?: ListAssetPropertiesCommandOutput) => void
|
|
950
|
+
): void;
|
|
951
|
+
listAssetProperties(
|
|
952
|
+
args: ListAssetPropertiesCommandInput,
|
|
953
|
+
options: __HttpHandlerOptions,
|
|
954
|
+
cb: (err: any, data?: ListAssetPropertiesCommandOutput) => void
|
|
955
|
+
): void;
|
|
922
956
|
listAssetRelationships(
|
|
923
957
|
args: ListAssetRelationshipsCommandInput,
|
|
924
958
|
options?: __HttpHandlerOptions
|
|
@@ -223,10 +223,18 @@ import {
|
|
|
223
223
|
ListAccessPoliciesCommandInput,
|
|
224
224
|
ListAccessPoliciesCommandOutput,
|
|
225
225
|
} from "./commands/ListAccessPoliciesCommand";
|
|
226
|
+
import {
|
|
227
|
+
ListAssetModelPropertiesCommandInput,
|
|
228
|
+
ListAssetModelPropertiesCommandOutput,
|
|
229
|
+
} from "./commands/ListAssetModelPropertiesCommand";
|
|
226
230
|
import {
|
|
227
231
|
ListAssetModelsCommandInput,
|
|
228
232
|
ListAssetModelsCommandOutput,
|
|
229
233
|
} from "./commands/ListAssetModelsCommand";
|
|
234
|
+
import {
|
|
235
|
+
ListAssetPropertiesCommandInput,
|
|
236
|
+
ListAssetPropertiesCommandOutput,
|
|
237
|
+
} from "./commands/ListAssetPropertiesCommand";
|
|
230
238
|
import {
|
|
231
239
|
ListAssetRelationshipsCommandInput,
|
|
232
240
|
ListAssetRelationshipsCommandOutput,
|
|
@@ -378,7 +386,9 @@ export declare type ServiceInputTypes =
|
|
|
378
386
|
| GetAssetPropertyValueHistoryCommandInput
|
|
379
387
|
| GetInterpolatedAssetPropertyValuesCommandInput
|
|
380
388
|
| ListAccessPoliciesCommandInput
|
|
389
|
+
| ListAssetModelPropertiesCommandInput
|
|
381
390
|
| ListAssetModelsCommandInput
|
|
391
|
+
| ListAssetPropertiesCommandInput
|
|
382
392
|
| ListAssetRelationshipsCommandInput
|
|
383
393
|
| ListAssetsCommandInput
|
|
384
394
|
| ListAssociatedAssetsCommandInput
|
|
@@ -450,7 +460,9 @@ export declare type ServiceOutputTypes =
|
|
|
450
460
|
| GetAssetPropertyValueHistoryCommandOutput
|
|
451
461
|
| GetInterpolatedAssetPropertyValuesCommandOutput
|
|
452
462
|
| ListAccessPoliciesCommandOutput
|
|
463
|
+
| ListAssetModelPropertiesCommandOutput
|
|
453
464
|
| ListAssetModelsCommandOutput
|
|
465
|
+
| ListAssetPropertiesCommandOutput
|
|
454
466
|
| ListAssetRelationshipsCommandOutput
|
|
455
467
|
| ListAssetsCommandOutput
|
|
456
468
|
| ListAssociatedAssetsCommandOutput
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IoTSiteWiseClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IoTSiteWiseClient";
|
|
14
|
+
import {
|
|
15
|
+
ListAssetModelPropertiesRequest,
|
|
16
|
+
ListAssetModelPropertiesResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListAssetModelPropertiesCommandInput
|
|
19
|
+
extends ListAssetModelPropertiesRequest {}
|
|
20
|
+
export interface ListAssetModelPropertiesCommandOutput
|
|
21
|
+
extends ListAssetModelPropertiesResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListAssetModelPropertiesCommand extends $Command<
|
|
24
|
+
ListAssetModelPropertiesCommandInput,
|
|
25
|
+
ListAssetModelPropertiesCommandOutput,
|
|
26
|
+
IoTSiteWiseClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListAssetModelPropertiesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListAssetModelPropertiesCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: IoTSiteWiseClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListAssetModelPropertiesCommandInput,
|
|
37
|
+
ListAssetModelPropertiesCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
IoTSiteWiseClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IoTSiteWiseClient";
|
|
14
|
+
import {
|
|
15
|
+
ListAssetPropertiesRequest,
|
|
16
|
+
ListAssetPropertiesResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListAssetPropertiesCommandInput
|
|
19
|
+
extends ListAssetPropertiesRequest {}
|
|
20
|
+
export interface ListAssetPropertiesCommandOutput
|
|
21
|
+
extends ListAssetPropertiesResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListAssetPropertiesCommand extends $Command<
|
|
24
|
+
ListAssetPropertiesCommandInput,
|
|
25
|
+
ListAssetPropertiesCommandOutput,
|
|
26
|
+
IoTSiteWiseClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListAssetPropertiesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListAssetPropertiesCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: IoTSiteWiseClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<ListAssetPropertiesCommandInput, ListAssetPropertiesCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -43,7 +43,9 @@ export * from "./GetAssetPropertyValueCommand";
|
|
|
43
43
|
export * from "./GetAssetPropertyValueHistoryCommand";
|
|
44
44
|
export * from "./GetInterpolatedAssetPropertyValuesCommand";
|
|
45
45
|
export * from "./ListAccessPoliciesCommand";
|
|
46
|
+
export * from "./ListAssetModelPropertiesCommand";
|
|
46
47
|
export * from "./ListAssetModelsCommand";
|
|
48
|
+
export * from "./ListAssetPropertiesCommand";
|
|
47
49
|
export * from "./ListAssetRelationshipsCommand";
|
|
48
50
|
export * from "./ListAssetsCommand";
|
|
49
51
|
export * from "./ListAssociatedAssetsCommand";
|
|
@@ -99,6 +99,7 @@ export interface AssetCompositeModel {
|
|
|
99
99
|
description?: string;
|
|
100
100
|
type: string | undefined;
|
|
101
101
|
properties: AssetProperty[] | undefined;
|
|
102
|
+
id?: string;
|
|
102
103
|
}
|
|
103
104
|
export declare enum AssetErrorCode {
|
|
104
105
|
INTERNAL_FAILURE = "INTERNAL_FAILURE",
|
|
@@ -188,6 +189,7 @@ export interface AssetModelCompositeModel {
|
|
|
188
189
|
description?: string;
|
|
189
190
|
type: string | undefined;
|
|
190
191
|
properties?: AssetModelProperty[];
|
|
192
|
+
id?: string;
|
|
191
193
|
}
|
|
192
194
|
export interface AssetModelPropertyDefinition {
|
|
193
195
|
name: string | undefined;
|
|
@@ -211,6 +213,15 @@ export interface AssetModelHierarchyDefinition {
|
|
|
211
213
|
name: string | undefined;
|
|
212
214
|
childAssetModelId: string | undefined;
|
|
213
215
|
}
|
|
216
|
+
export interface AssetModelPropertySummary {
|
|
217
|
+
id?: string;
|
|
218
|
+
name: string | undefined;
|
|
219
|
+
dataType: PropertyDataType | string | undefined;
|
|
220
|
+
dataTypeSpec?: string;
|
|
221
|
+
unit?: string;
|
|
222
|
+
type: PropertyType | undefined;
|
|
223
|
+
assetModelCompositeModelId?: string;
|
|
224
|
+
}
|
|
214
225
|
export declare enum AssetModelState {
|
|
215
226
|
ACTIVE = "ACTIVE",
|
|
216
227
|
CREATING = "CREATING",
|
|
@@ -249,6 +260,13 @@ export interface AssetModelSummary {
|
|
|
249
260
|
lastUpdateDate: Date | undefined;
|
|
250
261
|
status: AssetModelStatus | undefined;
|
|
251
262
|
}
|
|
263
|
+
export interface AssetPropertySummary {
|
|
264
|
+
id?: string;
|
|
265
|
+
alias?: string;
|
|
266
|
+
unit?: string;
|
|
267
|
+
notification?: PropertyNotification;
|
|
268
|
+
assetCompositeModelId?: string;
|
|
269
|
+
}
|
|
252
270
|
export interface TimeInNanos {
|
|
253
271
|
timeInSeconds: number | undefined;
|
|
254
272
|
offsetInNanos?: number;
|
|
@@ -798,6 +816,7 @@ export interface DescribeAccessPolicyResponse {
|
|
|
798
816
|
}
|
|
799
817
|
export interface DescribeAssetRequest {
|
|
800
818
|
assetId: string | undefined;
|
|
819
|
+
excludeProperties?: boolean;
|
|
801
820
|
}
|
|
802
821
|
export interface DescribeAssetResponse {
|
|
803
822
|
assetId: string | undefined;
|
|
@@ -814,6 +833,7 @@ export interface DescribeAssetResponse {
|
|
|
814
833
|
}
|
|
815
834
|
export interface DescribeAssetModelRequest {
|
|
816
835
|
assetModelId: string | undefined;
|
|
836
|
+
excludeProperties?: boolean;
|
|
817
837
|
}
|
|
818
838
|
export interface DescribeAssetModelResponse {
|
|
819
839
|
assetModelId: string | undefined;
|
|
@@ -844,6 +864,7 @@ export interface CompositeModelProperty {
|
|
|
844
864
|
name: string | undefined;
|
|
845
865
|
type: string | undefined;
|
|
846
866
|
assetProperty: Property | undefined;
|
|
867
|
+
id?: string;
|
|
847
868
|
}
|
|
848
869
|
export interface DescribeAssetPropertyResponse {
|
|
849
870
|
assetId: string | undefined;
|
|
@@ -1122,6 +1143,20 @@ export interface ListAccessPoliciesResponse {
|
|
|
1122
1143
|
accessPolicySummaries: AccessPolicySummary[] | undefined;
|
|
1123
1144
|
nextToken?: string;
|
|
1124
1145
|
}
|
|
1146
|
+
export declare enum ListAssetModelPropertiesFilter {
|
|
1147
|
+
ALL = "ALL",
|
|
1148
|
+
BASE = "BASE",
|
|
1149
|
+
}
|
|
1150
|
+
export interface ListAssetModelPropertiesRequest {
|
|
1151
|
+
assetModelId: string | undefined;
|
|
1152
|
+
nextToken?: string;
|
|
1153
|
+
maxResults?: number;
|
|
1154
|
+
filter?: ListAssetModelPropertiesFilter | string;
|
|
1155
|
+
}
|
|
1156
|
+
export interface ListAssetModelPropertiesResponse {
|
|
1157
|
+
assetModelPropertySummaries: AssetModelPropertySummary[] | undefined;
|
|
1158
|
+
nextToken?: string;
|
|
1159
|
+
}
|
|
1125
1160
|
export interface ListAssetModelsRequest {
|
|
1126
1161
|
nextToken?: string;
|
|
1127
1162
|
maxResults?: number;
|
|
@@ -1130,6 +1165,20 @@ export interface ListAssetModelsResponse {
|
|
|
1130
1165
|
assetModelSummaries: AssetModelSummary[] | undefined;
|
|
1131
1166
|
nextToken?: string;
|
|
1132
1167
|
}
|
|
1168
|
+
export declare enum ListAssetPropertiesFilter {
|
|
1169
|
+
ALL = "ALL",
|
|
1170
|
+
BASE = "BASE",
|
|
1171
|
+
}
|
|
1172
|
+
export interface ListAssetPropertiesRequest {
|
|
1173
|
+
assetId: string | undefined;
|
|
1174
|
+
nextToken?: string;
|
|
1175
|
+
maxResults?: number;
|
|
1176
|
+
filter?: ListAssetPropertiesFilter | string;
|
|
1177
|
+
}
|
|
1178
|
+
export interface ListAssetPropertiesResponse {
|
|
1179
|
+
assetPropertySummaries: AssetPropertySummary[] | undefined;
|
|
1180
|
+
nextToken?: string;
|
|
1181
|
+
}
|
|
1133
1182
|
export declare enum TraversalType {
|
|
1134
1183
|
PATH_TO_ROOT = "PATH_TO_ROOT",
|
|
1135
1184
|
}
|
|
@@ -1524,6 +1573,9 @@ export declare const AssetModelHierarchyFilterSensitiveLog: (
|
|
|
1524
1573
|
export declare const AssetModelHierarchyDefinitionFilterSensitiveLog: (
|
|
1525
1574
|
obj: AssetModelHierarchyDefinition
|
|
1526
1575
|
) => any;
|
|
1576
|
+
export declare const AssetModelPropertySummaryFilterSensitiveLog: (
|
|
1577
|
+
obj: AssetModelPropertySummary
|
|
1578
|
+
) => any;
|
|
1527
1579
|
export declare const DetailedErrorFilterSensitiveLog: (
|
|
1528
1580
|
obj: DetailedError
|
|
1529
1581
|
) => any;
|
|
@@ -1534,6 +1586,9 @@ export declare const AssetModelStatusFilterSensitiveLog: (
|
|
|
1534
1586
|
export declare const AssetModelSummaryFilterSensitiveLog: (
|
|
1535
1587
|
obj: AssetModelSummary
|
|
1536
1588
|
) => any;
|
|
1589
|
+
export declare const AssetPropertySummaryFilterSensitiveLog: (
|
|
1590
|
+
obj: AssetPropertySummary
|
|
1591
|
+
) => any;
|
|
1537
1592
|
export declare const TimeInNanosFilterSensitiveLog: (obj: TimeInNanos) => any;
|
|
1538
1593
|
export declare const VariantFilterSensitiveLog: (obj: Variant) => any;
|
|
1539
1594
|
export declare const AssetPropertyValueFilterSensitiveLog: (
|
|
@@ -1903,12 +1958,24 @@ export declare const ListAccessPoliciesRequestFilterSensitiveLog: (
|
|
|
1903
1958
|
export declare const ListAccessPoliciesResponseFilterSensitiveLog: (
|
|
1904
1959
|
obj: ListAccessPoliciesResponse
|
|
1905
1960
|
) => any;
|
|
1961
|
+
export declare const ListAssetModelPropertiesRequestFilterSensitiveLog: (
|
|
1962
|
+
obj: ListAssetModelPropertiesRequest
|
|
1963
|
+
) => any;
|
|
1964
|
+
export declare const ListAssetModelPropertiesResponseFilterSensitiveLog: (
|
|
1965
|
+
obj: ListAssetModelPropertiesResponse
|
|
1966
|
+
) => any;
|
|
1906
1967
|
export declare const ListAssetModelsRequestFilterSensitiveLog: (
|
|
1907
1968
|
obj: ListAssetModelsRequest
|
|
1908
1969
|
) => any;
|
|
1909
1970
|
export declare const ListAssetModelsResponseFilterSensitiveLog: (
|
|
1910
1971
|
obj: ListAssetModelsResponse
|
|
1911
1972
|
) => any;
|
|
1973
|
+
export declare const ListAssetPropertiesRequestFilterSensitiveLog: (
|
|
1974
|
+
obj: ListAssetPropertiesRequest
|
|
1975
|
+
) => any;
|
|
1976
|
+
export declare const ListAssetPropertiesResponseFilterSensitiveLog: (
|
|
1977
|
+
obj: ListAssetPropertiesResponse
|
|
1978
|
+
) => any;
|
|
1912
1979
|
export declare const ListAssetRelationshipsRequestFilterSensitiveLog: (
|
|
1913
1980
|
obj: ListAssetRelationshipsRequest
|
|
1914
1981
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAssetModelPropertiesCommandInput,
|
|
4
|
+
ListAssetModelPropertiesCommandOutput,
|
|
5
|
+
} from "../commands/ListAssetModelPropertiesCommand";
|
|
6
|
+
import { IoTSiteWisePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAssetModelProperties(
|
|
8
|
+
config: IoTSiteWisePaginationConfiguration,
|
|
9
|
+
input: ListAssetModelPropertiesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAssetModelPropertiesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListAssetPropertiesCommandInput,
|
|
4
|
+
ListAssetPropertiesCommandOutput,
|
|
5
|
+
} from "../commands/ListAssetPropertiesCommand";
|
|
6
|
+
import { IoTSiteWisePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListAssetProperties(
|
|
8
|
+
config: IoTSiteWisePaginationConfiguration,
|
|
9
|
+
input: ListAssetPropertiesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListAssetPropertiesCommandOutput>;
|
|
@@ -6,7 +6,9 @@ export * from "./GetAssetPropertyValueHistoryPaginator";
|
|
|
6
6
|
export * from "./GetInterpolatedAssetPropertyValuesPaginator";
|
|
7
7
|
export * from "./Interfaces";
|
|
8
8
|
export * from "./ListAccessPoliciesPaginator";
|
|
9
|
+
export * from "./ListAssetModelPropertiesPaginator";
|
|
9
10
|
export * from "./ListAssetModelsPaginator";
|
|
11
|
+
export * from "./ListAssetPropertiesPaginator";
|
|
10
12
|
export * from "./ListAssetRelationshipsPaginator";
|
|
11
13
|
export * from "./ListAssetsPaginator";
|
|
12
14
|
export * from "./ListAssociatedAssetsPaginator";
|
|
@@ -183,10 +183,18 @@ import {
|
|
|
183
183
|
ListAccessPoliciesCommandInput,
|
|
184
184
|
ListAccessPoliciesCommandOutput,
|
|
185
185
|
} from "../commands/ListAccessPoliciesCommand";
|
|
186
|
+
import {
|
|
187
|
+
ListAssetModelPropertiesCommandInput,
|
|
188
|
+
ListAssetModelPropertiesCommandOutput,
|
|
189
|
+
} from "../commands/ListAssetModelPropertiesCommand";
|
|
186
190
|
import {
|
|
187
191
|
ListAssetModelsCommandInput,
|
|
188
192
|
ListAssetModelsCommandOutput,
|
|
189
193
|
} from "../commands/ListAssetModelsCommand";
|
|
194
|
+
import {
|
|
195
|
+
ListAssetPropertiesCommandInput,
|
|
196
|
+
ListAssetPropertiesCommandOutput,
|
|
197
|
+
} from "../commands/ListAssetPropertiesCommand";
|
|
190
198
|
import {
|
|
191
199
|
ListAssetRelationshipsCommandInput,
|
|
192
200
|
ListAssetRelationshipsCommandOutput,
|
|
@@ -467,10 +475,18 @@ export declare const serializeAws_restJson1ListAccessPoliciesCommand: (
|
|
|
467
475
|
input: ListAccessPoliciesCommandInput,
|
|
468
476
|
context: __SerdeContext
|
|
469
477
|
) => Promise<__HttpRequest>;
|
|
478
|
+
export declare const serializeAws_restJson1ListAssetModelPropertiesCommand: (
|
|
479
|
+
input: ListAssetModelPropertiesCommandInput,
|
|
480
|
+
context: __SerdeContext
|
|
481
|
+
) => Promise<__HttpRequest>;
|
|
470
482
|
export declare const serializeAws_restJson1ListAssetModelsCommand: (
|
|
471
483
|
input: ListAssetModelsCommandInput,
|
|
472
484
|
context: __SerdeContext
|
|
473
485
|
) => Promise<__HttpRequest>;
|
|
486
|
+
export declare const serializeAws_restJson1ListAssetPropertiesCommand: (
|
|
487
|
+
input: ListAssetPropertiesCommandInput,
|
|
488
|
+
context: __SerdeContext
|
|
489
|
+
) => Promise<__HttpRequest>;
|
|
474
490
|
export declare const serializeAws_restJson1ListAssetRelationshipsCommand: (
|
|
475
491
|
input: ListAssetRelationshipsCommandInput,
|
|
476
492
|
context: __SerdeContext
|
|
@@ -751,10 +767,18 @@ export declare const deserializeAws_restJson1ListAccessPoliciesCommand: (
|
|
|
751
767
|
output: __HttpResponse,
|
|
752
768
|
context: __SerdeContext
|
|
753
769
|
) => Promise<ListAccessPoliciesCommandOutput>;
|
|
770
|
+
export declare const deserializeAws_restJson1ListAssetModelPropertiesCommand: (
|
|
771
|
+
output: __HttpResponse,
|
|
772
|
+
context: __SerdeContext
|
|
773
|
+
) => Promise<ListAssetModelPropertiesCommandOutput>;
|
|
754
774
|
export declare const deserializeAws_restJson1ListAssetModelsCommand: (
|
|
755
775
|
output: __HttpResponse,
|
|
756
776
|
context: __SerdeContext
|
|
757
777
|
) => Promise<ListAssetModelsCommandOutput>;
|
|
778
|
+
export declare const deserializeAws_restJson1ListAssetPropertiesCommand: (
|
|
779
|
+
output: __HttpResponse,
|
|
780
|
+
context: __SerdeContext
|
|
781
|
+
) => Promise<ListAssetPropertiesCommandOutput>;
|
|
758
782
|
export declare const deserializeAws_restJson1ListAssetRelationshipsCommand: (
|
|
759
783
|
output: __HttpResponse,
|
|
760
784
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsitewise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.202.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.202.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.202.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.201.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.202.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|