@aws-sdk/client-iot-wireless 3.185.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 +16 -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 { SendDataToWirelessDeviceRequestFilterSensitiveLog, SendDataToWirelessDeviceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1SendDataToWirelessDeviceCommand, serializeAws_restJson1SendDataToWirelessDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var SendDataToWirelessDeviceCommand = (function (_super) {
7
- __extends(SendDataToWirelessDeviceCommand, _super);
8
- function SendDataToWirelessDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SendDataToWirelessDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SendDataToWirelessDeviceCommand.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 = "SendDataToWirelessDeviceCommand";
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 = "SendDataToWirelessDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SendDataToWirelessDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SendDataToWirelessDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SendDataToWirelessDeviceCommand.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_restJson1SendDataToWirelessDeviceCommand(input, context);
33
- };
34
- SendDataToWirelessDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1SendDataToWirelessDeviceCommand(output, context);
36
- };
37
- return SendDataToWirelessDeviceCommand;
38
- }($Command));
39
- export { SendDataToWirelessDeviceCommand };
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 { StartBulkAssociateWirelessDeviceWithMulticastGroupRequestFilterSensitiveLog, StartBulkAssociateWirelessDeviceWithMulticastGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand, serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand, } from "../protocols/Aws_restJson1";
6
- var StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = (function (_super) {
7
- __extends(StartBulkAssociateWirelessDeviceWithMulticastGroupCommand, _super);
8
- function StartBulkAssociateWirelessDeviceWithMulticastGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartBulkAssociateWirelessDeviceWithMulticastGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.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 = "StartBulkAssociateWirelessDeviceWithMulticastGroupCommand";
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 = "StartBulkAssociateWirelessDeviceWithMulticastGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartBulkAssociateWirelessDeviceWithMulticastGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartBulkAssociateWirelessDeviceWithMulticastGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.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_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand(input, context);
33
- };
34
- StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand(output, context);
36
- };
37
- return StartBulkAssociateWirelessDeviceWithMulticastGroupCommand;
38
- }($Command));
39
- export { StartBulkAssociateWirelessDeviceWithMulticastGroupCommand };
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 { StartBulkDisassociateWirelessDeviceFromMulticastGroupRequestFilterSensitiveLog, StartBulkDisassociateWirelessDeviceFromMulticastGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand, serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand, } from "../protocols/Aws_restJson1";
6
- var StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = (function (_super) {
7
- __extends(StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand, _super);
8
- function StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.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 = "StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand";
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 = "StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartBulkDisassociateWirelessDeviceFromMulticastGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartBulkDisassociateWirelessDeviceFromMulticastGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.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_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand(input, context);
33
- };
34
- StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand(output, context);
36
- };
37
- return StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand;
38
- }($Command));
39
- export { StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand };
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 { StartFuotaTaskRequestFilterSensitiveLog, StartFuotaTaskResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartFuotaTaskCommand, serializeAws_restJson1StartFuotaTaskCommand, } from "../protocols/Aws_restJson1";
6
- var StartFuotaTaskCommand = (function (_super) {
7
- __extends(StartFuotaTaskCommand, _super);
8
- function StartFuotaTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartFuotaTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartFuotaTaskCommand.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 = "StartFuotaTaskCommand";
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 = "StartFuotaTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartFuotaTaskRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartFuotaTaskResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartFuotaTaskCommand.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_restJson1StartFuotaTaskCommand(input, context);
33
- };
34
- StartFuotaTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartFuotaTaskCommand(output, context);
36
- };
37
- return StartFuotaTaskCommand;
38
- }($Command));
39
- export { StartFuotaTaskCommand };
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 { StartMulticastGroupSessionRequestFilterSensitiveLog, StartMulticastGroupSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartMulticastGroupSessionCommand, serializeAws_restJson1StartMulticastGroupSessionCommand, } from "../protocols/Aws_restJson1";
6
- var StartMulticastGroupSessionCommand = (function (_super) {
7
- __extends(StartMulticastGroupSessionCommand, _super);
8
- function StartMulticastGroupSessionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartMulticastGroupSessionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartMulticastGroupSessionCommand.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 = "StartMulticastGroupSessionCommand";
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 = "StartMulticastGroupSessionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartMulticastGroupSessionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartMulticastGroupSessionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartMulticastGroupSessionCommand.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_restJson1StartMulticastGroupSessionCommand(input, context);
33
- };
34
- StartMulticastGroupSessionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartMulticastGroupSessionCommand(output, context);
36
- };
37
- return StartMulticastGroupSessionCommand;
38
- }($Command));
39
- export { StartMulticastGroupSessionCommand };
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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { TestWirelessDeviceRequestFilterSensitiveLog, TestWirelessDeviceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TestWirelessDeviceCommand, serializeAws_restJson1TestWirelessDeviceCommand, } from "../protocols/Aws_restJson1";
6
- var TestWirelessDeviceCommand = (function (_super) {
7
- __extends(TestWirelessDeviceCommand, _super);
8
- function TestWirelessDeviceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TestWirelessDeviceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TestWirelessDeviceCommand.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 = "TestWirelessDeviceCommand";
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 = "TestWirelessDeviceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TestWirelessDeviceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TestWirelessDeviceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TestWirelessDeviceCommand.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_restJson1TestWirelessDeviceCommand(input, context);
33
- };
34
- TestWirelessDeviceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TestWirelessDeviceCommand(output, context);
36
- };
37
- return TestWirelessDeviceCommand;
38
- }($Command));
39
- export { TestWirelessDeviceCommand };
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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.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_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
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 { UpdateDestinationRequestFilterSensitiveLog, UpdateDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateDestinationCommand, serializeAws_restJson1UpdateDestinationCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDestinationCommand = (function (_super) {
7
- __extends(UpdateDestinationCommand, _super);
8
- function UpdateDestinationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDestinationCommand.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 = "UpdateDestinationCommand";
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 = "UpdateDestinationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDestinationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDestinationCommand.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_restJson1UpdateDestinationCommand(input, context);
33
- };
34
- UpdateDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDestinationCommand(output, context);
36
- };
37
- return UpdateDestinationCommand;
38
- }($Command));
39
- export { UpdateDestinationCommand };
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 { UpdateEventConfigurationByResourceTypesRequestFilterSensitiveLog, UpdateEventConfigurationByResourceTypesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand, serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateEventConfigurationByResourceTypesCommand = (function (_super) {
7
- __extends(UpdateEventConfigurationByResourceTypesCommand, _super);
8
- function UpdateEventConfigurationByResourceTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateEventConfigurationByResourceTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEventConfigurationByResourceTypesCommand.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 = "UpdateEventConfigurationByResourceTypesCommand";
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 = "UpdateEventConfigurationByResourceTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEventConfigurationByResourceTypesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEventConfigurationByResourceTypesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateEventConfigurationByResourceTypesCommand.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_restJson1UpdateEventConfigurationByResourceTypesCommand(input, context);
33
- };
34
- UpdateEventConfigurationByResourceTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand(output, context);
36
- };
37
- return UpdateEventConfigurationByResourceTypesCommand;
38
- }($Command));
39
- export { UpdateEventConfigurationByResourceTypesCommand };
31
+ }
32
+ }