@aws-sdk/client-iotsitewise 3.74.0 → 3.78.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 (76) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/IoTSiteWise.js +45 -0
  3. package/dist-cjs/commands/BatchGetAssetPropertyAggregatesCommand.js +36 -0
  4. package/dist-cjs/commands/BatchGetAssetPropertyValueCommand.js +36 -0
  5. package/dist-cjs/commands/BatchGetAssetPropertyValueHistoryCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +172 -22
  8. package/dist-cjs/pagination/BatchGetAssetPropertyAggregatesPaginator.js +36 -0
  9. package/dist-cjs/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +36 -0
  10. package/dist-cjs/pagination/BatchGetAssetPropertyValuePaginator.js +35 -0
  11. package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js +2 -1
  12. package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js +2 -1
  13. package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +2 -1
  14. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -1
  15. package/dist-cjs/pagination/ListAssetModelsPaginator.js +2 -1
  16. package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js +2 -1
  17. package/dist-cjs/pagination/ListAssetsPaginator.js +2 -1
  18. package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js +2 -1
  19. package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -1
  20. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -1
  21. package/dist-cjs/pagination/ListPortalsPaginator.js +2 -1
  22. package/dist-cjs/pagination/ListProjectAssetsPaginator.js +2 -1
  23. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -1
  24. package/dist-cjs/pagination/ListTimeSeriesPaginator.js +2 -1
  25. package/dist-cjs/pagination/index.js +3 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +563 -3
  27. package/dist-es/IoTSiteWise.js +45 -0
  28. package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +39 -0
  29. package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +39 -0
  30. package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +39 -0
  31. package/dist-es/commands/index.js +3 -0
  32. package/dist-es/models/models_0.js +124 -17
  33. package/dist-es/pagination/BatchGetAssetPropertyAggregatesPaginator.js +75 -0
  34. package/dist-es/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +75 -0
  35. package/dist-es/pagination/BatchGetAssetPropertyValuePaginator.js +74 -0
  36. package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +3 -2
  37. package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +3 -2
  38. package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +3 -2
  39. package/dist-es/pagination/ListAccessPoliciesPaginator.js +3 -2
  40. package/dist-es/pagination/ListAssetModelsPaginator.js +3 -2
  41. package/dist-es/pagination/ListAssetRelationshipsPaginator.js +3 -2
  42. package/dist-es/pagination/ListAssetsPaginator.js +3 -2
  43. package/dist-es/pagination/ListAssociatedAssetsPaginator.js +3 -2
  44. package/dist-es/pagination/ListDashboardsPaginator.js +3 -2
  45. package/dist-es/pagination/ListGatewaysPaginator.js +3 -2
  46. package/dist-es/pagination/ListPortalsPaginator.js +3 -2
  47. package/dist-es/pagination/ListProjectAssetsPaginator.js +3 -2
  48. package/dist-es/pagination/ListProjectsPaginator.js +3 -2
  49. package/dist-es/pagination/ListTimeSeriesPaginator.js +3 -2
  50. package/dist-es/pagination/index.js +3 -0
  51. package/dist-es/protocols/Aws_restJson1.js +611 -0
  52. package/dist-types/IoTSiteWise.d.ts +25 -0
  53. package/dist-types/IoTSiteWiseClient.d.ts +5 -2
  54. package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +37 -0
  55. package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +36 -0
  56. package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +36 -0
  57. package/dist-types/commands/index.d.ts +3 -0
  58. package/dist-types/models/models_0.d.ts +627 -15
  59. package/dist-types/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +4 -0
  60. package/dist-types/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +4 -0
  61. package/dist-types/pagination/BatchGetAssetPropertyValuePaginator.d.ts +4 -0
  62. package/dist-types/pagination/index.d.ts +3 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  64. package/dist-types/ts3.4/IoTSiteWise.d.ts +15 -0
  65. package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +5 -2
  66. package/dist-types/ts3.4/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +315 -11
  71. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +4 -0
  72. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +4 -0
  73. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValuePaginator.d.ts +4 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
  76. package/package.json +26 -26
@@ -27,8 +27,9 @@ async function* paginateListAssetRelationships(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListAssets(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListAssociatedAssets(config, input, ...additionalArgumen
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListDashboards(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListGateways(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListPortals(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListProjectAssets(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListProjects(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTimeSeries(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.nextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchGetAssetPropertyAggregatesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./BatchGetAssetPropertyValueHistoryPaginator"), exports);
6
+ tslib_1.__exportStar(require("./BatchGetAssetPropertyValuePaginator"), exports);
4
7
  tslib_1.__exportStar(require("./GetAssetPropertyAggregatesPaginator"), exports);
5
8
  tslib_1.__exportStar(require("./GetAssetPropertyValueHistoryPaginator"), exports);
6
9
  tslib_1.__exportStar(require("./GetInterpolatedAssetPropertyValuesPaginator"), exports);