@aws-sdk/client-iotsitewise 3.692.0 → 3.695.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/README.md +48 -0
- package/dist-cjs/index.js +616 -10
- package/dist-cjs/runtimeConfig.browser.js +2 -0
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/IoTSiteWise.js +12 -0
- package/dist-es/IoTSiteWiseClient.js +6 -4
- package/dist-es/commands/CreateDatasetCommand.js +22 -0
- package/dist-es/commands/CreatePortalCommand.js +2 -1
- package/dist-es/commands/DeleteDatasetCommand.js +22 -0
- package/dist-es/commands/DescribeDatasetCommand.js +22 -0
- package/dist-es/commands/DescribePortalCommand.js +2 -1
- package/dist-es/commands/InvokeAssistantCommand.js +27 -0
- package/dist-es/commands/ListDatasetsCommand.js +22 -0
- package/dist-es/commands/UpdateDatasetCommand.js +22 -0
- package/dist-es/commands/UpdatePortalCommand.js +2 -1
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +83 -25
- package/dist-es/models/models_1.js +31 -0
- package/dist-es/pagination/ListDatasetsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +370 -2
- package/dist-es/runtimeConfig.browser.js +2 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/IoTSiteWise.d.ts +42 -0
- package/dist-types/IoTSiteWiseClient.d.ts +16 -5
- package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +2 -1
- package/dist-types/commands/CreateDatasetCommand.d.ts +130 -0
- package/dist-types/commands/CreatePortalCommand.d.ts +9 -1
- package/dist-types/commands/DeleteAssetModelCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDatasetCommand.d.ts +104 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDatasetCommand.d.ts +116 -0
- package/dist-types/commands/DescribePortalCommand.d.ts +9 -1
- package/dist-types/commands/ExecuteQueryCommand.d.ts +1 -0
- package/dist-types/commands/InvokeAssistantCommand.d.ts +151 -0
- package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +2 -1
- package/dist-types/commands/ListBulkImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListDatasetsCommand.d.ts +109 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/ListPortalsCommand.d.ts +3 -2
- package/dist-types/commands/ListProjectAssetsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssetModelCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDatasetCommand.d.ts +124 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +9 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +711 -560
- package/dist-types/models/models_1.d.ts +713 -3
- package/dist-types/pagination/ListDatasetsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +55 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoTSiteWise.d.ts +102 -0
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/InvokeAssistantCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAssociatedAssetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListBulkImportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectAssetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +280 -139
- package/dist-types/ts3.4/models/models_1.d.ts +184 -1
- package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +76 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +16 -13
package/dist-cjs/index.js
CHANGED
|
@@ -54,14 +54,20 @@ __export(src_exports, {
|
|
|
54
54
|
CreateAssetModelCompositeModelCommand: () => CreateAssetModelCompositeModelCommand,
|
|
55
55
|
CreateBulkImportJobCommand: () => CreateBulkImportJobCommand,
|
|
56
56
|
CreateDashboardCommand: () => CreateDashboardCommand,
|
|
57
|
+
CreateDatasetCommand: () => CreateDatasetCommand,
|
|
57
58
|
CreateGatewayCommand: () => CreateGatewayCommand,
|
|
58
59
|
CreatePortalCommand: () => CreatePortalCommand,
|
|
60
|
+
CreatePortalRequestFilterSensitiveLog: () => CreatePortalRequestFilterSensitiveLog,
|
|
59
61
|
CreateProjectCommand: () => CreateProjectCommand,
|
|
62
|
+
DatasetSourceFormat: () => DatasetSourceFormat,
|
|
63
|
+
DatasetSourceType: () => DatasetSourceType,
|
|
64
|
+
DatasetState: () => DatasetState,
|
|
60
65
|
DeleteAccessPolicyCommand: () => DeleteAccessPolicyCommand,
|
|
61
66
|
DeleteAssetCommand: () => DeleteAssetCommand,
|
|
62
67
|
DeleteAssetModelCommand: () => DeleteAssetModelCommand,
|
|
63
68
|
DeleteAssetModelCompositeModelCommand: () => DeleteAssetModelCompositeModelCommand,
|
|
64
69
|
DeleteDashboardCommand: () => DeleteDashboardCommand,
|
|
70
|
+
DeleteDatasetCommand: () => DeleteDatasetCommand,
|
|
65
71
|
DeleteGatewayCommand: () => DeleteGatewayCommand,
|
|
66
72
|
DeletePortalCommand: () => DeletePortalCommand,
|
|
67
73
|
DeleteProjectCommand: () => DeleteProjectCommand,
|
|
@@ -75,11 +81,13 @@ __export(src_exports, {
|
|
|
75
81
|
DescribeAssetPropertyCommand: () => DescribeAssetPropertyCommand,
|
|
76
82
|
DescribeBulkImportJobCommand: () => DescribeBulkImportJobCommand,
|
|
77
83
|
DescribeDashboardCommand: () => DescribeDashboardCommand,
|
|
84
|
+
DescribeDatasetCommand: () => DescribeDatasetCommand,
|
|
78
85
|
DescribeDefaultEncryptionConfigurationCommand: () => DescribeDefaultEncryptionConfigurationCommand,
|
|
79
86
|
DescribeGatewayCapabilityConfigurationCommand: () => DescribeGatewayCapabilityConfigurationCommand,
|
|
80
87
|
DescribeGatewayCommand: () => DescribeGatewayCommand,
|
|
81
88
|
DescribeLoggingOptionsCommand: () => DescribeLoggingOptionsCommand,
|
|
82
89
|
DescribePortalCommand: () => DescribePortalCommand,
|
|
90
|
+
DescribePortalResponseFilterSensitiveLog: () => DescribePortalResponseFilterSensitiveLog,
|
|
83
91
|
DescribeProjectCommand: () => DescribeProjectCommand,
|
|
84
92
|
DescribeStorageConfigurationCommand: () => DescribeStorageConfigurationCommand,
|
|
85
93
|
DescribeTimeSeriesCommand: () => DescribeTimeSeriesCommand,
|
|
@@ -100,6 +108,9 @@ __export(src_exports, {
|
|
|
100
108
|
ImageFileType: () => ImageFileType,
|
|
101
109
|
InternalFailureException: () => InternalFailureException,
|
|
102
110
|
InvalidRequestException: () => InvalidRequestException,
|
|
111
|
+
InvokeAssistantCommand: () => InvokeAssistantCommand,
|
|
112
|
+
InvokeAssistantRequestFilterSensitiveLog: () => InvokeAssistantRequestFilterSensitiveLog,
|
|
113
|
+
InvokeAssistantResponseFilterSensitiveLog: () => InvokeAssistantResponseFilterSensitiveLog,
|
|
103
114
|
IoTSiteWise: () => IoTSiteWise,
|
|
104
115
|
IoTSiteWiseClient: () => IoTSiteWiseClient,
|
|
105
116
|
IoTSiteWiseServiceException: () => IoTSiteWiseServiceException,
|
|
@@ -121,6 +132,7 @@ __export(src_exports, {
|
|
|
121
132
|
ListBulkImportJobsFilter: () => ListBulkImportJobsFilter,
|
|
122
133
|
ListCompositionRelationshipsCommand: () => ListCompositionRelationshipsCommand,
|
|
123
134
|
ListDashboardsCommand: () => ListDashboardsCommand,
|
|
135
|
+
ListDatasetsCommand: () => ListDatasetsCommand,
|
|
124
136
|
ListGatewaysCommand: () => ListGatewaysCommand,
|
|
125
137
|
ListPortalsCommand: () => ListPortalsCommand,
|
|
126
138
|
ListProjectAssetsCommand: () => ListProjectAssetsCommand,
|
|
@@ -132,6 +144,7 @@ __export(src_exports, {
|
|
|
132
144
|
MonitorErrorCode: () => MonitorErrorCode,
|
|
133
145
|
Permission: () => Permission,
|
|
134
146
|
PortalState: () => PortalState,
|
|
147
|
+
PortalType: () => PortalType,
|
|
135
148
|
PreconditionFailedException: () => PreconditionFailedException,
|
|
136
149
|
PropertyDataType: () => PropertyDataType,
|
|
137
150
|
PropertyNotificationState: () => PropertyNotificationState,
|
|
@@ -143,6 +156,8 @@ __export(src_exports, {
|
|
|
143
156
|
ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
|
|
144
157
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
145
158
|
ResourceType: () => ResourceType,
|
|
159
|
+
ResponseStream: () => ResponseStream,
|
|
160
|
+
ResponseStreamFilterSensitiveLog: () => ResponseStreamFilterSensitiveLog,
|
|
146
161
|
ScalarType: () => ScalarType,
|
|
147
162
|
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
148
163
|
StorageType: () => StorageType,
|
|
@@ -161,9 +176,11 @@ __export(src_exports, {
|
|
|
161
176
|
UpdateAssetModelCompositeModelCommand: () => UpdateAssetModelCompositeModelCommand,
|
|
162
177
|
UpdateAssetPropertyCommand: () => UpdateAssetPropertyCommand,
|
|
163
178
|
UpdateDashboardCommand: () => UpdateDashboardCommand,
|
|
179
|
+
UpdateDatasetCommand: () => UpdateDatasetCommand,
|
|
164
180
|
UpdateGatewayCapabilityConfigurationCommand: () => UpdateGatewayCapabilityConfigurationCommand,
|
|
165
181
|
UpdateGatewayCommand: () => UpdateGatewayCommand,
|
|
166
182
|
UpdatePortalCommand: () => UpdatePortalCommand,
|
|
183
|
+
UpdatePortalRequestFilterSensitiveLog: () => UpdatePortalRequestFilterSensitiveLog,
|
|
167
184
|
UpdateProjectCommand: () => UpdateProjectCommand,
|
|
168
185
|
ValidationException: () => ValidationException,
|
|
169
186
|
WarmTierState: () => WarmTierState,
|
|
@@ -186,6 +203,7 @@ __export(src_exports, {
|
|
|
186
203
|
paginateListBulkImportJobs: () => paginateListBulkImportJobs,
|
|
187
204
|
paginateListCompositionRelationships: () => paginateListCompositionRelationships,
|
|
188
205
|
paginateListDashboards: () => paginateListDashboards,
|
|
206
|
+
paginateListDatasets: () => paginateListDatasets,
|
|
189
207
|
paginateListGateways: () => paginateListGateways,
|
|
190
208
|
paginateListPortals: () => paginateListPortals,
|
|
191
209
|
paginateListProjectAssets: () => paginateListProjectAssets,
|
|
@@ -213,6 +231,7 @@ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursi
|
|
|
213
231
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
214
232
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
215
233
|
var import_core = require("@smithy/core");
|
|
234
|
+
var import_eventstream_serde_config_resolver = require("@smithy/eventstream-serde-config-resolver");
|
|
216
235
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
217
236
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
218
237
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
@@ -311,10 +330,11 @@ var _IoTSiteWiseClient = class _IoTSiteWiseClient extends import_smithy_client.C
|
|
|
311
330
|
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
312
331
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
313
332
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
314
|
-
const _config_7 = (0,
|
|
315
|
-
const _config_8 =
|
|
316
|
-
|
|
317
|
-
|
|
333
|
+
const _config_7 = (0, import_eventstream_serde_config_resolver.resolveEventStreamSerdeConfig)(_config_6);
|
|
334
|
+
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
335
|
+
const _config_9 = resolveRuntimeExtensions(_config_8, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
336
|
+
super(_config_9);
|
|
337
|
+
this.config = _config_9;
|
|
318
338
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
319
339
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
320
340
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
@@ -373,6 +393,7 @@ __name(_IoTSiteWiseServiceException, "IoTSiteWiseServiceException");
|
|
|
373
393
|
var IoTSiteWiseServiceException = _IoTSiteWiseServiceException;
|
|
374
394
|
|
|
375
395
|
// src/models/models_0.ts
|
|
396
|
+
|
|
376
397
|
var _AccessDeniedException = class _AccessDeniedException extends IoTSiteWiseServiceException {
|
|
377
398
|
/**
|
|
378
399
|
* @internal
|
|
@@ -678,9 +699,26 @@ var JobStatus = {
|
|
|
678
699
|
PENDING: "PENDING",
|
|
679
700
|
RUNNING: "RUNNING"
|
|
680
701
|
};
|
|
702
|
+
var DatasetSourceFormat = {
|
|
703
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE"
|
|
704
|
+
};
|
|
705
|
+
var DatasetSourceType = {
|
|
706
|
+
KENDRA: "KENDRA"
|
|
707
|
+
};
|
|
708
|
+
var DatasetState = {
|
|
709
|
+
ACTIVE: "ACTIVE",
|
|
710
|
+
CREATING: "CREATING",
|
|
711
|
+
DELETING: "DELETING",
|
|
712
|
+
FAILED: "FAILED",
|
|
713
|
+
UPDATING: "UPDATING"
|
|
714
|
+
};
|
|
681
715
|
var ImageFileType = {
|
|
682
716
|
PNG: "PNG"
|
|
683
717
|
};
|
|
718
|
+
var PortalType = {
|
|
719
|
+
SITEWISE_PORTAL_V1: "SITEWISE_PORTAL_V1",
|
|
720
|
+
SITEWISE_PORTAL_V2: "SITEWISE_PORTAL_V2"
|
|
721
|
+
};
|
|
684
722
|
var MonitorErrorCode = {
|
|
685
723
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
686
724
|
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
@@ -691,6 +729,7 @@ var PortalState = {
|
|
|
691
729
|
CREATING: "CREATING",
|
|
692
730
|
DELETING: "DELETING",
|
|
693
731
|
FAILED: "FAILED",
|
|
732
|
+
PENDING: "PENDING",
|
|
694
733
|
UPDATING: "UPDATING"
|
|
695
734
|
};
|
|
696
735
|
var ConfigurationState = {
|
|
@@ -767,6 +806,30 @@ var _ValidationException = class _ValidationException extends IoTSiteWiseService
|
|
|
767
806
|
};
|
|
768
807
|
__name(_ValidationException, "ValidationException");
|
|
769
808
|
var ValidationException = _ValidationException;
|
|
809
|
+
var ResponseStream;
|
|
810
|
+
((ResponseStream3) => {
|
|
811
|
+
ResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
812
|
+
if (value.trace !== void 0)
|
|
813
|
+
return visitor.trace(value.trace);
|
|
814
|
+
if (value.output !== void 0)
|
|
815
|
+
return visitor.output(value.output);
|
|
816
|
+
if (value.accessDeniedException !== void 0)
|
|
817
|
+
return visitor.accessDeniedException(value.accessDeniedException);
|
|
818
|
+
if (value.conflictingOperationException !== void 0)
|
|
819
|
+
return visitor.conflictingOperationException(value.conflictingOperationException);
|
|
820
|
+
if (value.internalFailureException !== void 0)
|
|
821
|
+
return visitor.internalFailureException(value.internalFailureException);
|
|
822
|
+
if (value.invalidRequestException !== void 0)
|
|
823
|
+
return visitor.invalidRequestException(value.invalidRequestException);
|
|
824
|
+
if (value.limitExceededException !== void 0)
|
|
825
|
+
return visitor.limitExceededException(value.limitExceededException);
|
|
826
|
+
if (value.resourceNotFoundException !== void 0)
|
|
827
|
+
return visitor.resourceNotFoundException(value.resourceNotFoundException);
|
|
828
|
+
if (value.throttlingException !== void 0)
|
|
829
|
+
return visitor.throttlingException(value.throttlingException);
|
|
830
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
831
|
+
}, "visit");
|
|
832
|
+
})(ResponseStream || (ResponseStream = {}));
|
|
770
833
|
var IdentityType = {
|
|
771
834
|
GROUP: "GROUP",
|
|
772
835
|
IAM: "IAM",
|
|
@@ -798,6 +861,49 @@ var TraversalDirection = {
|
|
|
798
861
|
CHILD: "CHILD",
|
|
799
862
|
PARENT: "PARENT"
|
|
800
863
|
};
|
|
864
|
+
var CreatePortalRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
865
|
+
...obj,
|
|
866
|
+
...obj.portalContactEmail && { portalContactEmail: import_smithy_client.SENSITIVE_STRING },
|
|
867
|
+
...obj.notificationSenderEmail && { notificationSenderEmail: import_smithy_client.SENSITIVE_STRING }
|
|
868
|
+
}), "CreatePortalRequestFilterSensitiveLog");
|
|
869
|
+
var DescribePortalResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
870
|
+
...obj,
|
|
871
|
+
...obj.portalContactEmail && { portalContactEmail: import_smithy_client.SENSITIVE_STRING },
|
|
872
|
+
...obj.notificationSenderEmail && { notificationSenderEmail: import_smithy_client.SENSITIVE_STRING }
|
|
873
|
+
}), "DescribePortalResponseFilterSensitiveLog");
|
|
874
|
+
var InvokeAssistantRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
875
|
+
...obj,
|
|
876
|
+
...obj.message && { message: import_smithy_client.SENSITIVE_STRING }
|
|
877
|
+
}), "InvokeAssistantRequestFilterSensitiveLog");
|
|
878
|
+
var ResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
879
|
+
if (obj.trace !== void 0)
|
|
880
|
+
return { trace: obj.trace };
|
|
881
|
+
if (obj.output !== void 0)
|
|
882
|
+
return { output: obj.output };
|
|
883
|
+
if (obj.accessDeniedException !== void 0)
|
|
884
|
+
return { accessDeniedException: obj.accessDeniedException };
|
|
885
|
+
if (obj.conflictingOperationException !== void 0)
|
|
886
|
+
return { conflictingOperationException: obj.conflictingOperationException };
|
|
887
|
+
if (obj.internalFailureException !== void 0)
|
|
888
|
+
return { internalFailureException: obj.internalFailureException };
|
|
889
|
+
if (obj.invalidRequestException !== void 0)
|
|
890
|
+
return { invalidRequestException: obj.invalidRequestException };
|
|
891
|
+
if (obj.limitExceededException !== void 0)
|
|
892
|
+
return { limitExceededException: obj.limitExceededException };
|
|
893
|
+
if (obj.resourceNotFoundException !== void 0)
|
|
894
|
+
return { resourceNotFoundException: obj.resourceNotFoundException };
|
|
895
|
+
if (obj.throttlingException !== void 0)
|
|
896
|
+
return { throttlingException: obj.throttlingException };
|
|
897
|
+
if (obj.$unknown !== void 0)
|
|
898
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
899
|
+
}, "ResponseStreamFilterSensitiveLog");
|
|
900
|
+
var InvokeAssistantResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
901
|
+
...obj,
|
|
902
|
+
...obj.body && { body: "STREAMING_CONTENT" }
|
|
903
|
+
}), "InvokeAssistantResponseFilterSensitiveLog");
|
|
904
|
+
|
|
905
|
+
// src/models/models_1.ts
|
|
906
|
+
|
|
801
907
|
var ListBulkImportJobsFilter = {
|
|
802
908
|
ALL: "ALL",
|
|
803
909
|
CANCELLED: "CANCELLED",
|
|
@@ -828,8 +934,6 @@ var ListTimeSeriesType = {
|
|
|
828
934
|
ASSOCIATED: "ASSOCIATED",
|
|
829
935
|
DISASSOCIATED: "DISASSOCIATED"
|
|
830
936
|
};
|
|
831
|
-
|
|
832
|
-
// src/models/models_1.ts
|
|
833
937
|
var _TooManyTagsException = class _TooManyTagsException extends IoTSiteWiseServiceException {
|
|
834
938
|
/**
|
|
835
939
|
* @internal
|
|
@@ -848,6 +952,11 @@ var _TooManyTagsException = class _TooManyTagsException extends IoTSiteWiseServi
|
|
|
848
952
|
};
|
|
849
953
|
__name(_TooManyTagsException, "TooManyTagsException");
|
|
850
954
|
var TooManyTagsException = _TooManyTagsException;
|
|
955
|
+
var UpdatePortalRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
956
|
+
...obj,
|
|
957
|
+
...obj.portalContactEmail && { portalContactEmail: import_smithy_client.SENSITIVE_STRING },
|
|
958
|
+
...obj.notificationSenderEmail && { notificationSenderEmail: import_smithy_client.SENSITIVE_STRING }
|
|
959
|
+
}), "UpdatePortalRequestFilterSensitiveLog");
|
|
851
960
|
|
|
852
961
|
// src/protocols/Aws_restJson1.ts
|
|
853
962
|
var se_AssociateAssetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1231,6 +1340,34 @@ var se_CreateDashboardCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1231
1340
|
b.m("POST").h(headers).b(body);
|
|
1232
1341
|
return b.build();
|
|
1233
1342
|
}, "se_CreateDashboardCommand");
|
|
1343
|
+
var se_CreateDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1344
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1345
|
+
const headers = {
|
|
1346
|
+
"content-type": "application/json"
|
|
1347
|
+
};
|
|
1348
|
+
b.bp("/datasets");
|
|
1349
|
+
let body;
|
|
1350
|
+
body = JSON.stringify(
|
|
1351
|
+
(0, import_smithy_client.take)(input, {
|
|
1352
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1353
|
+
datasetDescription: [],
|
|
1354
|
+
datasetId: [],
|
|
1355
|
+
datasetName: [],
|
|
1356
|
+
datasetSource: (_) => (0, import_smithy_client._json)(_),
|
|
1357
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1358
|
+
})
|
|
1359
|
+
);
|
|
1360
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1361
|
+
if (context.disableHostPrefix !== true) {
|
|
1362
|
+
resolvedHostname = "api." + resolvedHostname;
|
|
1363
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1364
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
b.hn(resolvedHostname);
|
|
1368
|
+
b.m("POST").h(headers).b(body);
|
|
1369
|
+
return b.build();
|
|
1370
|
+
}, "se_CreateDatasetCommand");
|
|
1234
1371
|
var se_CreateGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1235
1372
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1236
1373
|
const headers = {
|
|
@@ -1273,6 +1410,8 @@ var se_CreatePortalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1273
1410
|
portalDescription: [],
|
|
1274
1411
|
portalLogoImageFile: (_) => se_ImageFile(_, context),
|
|
1275
1412
|
portalName: [],
|
|
1413
|
+
portalType: [],
|
|
1414
|
+
portalTypeConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
1276
1415
|
roleArn: [],
|
|
1277
1416
|
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1278
1417
|
})
|
|
@@ -1424,6 +1563,26 @@ var se_DeleteDashboardCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1424
1563
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1425
1564
|
return b.build();
|
|
1426
1565
|
}, "se_DeleteDashboardCommand");
|
|
1566
|
+
var se_DeleteDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1567
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1568
|
+
const headers = {};
|
|
1569
|
+
b.bp("/datasets/{datasetId}");
|
|
1570
|
+
b.p("datasetId", () => input.datasetId, "{datasetId}", false);
|
|
1571
|
+
const query = (0, import_smithy_client.map)({
|
|
1572
|
+
[_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
|
|
1573
|
+
});
|
|
1574
|
+
let body;
|
|
1575
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1576
|
+
if (context.disableHostPrefix !== true) {
|
|
1577
|
+
resolvedHostname = "api." + resolvedHostname;
|
|
1578
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1579
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
b.hn(resolvedHostname);
|
|
1583
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
1584
|
+
return b.build();
|
|
1585
|
+
}, "se_DeleteDatasetCommand");
|
|
1427
1586
|
var se_DeleteGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1428
1587
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1429
1588
|
const headers = {};
|
|
@@ -1675,6 +1834,23 @@ var se_DescribeDashboardCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1675
1834
|
b.m("GET").h(headers).b(body);
|
|
1676
1835
|
return b.build();
|
|
1677
1836
|
}, "se_DescribeDashboardCommand");
|
|
1837
|
+
var se_DescribeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1838
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1839
|
+
const headers = {};
|
|
1840
|
+
b.bp("/datasets/{datasetId}");
|
|
1841
|
+
b.p("datasetId", () => input.datasetId, "{datasetId}", false);
|
|
1842
|
+
let body;
|
|
1843
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1844
|
+
if (context.disableHostPrefix !== true) {
|
|
1845
|
+
resolvedHostname = "api." + resolvedHostname;
|
|
1846
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1847
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
b.hn(resolvedHostname);
|
|
1851
|
+
b.m("GET").h(headers).b(body);
|
|
1852
|
+
return b.build();
|
|
1853
|
+
}, "se_DescribeDatasetCommand");
|
|
1678
1854
|
var se_DescribeDefaultEncryptionConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1679
1855
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1680
1856
|
const headers = {};
|
|
@@ -1902,6 +2078,7 @@ var se_ExecuteQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1902
2078
|
let body;
|
|
1903
2079
|
body = JSON.stringify(
|
|
1904
2080
|
(0, import_smithy_client.take)(input, {
|
|
2081
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1905
2082
|
maxResults: [],
|
|
1906
2083
|
nextToken: [],
|
|
1907
2084
|
queryStatement: []
|
|
@@ -2026,6 +2203,31 @@ var se_GetInterpolatedAssetPropertyValuesCommand = /* @__PURE__ */ __name(async
|
|
|
2026
2203
|
b.m("GET").h(headers).q(query).b(body);
|
|
2027
2204
|
return b.build();
|
|
2028
2205
|
}, "se_GetInterpolatedAssetPropertyValuesCommand");
|
|
2206
|
+
var se_InvokeAssistantCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2207
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2208
|
+
const headers = {
|
|
2209
|
+
"content-type": "application/json"
|
|
2210
|
+
};
|
|
2211
|
+
b.bp("/assistant/invocation");
|
|
2212
|
+
let body;
|
|
2213
|
+
body = JSON.stringify(
|
|
2214
|
+
(0, import_smithy_client.take)(input, {
|
|
2215
|
+
conversationId: [],
|
|
2216
|
+
enableTrace: [],
|
|
2217
|
+
message: []
|
|
2218
|
+
})
|
|
2219
|
+
);
|
|
2220
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2221
|
+
if (context.disableHostPrefix !== true) {
|
|
2222
|
+
resolvedHostname = "data." + resolvedHostname;
|
|
2223
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
2224
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
b.hn(resolvedHostname);
|
|
2228
|
+
b.m("POST").h(headers).b(body);
|
|
2229
|
+
return b.build();
|
|
2230
|
+
}, "se_InvokeAssistantCommand");
|
|
2029
2231
|
var se_ListAccessPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2030
2232
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2031
2233
|
const headers = {};
|
|
@@ -2292,6 +2494,27 @@ var se_ListDashboardsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2292
2494
|
b.m("GET").h(headers).q(query).b(body);
|
|
2293
2495
|
return b.build();
|
|
2294
2496
|
}, "se_ListDashboardsCommand");
|
|
2497
|
+
var se_ListDatasetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2498
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2499
|
+
const headers = {};
|
|
2500
|
+
b.bp("/datasets");
|
|
2501
|
+
const query = (0, import_smithy_client.map)({
|
|
2502
|
+
[_sT]: [, (0, import_smithy_client.expectNonNull)(input[_sT], `sourceType`)],
|
|
2503
|
+
[_nT]: [, input[_nT]],
|
|
2504
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
2505
|
+
});
|
|
2506
|
+
let body;
|
|
2507
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2508
|
+
if (context.disableHostPrefix !== true) {
|
|
2509
|
+
resolvedHostname = "api." + resolvedHostname;
|
|
2510
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
2511
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
b.hn(resolvedHostname);
|
|
2515
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2516
|
+
return b.build();
|
|
2517
|
+
}, "se_ListDatasetsCommand");
|
|
2295
2518
|
var se_ListGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2296
2519
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2297
2520
|
const headers = {};
|
|
@@ -2711,6 +2934,33 @@ var se_UpdateDashboardCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2711
2934
|
b.m("PUT").h(headers).b(body);
|
|
2712
2935
|
return b.build();
|
|
2713
2936
|
}, "se_UpdateDashboardCommand");
|
|
2937
|
+
var se_UpdateDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2938
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2939
|
+
const headers = {
|
|
2940
|
+
"content-type": "application/json"
|
|
2941
|
+
};
|
|
2942
|
+
b.bp("/datasets/{datasetId}");
|
|
2943
|
+
b.p("datasetId", () => input.datasetId, "{datasetId}", false);
|
|
2944
|
+
let body;
|
|
2945
|
+
body = JSON.stringify(
|
|
2946
|
+
(0, import_smithy_client.take)(input, {
|
|
2947
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2948
|
+
datasetDescription: [],
|
|
2949
|
+
datasetName: [],
|
|
2950
|
+
datasetSource: (_) => (0, import_smithy_client._json)(_)
|
|
2951
|
+
})
|
|
2952
|
+
);
|
|
2953
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2954
|
+
if (context.disableHostPrefix !== true) {
|
|
2955
|
+
resolvedHostname = "api." + resolvedHostname;
|
|
2956
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
2957
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
b.hn(resolvedHostname);
|
|
2961
|
+
b.m("PUT").h(headers).b(body);
|
|
2962
|
+
return b.build();
|
|
2963
|
+
}, "se_UpdateDatasetCommand");
|
|
2714
2964
|
var se_UpdateGatewayCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2715
2965
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2716
2966
|
const headers = {
|
|
@@ -2777,6 +3027,8 @@ var se_UpdatePortalCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
2777
3027
|
portalDescription: [],
|
|
2778
3028
|
portalLogoImage: (_) => se_Image(_, context),
|
|
2779
3029
|
portalName: [],
|
|
3030
|
+
portalType: [],
|
|
3031
|
+
portalTypeConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
2780
3032
|
roleArn: []
|
|
2781
3033
|
})
|
|
2782
3034
|
);
|
|
@@ -3024,6 +3276,22 @@ var de_CreateDashboardCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3024
3276
|
Object.assign(contents, doc);
|
|
3025
3277
|
return contents;
|
|
3026
3278
|
}, "de_CreateDashboardCommand");
|
|
3279
|
+
var de_CreateDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3280
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3281
|
+
return de_CommandError(output, context);
|
|
3282
|
+
}
|
|
3283
|
+
const contents = (0, import_smithy_client.map)({
|
|
3284
|
+
$metadata: deserializeMetadata(output)
|
|
3285
|
+
});
|
|
3286
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3287
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3288
|
+
datasetArn: import_smithy_client.expectString,
|
|
3289
|
+
datasetId: import_smithy_client.expectString,
|
|
3290
|
+
datasetStatus: import_smithy_client._json
|
|
3291
|
+
});
|
|
3292
|
+
Object.assign(contents, doc);
|
|
3293
|
+
return contents;
|
|
3294
|
+
}, "de_CreateDatasetCommand");
|
|
3027
3295
|
var de_CreateGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3028
3296
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3029
3297
|
return de_CommandError(output, context);
|
|
@@ -3134,6 +3402,20 @@ var de_DeleteDashboardCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
3134
3402
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3135
3403
|
return contents;
|
|
3136
3404
|
}, "de_DeleteDashboardCommand");
|
|
3405
|
+
var de_DeleteDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3406
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
3407
|
+
return de_CommandError(output, context);
|
|
3408
|
+
}
|
|
3409
|
+
const contents = (0, import_smithy_client.map)({
|
|
3410
|
+
$metadata: deserializeMetadata(output)
|
|
3411
|
+
});
|
|
3412
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3413
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3414
|
+
datasetStatus: import_smithy_client._json
|
|
3415
|
+
});
|
|
3416
|
+
Object.assign(contents, doc);
|
|
3417
|
+
return contents;
|
|
3418
|
+
}, "de_DeleteDatasetCommand");
|
|
3137
3419
|
var de_DeleteGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3138
3420
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3139
3421
|
return de_CommandError(output, context);
|
|
@@ -3381,6 +3663,28 @@ var de_DescribeDashboardCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
3381
3663
|
Object.assign(contents, doc);
|
|
3382
3664
|
return contents;
|
|
3383
3665
|
}, "de_DescribeDashboardCommand");
|
|
3666
|
+
var de_DescribeDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3667
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3668
|
+
return de_CommandError(output, context);
|
|
3669
|
+
}
|
|
3670
|
+
const contents = (0, import_smithy_client.map)({
|
|
3671
|
+
$metadata: deserializeMetadata(output)
|
|
3672
|
+
});
|
|
3673
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3674
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3675
|
+
datasetArn: import_smithy_client.expectString,
|
|
3676
|
+
datasetCreationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3677
|
+
datasetDescription: import_smithy_client.expectString,
|
|
3678
|
+
datasetId: import_smithy_client.expectString,
|
|
3679
|
+
datasetLastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3680
|
+
datasetName: import_smithy_client.expectString,
|
|
3681
|
+
datasetSource: import_smithy_client._json,
|
|
3682
|
+
datasetStatus: import_smithy_client._json,
|
|
3683
|
+
datasetVersion: import_smithy_client.expectString
|
|
3684
|
+
});
|
|
3685
|
+
Object.assign(contents, doc);
|
|
3686
|
+
return contents;
|
|
3687
|
+
}, "de_DescribeDatasetCommand");
|
|
3384
3688
|
var de_DescribeDefaultEncryptionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3385
3689
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3386
3690
|
return de_CommandError(output, context);
|
|
@@ -3471,6 +3775,8 @@ var de_DescribePortalCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3471
3775
|
portalName: import_smithy_client.expectString,
|
|
3472
3776
|
portalStartUrl: import_smithy_client.expectString,
|
|
3473
3777
|
portalStatus: import_smithy_client._json,
|
|
3778
|
+
portalType: import_smithy_client.expectString,
|
|
3779
|
+
portalTypeConfiguration: import_smithy_client._json,
|
|
3474
3780
|
roleArn: import_smithy_client.expectString
|
|
3475
3781
|
});
|
|
3476
3782
|
Object.assign(contents, doc);
|
|
@@ -3648,6 +3954,18 @@ var de_GetInterpolatedAssetPropertyValuesCommand = /* @__PURE__ */ __name(async
|
|
|
3648
3954
|
Object.assign(contents, doc);
|
|
3649
3955
|
return contents;
|
|
3650
3956
|
}, "de_GetInterpolatedAssetPropertyValuesCommand");
|
|
3957
|
+
var de_InvokeAssistantCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3958
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3959
|
+
return de_CommandError(output, context);
|
|
3960
|
+
}
|
|
3961
|
+
const contents = (0, import_smithy_client.map)({
|
|
3962
|
+
$metadata: deserializeMetadata(output),
|
|
3963
|
+
[_cI]: [, output.headers[_xaiaci]]
|
|
3964
|
+
});
|
|
3965
|
+
const data = output.body;
|
|
3966
|
+
contents.body = de_ResponseStream(data, context);
|
|
3967
|
+
return contents;
|
|
3968
|
+
}, "de_InvokeAssistantCommand");
|
|
3651
3969
|
var de_ListAccessPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3652
3970
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3653
3971
|
return de_CommandError(output, context);
|
|
@@ -3828,6 +4146,21 @@ var de_ListDashboardsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
3828
4146
|
Object.assign(contents, doc);
|
|
3829
4147
|
return contents;
|
|
3830
4148
|
}, "de_ListDashboardsCommand");
|
|
4149
|
+
var de_ListDatasetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4150
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4151
|
+
return de_CommandError(output, context);
|
|
4152
|
+
}
|
|
4153
|
+
const contents = (0, import_smithy_client.map)({
|
|
4154
|
+
$metadata: deserializeMetadata(output)
|
|
4155
|
+
});
|
|
4156
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
4157
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4158
|
+
datasetSummaries: (_) => de_DatasetSummaries(_, context),
|
|
4159
|
+
nextToken: import_smithy_client.expectString
|
|
4160
|
+
});
|
|
4161
|
+
Object.assign(contents, doc);
|
|
4162
|
+
return contents;
|
|
4163
|
+
}, "de_ListDatasetsCommand");
|
|
3831
4164
|
var de_ListGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3832
4165
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3833
4166
|
return de_CommandError(output, context);
|
|
@@ -4056,6 +4389,22 @@ var de_UpdateDashboardCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
4056
4389
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4057
4390
|
return contents;
|
|
4058
4391
|
}, "de_UpdateDashboardCommand");
|
|
4392
|
+
var de_UpdateDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4393
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
4394
|
+
return de_CommandError(output, context);
|
|
4395
|
+
}
|
|
4396
|
+
const contents = (0, import_smithy_client.map)({
|
|
4397
|
+
$metadata: deserializeMetadata(output)
|
|
4398
|
+
});
|
|
4399
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
4400
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4401
|
+
datasetArn: import_smithy_client.expectString,
|
|
4402
|
+
datasetId: import_smithy_client.expectString,
|
|
4403
|
+
datasetStatus: import_smithy_client._json
|
|
4404
|
+
});
|
|
4405
|
+
Object.assign(contents, doc);
|
|
4406
|
+
return contents;
|
|
4407
|
+
}, "de_UpdateDatasetCommand");
|
|
4059
4408
|
var de_UpdateGatewayCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4060
4409
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4061
4410
|
return de_CommandError(output, context);
|
|
@@ -4353,6 +4702,123 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
4353
4702
|
});
|
|
4354
4703
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4355
4704
|
}, "de_ValidationExceptionRes");
|
|
4705
|
+
var de_ResponseStream = /* @__PURE__ */ __name((output, context) => {
|
|
4706
|
+
return context.eventStreamMarshaller.deserialize(output, async (event) => {
|
|
4707
|
+
if (event["trace"] != null) {
|
|
4708
|
+
return {
|
|
4709
|
+
trace: await de_Trace_event(event["trace"], context)
|
|
4710
|
+
};
|
|
4711
|
+
}
|
|
4712
|
+
if (event["output"] != null) {
|
|
4713
|
+
return {
|
|
4714
|
+
output: await de_InvocationOutput_event(event["output"], context)
|
|
4715
|
+
};
|
|
4716
|
+
}
|
|
4717
|
+
if (event["accessDeniedException"] != null) {
|
|
4718
|
+
return {
|
|
4719
|
+
accessDeniedException: await de_AccessDeniedException_event(event["accessDeniedException"], context)
|
|
4720
|
+
};
|
|
4721
|
+
}
|
|
4722
|
+
if (event["conflictingOperationException"] != null) {
|
|
4723
|
+
return {
|
|
4724
|
+
conflictingOperationException: await de_ConflictingOperationException_event(
|
|
4725
|
+
event["conflictingOperationException"],
|
|
4726
|
+
context
|
|
4727
|
+
)
|
|
4728
|
+
};
|
|
4729
|
+
}
|
|
4730
|
+
if (event["internalFailureException"] != null) {
|
|
4731
|
+
return {
|
|
4732
|
+
internalFailureException: await de_InternalFailureException_event(event["internalFailureException"], context)
|
|
4733
|
+
};
|
|
4734
|
+
}
|
|
4735
|
+
if (event["invalidRequestException"] != null) {
|
|
4736
|
+
return {
|
|
4737
|
+
invalidRequestException: await de_InvalidRequestException_event(event["invalidRequestException"], context)
|
|
4738
|
+
};
|
|
4739
|
+
}
|
|
4740
|
+
if (event["limitExceededException"] != null) {
|
|
4741
|
+
return {
|
|
4742
|
+
limitExceededException: await de_LimitExceededException_event(event["limitExceededException"], context)
|
|
4743
|
+
};
|
|
4744
|
+
}
|
|
4745
|
+
if (event["resourceNotFoundException"] != null) {
|
|
4746
|
+
return {
|
|
4747
|
+
resourceNotFoundException: await de_ResourceNotFoundException_event(
|
|
4748
|
+
event["resourceNotFoundException"],
|
|
4749
|
+
context
|
|
4750
|
+
)
|
|
4751
|
+
};
|
|
4752
|
+
}
|
|
4753
|
+
if (event["throttlingException"] != null) {
|
|
4754
|
+
return {
|
|
4755
|
+
throttlingException: await de_ThrottlingException_event(event["throttlingException"], context)
|
|
4756
|
+
};
|
|
4757
|
+
}
|
|
4758
|
+
return { $unknown: output };
|
|
4759
|
+
});
|
|
4760
|
+
}, "de_ResponseStream");
|
|
4761
|
+
var de_AccessDeniedException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4762
|
+
const parsedOutput = {
|
|
4763
|
+
...output,
|
|
4764
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4765
|
+
};
|
|
4766
|
+
return de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4767
|
+
}, "de_AccessDeniedException_event");
|
|
4768
|
+
var de_ConflictingOperationException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4769
|
+
const parsedOutput = {
|
|
4770
|
+
...output,
|
|
4771
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4772
|
+
};
|
|
4773
|
+
return de_ConflictingOperationExceptionRes(parsedOutput, context);
|
|
4774
|
+
}, "de_ConflictingOperationException_event");
|
|
4775
|
+
var de_InternalFailureException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4776
|
+
const parsedOutput = {
|
|
4777
|
+
...output,
|
|
4778
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4779
|
+
};
|
|
4780
|
+
return de_InternalFailureExceptionRes(parsedOutput, context);
|
|
4781
|
+
}, "de_InternalFailureException_event");
|
|
4782
|
+
var de_InvalidRequestException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4783
|
+
const parsedOutput = {
|
|
4784
|
+
...output,
|
|
4785
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4786
|
+
};
|
|
4787
|
+
return de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
4788
|
+
}, "de_InvalidRequestException_event");
|
|
4789
|
+
var de_InvocationOutput_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4790
|
+
const contents = {};
|
|
4791
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
4792
|
+
Object.assign(contents, (0, import_smithy_client._json)(data));
|
|
4793
|
+
return contents;
|
|
4794
|
+
}, "de_InvocationOutput_event");
|
|
4795
|
+
var de_LimitExceededException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4796
|
+
const parsedOutput = {
|
|
4797
|
+
...output,
|
|
4798
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4799
|
+
};
|
|
4800
|
+
return de_LimitExceededExceptionRes(parsedOutput, context);
|
|
4801
|
+
}, "de_LimitExceededException_event");
|
|
4802
|
+
var de_ResourceNotFoundException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4803
|
+
const parsedOutput = {
|
|
4804
|
+
...output,
|
|
4805
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4806
|
+
};
|
|
4807
|
+
return de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4808
|
+
}, "de_ResourceNotFoundException_event");
|
|
4809
|
+
var de_ThrottlingException_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4810
|
+
const parsedOutput = {
|
|
4811
|
+
...output,
|
|
4812
|
+
body: await (0, import_core2.parseJsonBody)(output.body, context)
|
|
4813
|
+
};
|
|
4814
|
+
return de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4815
|
+
}, "de_ThrottlingException_event");
|
|
4816
|
+
var de_Trace_event = /* @__PURE__ */ __name(async (output, context) => {
|
|
4817
|
+
const contents = {};
|
|
4818
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
4819
|
+
Object.assign(contents, (0, import_smithy_client._json)(data));
|
|
4820
|
+
return contents;
|
|
4821
|
+
}, "de_Trace_event");
|
|
4356
4822
|
var se_AssetModelCompositeModelDefinitions = /* @__PURE__ */ __name((input, context) => {
|
|
4357
4823
|
return input.filter((e) => e != null).map((entry) => {
|
|
4358
4824
|
return (0, import_smithy_client._json)(entry);
|
|
@@ -4671,6 +5137,23 @@ var de_DashboardSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
4671
5137
|
name: import_smithy_client.expectString
|
|
4672
5138
|
});
|
|
4673
5139
|
}, "de_DashboardSummary");
|
|
5140
|
+
var de_DatasetSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
5141
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5142
|
+
return de_DatasetSummary(entry, context);
|
|
5143
|
+
});
|
|
5144
|
+
return retVal;
|
|
5145
|
+
}, "de_DatasetSummaries");
|
|
5146
|
+
var de_DatasetSummary = /* @__PURE__ */ __name((output, context) => {
|
|
5147
|
+
return (0, import_smithy_client.take)(output, {
|
|
5148
|
+
arn: import_smithy_client.expectString,
|
|
5149
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
5150
|
+
description: import_smithy_client.expectString,
|
|
5151
|
+
id: import_smithy_client.expectString,
|
|
5152
|
+
lastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
5153
|
+
name: import_smithy_client.expectString,
|
|
5154
|
+
status: import_smithy_client._json
|
|
5155
|
+
});
|
|
5156
|
+
}, "de_DatasetSummary");
|
|
4674
5157
|
var de_Datum = /* @__PURE__ */ __name((output, context) => {
|
|
4675
5158
|
return (0, import_smithy_client.take)(output, {
|
|
4676
5159
|
arrayValue: (_) => de_DatumList(_, context),
|
|
@@ -4726,6 +5209,7 @@ var de_PortalSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
4726
5209
|
id: import_smithy_client.expectString,
|
|
4727
5210
|
lastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
4728
5211
|
name: import_smithy_client.expectString,
|
|
5212
|
+
portalType: import_smithy_client.expectString,
|
|
4729
5213
|
roleArn: import_smithy_client.expectString,
|
|
4730
5214
|
startUrl: import_smithy_client.expectString,
|
|
4731
5215
|
status: import_smithy_client._json
|
|
@@ -4797,6 +5281,7 @@ var _aMT = "assetModelTypes";
|
|
|
4797
5281
|
var _aMV = "assetModelVersion";
|
|
4798
5282
|
var _aP = "aliasPrefix";
|
|
4799
5283
|
var _aT = "aggregateTypes";
|
|
5284
|
+
var _cI = "conversationId";
|
|
4800
5285
|
var _cT = "clientToken";
|
|
4801
5286
|
var _e = "etag";
|
|
4802
5287
|
var _eD = "endDate";
|
|
@@ -4830,6 +5315,7 @@ var _rA = "resourceArn";
|
|
|
4830
5315
|
var _rI = "resourceId";
|
|
4831
5316
|
var _rT = "resourceType";
|
|
4832
5317
|
var _sD = "startDate";
|
|
5318
|
+
var _sT = "sourceType";
|
|
4833
5319
|
var _sTIS = "startTimeInSeconds";
|
|
4834
5320
|
var _sTOIN = "startTimeOffsetInNanos";
|
|
4835
5321
|
var _t = "type";
|
|
@@ -4840,6 +5326,7 @@ var _tRI = "targetResourceId";
|
|
|
4840
5326
|
var _tRT = "targetResourceType";
|
|
4841
5327
|
var _tST = "timeSeriesType";
|
|
4842
5328
|
var _tT = "traversalType";
|
|
5329
|
+
var _xaiaci = "x-amz-iotsitewise-assistant-conversation-id";
|
|
4843
5330
|
|
|
4844
5331
|
// src/commands/AssociateAssetsCommand.ts
|
|
4845
5332
|
var _AssociateAssetsCommand = class _AssociateAssetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
@@ -5034,6 +5521,20 @@ var _CreateDashboardCommand = class _CreateDashboardCommand extends import_smith
|
|
|
5034
5521
|
__name(_CreateDashboardCommand, "CreateDashboardCommand");
|
|
5035
5522
|
var CreateDashboardCommand = _CreateDashboardCommand;
|
|
5036
5523
|
|
|
5524
|
+
// src/commands/CreateDatasetCommand.ts
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
|
|
5528
|
+
var _CreateDatasetCommand = class _CreateDatasetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5529
|
+
return [
|
|
5530
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5531
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5532
|
+
];
|
|
5533
|
+
}).s("AWSIoTSiteWise", "CreateDataset", {}).n("IoTSiteWiseClient", "CreateDatasetCommand").f(void 0, void 0).ser(se_CreateDatasetCommand).de(de_CreateDatasetCommand).build() {
|
|
5534
|
+
};
|
|
5535
|
+
__name(_CreateDatasetCommand, "CreateDatasetCommand");
|
|
5536
|
+
var CreateDatasetCommand = _CreateDatasetCommand;
|
|
5537
|
+
|
|
5037
5538
|
// src/commands/CreateGatewayCommand.ts
|
|
5038
5539
|
|
|
5039
5540
|
|
|
@@ -5057,7 +5558,7 @@ var _CreatePortalCommand = class _CreatePortalCommand extends import_smithy_clie
|
|
|
5057
5558
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5058
5559
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5059
5560
|
];
|
|
5060
|
-
}).s("AWSIoTSiteWise", "CreatePortal", {}).n("IoTSiteWiseClient", "CreatePortalCommand").f(
|
|
5561
|
+
}).s("AWSIoTSiteWise", "CreatePortal", {}).n("IoTSiteWiseClient", "CreatePortalCommand").f(CreatePortalRequestFilterSensitiveLog, void 0).ser(se_CreatePortalCommand).de(de_CreatePortalCommand).build() {
|
|
5061
5562
|
};
|
|
5062
5563
|
__name(_CreatePortalCommand, "CreatePortalCommand");
|
|
5063
5564
|
var CreatePortalCommand = _CreatePortalCommand;
|
|
@@ -5146,6 +5647,20 @@ var _DeleteDashboardCommand = class _DeleteDashboardCommand extends import_smith
|
|
|
5146
5647
|
__name(_DeleteDashboardCommand, "DeleteDashboardCommand");
|
|
5147
5648
|
var DeleteDashboardCommand = _DeleteDashboardCommand;
|
|
5148
5649
|
|
|
5650
|
+
// src/commands/DeleteDatasetCommand.ts
|
|
5651
|
+
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
var _DeleteDatasetCommand = class _DeleteDatasetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5655
|
+
return [
|
|
5656
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5657
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5658
|
+
];
|
|
5659
|
+
}).s("AWSIoTSiteWise", "DeleteDataset", {}).n("IoTSiteWiseClient", "DeleteDatasetCommand").f(void 0, void 0).ser(se_DeleteDatasetCommand).de(de_DeleteDatasetCommand).build() {
|
|
5660
|
+
};
|
|
5661
|
+
__name(_DeleteDatasetCommand, "DeleteDatasetCommand");
|
|
5662
|
+
var DeleteDatasetCommand = _DeleteDatasetCommand;
|
|
5663
|
+
|
|
5149
5664
|
// src/commands/DeleteGatewayCommand.ts
|
|
5150
5665
|
|
|
5151
5666
|
|
|
@@ -5328,6 +5843,20 @@ var _DescribeDashboardCommand = class _DescribeDashboardCommand extends import_s
|
|
|
5328
5843
|
__name(_DescribeDashboardCommand, "DescribeDashboardCommand");
|
|
5329
5844
|
var DescribeDashboardCommand = _DescribeDashboardCommand;
|
|
5330
5845
|
|
|
5846
|
+
// src/commands/DescribeDatasetCommand.ts
|
|
5847
|
+
|
|
5848
|
+
|
|
5849
|
+
|
|
5850
|
+
var _DescribeDatasetCommand = class _DescribeDatasetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5851
|
+
return [
|
|
5852
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5853
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5854
|
+
];
|
|
5855
|
+
}).s("AWSIoTSiteWise", "DescribeDataset", {}).n("IoTSiteWiseClient", "DescribeDatasetCommand").f(void 0, void 0).ser(se_DescribeDatasetCommand).de(de_DescribeDatasetCommand).build() {
|
|
5856
|
+
};
|
|
5857
|
+
__name(_DescribeDatasetCommand, "DescribeDatasetCommand");
|
|
5858
|
+
var DescribeDatasetCommand = _DescribeDatasetCommand;
|
|
5859
|
+
|
|
5331
5860
|
// src/commands/DescribeDefaultEncryptionConfigurationCommand.ts
|
|
5332
5861
|
|
|
5333
5862
|
|
|
@@ -5393,7 +5922,7 @@ var _DescribePortalCommand = class _DescribePortalCommand extends import_smithy_
|
|
|
5393
5922
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5394
5923
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5395
5924
|
];
|
|
5396
|
-
}).s("AWSIoTSiteWise", "DescribePortal", {}).n("IoTSiteWiseClient", "DescribePortalCommand").f(void 0,
|
|
5925
|
+
}).s("AWSIoTSiteWise", "DescribePortal", {}).n("IoTSiteWiseClient", "DescribePortalCommand").f(void 0, DescribePortalResponseFilterSensitiveLog).ser(se_DescribePortalCommand).de(de_DescribePortalCommand).build() {
|
|
5397
5926
|
};
|
|
5398
5927
|
__name(_DescribePortalCommand, "DescribePortalCommand");
|
|
5399
5928
|
var DescribePortalCommand = _DescribePortalCommand;
|
|
@@ -5552,6 +6081,27 @@ var _GetInterpolatedAssetPropertyValuesCommand = class _GetInterpolatedAssetProp
|
|
|
5552
6081
|
__name(_GetInterpolatedAssetPropertyValuesCommand, "GetInterpolatedAssetPropertyValuesCommand");
|
|
5553
6082
|
var GetInterpolatedAssetPropertyValuesCommand = _GetInterpolatedAssetPropertyValuesCommand;
|
|
5554
6083
|
|
|
6084
|
+
// src/commands/InvokeAssistantCommand.ts
|
|
6085
|
+
|
|
6086
|
+
|
|
6087
|
+
|
|
6088
|
+
var _InvokeAssistantCommand = class _InvokeAssistantCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6089
|
+
return [
|
|
6090
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6091
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6092
|
+
];
|
|
6093
|
+
}).s("AWSIoTSiteWise", "InvokeAssistant", {
|
|
6094
|
+
/**
|
|
6095
|
+
* @internal
|
|
6096
|
+
*/
|
|
6097
|
+
eventStream: {
|
|
6098
|
+
output: true
|
|
6099
|
+
}
|
|
6100
|
+
}).n("IoTSiteWiseClient", "InvokeAssistantCommand").f(InvokeAssistantRequestFilterSensitiveLog, InvokeAssistantResponseFilterSensitiveLog).ser(se_InvokeAssistantCommand).de(de_InvokeAssistantCommand).build() {
|
|
6101
|
+
};
|
|
6102
|
+
__name(_InvokeAssistantCommand, "InvokeAssistantCommand");
|
|
6103
|
+
var InvokeAssistantCommand = _InvokeAssistantCommand;
|
|
6104
|
+
|
|
5555
6105
|
// src/commands/ListAccessPoliciesCommand.ts
|
|
5556
6106
|
|
|
5557
6107
|
|
|
@@ -5720,6 +6270,20 @@ var _ListDashboardsCommand = class _ListDashboardsCommand extends import_smithy_
|
|
|
5720
6270
|
__name(_ListDashboardsCommand, "ListDashboardsCommand");
|
|
5721
6271
|
var ListDashboardsCommand = _ListDashboardsCommand;
|
|
5722
6272
|
|
|
6273
|
+
// src/commands/ListDatasetsCommand.ts
|
|
6274
|
+
|
|
6275
|
+
|
|
6276
|
+
|
|
6277
|
+
var _ListDatasetsCommand = class _ListDatasetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6278
|
+
return [
|
|
6279
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6280
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6281
|
+
];
|
|
6282
|
+
}).s("AWSIoTSiteWise", "ListDatasets", {}).n("IoTSiteWiseClient", "ListDatasetsCommand").f(void 0, void 0).ser(se_ListDatasetsCommand).de(de_ListDatasetsCommand).build() {
|
|
6283
|
+
};
|
|
6284
|
+
__name(_ListDatasetsCommand, "ListDatasetsCommand");
|
|
6285
|
+
var ListDatasetsCommand = _ListDatasetsCommand;
|
|
6286
|
+
|
|
5723
6287
|
// src/commands/ListGatewaysCommand.ts
|
|
5724
6288
|
|
|
5725
6289
|
|
|
@@ -5958,6 +6522,20 @@ var _UpdateDashboardCommand = class _UpdateDashboardCommand extends import_smith
|
|
|
5958
6522
|
__name(_UpdateDashboardCommand, "UpdateDashboardCommand");
|
|
5959
6523
|
var UpdateDashboardCommand = _UpdateDashboardCommand;
|
|
5960
6524
|
|
|
6525
|
+
// src/commands/UpdateDatasetCommand.ts
|
|
6526
|
+
|
|
6527
|
+
|
|
6528
|
+
|
|
6529
|
+
var _UpdateDatasetCommand = class _UpdateDatasetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6530
|
+
return [
|
|
6531
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6532
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6533
|
+
];
|
|
6534
|
+
}).s("AWSIoTSiteWise", "UpdateDataset", {}).n("IoTSiteWiseClient", "UpdateDatasetCommand").f(void 0, void 0).ser(se_UpdateDatasetCommand).de(de_UpdateDatasetCommand).build() {
|
|
6535
|
+
};
|
|
6536
|
+
__name(_UpdateDatasetCommand, "UpdateDatasetCommand");
|
|
6537
|
+
var UpdateDatasetCommand = _UpdateDatasetCommand;
|
|
6538
|
+
|
|
5961
6539
|
// src/commands/UpdateGatewayCapabilityConfigurationCommand.ts
|
|
5962
6540
|
|
|
5963
6541
|
|
|
@@ -5995,7 +6573,7 @@ var _UpdatePortalCommand = class _UpdatePortalCommand extends import_smithy_clie
|
|
|
5995
6573
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5996
6574
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5997
6575
|
];
|
|
5998
|
-
}).s("AWSIoTSiteWise", "UpdatePortal", {}).n("IoTSiteWiseClient", "UpdatePortalCommand").f(
|
|
6576
|
+
}).s("AWSIoTSiteWise", "UpdatePortal", {}).n("IoTSiteWiseClient", "UpdatePortalCommand").f(UpdatePortalRequestFilterSensitiveLog, void 0).ser(se_UpdatePortalCommand).de(de_UpdatePortalCommand).build() {
|
|
5999
6577
|
};
|
|
6000
6578
|
__name(_UpdatePortalCommand, "UpdatePortalCommand");
|
|
6001
6579
|
var UpdatePortalCommand = _UpdatePortalCommand;
|
|
@@ -6030,6 +6608,7 @@ var commands = {
|
|
|
6030
6608
|
CreateAssetModelCompositeModelCommand,
|
|
6031
6609
|
CreateBulkImportJobCommand,
|
|
6032
6610
|
CreateDashboardCommand,
|
|
6611
|
+
CreateDatasetCommand,
|
|
6033
6612
|
CreateGatewayCommand,
|
|
6034
6613
|
CreatePortalCommand,
|
|
6035
6614
|
CreateProjectCommand,
|
|
@@ -6038,6 +6617,7 @@ var commands = {
|
|
|
6038
6617
|
DeleteAssetModelCommand,
|
|
6039
6618
|
DeleteAssetModelCompositeModelCommand,
|
|
6040
6619
|
DeleteDashboardCommand,
|
|
6620
|
+
DeleteDatasetCommand,
|
|
6041
6621
|
DeleteGatewayCommand,
|
|
6042
6622
|
DeletePortalCommand,
|
|
6043
6623
|
DeleteProjectCommand,
|
|
@@ -6051,6 +6631,7 @@ var commands = {
|
|
|
6051
6631
|
DescribeAssetPropertyCommand,
|
|
6052
6632
|
DescribeBulkImportJobCommand,
|
|
6053
6633
|
DescribeDashboardCommand,
|
|
6634
|
+
DescribeDatasetCommand,
|
|
6054
6635
|
DescribeDefaultEncryptionConfigurationCommand,
|
|
6055
6636
|
DescribeGatewayCommand,
|
|
6056
6637
|
DescribeGatewayCapabilityConfigurationCommand,
|
|
@@ -6067,6 +6648,7 @@ var commands = {
|
|
|
6067
6648
|
GetAssetPropertyValueCommand,
|
|
6068
6649
|
GetAssetPropertyValueHistoryCommand,
|
|
6069
6650
|
GetInterpolatedAssetPropertyValuesCommand,
|
|
6651
|
+
InvokeAssistantCommand,
|
|
6070
6652
|
ListAccessPoliciesCommand,
|
|
6071
6653
|
ListActionsCommand,
|
|
6072
6654
|
ListAssetModelCompositeModelsCommand,
|
|
@@ -6079,6 +6661,7 @@ var commands = {
|
|
|
6079
6661
|
ListBulkImportJobsCommand,
|
|
6080
6662
|
ListCompositionRelationshipsCommand,
|
|
6081
6663
|
ListDashboardsCommand,
|
|
6664
|
+
ListDatasetsCommand,
|
|
6082
6665
|
ListGatewaysCommand,
|
|
6083
6666
|
ListPortalsCommand,
|
|
6084
6667
|
ListProjectAssetsCommand,
|
|
@@ -6096,6 +6679,7 @@ var commands = {
|
|
|
6096
6679
|
UpdateAssetModelCompositeModelCommand,
|
|
6097
6680
|
UpdateAssetPropertyCommand,
|
|
6098
6681
|
UpdateDashboardCommand,
|
|
6682
|
+
UpdateDatasetCommand,
|
|
6099
6683
|
UpdateGatewayCommand,
|
|
6100
6684
|
UpdateGatewayCapabilityConfigurationCommand,
|
|
6101
6685
|
UpdatePortalCommand,
|
|
@@ -6179,6 +6763,10 @@ var paginateListCompositionRelationships = (0, import_core.createPaginator)(IoTS
|
|
|
6179
6763
|
|
|
6180
6764
|
var paginateListDashboards = (0, import_core.createPaginator)(IoTSiteWiseClient, ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
|
|
6181
6765
|
|
|
6766
|
+
// src/pagination/ListDatasetsPaginator.ts
|
|
6767
|
+
|
|
6768
|
+
var paginateListDatasets = (0, import_core.createPaginator)(IoTSiteWiseClient, ListDatasetsCommand, "nextToken", "nextToken", "maxResults");
|
|
6769
|
+
|
|
6182
6770
|
// src/pagination/ListGatewaysPaginator.ts
|
|
6183
6771
|
|
|
6184
6772
|
var paginateListGateways = (0, import_core.createPaginator)(IoTSiteWiseClient, ListGatewaysCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -6406,6 +6994,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6406
6994
|
CreateAssetModelCompositeModelCommand,
|
|
6407
6995
|
CreateBulkImportJobCommand,
|
|
6408
6996
|
CreateDashboardCommand,
|
|
6997
|
+
CreateDatasetCommand,
|
|
6409
6998
|
CreateGatewayCommand,
|
|
6410
6999
|
CreatePortalCommand,
|
|
6411
7000
|
CreateProjectCommand,
|
|
@@ -6414,6 +7003,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6414
7003
|
DeleteAssetModelCommand,
|
|
6415
7004
|
DeleteAssetModelCompositeModelCommand,
|
|
6416
7005
|
DeleteDashboardCommand,
|
|
7006
|
+
DeleteDatasetCommand,
|
|
6417
7007
|
DeleteGatewayCommand,
|
|
6418
7008
|
DeletePortalCommand,
|
|
6419
7009
|
DeleteProjectCommand,
|
|
@@ -6427,6 +7017,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6427
7017
|
DescribeAssetPropertyCommand,
|
|
6428
7018
|
DescribeBulkImportJobCommand,
|
|
6429
7019
|
DescribeDashboardCommand,
|
|
7020
|
+
DescribeDatasetCommand,
|
|
6430
7021
|
DescribeDefaultEncryptionConfigurationCommand,
|
|
6431
7022
|
DescribeGatewayCapabilityConfigurationCommand,
|
|
6432
7023
|
DescribeGatewayCommand,
|
|
@@ -6443,6 +7034,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6443
7034
|
GetAssetPropertyValueCommand,
|
|
6444
7035
|
GetAssetPropertyValueHistoryCommand,
|
|
6445
7036
|
GetInterpolatedAssetPropertyValuesCommand,
|
|
7037
|
+
InvokeAssistantCommand,
|
|
6446
7038
|
ListAccessPoliciesCommand,
|
|
6447
7039
|
ListActionsCommand,
|
|
6448
7040
|
ListAssetModelCompositeModelsCommand,
|
|
@@ -6455,6 +7047,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6455
7047
|
ListBulkImportJobsCommand,
|
|
6456
7048
|
ListCompositionRelationshipsCommand,
|
|
6457
7049
|
ListDashboardsCommand,
|
|
7050
|
+
ListDatasetsCommand,
|
|
6458
7051
|
ListGatewaysCommand,
|
|
6459
7052
|
ListPortalsCommand,
|
|
6460
7053
|
ListProjectAssetsCommand,
|
|
@@ -6472,6 +7065,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6472
7065
|
UpdateAssetModelCompositeModelCommand,
|
|
6473
7066
|
UpdateAssetPropertyCommand,
|
|
6474
7067
|
UpdateDashboardCommand,
|
|
7068
|
+
UpdateDatasetCommand,
|
|
6475
7069
|
UpdateGatewayCapabilityConfigurationCommand,
|
|
6476
7070
|
UpdateGatewayCommand,
|
|
6477
7071
|
UpdatePortalCommand,
|
|
@@ -6494,6 +7088,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6494
7088
|
paginateListBulkImportJobs,
|
|
6495
7089
|
paginateListCompositionRelationships,
|
|
6496
7090
|
paginateListDashboards,
|
|
7091
|
+
paginateListDatasets,
|
|
6497
7092
|
paginateListGateways,
|
|
6498
7093
|
paginateListPortals,
|
|
6499
7094
|
paginateListProjectAssets,
|
|
@@ -6545,7 +7140,11 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6545
7140
|
PreconditionFailedException,
|
|
6546
7141
|
ColumnName,
|
|
6547
7142
|
JobStatus,
|
|
7143
|
+
DatasetSourceFormat,
|
|
7144
|
+
DatasetSourceType,
|
|
7145
|
+
DatasetState,
|
|
6548
7146
|
ImageFileType,
|
|
7147
|
+
PortalType,
|
|
6549
7148
|
MonitorErrorCode,
|
|
6550
7149
|
PortalState,
|
|
6551
7150
|
ConfigurationState,
|
|
@@ -6558,6 +7157,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6558
7157
|
ScalarType,
|
|
6559
7158
|
QueryTimeoutException,
|
|
6560
7159
|
ValidationException,
|
|
7160
|
+
ResponseStream,
|
|
6561
7161
|
IdentityType,
|
|
6562
7162
|
ResourceType,
|
|
6563
7163
|
TargetResourceType,
|
|
@@ -6566,9 +7166,15 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
6566
7166
|
TraversalType,
|
|
6567
7167
|
ListAssetsFilter,
|
|
6568
7168
|
TraversalDirection,
|
|
7169
|
+
CreatePortalRequestFilterSensitiveLog,
|
|
7170
|
+
DescribePortalResponseFilterSensitiveLog,
|
|
7171
|
+
InvokeAssistantRequestFilterSensitiveLog,
|
|
7172
|
+
ResponseStreamFilterSensitiveLog,
|
|
7173
|
+
InvokeAssistantResponseFilterSensitiveLog,
|
|
6569
7174
|
ListBulkImportJobsFilter,
|
|
6570
7175
|
UnauthorizedException,
|
|
6571
7176
|
ListTimeSeriesType,
|
|
6572
|
-
TooManyTagsException
|
|
7177
|
+
TooManyTagsException,
|
|
7178
|
+
UpdatePortalRequestFilterSensitiveLog
|
|
6573
7179
|
});
|
|
6574
7180
|
|