@aws-sdk/client-iot-wireless 3.186.0 → 3.188.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 (122) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/IoTWireless.js +394 -401
  3. package/dist-es/IoTWirelessClient.js +22 -28
  4. package/dist-es/commands/AssociateAwsAccountWithPartnerAccountCommand.js +21 -28
  5. package/dist-es/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +21 -28
  6. package/dist-es/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +21 -28
  7. package/dist-es/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +21 -28
  8. package/dist-es/commands/AssociateWirelessDeviceWithThingCommand.js +21 -28
  9. package/dist-es/commands/AssociateWirelessGatewayWithCertificateCommand.js +21 -28
  10. package/dist-es/commands/AssociateWirelessGatewayWithThingCommand.js +21 -28
  11. package/dist-es/commands/CancelMulticastGroupSessionCommand.js +21 -28
  12. package/dist-es/commands/CreateDestinationCommand.js +21 -28
  13. package/dist-es/commands/CreateDeviceProfileCommand.js +21 -28
  14. package/dist-es/commands/CreateFuotaTaskCommand.js +21 -28
  15. package/dist-es/commands/CreateMulticastGroupCommand.js +21 -28
  16. package/dist-es/commands/CreateNetworkAnalyzerConfigurationCommand.js +21 -28
  17. package/dist-es/commands/CreateServiceProfileCommand.js +21 -28
  18. package/dist-es/commands/CreateWirelessDeviceCommand.js +21 -28
  19. package/dist-es/commands/CreateWirelessGatewayCommand.js +21 -28
  20. package/dist-es/commands/CreateWirelessGatewayTaskCommand.js +21 -28
  21. package/dist-es/commands/CreateWirelessGatewayTaskDefinitionCommand.js +21 -28
  22. package/dist-es/commands/DeleteDestinationCommand.js +21 -28
  23. package/dist-es/commands/DeleteDeviceProfileCommand.js +21 -28
  24. package/dist-es/commands/DeleteFuotaTaskCommand.js +21 -28
  25. package/dist-es/commands/DeleteMulticastGroupCommand.js +21 -28
  26. package/dist-es/commands/DeleteNetworkAnalyzerConfigurationCommand.js +21 -28
  27. package/dist-es/commands/DeleteQueuedMessagesCommand.js +21 -28
  28. package/dist-es/commands/DeleteServiceProfileCommand.js +21 -28
  29. package/dist-es/commands/DeleteWirelessDeviceCommand.js +21 -28
  30. package/dist-es/commands/DeleteWirelessGatewayCommand.js +21 -28
  31. package/dist-es/commands/DeleteWirelessGatewayTaskCommand.js +21 -28
  32. package/dist-es/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +21 -28
  33. package/dist-es/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +21 -28
  34. package/dist-es/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +21 -28
  35. package/dist-es/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +21 -28
  36. package/dist-es/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +21 -28
  37. package/dist-es/commands/DisassociateWirelessDeviceFromThingCommand.js +21 -28
  38. package/dist-es/commands/DisassociateWirelessGatewayFromCertificateCommand.js +21 -28
  39. package/dist-es/commands/DisassociateWirelessGatewayFromThingCommand.js +21 -28
  40. package/dist-es/commands/GetDestinationCommand.js +21 -28
  41. package/dist-es/commands/GetDeviceProfileCommand.js +21 -28
  42. package/dist-es/commands/GetEventConfigurationByResourceTypesCommand.js +21 -28
  43. package/dist-es/commands/GetFuotaTaskCommand.js +21 -28
  44. package/dist-es/commands/GetLogLevelsByResourceTypesCommand.js +21 -28
  45. package/dist-es/commands/GetMulticastGroupCommand.js +21 -28
  46. package/dist-es/commands/GetMulticastGroupSessionCommand.js +21 -28
  47. package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +21 -28
  48. package/dist-es/commands/GetPartnerAccountCommand.js +21 -28
  49. package/dist-es/commands/GetPositionCommand.js +21 -28
  50. package/dist-es/commands/GetPositionConfigurationCommand.js +21 -28
  51. package/dist-es/commands/GetResourceEventConfigurationCommand.js +21 -28
  52. package/dist-es/commands/GetResourceLogLevelCommand.js +21 -28
  53. package/dist-es/commands/GetServiceEndpointCommand.js +21 -28
  54. package/dist-es/commands/GetServiceProfileCommand.js +21 -28
  55. package/dist-es/commands/GetWirelessDeviceCommand.js +21 -28
  56. package/dist-es/commands/GetWirelessDeviceStatisticsCommand.js +21 -28
  57. package/dist-es/commands/GetWirelessGatewayCertificateCommand.js +21 -28
  58. package/dist-es/commands/GetWirelessGatewayCommand.js +21 -28
  59. package/dist-es/commands/GetWirelessGatewayFirmwareInformationCommand.js +21 -28
  60. package/dist-es/commands/GetWirelessGatewayStatisticsCommand.js +21 -28
  61. package/dist-es/commands/GetWirelessGatewayTaskCommand.js +21 -28
  62. package/dist-es/commands/GetWirelessGatewayTaskDefinitionCommand.js +21 -28
  63. package/dist-es/commands/ListDestinationsCommand.js +21 -28
  64. package/dist-es/commands/ListDeviceProfilesCommand.js +21 -28
  65. package/dist-es/commands/ListEventConfigurationsCommand.js +21 -28
  66. package/dist-es/commands/ListFuotaTasksCommand.js +21 -28
  67. package/dist-es/commands/ListMulticastGroupsByFuotaTaskCommand.js +21 -28
  68. package/dist-es/commands/ListMulticastGroupsCommand.js +21 -28
  69. package/dist-es/commands/ListNetworkAnalyzerConfigurationsCommand.js +21 -28
  70. package/dist-es/commands/ListPartnerAccountsCommand.js +21 -28
  71. package/dist-es/commands/ListPositionConfigurationsCommand.js +21 -28
  72. package/dist-es/commands/ListQueuedMessagesCommand.js +21 -28
  73. package/dist-es/commands/ListServiceProfilesCommand.js +21 -28
  74. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  75. package/dist-es/commands/ListWirelessDevicesCommand.js +21 -28
  76. package/dist-es/commands/ListWirelessGatewayTaskDefinitionsCommand.js +21 -28
  77. package/dist-es/commands/ListWirelessGatewaysCommand.js +21 -28
  78. package/dist-es/commands/PutPositionConfigurationCommand.js +21 -28
  79. package/dist-es/commands/PutResourceLogLevelCommand.js +21 -28
  80. package/dist-es/commands/ResetAllResourceLogLevelsCommand.js +21 -28
  81. package/dist-es/commands/ResetResourceLogLevelCommand.js +21 -28
  82. package/dist-es/commands/SendDataToMulticastGroupCommand.js +21 -28
  83. package/dist-es/commands/SendDataToWirelessDeviceCommand.js +21 -28
  84. package/dist-es/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +21 -28
  85. package/dist-es/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +21 -28
  86. package/dist-es/commands/StartFuotaTaskCommand.js +21 -28
  87. package/dist-es/commands/StartMulticastGroupSessionCommand.js +21 -28
  88. package/dist-es/commands/TagResourceCommand.js +21 -28
  89. package/dist-es/commands/TestWirelessDeviceCommand.js +21 -28
  90. package/dist-es/commands/UntagResourceCommand.js +21 -28
  91. package/dist-es/commands/UpdateDestinationCommand.js +21 -28
  92. package/dist-es/commands/UpdateEventConfigurationByResourceTypesCommand.js +21 -28
  93. package/dist-es/commands/UpdateFuotaTaskCommand.js +21 -28
  94. package/dist-es/commands/UpdateLogLevelsByResourceTypesCommand.js +21 -28
  95. package/dist-es/commands/UpdateMulticastGroupCommand.js +21 -28
  96. package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +21 -28
  97. package/dist-es/commands/UpdatePartnerAccountCommand.js +21 -28
  98. package/dist-es/commands/UpdatePositionCommand.js +21 -28
  99. package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +21 -28
  100. package/dist-es/commands/UpdateWirelessDeviceCommand.js +21 -28
  101. package/dist-es/commands/UpdateWirelessGatewayCommand.js +21 -28
  102. package/dist-es/endpoints.js +8 -8
  103. package/dist-es/models/IoTWirelessServiceException.js +5 -10
  104. package/dist-es/models/models_0.js +877 -352
  105. package/dist-es/models/models_1.js +71 -24
  106. package/dist-es/pagination/ListDestinationsPaginator.js +25 -68
  107. package/dist-es/pagination/ListDeviceProfilesPaginator.js +25 -68
  108. package/dist-es/pagination/ListFuotaTasksPaginator.js +25 -68
  109. package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +25 -68
  110. package/dist-es/pagination/ListMulticastGroupsPaginator.js +25 -68
  111. package/dist-es/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +25 -68
  112. package/dist-es/pagination/ListPositionConfigurationsPaginator.js +25 -68
  113. package/dist-es/pagination/ListQueuedMessagesPaginator.js +25 -68
  114. package/dist-es/pagination/ListServiceProfilesPaginator.js +25 -68
  115. package/dist-es/pagination/ListWirelessDevicesPaginator.js +25 -68
  116. package/dist-es/pagination/ListWirelessGatewaysPaginator.js +25 -68
  117. package/dist-es/protocols/Aws_restJson1.js +7281 -10109
  118. package/dist-es/runtimeConfig.browser.js +26 -12
  119. package/dist-es/runtimeConfig.js +30 -12
  120. package/dist-es/runtimeConfig.native.js +8 -5
  121. package/dist-es/runtimeConfig.shared.js +8 -11
  122. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateFuotaTaskRequestFilterSensitiveLog, UpdateFuotaTaskResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateFuotaTaskCommand, serializeAws_restJson1UpdateFuotaTaskCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateFuotaTaskCommand = (function (_super) {
7
- __extends(UpdateFuotaTaskCommand, _super);
8
- function UpdateFuotaTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateFuotaTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateFuotaTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateFuotaTaskCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateFuotaTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateFuotaTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateFuotaTaskResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateFuotaTaskCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateFuotaTaskCommand(input, context);
33
- };
34
- UpdateFuotaTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateFuotaTaskCommand(output, context);
36
- };
37
- return UpdateFuotaTaskCommand;
38
- }($Command));
39
- export { UpdateFuotaTaskCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateLogLevelsByResourceTypesRequestFilterSensitiveLog, UpdateLogLevelsByResourceTypesResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand, serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateLogLevelsByResourceTypesCommand = (function (_super) {
7
- __extends(UpdateLogLevelsByResourceTypesCommand, _super);
8
- function UpdateLogLevelsByResourceTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateLogLevelsByResourceTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateLogLevelsByResourceTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateLogLevelsByResourceTypesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateLogLevelsByResourceTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateLogLevelsByResourceTypesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateLogLevelsByResourceTypesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateLogLevelsByResourceTypesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand(input, context);
33
- };
34
- UpdateLogLevelsByResourceTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand(output, context);
36
- };
37
- return UpdateLogLevelsByResourceTypesCommand;
38
- }($Command));
39
- export { UpdateLogLevelsByResourceTypesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateMulticastGroupRequestFilterSensitiveLog, UpdateMulticastGroupResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateMulticastGroupCommand, serializeAws_restJson1UpdateMulticastGroupCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateMulticastGroupCommand = (function (_super) {
7
- __extends(UpdateMulticastGroupCommand, _super);
8
- function UpdateMulticastGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateMulticastGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateMulticastGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateMulticastGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateMulticastGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateMulticastGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateMulticastGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateMulticastGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateMulticastGroupCommand(input, context);
33
- };
34
- UpdateMulticastGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateMulticastGroupCommand(output, context);
36
- };
37
- return UpdateMulticastGroupCommand;
38
- }($Command));
39
- export { UpdateMulticastGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateNetworkAnalyzerConfigurationRequestFilterSensitiveLog, UpdateNetworkAnalyzerConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand, serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateNetworkAnalyzerConfigurationCommand = (function (_super) {
7
- __extends(UpdateNetworkAnalyzerConfigurationCommand, _super);
8
- function UpdateNetworkAnalyzerConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateNetworkAnalyzerConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateNetworkAnalyzerConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateNetworkAnalyzerConfigurationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateNetworkAnalyzerConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateNetworkAnalyzerConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateNetworkAnalyzerConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateNetworkAnalyzerConfigurationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand(input, context);
33
- };
34
- UpdateNetworkAnalyzerConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand(output, context);
36
- };
37
- return UpdateNetworkAnalyzerConfigurationCommand;
38
- }($Command));
39
- export { UpdateNetworkAnalyzerConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdatePartnerAccountRequestFilterSensitiveLog, UpdatePartnerAccountResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdatePartnerAccountCommand, serializeAws_restJson1UpdatePartnerAccountCommand, } from "../protocols/Aws_restJson1";
6
- var UpdatePartnerAccountCommand = (function (_super) {
7
- __extends(UpdatePartnerAccountCommand, _super);
8
- function UpdatePartnerAccountCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdatePartnerAccountCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdatePartnerAccountCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdatePartnerAccountCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdatePartnerAccountCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdatePartnerAccountRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdatePartnerAccountResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdatePartnerAccountCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdatePartnerAccountCommand(input, context);
33
- };
34
- UpdatePartnerAccountCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdatePartnerAccountCommand(output, context);
36
- };
37
- return UpdatePartnerAccountCommand;
38
- }($Command));
39
- export { UpdatePartnerAccountCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdatePositionRequestFilterSensitiveLog, UpdatePositionResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdatePositionCommand, serializeAws_restJson1UpdatePositionCommand, } from "../protocols/Aws_restJson1";
6
- var UpdatePositionCommand = (function (_super) {
7
- __extends(UpdatePositionCommand, _super);
8
- function UpdatePositionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdatePositionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdatePositionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdatePositionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdatePositionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdatePositionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdatePositionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdatePositionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdatePositionCommand(input, context);
33
- };
34
- UpdatePositionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdatePositionCommand(output, context);
36
- };
37
- return UpdatePositionCommand;
38
- }($Command));
39
- export { UpdatePositionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateResourceEventConfigurationRequestFilterSensitiveLog, UpdateResourceEventConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateResourceEventConfigurationCommand, serializeAws_restJson1UpdateResourceEventConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateResourceEventConfigurationCommand = (function (_super) {
7
- __extends(UpdateResourceEventConfigurationCommand, _super);
8
- function UpdateResourceEventConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateResourceEventConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateResourceEventConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateResourceEventConfigurationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateResourceEventConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateResourceEventConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateResourceEventConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateResourceEventConfigurationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateResourceEventConfigurationCommand(input, context);
33
- };
34
- UpdateResourceEventConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateResourceEventConfigurationCommand(output, context);
36
- };
37
- return UpdateResourceEventConfigurationCommand;
38
- }($Command));
39
- export { UpdateResourceEventConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateWirelessDeviceRequestFilterSensitiveLog, UpdateWirelessDeviceResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateWirelessDeviceCommand, serializeAws_restJson1UpdateWirelessDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateWirelessDeviceCommand = (function (_super) {
7
- __extends(UpdateWirelessDeviceCommand, _super);
8
- function UpdateWirelessDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateWirelessDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateWirelessDeviceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateWirelessDeviceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateWirelessDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateWirelessDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateWirelessDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateWirelessDeviceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateWirelessDeviceCommand(input, context);
33
- };
34
- UpdateWirelessDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateWirelessDeviceCommand(output, context);
36
- };
37
- return UpdateWirelessDeviceCommand;
38
- }($Command));
39
- export { UpdateWirelessDeviceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateWirelessGatewayRequestFilterSensitiveLog, UpdateWirelessGatewayResponseFilterSensitiveLog, } from "../models/models_1";
5
4
  import { deserializeAws_restJson1UpdateWirelessGatewayCommand, serializeAws_restJson1UpdateWirelessGatewayCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateWirelessGatewayCommand = (function (_super) {
7
- __extends(UpdateWirelessGatewayCommand, _super);
8
- function UpdateWirelessGatewayCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateWirelessGatewayCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateWirelessGatewayCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "IoTWirelessClient";
18
- var commandName = "UpdateWirelessGatewayCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "IoTWirelessClient";
15
+ const commandName = "UpdateWirelessGatewayCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateWirelessGatewayRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateWirelessGatewayResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateWirelessGatewayCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateWirelessGatewayCommand(input, context);
33
- };
34
- UpdateWirelessGatewayCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateWirelessGatewayCommand(output, context);
36
- };
37
- return UpdateWirelessGatewayCommand;
38
- }($Command));
39
- export { UpdateWirelessGatewayCommand };
31
+ }
32
+ }
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "ap-northeast-1": {
5
4
  variants: [
6
5
  {
@@ -47,7 +46,7 @@ var regionHash = {
47
46
  signingRegion: "us-west-2",
48
47
  },
49
48
  };
50
- var partitionHash = {
49
+ const partitionHash = {
51
50
  aws: {
52
51
  regions: [
53
52
  "af-south-1",
@@ -167,8 +166,9 @@ var partitionHash = {
167
166
  ],
168
167
  },
169
168
  };
170
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
171
- return __generator(this, function (_a) {
172
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "iotwireless", regionHash: regionHash, partitionHash: partitionHash }))];
173
- });
174
- }); };
169
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
170
+ ...options,
171
+ signingService: "iotwireless",
172
+ regionHash,
173
+ partitionHash,
174
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var IoTWirelessServiceException = (function (_super) {
4
- __extends(IoTWirelessServiceException, _super);
5
- function IoTWirelessServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, IoTWirelessServiceException.prototype);
8
- return _this;
2
+ export class IoTWirelessServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, IoTWirelessServiceException.prototype);
9
6
  }
10
- return IoTWirelessServiceException;
11
- }(__ServiceException));
12
- export { IoTWirelessServiceException };
7
+ }