@aws-sdk/client-iotsitewise 3.693.0 → 3.696.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.
Files changed (86) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +616 -10
  3. package/dist-cjs/runtimeConfig.browser.js +2 -0
  4. package/dist-cjs/runtimeConfig.js +2 -0
  5. package/dist-es/IoTSiteWise.js +12 -0
  6. package/dist-es/IoTSiteWiseClient.js +6 -4
  7. package/dist-es/commands/CreateDatasetCommand.js +22 -0
  8. package/dist-es/commands/CreatePortalCommand.js +2 -1
  9. package/dist-es/commands/DeleteDatasetCommand.js +22 -0
  10. package/dist-es/commands/DescribeDatasetCommand.js +22 -0
  11. package/dist-es/commands/DescribePortalCommand.js +2 -1
  12. package/dist-es/commands/InvokeAssistantCommand.js +27 -0
  13. package/dist-es/commands/ListDatasetsCommand.js +22 -0
  14. package/dist-es/commands/UpdateDatasetCommand.js +22 -0
  15. package/dist-es/commands/UpdatePortalCommand.js +2 -1
  16. package/dist-es/commands/index.js +6 -0
  17. package/dist-es/models/models_0.js +83 -25
  18. package/dist-es/models/models_1.js +31 -0
  19. package/dist-es/pagination/ListDatasetsPaginator.js +4 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_restJson1.js +370 -2
  22. package/dist-es/runtimeConfig.browser.js +2 -0
  23. package/dist-es/runtimeConfig.js +2 -0
  24. package/dist-types/IoTSiteWise.d.ts +42 -0
  25. package/dist-types/IoTSiteWiseClient.d.ts +16 -5
  26. package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateDatasetCommand.d.ts +130 -0
  28. package/dist-types/commands/CreatePortalCommand.d.ts +9 -1
  29. package/dist-types/commands/DeleteAssetModelCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteDatasetCommand.d.ts +104 -0
  32. package/dist-types/commands/DeletePortalCommand.d.ts +2 -2
  33. package/dist-types/commands/DescribeDatasetCommand.d.ts +116 -0
  34. package/dist-types/commands/DescribePortalCommand.d.ts +9 -1
  35. package/dist-types/commands/ExecuteQueryCommand.d.ts +1 -0
  36. package/dist-types/commands/InvokeAssistantCommand.d.ts +151 -0
  37. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +2 -1
  38. package/dist-types/commands/ListBulkImportJobsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListDatasetsCommand.d.ts +109 -0
  42. package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
  43. package/dist-types/commands/ListPortalsCommand.d.ts +3 -2
  44. package/dist-types/commands/ListProjectAssetsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateAssetModelCommand.d.ts +2 -1
  48. package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +2 -1
  49. package/dist-types/commands/UpdateDatasetCommand.d.ts +124 -0
  50. package/dist-types/commands/UpdatePortalCommand.d.ts +9 -1
  51. package/dist-types/commands/index.d.ts +6 -0
  52. package/dist-types/models/models_0.d.ts +711 -560
  53. package/dist-types/models/models_1.d.ts +713 -3
  54. package/dist-types/pagination/ListDatasetsPaginator.d.ts +7 -0
  55. package/dist-types/pagination/index.d.ts +1 -0
  56. package/dist-types/protocols/Aws_restJson1.d.ts +55 -1
  57. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  58. package/dist-types/runtimeConfig.d.ts +1 -0
  59. package/dist-types/runtimeConfig.native.d.ts +1 -0
  60. package/dist-types/ts3.4/IoTSiteWise.d.ts +102 -0
  61. package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +44 -0
  62. package/dist-types/ts3.4/commands/CreateDatasetCommand.d.ts +50 -0
  63. package/dist-types/ts3.4/commands/DeleteDatasetCommand.d.ts +50 -0
  64. package/dist-types/ts3.4/commands/DescribeDatasetCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/InvokeAssistantCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/ListAssociatedAssetsCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/ListBulkImportJobsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +47 -0
  71. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListProjectAssetsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateDatasetCommand.d.ts +50 -0
  77. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +280 -139
  79. package/dist-types/ts3.4/models/models_1.d.ts +184 -1
  80. package/dist-types/ts3.4/pagination/ListDatasetsPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  82. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +76 -1
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  86. package/package.json +39 -36
@@ -13,6 +13,7 @@ import { CreateAssetModelCommandInput, CreateAssetModelCommandOutput } from "./c
13
13
  import { CreateAssetModelCompositeModelCommandInput, CreateAssetModelCompositeModelCommandOutput } from "./commands/CreateAssetModelCompositeModelCommand";
14
14
  import { CreateBulkImportJobCommandInput, CreateBulkImportJobCommandOutput } from "./commands/CreateBulkImportJobCommand";
15
15
  import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand";
16
+ import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
16
17
  import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
17
18
  import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
18
19
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
@@ -21,6 +22,7 @@ import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/De
21
22
  import { DeleteAssetModelCommandInput, DeleteAssetModelCommandOutput } from "./commands/DeleteAssetModelCommand";
22
23
  import { DeleteAssetModelCompositeModelCommandInput, DeleteAssetModelCompositeModelCommandOutput } from "./commands/DeleteAssetModelCompositeModelCommand";
23
24
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
25
+ import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
24
26
  import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
25
27
  import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
26
28
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
@@ -34,6 +36,7 @@ import { DescribeAssetModelCompositeModelCommandInput, DescribeAssetModelComposi
34
36
  import { DescribeAssetPropertyCommandInput, DescribeAssetPropertyCommandOutput } from "./commands/DescribeAssetPropertyCommand";
35
37
  import { DescribeBulkImportJobCommandInput, DescribeBulkImportJobCommandOutput } from "./commands/DescribeBulkImportJobCommand";
36
38
  import { DescribeDashboardCommandInput, DescribeDashboardCommandOutput } from "./commands/DescribeDashboardCommand";
39
+ import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
37
40
  import { DescribeDefaultEncryptionConfigurationCommandInput, DescribeDefaultEncryptionConfigurationCommandOutput } from "./commands/DescribeDefaultEncryptionConfigurationCommand";
38
41
  import { DescribeGatewayCapabilityConfigurationCommandInput, DescribeGatewayCapabilityConfigurationCommandOutput } from "./commands/DescribeGatewayCapabilityConfigurationCommand";
39
42
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
@@ -50,6 +53,7 @@ import { GetAssetPropertyAggregatesCommandInput, GetAssetPropertyAggregatesComma
50
53
  import { GetAssetPropertyValueCommandInput, GetAssetPropertyValueCommandOutput } from "./commands/GetAssetPropertyValueCommand";
51
54
  import { GetAssetPropertyValueHistoryCommandInput, GetAssetPropertyValueHistoryCommandOutput } from "./commands/GetAssetPropertyValueHistoryCommand";
52
55
  import { GetInterpolatedAssetPropertyValuesCommandInput, GetInterpolatedAssetPropertyValuesCommandOutput } from "./commands/GetInterpolatedAssetPropertyValuesCommand";
56
+ import { InvokeAssistantCommandInput, InvokeAssistantCommandOutput } from "./commands/InvokeAssistantCommand";
53
57
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
54
58
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
55
59
  import { ListAssetModelCompositeModelsCommandInput, ListAssetModelCompositeModelsCommandOutput } from "./commands/ListAssetModelCompositeModelsCommand";
@@ -62,6 +66,7 @@ import { ListAssociatedAssetsCommandInput, ListAssociatedAssetsCommandOutput } f
62
66
  import { ListBulkImportJobsCommandInput, ListBulkImportJobsCommandOutput } from "./commands/ListBulkImportJobsCommand";
63
67
  import { ListCompositionRelationshipsCommandInput, ListCompositionRelationshipsCommandOutput } from "./commands/ListCompositionRelationshipsCommand";
64
68
  import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
69
+ import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
65
70
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
66
71
  import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
67
72
  import { ListProjectAssetsCommandInput, ListProjectAssetsCommandOutput } from "./commands/ListProjectAssetsCommand";
@@ -79,6 +84,7 @@ import { UpdateAssetModelCommandInput, UpdateAssetModelCommandOutput } from "./c
79
84
  import { UpdateAssetModelCompositeModelCommandInput, UpdateAssetModelCompositeModelCommandOutput } from "./commands/UpdateAssetModelCompositeModelCommand";
80
85
  import { UpdateAssetPropertyCommandInput, UpdateAssetPropertyCommandOutput } from "./commands/UpdateAssetPropertyCommand";
81
86
  import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand";
87
+ import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
82
88
  import { UpdateGatewayCapabilityConfigurationCommandInput, UpdateGatewayCapabilityConfigurationCommandOutput } from "./commands/UpdateGatewayCapabilityConfigurationCommand";
83
89
  import { UpdateGatewayCommandInput, UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
84
90
  import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
@@ -169,6 +175,12 @@ export interface IoTSiteWise {
169
175
  createDashboard(args: CreateDashboardCommandInput, options?: __HttpHandlerOptions): Promise<CreateDashboardCommandOutput>;
170
176
  createDashboard(args: CreateDashboardCommandInput, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void;
171
177
  createDashboard(args: CreateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDashboardCommandOutput) => void): void;
178
+ /**
179
+ * @see {@link CreateDatasetCommand}
180
+ */
181
+ createDataset(args: CreateDatasetCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatasetCommandOutput>;
182
+ createDataset(args: CreateDatasetCommandInput, cb: (err: any, data?: CreateDatasetCommandOutput) => void): void;
183
+ createDataset(args: CreateDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatasetCommandOutput) => void): void;
172
184
  /**
173
185
  * @see {@link CreateGatewayCommand}
174
186
  */
@@ -217,6 +229,12 @@ export interface IoTSiteWise {
217
229
  deleteDashboard(args: DeleteDashboardCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDashboardCommandOutput>;
218
230
  deleteDashboard(args: DeleteDashboardCommandInput, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void;
219
231
  deleteDashboard(args: DeleteDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDashboardCommandOutput) => void): void;
232
+ /**
233
+ * @see {@link DeleteDatasetCommand}
234
+ */
235
+ deleteDataset(args: DeleteDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatasetCommandOutput>;
236
+ deleteDataset(args: DeleteDatasetCommandInput, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
237
+ deleteDataset(args: DeleteDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatasetCommandOutput) => void): void;
220
238
  /**
221
239
  * @see {@link DeleteGatewayCommand}
222
240
  */
@@ -296,6 +314,12 @@ export interface IoTSiteWise {
296
314
  describeDashboard(args: DescribeDashboardCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDashboardCommandOutput>;
297
315
  describeDashboard(args: DescribeDashboardCommandInput, cb: (err: any, data?: DescribeDashboardCommandOutput) => void): void;
298
316
  describeDashboard(args: DescribeDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDashboardCommandOutput) => void): void;
317
+ /**
318
+ * @see {@link DescribeDatasetCommand}
319
+ */
320
+ describeDataset(args: DescribeDatasetCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatasetCommandOutput>;
321
+ describeDataset(args: DescribeDatasetCommandInput, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
322
+ describeDataset(args: DescribeDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatasetCommandOutput) => void): void;
299
323
  /**
300
324
  * @see {@link DescribeDefaultEncryptionConfigurationCommand}
301
325
  */
@@ -398,6 +422,12 @@ export interface IoTSiteWise {
398
422
  getInterpolatedAssetPropertyValues(args: GetInterpolatedAssetPropertyValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetInterpolatedAssetPropertyValuesCommandOutput>;
399
423
  getInterpolatedAssetPropertyValues(args: GetInterpolatedAssetPropertyValuesCommandInput, cb: (err: any, data?: GetInterpolatedAssetPropertyValuesCommandOutput) => void): void;
400
424
  getInterpolatedAssetPropertyValues(args: GetInterpolatedAssetPropertyValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInterpolatedAssetPropertyValuesCommandOutput) => void): void;
425
+ /**
426
+ * @see {@link InvokeAssistantCommand}
427
+ */
428
+ invokeAssistant(args: InvokeAssistantCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAssistantCommandOutput>;
429
+ invokeAssistant(args: InvokeAssistantCommandInput, cb: (err: any, data?: InvokeAssistantCommandOutput) => void): void;
430
+ invokeAssistant(args: InvokeAssistantCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAssistantCommandOutput) => void): void;
401
431
  /**
402
432
  * @see {@link ListAccessPoliciesCommand}
403
433
  */
@@ -474,6 +504,12 @@ export interface IoTSiteWise {
474
504
  listDashboards(args: ListDashboardsCommandInput, options?: __HttpHandlerOptions): Promise<ListDashboardsCommandOutput>;
475
505
  listDashboards(args: ListDashboardsCommandInput, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
476
506
  listDashboards(args: ListDashboardsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDashboardsCommandOutput) => void): void;
507
+ /**
508
+ * @see {@link ListDatasetsCommand}
509
+ */
510
+ listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
511
+ listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
512
+ listDatasets(args: ListDatasetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
477
513
  /**
478
514
  * @see {@link ListGatewaysCommand}
479
515
  */
@@ -579,6 +615,12 @@ export interface IoTSiteWise {
579
615
  updateDashboard(args: UpdateDashboardCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDashboardCommandOutput>;
580
616
  updateDashboard(args: UpdateDashboardCommandInput, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
581
617
  updateDashboard(args: UpdateDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDashboardCommandOutput) => void): void;
618
+ /**
619
+ * @see {@link UpdateDatasetCommand}
620
+ */
621
+ updateDataset(args: UpdateDatasetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatasetCommandOutput>;
622
+ updateDataset(args: UpdateDatasetCommandInput, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
623
+ updateDataset(args: UpdateDatasetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatasetCommandOutput) => void): void;
582
624
  /**
583
625
  * @see {@link UpdateGatewayCommand}
584
626
  */
@@ -1,11 +1,12 @@
1
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
4
5
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
6
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
7
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
8
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
10
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
11
  import { AssociateAssetsCommandInput, AssociateAssetsCommandOutput } from "./commands/AssociateAssetsCommand";
11
12
  import { AssociateTimeSeriesToAssetPropertyCommandInput, AssociateTimeSeriesToAssetPropertyCommandOutput } from "./commands/AssociateTimeSeriesToAssetPropertyCommand";
@@ -21,6 +22,7 @@ import { CreateAssetModelCommandInput, CreateAssetModelCommandOutput } from "./c
21
22
  import { CreateAssetModelCompositeModelCommandInput, CreateAssetModelCompositeModelCommandOutput } from "./commands/CreateAssetModelCompositeModelCommand";
22
23
  import { CreateBulkImportJobCommandInput, CreateBulkImportJobCommandOutput } from "./commands/CreateBulkImportJobCommand";
23
24
  import { CreateDashboardCommandInput, CreateDashboardCommandOutput } from "./commands/CreateDashboardCommand";
25
+ import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
24
26
  import { CreateGatewayCommandInput, CreateGatewayCommandOutput } from "./commands/CreateGatewayCommand";
25
27
  import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
26
28
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
@@ -29,6 +31,7 @@ import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/De
29
31
  import { DeleteAssetModelCommandInput, DeleteAssetModelCommandOutput } from "./commands/DeleteAssetModelCommand";
30
32
  import { DeleteAssetModelCompositeModelCommandInput, DeleteAssetModelCompositeModelCommandOutput } from "./commands/DeleteAssetModelCompositeModelCommand";
31
33
  import { DeleteDashboardCommandInput, DeleteDashboardCommandOutput } from "./commands/DeleteDashboardCommand";
34
+ import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
32
35
  import { DeleteGatewayCommandInput, DeleteGatewayCommandOutput } from "./commands/DeleteGatewayCommand";
33
36
  import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
34
37
  import { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand";
@@ -42,6 +45,7 @@ import { DescribeAssetModelCompositeModelCommandInput, DescribeAssetModelComposi
42
45
  import { DescribeAssetPropertyCommandInput, DescribeAssetPropertyCommandOutput } from "./commands/DescribeAssetPropertyCommand";
43
46
  import { DescribeBulkImportJobCommandInput, DescribeBulkImportJobCommandOutput } from "./commands/DescribeBulkImportJobCommand";
44
47
  import { DescribeDashboardCommandInput, DescribeDashboardCommandOutput } from "./commands/DescribeDashboardCommand";
48
+ import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
45
49
  import { DescribeDefaultEncryptionConfigurationCommandInput, DescribeDefaultEncryptionConfigurationCommandOutput } from "./commands/DescribeDefaultEncryptionConfigurationCommand";
46
50
  import { DescribeGatewayCapabilityConfigurationCommandInput, DescribeGatewayCapabilityConfigurationCommandOutput } from "./commands/DescribeGatewayCapabilityConfigurationCommand";
47
51
  import { DescribeGatewayCommandInput, DescribeGatewayCommandOutput } from "./commands/DescribeGatewayCommand";
@@ -58,6 +62,7 @@ import { GetAssetPropertyAggregatesCommandInput, GetAssetPropertyAggregatesComma
58
62
  import { GetAssetPropertyValueCommandInput, GetAssetPropertyValueCommandOutput } from "./commands/GetAssetPropertyValueCommand";
59
63
  import { GetAssetPropertyValueHistoryCommandInput, GetAssetPropertyValueHistoryCommandOutput } from "./commands/GetAssetPropertyValueHistoryCommand";
60
64
  import { GetInterpolatedAssetPropertyValuesCommandInput, GetInterpolatedAssetPropertyValuesCommandOutput } from "./commands/GetInterpolatedAssetPropertyValuesCommand";
65
+ import { InvokeAssistantCommandInput, InvokeAssistantCommandOutput } from "./commands/InvokeAssistantCommand";
61
66
  import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
62
67
  import { ListActionsCommandInput, ListActionsCommandOutput } from "./commands/ListActionsCommand";
63
68
  import { ListAssetModelCompositeModelsCommandInput, ListAssetModelCompositeModelsCommandOutput } from "./commands/ListAssetModelCompositeModelsCommand";
@@ -70,6 +75,7 @@ import { ListAssociatedAssetsCommandInput, ListAssociatedAssetsCommandOutput } f
70
75
  import { ListBulkImportJobsCommandInput, ListBulkImportJobsCommandOutput } from "./commands/ListBulkImportJobsCommand";
71
76
  import { ListCompositionRelationshipsCommandInput, ListCompositionRelationshipsCommandOutput } from "./commands/ListCompositionRelationshipsCommand";
72
77
  import { ListDashboardsCommandInput, ListDashboardsCommandOutput } from "./commands/ListDashboardsCommand";
78
+ import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
73
79
  import { ListGatewaysCommandInput, ListGatewaysCommandOutput } from "./commands/ListGatewaysCommand";
74
80
  import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
75
81
  import { ListProjectAssetsCommandInput, ListProjectAssetsCommandOutput } from "./commands/ListProjectAssetsCommand";
@@ -87,6 +93,7 @@ import { UpdateAssetModelCommandInput, UpdateAssetModelCommandOutput } from "./c
87
93
  import { UpdateAssetModelCompositeModelCommandInput, UpdateAssetModelCompositeModelCommandOutput } from "./commands/UpdateAssetModelCompositeModelCommand";
88
94
  import { UpdateAssetPropertyCommandInput, UpdateAssetPropertyCommandOutput } from "./commands/UpdateAssetPropertyCommand";
89
95
  import { UpdateDashboardCommandInput, UpdateDashboardCommandOutput } from "./commands/UpdateDashboardCommand";
96
+ import { UpdateDatasetCommandInput, UpdateDatasetCommandOutput } from "./commands/UpdateDatasetCommand";
90
97
  import { UpdateGatewayCapabilityConfigurationCommandInput, UpdateGatewayCapabilityConfigurationCommandOutput } from "./commands/UpdateGatewayCapabilityConfigurationCommand";
91
98
  import { UpdateGatewayCommandInput, UpdateGatewayCommandOutput } from "./commands/UpdateGatewayCommand";
92
99
  import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
@@ -97,11 +104,11 @@ export { __Client };
97
104
  /**
98
105
  * @public
99
106
  */
100
- export type ServiceInputTypes = AssociateAssetsCommandInput | AssociateTimeSeriesToAssetPropertyCommandInput | BatchAssociateProjectAssetsCommandInput | BatchDisassociateProjectAssetsCommandInput | BatchGetAssetPropertyAggregatesCommandInput | BatchGetAssetPropertyValueCommandInput | BatchGetAssetPropertyValueHistoryCommandInput | BatchPutAssetPropertyValueCommandInput | CreateAccessPolicyCommandInput | CreateAssetCommandInput | CreateAssetModelCommandInput | CreateAssetModelCompositeModelCommandInput | CreateBulkImportJobCommandInput | CreateDashboardCommandInput | CreateGatewayCommandInput | CreatePortalCommandInput | CreateProjectCommandInput | DeleteAccessPolicyCommandInput | DeleteAssetCommandInput | DeleteAssetModelCommandInput | DeleteAssetModelCompositeModelCommandInput | DeleteDashboardCommandInput | DeleteGatewayCommandInput | DeletePortalCommandInput | DeleteProjectCommandInput | DeleteTimeSeriesCommandInput | DescribeAccessPolicyCommandInput | DescribeActionCommandInput | DescribeAssetCommandInput | DescribeAssetCompositeModelCommandInput | DescribeAssetModelCommandInput | DescribeAssetModelCompositeModelCommandInput | DescribeAssetPropertyCommandInput | DescribeBulkImportJobCommandInput | DescribeDashboardCommandInput | DescribeDefaultEncryptionConfigurationCommandInput | DescribeGatewayCapabilityConfigurationCommandInput | DescribeGatewayCommandInput | DescribeLoggingOptionsCommandInput | DescribePortalCommandInput | DescribeProjectCommandInput | DescribeStorageConfigurationCommandInput | DescribeTimeSeriesCommandInput | DisassociateAssetsCommandInput | DisassociateTimeSeriesFromAssetPropertyCommandInput | ExecuteActionCommandInput | ExecuteQueryCommandInput | GetAssetPropertyAggregatesCommandInput | GetAssetPropertyValueCommandInput | GetAssetPropertyValueHistoryCommandInput | GetInterpolatedAssetPropertyValuesCommandInput | ListAccessPoliciesCommandInput | ListActionsCommandInput | ListAssetModelCompositeModelsCommandInput | ListAssetModelPropertiesCommandInput | ListAssetModelsCommandInput | ListAssetPropertiesCommandInput | ListAssetRelationshipsCommandInput | ListAssetsCommandInput | ListAssociatedAssetsCommandInput | ListBulkImportJobsCommandInput | ListCompositionRelationshipsCommandInput | ListDashboardsCommandInput | ListGatewaysCommandInput | ListPortalsCommandInput | ListProjectAssetsCommandInput | ListProjectsCommandInput | ListTagsForResourceCommandInput | ListTimeSeriesCommandInput | PutDefaultEncryptionConfigurationCommandInput | PutLoggingOptionsCommandInput | PutStorageConfigurationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAssetCommandInput | UpdateAssetModelCommandInput | UpdateAssetModelCompositeModelCommandInput | UpdateAssetPropertyCommandInput | UpdateDashboardCommandInput | UpdateGatewayCapabilityConfigurationCommandInput | UpdateGatewayCommandInput | UpdatePortalCommandInput | UpdateProjectCommandInput;
107
+ export type ServiceInputTypes = AssociateAssetsCommandInput | AssociateTimeSeriesToAssetPropertyCommandInput | BatchAssociateProjectAssetsCommandInput | BatchDisassociateProjectAssetsCommandInput | BatchGetAssetPropertyAggregatesCommandInput | BatchGetAssetPropertyValueCommandInput | BatchGetAssetPropertyValueHistoryCommandInput | BatchPutAssetPropertyValueCommandInput | CreateAccessPolicyCommandInput | CreateAssetCommandInput | CreateAssetModelCommandInput | CreateAssetModelCompositeModelCommandInput | CreateBulkImportJobCommandInput | CreateDashboardCommandInput | CreateDatasetCommandInput | CreateGatewayCommandInput | CreatePortalCommandInput | CreateProjectCommandInput | DeleteAccessPolicyCommandInput | DeleteAssetCommandInput | DeleteAssetModelCommandInput | DeleteAssetModelCompositeModelCommandInput | DeleteDashboardCommandInput | DeleteDatasetCommandInput | DeleteGatewayCommandInput | DeletePortalCommandInput | DeleteProjectCommandInput | DeleteTimeSeriesCommandInput | DescribeAccessPolicyCommandInput | DescribeActionCommandInput | DescribeAssetCommandInput | DescribeAssetCompositeModelCommandInput | DescribeAssetModelCommandInput | DescribeAssetModelCompositeModelCommandInput | DescribeAssetPropertyCommandInput | DescribeBulkImportJobCommandInput | DescribeDashboardCommandInput | DescribeDatasetCommandInput | DescribeDefaultEncryptionConfigurationCommandInput | DescribeGatewayCapabilityConfigurationCommandInput | DescribeGatewayCommandInput | DescribeLoggingOptionsCommandInput | DescribePortalCommandInput | DescribeProjectCommandInput | DescribeStorageConfigurationCommandInput | DescribeTimeSeriesCommandInput | DisassociateAssetsCommandInput | DisassociateTimeSeriesFromAssetPropertyCommandInput | ExecuteActionCommandInput | ExecuteQueryCommandInput | GetAssetPropertyAggregatesCommandInput | GetAssetPropertyValueCommandInput | GetAssetPropertyValueHistoryCommandInput | GetInterpolatedAssetPropertyValuesCommandInput | InvokeAssistantCommandInput | ListAccessPoliciesCommandInput | ListActionsCommandInput | ListAssetModelCompositeModelsCommandInput | ListAssetModelPropertiesCommandInput | ListAssetModelsCommandInput | ListAssetPropertiesCommandInput | ListAssetRelationshipsCommandInput | ListAssetsCommandInput | ListAssociatedAssetsCommandInput | ListBulkImportJobsCommandInput | ListCompositionRelationshipsCommandInput | ListDashboardsCommandInput | ListDatasetsCommandInput | ListGatewaysCommandInput | ListPortalsCommandInput | ListProjectAssetsCommandInput | ListProjectsCommandInput | ListTagsForResourceCommandInput | ListTimeSeriesCommandInput | PutDefaultEncryptionConfigurationCommandInput | PutLoggingOptionsCommandInput | PutStorageConfigurationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessPolicyCommandInput | UpdateAssetCommandInput | UpdateAssetModelCommandInput | UpdateAssetModelCompositeModelCommandInput | UpdateAssetPropertyCommandInput | UpdateDashboardCommandInput | UpdateDatasetCommandInput | UpdateGatewayCapabilityConfigurationCommandInput | UpdateGatewayCommandInput | UpdatePortalCommandInput | UpdateProjectCommandInput;
101
108
  /**
102
109
  * @public
103
110
  */
104
- export type ServiceOutputTypes = AssociateAssetsCommandOutput | AssociateTimeSeriesToAssetPropertyCommandOutput | BatchAssociateProjectAssetsCommandOutput | BatchDisassociateProjectAssetsCommandOutput | BatchGetAssetPropertyAggregatesCommandOutput | BatchGetAssetPropertyValueCommandOutput | BatchGetAssetPropertyValueHistoryCommandOutput | BatchPutAssetPropertyValueCommandOutput | CreateAccessPolicyCommandOutput | CreateAssetCommandOutput | CreateAssetModelCommandOutput | CreateAssetModelCompositeModelCommandOutput | CreateBulkImportJobCommandOutput | CreateDashboardCommandOutput | CreateGatewayCommandOutput | CreatePortalCommandOutput | CreateProjectCommandOutput | DeleteAccessPolicyCommandOutput | DeleteAssetCommandOutput | DeleteAssetModelCommandOutput | DeleteAssetModelCompositeModelCommandOutput | DeleteDashboardCommandOutput | DeleteGatewayCommandOutput | DeletePortalCommandOutput | DeleteProjectCommandOutput | DeleteTimeSeriesCommandOutput | DescribeAccessPolicyCommandOutput | DescribeActionCommandOutput | DescribeAssetCommandOutput | DescribeAssetCompositeModelCommandOutput | DescribeAssetModelCommandOutput | DescribeAssetModelCompositeModelCommandOutput | DescribeAssetPropertyCommandOutput | DescribeBulkImportJobCommandOutput | DescribeDashboardCommandOutput | DescribeDefaultEncryptionConfigurationCommandOutput | DescribeGatewayCapabilityConfigurationCommandOutput | DescribeGatewayCommandOutput | DescribeLoggingOptionsCommandOutput | DescribePortalCommandOutput | DescribeProjectCommandOutput | DescribeStorageConfigurationCommandOutput | DescribeTimeSeriesCommandOutput | DisassociateAssetsCommandOutput | DisassociateTimeSeriesFromAssetPropertyCommandOutput | ExecuteActionCommandOutput | ExecuteQueryCommandOutput | GetAssetPropertyAggregatesCommandOutput | GetAssetPropertyValueCommandOutput | GetAssetPropertyValueHistoryCommandOutput | GetInterpolatedAssetPropertyValuesCommandOutput | ListAccessPoliciesCommandOutput | ListActionsCommandOutput | ListAssetModelCompositeModelsCommandOutput | ListAssetModelPropertiesCommandOutput | ListAssetModelsCommandOutput | ListAssetPropertiesCommandOutput | ListAssetRelationshipsCommandOutput | ListAssetsCommandOutput | ListAssociatedAssetsCommandOutput | ListBulkImportJobsCommandOutput | ListCompositionRelationshipsCommandOutput | ListDashboardsCommandOutput | ListGatewaysCommandOutput | ListPortalsCommandOutput | ListProjectAssetsCommandOutput | ListProjectsCommandOutput | ListTagsForResourceCommandOutput | ListTimeSeriesCommandOutput | PutDefaultEncryptionConfigurationCommandOutput | PutLoggingOptionsCommandOutput | PutStorageConfigurationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAssetCommandOutput | UpdateAssetModelCommandOutput | UpdateAssetModelCompositeModelCommandOutput | UpdateAssetPropertyCommandOutput | UpdateDashboardCommandOutput | UpdateGatewayCapabilityConfigurationCommandOutput | UpdateGatewayCommandOutput | UpdatePortalCommandOutput | UpdateProjectCommandOutput;
111
+ export type ServiceOutputTypes = AssociateAssetsCommandOutput | AssociateTimeSeriesToAssetPropertyCommandOutput | BatchAssociateProjectAssetsCommandOutput | BatchDisassociateProjectAssetsCommandOutput | BatchGetAssetPropertyAggregatesCommandOutput | BatchGetAssetPropertyValueCommandOutput | BatchGetAssetPropertyValueHistoryCommandOutput | BatchPutAssetPropertyValueCommandOutput | CreateAccessPolicyCommandOutput | CreateAssetCommandOutput | CreateAssetModelCommandOutput | CreateAssetModelCompositeModelCommandOutput | CreateBulkImportJobCommandOutput | CreateDashboardCommandOutput | CreateDatasetCommandOutput | CreateGatewayCommandOutput | CreatePortalCommandOutput | CreateProjectCommandOutput | DeleteAccessPolicyCommandOutput | DeleteAssetCommandOutput | DeleteAssetModelCommandOutput | DeleteAssetModelCompositeModelCommandOutput | DeleteDashboardCommandOutput | DeleteDatasetCommandOutput | DeleteGatewayCommandOutput | DeletePortalCommandOutput | DeleteProjectCommandOutput | DeleteTimeSeriesCommandOutput | DescribeAccessPolicyCommandOutput | DescribeActionCommandOutput | DescribeAssetCommandOutput | DescribeAssetCompositeModelCommandOutput | DescribeAssetModelCommandOutput | DescribeAssetModelCompositeModelCommandOutput | DescribeAssetPropertyCommandOutput | DescribeBulkImportJobCommandOutput | DescribeDashboardCommandOutput | DescribeDatasetCommandOutput | DescribeDefaultEncryptionConfigurationCommandOutput | DescribeGatewayCapabilityConfigurationCommandOutput | DescribeGatewayCommandOutput | DescribeLoggingOptionsCommandOutput | DescribePortalCommandOutput | DescribeProjectCommandOutput | DescribeStorageConfigurationCommandOutput | DescribeTimeSeriesCommandOutput | DisassociateAssetsCommandOutput | DisassociateTimeSeriesFromAssetPropertyCommandOutput | ExecuteActionCommandOutput | ExecuteQueryCommandOutput | GetAssetPropertyAggregatesCommandOutput | GetAssetPropertyValueCommandOutput | GetAssetPropertyValueHistoryCommandOutput | GetInterpolatedAssetPropertyValuesCommandOutput | InvokeAssistantCommandOutput | ListAccessPoliciesCommandOutput | ListActionsCommandOutput | ListAssetModelCompositeModelsCommandOutput | ListAssetModelPropertiesCommandOutput | ListAssetModelsCommandOutput | ListAssetPropertiesCommandOutput | ListAssetRelationshipsCommandOutput | ListAssetsCommandOutput | ListAssociatedAssetsCommandOutput | ListBulkImportJobsCommandOutput | ListCompositionRelationshipsCommandOutput | ListDashboardsCommandOutput | ListDatasetsCommandOutput | ListGatewaysCommandOutput | ListPortalsCommandOutput | ListProjectAssetsCommandOutput | ListProjectsCommandOutput | ListTagsForResourceCommandOutput | ListTimeSeriesCommandOutput | PutDefaultEncryptionConfigurationCommandOutput | PutLoggingOptionsCommandOutput | PutStorageConfigurationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessPolicyCommandOutput | UpdateAssetCommandOutput | UpdateAssetModelCommandOutput | UpdateAssetModelCompositeModelCommandOutput | UpdateAssetPropertyCommandOutput | UpdateDashboardCommandOutput | UpdateDatasetCommandOutput | UpdateGatewayCapabilityConfigurationCommandOutput | UpdateGatewayCommandOutput | UpdatePortalCommandOutput | UpdateProjectCommandOutput;
105
112
  /**
106
113
  * @public
107
114
  */
@@ -207,6 +214,10 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
207
214
  * Optional extensions
208
215
  */
209
216
  extensions?: RuntimeExtension[];
217
+ /**
218
+ * The function that provides necessary utilities for generating and parsing event stream
219
+ */
220
+ eventStreamSerdeProvider?: __EventStreamSerdeProvider;
210
221
  /**
211
222
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
212
223
  */
@@ -215,7 +226,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
215
226
  /**
216
227
  * @public
217
228
  */
218
- export type IoTSiteWiseClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
229
+ export type IoTSiteWiseClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
219
230
  /**
220
231
  * @public
221
232
  *
@@ -226,7 +237,7 @@ export interface IoTSiteWiseClientConfig extends IoTSiteWiseClientConfigType {
226
237
  /**
227
238
  * @public
228
239
  */
229
- export type IoTSiteWiseClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
240
+ export type IoTSiteWiseClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
230
241
  /**
231
242
  * @public
232
243
  *
@@ -188,7 +188,8 @@ declare const CreateAssetModelCompositeModelCommand_base: {
188
188
  * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
189
189
  *
190
190
  * @throws {@link PreconditionFailedException} (client fault)
191
- * <p>The precondition in one or more of the request-header fields evaluated to <code>FALSE</code>.</p>
191
+ * <p>The precondition in one or more of the request-header fields evaluated to
192
+ * <code>FALSE</code>.</p>
192
193
  *
193
194
  * @throws {@link ResourceAlreadyExistsException} (client fault)
194
195
  * <p>The resource already exists.</p>
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
4
+ import { CreateDatasetRequest, CreateDatasetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateDatasetCommand}.
14
+ */
15
+ export interface CreateDatasetCommandInput extends CreateDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateDatasetCommand}.
21
+ */
22
+ export interface CreateDatasetCommandOutput extends CreateDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateDatasetCommand_base: {
25
+ new (input: CreateDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDatasetCommandInput, CreateDatasetCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a dataset to connect an external datasource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTSiteWiseClient, CreateDatasetCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
35
+ * // const { IoTSiteWiseClient, CreateDatasetCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
36
+ * const client = new IoTSiteWiseClient(config);
37
+ * const input = { // CreateDatasetRequest
38
+ * datasetId: "STRING_VALUE",
39
+ * datasetName: "STRING_VALUE", // required
40
+ * datasetDescription: "STRING_VALUE",
41
+ * datasetSource: { // DatasetSource
42
+ * sourceType: "KENDRA", // required
43
+ * sourceFormat: "KNOWLEDGE_BASE", // required
44
+ * sourceDetail: { // SourceDetail
45
+ * kendra: { // KendraSourceDetail
46
+ * knowledgeBaseArn: "STRING_VALUE", // required
47
+ * roleArn: "STRING_VALUE", // required
48
+ * },
49
+ * },
50
+ * },
51
+ * clientToken: "STRING_VALUE",
52
+ * tags: { // TagMap
53
+ * "<keys>": "STRING_VALUE",
54
+ * },
55
+ * };
56
+ * const command = new CreateDatasetCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // CreateDatasetResponse
59
+ * // datasetId: "STRING_VALUE", // required
60
+ * // datasetArn: "STRING_VALUE", // required
61
+ * // datasetStatus: { // DatasetStatus
62
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
63
+ * // error: { // ErrorDetails
64
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE", // required
65
+ * // message: "STRING_VALUE", // required
66
+ * // details: [ // DetailedErrors
67
+ * // { // DetailedError
68
+ * // code: "INCOMPATIBLE_COMPUTE_LOCATION" || "INCOMPATIBLE_FORWARDING_CONFIGURATION", // required
69
+ * // message: "STRING_VALUE", // required
70
+ * // },
71
+ * // ],
72
+ * // },
73
+ * // },
74
+ * // };
75
+ *
76
+ * ```
77
+ *
78
+ * @param CreateDatasetCommandInput - {@link CreateDatasetCommandInput}
79
+ * @returns {@link CreateDatasetCommandOutput}
80
+ * @see {@link CreateDatasetCommandInput} for command's `input` shape.
81
+ * @see {@link CreateDatasetCommandOutput} for command's `response` shape.
82
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
83
+ *
84
+ * @throws {@link ConflictingOperationException} (client fault)
85
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
86
+ * than one operation on the same resource at the same time.</p>
87
+ *
88
+ * @throws {@link InternalFailureException} (server fault)
89
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
90
+ *
91
+ * @throws {@link InvalidRequestException} (client fault)
92
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
93
+ * unsupported characters. Check your request and try again.</p>
94
+ *
95
+ * @throws {@link LimitExceededException} (client fault)
96
+ * <p>You've reached the limit for a resource. For example, this can occur if you're trying to
97
+ * associate more than the allowed number of child assets or attempting to create more than the
98
+ * allowed number of properties for an asset model.</p>
99
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
100
+ *
101
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
102
+ * <p>The resource already exists.</p>
103
+ *
104
+ * @throws {@link ResourceNotFoundException} (client fault)
105
+ * <p>The requested resource can't be found.</p>
106
+ *
107
+ * @throws {@link ThrottlingException} (client fault)
108
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
109
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
110
+ * on.</p>
111
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
112
+ *
113
+ * @throws {@link IoTSiteWiseServiceException}
114
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class CreateDatasetCommand extends CreateDatasetCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: CreateDatasetRequest;
123
+ output: CreateDatasetResponse;
124
+ };
125
+ sdk: {
126
+ input: CreateDatasetCommandInput;
127
+ output: CreateDatasetCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -59,6 +59,14 @@ declare const CreatePortalCommand_base: {
59
59
  * alarmRoleArn: "STRING_VALUE", // required
60
60
  * notificationLambdaArn: "STRING_VALUE",
61
61
  * },
62
+ * portalType: "SITEWISE_PORTAL_V1" || "SITEWISE_PORTAL_V2",
63
+ * portalTypeConfiguration: { // PortalTypeConfiguration
64
+ * "<keys>": { // PortalTypeEntry
65
+ * portalTools: [ // PortalTools
66
+ * "STRING_VALUE",
67
+ * ],
68
+ * },
69
+ * },
62
70
  * };
63
71
  * const command = new CreatePortalCommand(input);
64
72
  * const response = await client.send(command);
@@ -67,7 +75,7 @@ declare const CreatePortalCommand_base: {
67
75
  * // portalArn: "STRING_VALUE", // required
68
76
  * // portalStartUrl: "STRING_VALUE", // required
69
77
  * // portalStatus: { // PortalStatus
70
- * // state: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED", // required
78
+ * // state: "CREATING" || "PENDING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED", // required
71
79
  * // error: { // MonitorErrorDetails
72
80
  * // code: "INTERNAL_FAILURE" || "VALIDATION_ERROR" || "LIMIT_EXCEEDED",
73
81
  * // message: "STRING_VALUE",
@@ -83,7 +83,8 @@ declare const DeleteAssetModelCommand_base: {
83
83
  * unsupported characters. Check your request and try again.</p>
84
84
  *
85
85
  * @throws {@link PreconditionFailedException} (client fault)
86
- * <p>The precondition in one or more of the request-header fields evaluated to <code>FALSE</code>.</p>
86
+ * <p>The precondition in one or more of the request-header fields evaluated to
87
+ * <code>FALSE</code>.</p>
87
88
  *
88
89
  * @throws {@link ResourceNotFoundException} (client fault)
89
90
  * <p>The requested resource can't be found.</p>
@@ -84,7 +84,8 @@ declare const DeleteAssetModelCompositeModelCommand_base: {
84
84
  * unsupported characters. Check your request and try again.</p>
85
85
  *
86
86
  * @throws {@link PreconditionFailedException} (client fault)
87
- * <p>The precondition in one or more of the request-header fields evaluated to <code>FALSE</code>.</p>
87
+ * <p>The precondition in one or more of the request-header fields evaluated to
88
+ * <code>FALSE</code>.</p>
88
89
  *
89
90
  * @throws {@link ResourceNotFoundException} (client fault)
90
91
  * <p>The requested resource can't be found.</p>
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
4
+ import { DeleteDatasetRequest, DeleteDatasetResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteDatasetCommand}.
14
+ */
15
+ export interface DeleteDatasetCommandInput extends DeleteDatasetRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteDatasetCommand}.
21
+ */
22
+ export interface DeleteDatasetCommandOutput extends DeleteDatasetResponse, __MetadataBearer {
23
+ }
24
+ declare const DeleteDatasetCommand_base: {
25
+ new (input: DeleteDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteDatasetCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDatasetCommandInput, DeleteDatasetCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes a dataset. This cannot be undone.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTSiteWiseClient, DeleteDatasetCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
35
+ * // const { IoTSiteWiseClient, DeleteDatasetCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
36
+ * const client = new IoTSiteWiseClient(config);
37
+ * const input = { // DeleteDatasetRequest
38
+ * datasetId: "STRING_VALUE", // required
39
+ * clientToken: "STRING_VALUE",
40
+ * };
41
+ * const command = new DeleteDatasetCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteDatasetResponse
44
+ * // datasetStatus: { // DatasetStatus
45
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
46
+ * // error: { // ErrorDetails
47
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE", // required
48
+ * // message: "STRING_VALUE", // required
49
+ * // details: [ // DetailedErrors
50
+ * // { // DetailedError
51
+ * // code: "INCOMPATIBLE_COMPUTE_LOCATION" || "INCOMPATIBLE_FORWARDING_CONFIGURATION", // required
52
+ * // message: "STRING_VALUE", // required
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // },
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param DeleteDatasetCommandInput - {@link DeleteDatasetCommandInput}
62
+ * @returns {@link DeleteDatasetCommandOutput}
63
+ * @see {@link DeleteDatasetCommandInput} for command's `input` shape.
64
+ * @see {@link DeleteDatasetCommandOutput} for command's `response` shape.
65
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
66
+ *
67
+ * @throws {@link ConflictingOperationException} (client fault)
68
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
69
+ * than one operation on the same resource at the same time.</p>
70
+ *
71
+ * @throws {@link InternalFailureException} (server fault)
72
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
73
+ *
74
+ * @throws {@link InvalidRequestException} (client fault)
75
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
76
+ * unsupported characters. Check your request and try again.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The requested resource can't be found.</p>
80
+ *
81
+ * @throws {@link ThrottlingException} (client fault)
82
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
83
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
84
+ * on.</p>
85
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
86
+ *
87
+ * @throws {@link IoTSiteWiseServiceException}
88
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class DeleteDatasetCommand extends DeleteDatasetCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: DeleteDatasetRequest;
97
+ output: DeleteDatasetResponse;
98
+ };
99
+ sdk: {
100
+ input: DeleteDatasetCommandInput;
101
+ output: DeleteDatasetCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -24,7 +24,7 @@ export interface DeletePortalCommandOutput extends DeletePortalResponse, __Metad
24
24
  declare const DeletePortalCommand_base: {
25
25
  new (input: DeletePortalCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalCommandInput, DeletePortalCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: DeletePortalCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalCommandInput, DeletePortalCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; /** @internal type navigation helper, not in runtime. */
28
28
  };
29
29
  /**
30
30
  * <p>Deletes a portal from IoT SiteWise Monitor.</p>
@@ -42,7 +42,7 @@ declare const DeletePortalCommand_base: {
42
42
  * const response = await client.send(command);
43
43
  * // { // DeletePortalResponse
44
44
  * // portalStatus: { // PortalStatus
45
- * // state: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED", // required
45
+ * // state: "CREATING" || "PENDING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED", // required
46
46
  * // error: { // MonitorErrorDetails
47
47
  * // code: "INTERNAL_FAILURE" || "VALIDATION_ERROR" || "LIMIT_EXCEEDED",
48
48
  * // message: "STRING_VALUE",