@aws-sdk/client-iot-wireless 3.118.0 → 3.125.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 (78) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/IoTWireless.js +75 -0
  3. package/dist-cjs/commands/GetPositionCommand.js +36 -0
  4. package/dist-cjs/commands/GetPositionConfigurationCommand.js +36 -0
  5. package/dist-cjs/commands/ListPositionConfigurationsCommand.js +36 -0
  6. package/dist-cjs/commands/PutPositionConfigurationCommand.js +36 -0
  7. package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +3 -3
  8. package/dist-cjs/commands/UpdatePartnerAccountCommand.js +3 -3
  9. package/dist-cjs/commands/UpdatePositionCommand.js +36 -0
  10. package/dist-cjs/commands/UpdateResourceEventConfigurationCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateWirelessDeviceCommand.js +3 -3
  12. package/dist-cjs/commands/UpdateWirelessGatewayCommand.js +3 -3
  13. package/dist-cjs/commands/index.js +5 -0
  14. package/dist-cjs/models/index.js +1 -0
  15. package/dist-cjs/models/models_0.js +119 -92
  16. package/dist-cjs/models/models_1.js +108 -0
  17. package/dist-cjs/pagination/ListPositionConfigurationsPaginator.js +36 -0
  18. package/dist-cjs/pagination/index.js +1 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +999 -377
  20. package/dist-es/IoTWireless.js +75 -0
  21. package/dist-es/commands/GetPositionCommand.js +39 -0
  22. package/dist-es/commands/GetPositionConfigurationCommand.js +39 -0
  23. package/dist-es/commands/ListPositionConfigurationsCommand.js +39 -0
  24. package/dist-es/commands/PutPositionConfigurationCommand.js +39 -0
  25. package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +1 -1
  26. package/dist-es/commands/UpdatePartnerAccountCommand.js +1 -1
  27. package/dist-es/commands/UpdatePositionCommand.js +39 -0
  28. package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +1 -1
  29. package/dist-es/commands/UpdateWirelessDeviceCommand.js +1 -1
  30. package/dist-es/commands/UpdateWirelessGatewayCommand.js +1 -1
  31. package/dist-es/commands/index.js +5 -0
  32. package/dist-es/models/index.js +1 -0
  33. package/dist-es/models/models_0.js +83 -56
  34. package/dist-es/models/models_1.js +70 -0
  35. package/dist-es/pagination/ListPositionConfigurationsPaginator.js +75 -0
  36. package/dist-es/pagination/index.js +1 -0
  37. package/dist-es/protocols/Aws_restJson1.js +1139 -412
  38. package/dist-types/IoTWireless.d.ts +37 -2
  39. package/dist-types/IoTWirelessClient.d.ts +7 -2
  40. package/dist-types/commands/GetEventConfigurationByResourceTypesCommand.d.ts +1 -1
  41. package/dist-types/commands/GetPositionCommand.d.ts +35 -0
  42. package/dist-types/commands/GetPositionConfigurationCommand.d.ts +35 -0
  43. package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +35 -0
  44. package/dist-types/commands/PutPositionConfigurationCommand.d.ts +35 -0
  45. package/dist-types/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdatePositionCommand.d.ts +35 -0
  49. package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +5 -0
  53. package/dist-types/models/index.d.ts +1 -0
  54. package/dist-types/models/models_0.d.ts +338 -278
  55. package/dist-types/models/models_1.d.ts +313 -0
  56. package/dist-types/pagination/ListPositionConfigurationsPaginator.d.ts +4 -0
  57. package/dist-types/pagination/index.d.ts +1 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  59. package/dist-types/ts3.4/IoTWireless.d.ts +25 -0
  60. package/dist-types/ts3.4/IoTWirelessClient.d.ts +7 -2
  61. package/dist-types/ts3.4/commands/GetPositionCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetPositionConfigurationCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListPositionConfigurationsCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/PutPositionConfigurationCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdatePartnerAccountCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdatePositionCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/UpdateResourceEventConfigurationCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  72. package/dist-types/ts3.4/models/index.d.ts +1 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +193 -156
  74. package/dist-types/ts3.4/models/models_1.d.ts +186 -0
  75. package/dist-types/ts3.4/pagination/ListPositionConfigurationsPaginator.d.ts +4 -0
  76. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  77. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  78. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.125.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.124.0...v3.125.0) (2022-07-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-iot-wireless:** Adds 5 APIs: PutPositionConfiguration, GetPositionConfiguration, ListPositionConfigurations, UpdatePosition, GetPosition for the new Positioning Service feature which enables customers to configure solvers to calculate position of LoRaWAN devices, or specify position of LoRaWAN devices & gateways. ([92e8618](https://github.com/aws/aws-sdk-js-v3/commit/92e8618cf09419c36d8f56e92b8b6cc28a2a6118))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
23
+
24
+
25
+
26
+
27
+
28
+ ## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
29
+
30
+ **Note:** Version bump only for package @aws-sdk/client-iot-wireless
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-iot-wireless
@@ -46,6 +46,8 @@ const GetMulticastGroupCommand_1 = require("./commands/GetMulticastGroupCommand"
46
46
  const GetMulticastGroupSessionCommand_1 = require("./commands/GetMulticastGroupSessionCommand");
47
47
  const GetNetworkAnalyzerConfigurationCommand_1 = require("./commands/GetNetworkAnalyzerConfigurationCommand");
48
48
  const GetPartnerAccountCommand_1 = require("./commands/GetPartnerAccountCommand");
49
+ const GetPositionCommand_1 = require("./commands/GetPositionCommand");
50
+ const GetPositionConfigurationCommand_1 = require("./commands/GetPositionConfigurationCommand");
49
51
  const GetResourceEventConfigurationCommand_1 = require("./commands/GetResourceEventConfigurationCommand");
50
52
  const GetResourceLogLevelCommand_1 = require("./commands/GetResourceLogLevelCommand");
51
53
  const GetServiceEndpointCommand_1 = require("./commands/GetServiceEndpointCommand");
@@ -66,12 +68,14 @@ const ListMulticastGroupsByFuotaTaskCommand_1 = require("./commands/ListMulticas
66
68
  const ListMulticastGroupsCommand_1 = require("./commands/ListMulticastGroupsCommand");
67
69
  const ListNetworkAnalyzerConfigurationsCommand_1 = require("./commands/ListNetworkAnalyzerConfigurationsCommand");
68
70
  const ListPartnerAccountsCommand_1 = require("./commands/ListPartnerAccountsCommand");
71
+ const ListPositionConfigurationsCommand_1 = require("./commands/ListPositionConfigurationsCommand");
69
72
  const ListQueuedMessagesCommand_1 = require("./commands/ListQueuedMessagesCommand");
70
73
  const ListServiceProfilesCommand_1 = require("./commands/ListServiceProfilesCommand");
71
74
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
72
75
  const ListWirelessDevicesCommand_1 = require("./commands/ListWirelessDevicesCommand");
73
76
  const ListWirelessGatewaysCommand_1 = require("./commands/ListWirelessGatewaysCommand");
74
77
  const ListWirelessGatewayTaskDefinitionsCommand_1 = require("./commands/ListWirelessGatewayTaskDefinitionsCommand");
78
+ const PutPositionConfigurationCommand_1 = require("./commands/PutPositionConfigurationCommand");
75
79
  const PutResourceLogLevelCommand_1 = require("./commands/PutResourceLogLevelCommand");
76
80
  const ResetAllResourceLogLevelsCommand_1 = require("./commands/ResetAllResourceLogLevelsCommand");
77
81
  const ResetResourceLogLevelCommand_1 = require("./commands/ResetResourceLogLevelCommand");
@@ -91,6 +95,7 @@ const UpdateLogLevelsByResourceTypesCommand_1 = require("./commands/UpdateLogLev
91
95
  const UpdateMulticastGroupCommand_1 = require("./commands/UpdateMulticastGroupCommand");
92
96
  const UpdateNetworkAnalyzerConfigurationCommand_1 = require("./commands/UpdateNetworkAnalyzerConfigurationCommand");
93
97
  const UpdatePartnerAccountCommand_1 = require("./commands/UpdatePartnerAccountCommand");
98
+ const UpdatePositionCommand_1 = require("./commands/UpdatePositionCommand");
94
99
  const UpdateResourceEventConfigurationCommand_1 = require("./commands/UpdateResourceEventConfigurationCommand");
95
100
  const UpdateWirelessDeviceCommand_1 = require("./commands/UpdateWirelessDeviceCommand");
96
101
  const UpdateWirelessGatewayCommand_1 = require("./commands/UpdateWirelessGatewayCommand");
@@ -726,6 +731,34 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
726
731
  return this.send(command, optionsOrCb);
727
732
  }
728
733
  }
734
+ getPosition(args, optionsOrCb, cb) {
735
+ const command = new GetPositionCommand_1.GetPositionCommand(args);
736
+ if (typeof optionsOrCb === "function") {
737
+ this.send(command, optionsOrCb);
738
+ }
739
+ else if (typeof cb === "function") {
740
+ if (typeof optionsOrCb !== "object")
741
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
742
+ this.send(command, optionsOrCb || {}, cb);
743
+ }
744
+ else {
745
+ return this.send(command, optionsOrCb);
746
+ }
747
+ }
748
+ getPositionConfiguration(args, optionsOrCb, cb) {
749
+ const command = new GetPositionConfigurationCommand_1.GetPositionConfigurationCommand(args);
750
+ if (typeof optionsOrCb === "function") {
751
+ this.send(command, optionsOrCb);
752
+ }
753
+ else if (typeof cb === "function") {
754
+ if (typeof optionsOrCb !== "object")
755
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
756
+ this.send(command, optionsOrCb || {}, cb);
757
+ }
758
+ else {
759
+ return this.send(command, optionsOrCb);
760
+ }
761
+ }
729
762
  getResourceEventConfiguration(args, optionsOrCb, cb) {
730
763
  const command = new GetResourceEventConfigurationCommand_1.GetResourceEventConfigurationCommand(args);
731
764
  if (typeof optionsOrCb === "function") {
@@ -1006,6 +1039,20 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
1006
1039
  return this.send(command, optionsOrCb);
1007
1040
  }
1008
1041
  }
1042
+ listPositionConfigurations(args, optionsOrCb, cb) {
1043
+ const command = new ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand(args);
1044
+ if (typeof optionsOrCb === "function") {
1045
+ this.send(command, optionsOrCb);
1046
+ }
1047
+ else if (typeof cb === "function") {
1048
+ if (typeof optionsOrCb !== "object")
1049
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1050
+ this.send(command, optionsOrCb || {}, cb);
1051
+ }
1052
+ else {
1053
+ return this.send(command, optionsOrCb);
1054
+ }
1055
+ }
1009
1056
  listQueuedMessages(args, optionsOrCb, cb) {
1010
1057
  const command = new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(args);
1011
1058
  if (typeof optionsOrCb === "function") {
@@ -1090,6 +1137,20 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
1090
1137
  return this.send(command, optionsOrCb);
1091
1138
  }
1092
1139
  }
1140
+ putPositionConfiguration(args, optionsOrCb, cb) {
1141
+ const command = new PutPositionConfigurationCommand_1.PutPositionConfigurationCommand(args);
1142
+ if (typeof optionsOrCb === "function") {
1143
+ this.send(command, optionsOrCb);
1144
+ }
1145
+ else if (typeof cb === "function") {
1146
+ if (typeof optionsOrCb !== "object")
1147
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1148
+ this.send(command, optionsOrCb || {}, cb);
1149
+ }
1150
+ else {
1151
+ return this.send(command, optionsOrCb);
1152
+ }
1153
+ }
1093
1154
  putResourceLogLevel(args, optionsOrCb, cb) {
1094
1155
  const command = new PutResourceLogLevelCommand_1.PutResourceLogLevelCommand(args);
1095
1156
  if (typeof optionsOrCb === "function") {
@@ -1356,6 +1417,20 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
1356
1417
  return this.send(command, optionsOrCb);
1357
1418
  }
1358
1419
  }
1420
+ updatePosition(args, optionsOrCb, cb) {
1421
+ const command = new UpdatePositionCommand_1.UpdatePositionCommand(args);
1422
+ if (typeof optionsOrCb === "function") {
1423
+ this.send(command, optionsOrCb);
1424
+ }
1425
+ else if (typeof cb === "function") {
1426
+ if (typeof optionsOrCb !== "object")
1427
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1428
+ this.send(command, optionsOrCb || {}, cb);
1429
+ }
1430
+ else {
1431
+ return this.send(command, optionsOrCb);
1432
+ }
1433
+ }
1359
1434
  updateResourceEventConfiguration(args, optionsOrCb, cb) {
1360
1435
  const command = new UpdateResourceEventConfigurationCommand_1.UpdateResourceEventConfigurationCommand(args);
1361
1436
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPositionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetPositionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IoTWirelessClient";
18
+ const commandName = "GetPositionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetPositionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetPositionResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetPositionCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetPositionCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetPositionCommand = GetPositionCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetPositionConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetPositionConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IoTWirelessClient";
18
+ const commandName = "GetPositionConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetPositionConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetPositionConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetPositionConfigurationCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetPositionConfigurationCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetPositionConfigurationCommand = GetPositionConfigurationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListPositionConfigurationsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListPositionConfigurationsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IoTWirelessClient";
18
+ const commandName = "ListPositionConfigurationsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListPositionConfigurationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListPositionConfigurationsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListPositionConfigurationsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListPositionConfigurationsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListPositionConfigurationsCommand = ListPositionConfigurationsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutPositionConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class PutPositionConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IoTWirelessClient";
18
+ const commandName = "PutPositionConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.PutPositionConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.PutPositionConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PutPositionConfigurationCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PutPositionConfigurationCommand)(output, context);
34
+ }
35
+ }
36
+ exports.PutPositionConfigurationCommand = PutPositionConfigurationCommand;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateNetworkAnalyzerConfigurationCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UpdateNetworkAnalyzerConfigurationCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateNetworkAnalyzerConfigurationCommand extends smithy_client_1.Command
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdatePartnerAccountCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UpdatePartnerAccountCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdatePartnerAccountCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdatePartnerAccountRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdatePartnerAccountResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UpdatePartnerAccountRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdatePartnerAccountResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatePositionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_1_1 = require("../models/models_1");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdatePositionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "IoTWirelessClient";
18
+ const commandName = "UpdatePositionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_1_1.UpdatePositionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdatePositionResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdatePositionCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdatePositionCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdatePositionCommand = UpdatePositionCommand;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateResourceEventConfigurationCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UpdateResourceEventConfigurationCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateResourceEventConfigurationCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateResourceEventConfigurationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateResourceEventConfigurationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UpdateResourceEventConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdateResourceEventConfigurationResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateWirelessDeviceCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UpdateWirelessDeviceCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateWirelessDeviceCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateWirelessDeviceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateWirelessDeviceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UpdateWirelessDeviceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdateWirelessDeviceResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateWirelessGatewayCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
8
  class UpdateWirelessGatewayCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateWirelessGatewayCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateWirelessGatewayRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateWirelessGatewayResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.UpdateWirelessGatewayRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.UpdateWirelessGatewayResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -46,6 +46,8 @@ tslib_1.__exportStar(require("./GetMulticastGroupCommand"), exports);
46
46
  tslib_1.__exportStar(require("./GetMulticastGroupSessionCommand"), exports);
47
47
  tslib_1.__exportStar(require("./GetNetworkAnalyzerConfigurationCommand"), exports);
48
48
  tslib_1.__exportStar(require("./GetPartnerAccountCommand"), exports);
49
+ tslib_1.__exportStar(require("./GetPositionCommand"), exports);
50
+ tslib_1.__exportStar(require("./GetPositionConfigurationCommand"), exports);
49
51
  tslib_1.__exportStar(require("./GetResourceEventConfigurationCommand"), exports);
50
52
  tslib_1.__exportStar(require("./GetResourceLogLevelCommand"), exports);
51
53
  tslib_1.__exportStar(require("./GetServiceEndpointCommand"), exports);
@@ -66,12 +68,14 @@ tslib_1.__exportStar(require("./ListMulticastGroupsByFuotaTaskCommand"), exports
66
68
  tslib_1.__exportStar(require("./ListMulticastGroupsCommand"), exports);
67
69
  tslib_1.__exportStar(require("./ListNetworkAnalyzerConfigurationsCommand"), exports);
68
70
  tslib_1.__exportStar(require("./ListPartnerAccountsCommand"), exports);
71
+ tslib_1.__exportStar(require("./ListPositionConfigurationsCommand"), exports);
69
72
  tslib_1.__exportStar(require("./ListQueuedMessagesCommand"), exports);
70
73
  tslib_1.__exportStar(require("./ListServiceProfilesCommand"), exports);
71
74
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
72
75
  tslib_1.__exportStar(require("./ListWirelessDevicesCommand"), exports);
73
76
  tslib_1.__exportStar(require("./ListWirelessGatewayTaskDefinitionsCommand"), exports);
74
77
  tslib_1.__exportStar(require("./ListWirelessGatewaysCommand"), exports);
78
+ tslib_1.__exportStar(require("./PutPositionConfigurationCommand"), exports);
75
79
  tslib_1.__exportStar(require("./PutResourceLogLevelCommand"), exports);
76
80
  tslib_1.__exportStar(require("./ResetAllResourceLogLevelsCommand"), exports);
77
81
  tslib_1.__exportStar(require("./ResetResourceLogLevelCommand"), exports);
@@ -91,6 +95,7 @@ tslib_1.__exportStar(require("./UpdateLogLevelsByResourceTypesCommand"), exports
91
95
  tslib_1.__exportStar(require("./UpdateMulticastGroupCommand"), exports);
92
96
  tslib_1.__exportStar(require("./UpdateNetworkAnalyzerConfigurationCommand"), exports);
93
97
  tslib_1.__exportStar(require("./UpdatePartnerAccountCommand"), exports);
98
+ tslib_1.__exportStar(require("./UpdatePositionCommand"), exports);
94
99
  tslib_1.__exportStar(require("./UpdateResourceEventConfigurationCommand"), exports);
95
100
  tslib_1.__exportStar(require("./UpdateWirelessDeviceCommand"), exports);
96
101
  tslib_1.__exportStar(require("./UpdateWirelessGatewayCommand"), exports);
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
+ tslib_1.__exportStar(require("./models_1"), exports);