@effect-aws/client-iot-wireless 1.10.9 → 1.11.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 (33) hide show
  1. package/dist/cjs/Errors.d.ts +1 -1
  2. package/dist/cjs/Errors.d.ts.map +1 -1
  3. package/dist/cjs/IoTWirelessClientInstance.d.ts +3 -1
  4. package/dist/cjs/IoTWirelessClientInstance.d.ts.map +1 -1
  5. package/dist/cjs/IoTWirelessClientInstance.js +6 -4
  6. package/dist/cjs/IoTWirelessClientInstance.js.map +1 -1
  7. package/dist/cjs/IoTWirelessService.d.ts +17 -3
  8. package/dist/cjs/IoTWirelessService.d.ts.map +1 -1
  9. package/dist/cjs/IoTWirelessService.js +23 -9
  10. package/dist/cjs/IoTWirelessService.js.map +1 -1
  11. package/dist/cjs/IoTWirelessServiceConfig.d.ts +2 -1
  12. package/dist/cjs/IoTWirelessServiceConfig.d.ts.map +1 -1
  13. package/dist/cjs/IoTWirelessServiceConfig.js +34 -9
  14. package/dist/cjs/IoTWirelessServiceConfig.js.map +1 -1
  15. package/dist/dts/Errors.d.ts +1 -1
  16. package/dist/dts/Errors.d.ts.map +1 -1
  17. package/dist/dts/IoTWirelessClientInstance.d.ts +3 -1
  18. package/dist/dts/IoTWirelessClientInstance.d.ts.map +1 -1
  19. package/dist/dts/IoTWirelessService.d.ts +17 -3
  20. package/dist/dts/IoTWirelessService.d.ts.map +1 -1
  21. package/dist/dts/IoTWirelessServiceConfig.d.ts +2 -1
  22. package/dist/dts/IoTWirelessServiceConfig.d.ts.map +1 -1
  23. package/dist/esm/IoTWirelessClientInstance.js +3 -1
  24. package/dist/esm/IoTWirelessClientInstance.js.map +1 -1
  25. package/dist/esm/IoTWirelessService.js +18 -4
  26. package/dist/esm/IoTWirelessService.js.map +1 -1
  27. package/dist/esm/IoTWirelessServiceConfig.js +4 -2
  28. package/dist/esm/IoTWirelessServiceConfig.js.map +1 -1
  29. package/package.json +2 -2
  30. package/src/Errors.ts +1 -1
  31. package/src/IoTWirelessClientInstance.ts +3 -1
  32. package/src/IoTWirelessService.ts +133 -4
  33. package/src/IoTWirelessServiceConfig.ts +4 -2
@@ -253,6 +253,17 @@ import {
253
253
  ListWirelessGatewayTaskDefinitionsCommand,
254
254
  type ListWirelessGatewayTaskDefinitionsCommandInput,
255
255
  type ListWirelessGatewayTaskDefinitionsCommandOutput,
256
+ paginateListDestinations,
257
+ paginateListDeviceProfiles,
258
+ paginateListFuotaTasks,
259
+ paginateListMulticastGroups,
260
+ paginateListMulticastGroupsByFuotaTask,
261
+ paginateListNetworkAnalyzerConfigurations,
262
+ paginateListPositionConfigurations,
263
+ paginateListQueuedMessages,
264
+ paginateListServiceProfiles,
265
+ paginateListWirelessDevices,
266
+ paginateListWirelessGateways,
256
267
  PutPositionConfigurationCommand,
257
268
  type PutPositionConfigurationCommandInput,
258
269
  type PutPositionConfigurationCommandOutput,
@@ -341,10 +352,13 @@ import {
341
352
  type UpdateWirelessGatewayCommandInput,
342
353
  type UpdateWirelessGatewayCommandOutput,
343
354
  } from "@aws-sdk/client-iot-wireless";
344
- import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
345
- import { Service } from "@effect-aws/commons";
346
- import type { Cause } from "effect";
347
- import { Effect, Layer } from "effect";
355
+ import * as Service from "@effect-aws/commons/Service";
356
+ import type * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
357
+ import type { HttpHandlerOptions } from "@effect-aws/commons/Types";
358
+ import type * as Cause from "effect/Cause";
359
+ import * as Effect from "effect/Effect";
360
+ import * as Layer from "effect/Layer";
361
+ import type * as Stream from "effect/Stream";
348
362
  import type {
349
363
  AccessDeniedError,
350
364
  ConflictError,
@@ -474,6 +488,20 @@ const commands = {
474
488
  UpdateWirelessGatewayCommand,
475
489
  };
476
490
 
491
+ const paginators = {
492
+ paginateListDestinations,
493
+ paginateListDeviceProfiles,
494
+ paginateListFuotaTasks,
495
+ paginateListMulticastGroups,
496
+ paginateListMulticastGroupsByFuotaTask,
497
+ paginateListNetworkAnalyzerConfigurations,
498
+ paginateListPositionConfigurations,
499
+ paginateListQueuedMessages,
500
+ paginateListServiceProfiles,
501
+ paginateListWirelessDevices,
502
+ paginateListWirelessGateways,
503
+ };
504
+
477
505
  interface IoTWirelessService$ {
478
506
  readonly _: unique symbol;
479
507
 
@@ -1607,6 +1635,14 @@ interface IoTWirelessService$ {
1607
1635
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1608
1636
  >;
1609
1637
 
1638
+ listDestinationsStream(
1639
+ args: ListDestinationsCommandInput,
1640
+ options?: HttpHandlerOptions,
1641
+ ): Stream.Stream<
1642
+ ListDestinationsCommandOutput,
1643
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1644
+ >;
1645
+
1610
1646
  /**
1611
1647
  * @see {@link ListDeviceProfilesCommand}
1612
1648
  */
@@ -1618,6 +1654,14 @@ interface IoTWirelessService$ {
1618
1654
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1619
1655
  >;
1620
1656
 
1657
+ listDeviceProfilesStream(
1658
+ args: ListDeviceProfilesCommandInput,
1659
+ options?: HttpHandlerOptions,
1660
+ ): Stream.Stream<
1661
+ ListDeviceProfilesCommandOutput,
1662
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1663
+ >;
1664
+
1621
1665
  /**
1622
1666
  * @see {@link ListDevicesForWirelessDeviceImportTaskCommand}
1623
1667
  */
@@ -1658,6 +1702,14 @@ interface IoTWirelessService$ {
1658
1702
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1659
1703
  >;
1660
1704
 
1705
+ listFuotaTasksStream(
1706
+ args: ListFuotaTasksCommandInput,
1707
+ options?: HttpHandlerOptions,
1708
+ ): Stream.Stream<
1709
+ ListFuotaTasksCommandOutput,
1710
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1711
+ >;
1712
+
1661
1713
  /**
1662
1714
  * @see {@link ListMulticastGroupsCommand}
1663
1715
  */
@@ -1669,6 +1721,14 @@ interface IoTWirelessService$ {
1669
1721
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1670
1722
  >;
1671
1723
 
1724
+ listMulticastGroupsStream(
1725
+ args: ListMulticastGroupsCommandInput,
1726
+ options?: HttpHandlerOptions,
1727
+ ): Stream.Stream<
1728
+ ListMulticastGroupsCommandOutput,
1729
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1730
+ >;
1731
+
1672
1732
  /**
1673
1733
  * @see {@link ListMulticastGroupsByFuotaTaskCommand}
1674
1734
  */
@@ -1686,6 +1746,20 @@ interface IoTWirelessService$ {
1686
1746
  | ValidationError
1687
1747
  >;
1688
1748
 
1749
+ listMulticastGroupsByFuotaTaskStream(
1750
+ args: ListMulticastGroupsByFuotaTaskCommandInput,
1751
+ options?: HttpHandlerOptions,
1752
+ ): Stream.Stream<
1753
+ ListMulticastGroupsByFuotaTaskCommandOutput,
1754
+ | Cause.TimeoutException
1755
+ | SdkError
1756
+ | AccessDeniedError
1757
+ | InternalServerError
1758
+ | ResourceNotFoundError
1759
+ | ThrottlingError
1760
+ | ValidationError
1761
+ >;
1762
+
1689
1763
  /**
1690
1764
  * @see {@link ListNetworkAnalyzerConfigurationsCommand}
1691
1765
  */
@@ -1697,6 +1771,14 @@ interface IoTWirelessService$ {
1697
1771
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1698
1772
  >;
1699
1773
 
1774
+ listNetworkAnalyzerConfigurationsStream(
1775
+ args: ListNetworkAnalyzerConfigurationsCommandInput,
1776
+ options?: HttpHandlerOptions,
1777
+ ): Stream.Stream<
1778
+ ListNetworkAnalyzerConfigurationsCommandOutput,
1779
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1780
+ >;
1781
+
1700
1782
  /**
1701
1783
  * @see {@link ListPartnerAccountsCommand}
1702
1784
  */
@@ -1719,6 +1801,14 @@ interface IoTWirelessService$ {
1719
1801
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1720
1802
  >;
1721
1803
 
1804
+ listPositionConfigurationsStream(
1805
+ args: ListPositionConfigurationsCommandInput,
1806
+ options?: HttpHandlerOptions,
1807
+ ): Stream.Stream<
1808
+ ListPositionConfigurationsCommandOutput,
1809
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1810
+ >;
1811
+
1722
1812
  /**
1723
1813
  * @see {@link ListQueuedMessagesCommand}
1724
1814
  */
@@ -1736,6 +1826,20 @@ interface IoTWirelessService$ {
1736
1826
  | ValidationError
1737
1827
  >;
1738
1828
 
1829
+ listQueuedMessagesStream(
1830
+ args: ListQueuedMessagesCommandInput,
1831
+ options?: HttpHandlerOptions,
1832
+ ): Stream.Stream<
1833
+ ListQueuedMessagesCommandOutput,
1834
+ | Cause.TimeoutException
1835
+ | SdkError
1836
+ | AccessDeniedError
1837
+ | InternalServerError
1838
+ | ResourceNotFoundError
1839
+ | ThrottlingError
1840
+ | ValidationError
1841
+ >;
1842
+
1739
1843
  /**
1740
1844
  * @see {@link ListServiceProfilesCommand}
1741
1845
  */
@@ -1747,6 +1851,14 @@ interface IoTWirelessService$ {
1747
1851
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1748
1852
  >;
1749
1853
 
1854
+ listServiceProfilesStream(
1855
+ args: ListServiceProfilesCommandInput,
1856
+ options?: HttpHandlerOptions,
1857
+ ): Stream.Stream<
1858
+ ListServiceProfilesCommandOutput,
1859
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1860
+ >;
1861
+
1750
1862
  /**
1751
1863
  * @see {@link ListTagsForResourceCommand}
1752
1864
  */
@@ -1793,6 +1905,14 @@ interface IoTWirelessService$ {
1793
1905
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1794
1906
  >;
1795
1907
 
1908
+ listWirelessDevicesStream(
1909
+ args: ListWirelessDevicesCommandInput,
1910
+ options?: HttpHandlerOptions,
1911
+ ): Stream.Stream<
1912
+ ListWirelessDevicesCommandOutput,
1913
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1914
+ >;
1915
+
1796
1916
  /**
1797
1917
  * @see {@link ListWirelessGatewayTaskDefinitionsCommand}
1798
1918
  */
@@ -1815,6 +1935,14 @@ interface IoTWirelessService$ {
1815
1935
  Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1816
1936
  >;
1817
1937
 
1938
+ listWirelessGatewaysStream(
1939
+ args: ListWirelessGatewaysCommandInput,
1940
+ options?: HttpHandlerOptions,
1941
+ ): Stream.Stream<
1942
+ ListWirelessGatewaysCommandOutput,
1943
+ Cause.TimeoutException | SdkError | AccessDeniedError | InternalServerError | ThrottlingError | ValidationError
1944
+ >;
1945
+
1818
1946
  /**
1819
1947
  * @see {@link PutPositionConfigurationCommand}
1820
1948
  */
@@ -2311,6 +2439,7 @@ export const makeIoTWirelessService = Effect.gen(function*() {
2311
2439
  errorTags: AllServiceErrors,
2312
2440
  resolveClientConfig: IoTWirelessServiceConfig.toIoTWirelessClientConfig,
2313
2441
  },
2442
+ paginators,
2314
2443
  );
2315
2444
  });
2316
2445
 
@@ -2,10 +2,12 @@
2
2
  * @since 1.0.0
3
3
  */
4
4
  import type { IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless";
5
- import { ServiceLogger } from "@effect-aws/commons";
6
- import { Effect, FiberRef, Layer } from "effect";
5
+ import * as ServiceLogger from "@effect-aws/commons/ServiceLogger";
6
+ import * as Effect from "effect/Effect";
7
+ import * as FiberRef from "effect/FiberRef";
7
8
  import { dual } from "effect/Function";
8
9
  import { globalValue } from "effect/GlobalValue";
10
+ import * as Layer from "effect/Layer";
9
11
  import type { IoTWirelessService } from "./IoTWirelessService.js";
10
12
 
11
13
  /**