@aws-sdk/client-iot-wireless 3.298.0 → 3.300.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 (168) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/IoTWireless.js +120 -0
  3. package/dist-cjs/commands/DeleteWirelessDeviceImportTaskCommand.js +45 -0
  4. package/dist-cjs/commands/DeregisterWirelessDeviceCommand.js +45 -0
  5. package/dist-cjs/commands/GetDeviceProfileCommand.js +2 -1
  6. package/dist-cjs/commands/GetWirelessDeviceImportTaskCommand.js +45 -0
  7. package/dist-cjs/commands/ListDevicesForWirelessDeviceImportTaskCommand.js +45 -0
  8. package/dist-cjs/commands/ListWirelessDeviceImportTasksCommand.js +45 -0
  9. package/dist-cjs/commands/StartSingleWirelessDeviceImportTaskCommand.js +45 -0
  10. package/dist-cjs/commands/StartWirelessDeviceImportTaskCommand.js +45 -0
  11. package/dist-cjs/commands/UpdateWirelessDeviceImportTaskCommand.js +45 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoint/ruleset.js +3 -3
  14. package/dist-cjs/models/models_0.js +49 -5
  15. package/dist-cjs/models/models_1.js +5 -1
  16. package/dist-cjs/protocols/Aws_restJson1.js +767 -18
  17. package/dist-es/IoTWireless.js +120 -0
  18. package/dist-es/commands/DeleteWirelessDeviceImportTaskCommand.js +41 -0
  19. package/dist-es/commands/DeregisterWirelessDeviceCommand.js +41 -0
  20. package/dist-es/commands/GetDeviceProfileCommand.js +2 -1
  21. package/dist-es/commands/GetWirelessDeviceImportTaskCommand.js +41 -0
  22. package/dist-es/commands/ListDevicesForWirelessDeviceImportTaskCommand.js +41 -0
  23. package/dist-es/commands/ListWirelessDeviceImportTasksCommand.js +41 -0
  24. package/dist-es/commands/StartSingleWirelessDeviceImportTaskCommand.js +41 -0
  25. package/dist-es/commands/StartWirelessDeviceImportTaskCommand.js +41 -0
  26. package/dist-es/commands/UpdateWirelessDeviceImportTaskCommand.js +41 -0
  27. package/dist-es/commands/index.js +8 -0
  28. package/dist-es/endpoint/ruleset.js +3 -3
  29. package/dist-es/models/models_0.js +45 -4
  30. package/dist-es/models/models_1.js +4 -0
  31. package/dist-es/protocols/Aws_restJson1.js +743 -10
  32. package/dist-types/IoTWireless.d.ts +65 -0
  33. package/dist-types/IoTWirelessClient.d.ts +10 -2
  34. package/dist-types/commands/AssociateAwsAccountWithPartnerAccountCommand.d.ts +13 -0
  35. package/dist-types/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +4 -0
  36. package/dist-types/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +4 -0
  37. package/dist-types/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +4 -0
  38. package/dist-types/commands/AssociateWirelessDeviceWithThingCommand.d.ts +4 -0
  39. package/dist-types/commands/AssociateWirelessGatewayWithCertificateCommand.d.ts +4 -0
  40. package/dist-types/commands/AssociateWirelessGatewayWithThingCommand.d.ts +4 -0
  41. package/dist-types/commands/CancelMulticastGroupSessionCommand.d.ts +3 -0
  42. package/dist-types/commands/CreateDestinationCommand.d.ts +14 -0
  43. package/dist-types/commands/CreateDeviceProfileCommand.d.ts +34 -0
  44. package/dist-types/commands/CreateFuotaTaskCommand.d.ts +19 -0
  45. package/dist-types/commands/CreateMulticastGroupCommand.d.ts +15 -0
  46. package/dist-types/commands/CreateNetworkAnalyzerConfigurationCommand.d.ts +21 -0
  47. package/dist-types/commands/CreateServiceProfileCommand.d.ts +15 -0
  48. package/dist-types/commands/CreateWirelessDeviceCommand.d.ts +67 -0
  49. package/dist-types/commands/CreateWirelessGatewayCommand.d.ts +32 -0
  50. package/dist-types/commands/CreateWirelessGatewayTaskCommand.d.ts +4 -0
  51. package/dist-types/commands/CreateWirelessGatewayTaskDefinitionCommand.d.ts +29 -0
  52. package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -0
  53. package/dist-types/commands/DeleteDeviceProfileCommand.d.ts +3 -0
  54. package/dist-types/commands/DeleteFuotaTaskCommand.d.ts +3 -0
  55. package/dist-types/commands/DeleteMulticastGroupCommand.d.ts +3 -0
  56. package/dist-types/commands/DeleteNetworkAnalyzerConfigurationCommand.d.ts +3 -0
  57. package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +5 -0
  58. package/dist-types/commands/DeleteServiceProfileCommand.d.ts +3 -0
  59. package/dist-types/commands/DeleteWirelessDeviceCommand.d.ts +3 -0
  60. package/dist-types/commands/DeleteWirelessDeviceImportTaskCommand.d.ts +81 -0
  61. package/dist-types/commands/DeleteWirelessGatewayCommand.d.ts +3 -0
  62. package/dist-types/commands/DeleteWirelessGatewayTaskCommand.d.ts +3 -0
  63. package/dist-types/commands/DeleteWirelessGatewayTaskDefinitionCommand.d.ts +3 -0
  64. package/dist-types/commands/DeregisterWirelessDeviceCommand.d.ts +76 -0
  65. package/dist-types/commands/DisassociateAwsAccountFromPartnerAccountCommand.d.ts +4 -0
  66. package/dist-types/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +4 -0
  67. package/dist-types/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +4 -0
  68. package/dist-types/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +4 -0
  69. package/dist-types/commands/DisassociateWirelessDeviceFromThingCommand.d.ts +3 -0
  70. package/dist-types/commands/DisassociateWirelessGatewayFromCertificateCommand.d.ts +3 -0
  71. package/dist-types/commands/DisassociateWirelessGatewayFromThingCommand.d.ts +3 -0
  72. package/dist-types/commands/GetDestinationCommand.d.ts +3 -0
  73. package/dist-types/commands/GetDeviceProfileCommand.d.ts +3 -0
  74. package/dist-types/commands/GetEventConfigurationByResourceTypesCommand.d.ts +1 -0
  75. package/dist-types/commands/GetFuotaTaskCommand.d.ts +3 -0
  76. package/dist-types/commands/GetLogLevelsByResourceTypesCommand.d.ts +1 -0
  77. package/dist-types/commands/GetMulticastGroupCommand.d.ts +3 -0
  78. package/dist-types/commands/GetMulticastGroupSessionCommand.d.ts +3 -0
  79. package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +3 -0
  80. package/dist-types/commands/GetPartnerAccountCommand.d.ts +4 -0
  81. package/dist-types/commands/GetPositionCommand.d.ts +4 -0
  82. package/dist-types/commands/GetPositionConfigurationCommand.d.ts +4 -0
  83. package/dist-types/commands/GetPositionEstimateCommand.d.ts +144 -0
  84. package/dist-types/commands/GetResourceEventConfigurationCommand.d.ts +5 -0
  85. package/dist-types/commands/GetResourceLogLevelCommand.d.ts +4 -0
  86. package/dist-types/commands/GetResourcePositionCommand.d.ts +4 -0
  87. package/dist-types/commands/GetServiceEndpointCommand.d.ts +3 -0
  88. package/dist-types/commands/GetServiceProfileCommand.d.ts +3 -0
  89. package/dist-types/commands/GetWirelessDeviceCommand.d.ts +4 -0
  90. package/dist-types/commands/GetWirelessDeviceImportTaskCommand.d.ts +82 -0
  91. package/dist-types/commands/GetWirelessDeviceStatisticsCommand.d.ts +3 -0
  92. package/dist-types/commands/GetWirelessGatewayCertificateCommand.d.ts +3 -0
  93. package/dist-types/commands/GetWirelessGatewayCommand.d.ts +4 -0
  94. package/dist-types/commands/GetWirelessGatewayFirmwareInformationCommand.d.ts +3 -0
  95. package/dist-types/commands/GetWirelessGatewayStatisticsCommand.d.ts +3 -0
  96. package/dist-types/commands/GetWirelessGatewayTaskCommand.d.ts +3 -0
  97. package/dist-types/commands/GetWirelessGatewayTaskDefinitionCommand.d.ts +3 -0
  98. package/dist-types/commands/ListDestinationsCommand.d.ts +4 -0
  99. package/dist-types/commands/ListDeviceProfilesCommand.d.ts +5 -0
  100. package/dist-types/commands/ListDevicesForWirelessDeviceImportTaskCommand.d.ts +84 -0
  101. package/dist-types/commands/ListEventConfigurationsCommand.d.ts +5 -0
  102. package/dist-types/commands/ListFuotaTasksCommand.d.ts +4 -0
  103. package/dist-types/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +5 -0
  104. package/dist-types/commands/ListMulticastGroupsCommand.d.ts +4 -0
  105. package/dist-types/commands/ListNetworkAnalyzerConfigurationsCommand.d.ts +4 -0
  106. package/dist-types/commands/ListPartnerAccountsCommand.d.ts +4 -0
  107. package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +5 -0
  108. package/dist-types/commands/ListQueuedMessagesCommand.d.ts +6 -0
  109. package/dist-types/commands/ListServiceProfilesCommand.d.ts +4 -0
  110. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  111. package/dist-types/commands/ListWirelessDeviceImportTasksCommand.d.ts +82 -0
  112. package/dist-types/commands/ListWirelessDevicesCommand.d.ts +12 -1
  113. package/dist-types/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +6 -1
  114. package/dist-types/commands/ListWirelessGatewaysCommand.d.ts +5 -1
  115. package/dist-types/commands/PutPositionConfigurationCommand.d.ts +12 -1
  116. package/dist-types/commands/PutResourceLogLevelCommand.d.ts +6 -1
  117. package/dist-types/commands/ResetAllResourceLogLevelsCommand.d.ts +2 -1
  118. package/dist-types/commands/ResetResourceLogLevelCommand.d.ts +5 -1
  119. package/dist-types/commands/SendDataToMulticastGroupCommand.d.ts +9 -0
  120. package/dist-types/commands/SendDataToWirelessDeviceCommand.d.ts +25 -0
  121. package/dist-types/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +10 -0
  122. package/dist-types/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +10 -0
  123. package/dist-types/commands/StartFuotaTaskCommand.d.ts +6 -0
  124. package/dist-types/commands/StartMulticastGroupSessionCommand.d.ts +9 -0
  125. package/dist-types/commands/StartSingleWirelessDeviceImportTaskCommand.d.ts +92 -0
  126. package/dist-types/commands/StartWirelessDeviceImportTaskCommand.d.ts +92 -0
  127. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  128. package/dist-types/commands/TestWirelessDeviceCommand.d.ts +3 -0
  129. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  130. package/dist-types/commands/UpdateDestinationCommand.d.ts +7 -0
  131. package/dist-types/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +27 -0
  132. package/dist-types/commands/UpdateFuotaTaskCommand.d.ts +13 -0
  133. package/dist-types/commands/UpdateLogLevelsByResourceTypesCommand.d.ts +27 -0
  134. package/dist-types/commands/UpdateMulticastGroupCommand.d.ts +9 -0
  135. package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +20 -0
  136. package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +7 -0
  137. package/dist-types/commands/UpdatePositionCommand.d.ts +7 -0
  138. package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +35 -0
  139. package/dist-types/commands/UpdateResourcePositionCommand.d.ts +5 -0
  140. package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +31 -0
  141. package/dist-types/commands/UpdateWirelessDeviceImportTaskCommand.d.ts +84 -0
  142. package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +13 -0
  143. package/dist-types/commands/index.d.ts +8 -0
  144. package/dist-types/models/models_0.d.ts +392 -286
  145. package/dist-types/models/models_1.d.ts +438 -1
  146. package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
  147. package/dist-types/ts3.4/IoTWireless.d.ts +148 -0
  148. package/dist-types/ts3.4/IoTWirelessClient.d.ts +48 -0
  149. package/dist-types/ts3.4/commands/DeleteWirelessDeviceImportTaskCommand.d.ts +41 -0
  150. package/dist-types/ts3.4/commands/DeregisterWirelessDeviceCommand.d.ts +41 -0
  151. package/dist-types/ts3.4/commands/GetWirelessDeviceImportTaskCommand.d.ts +41 -0
  152. package/dist-types/ts3.4/commands/ListDevicesForWirelessDeviceImportTaskCommand.d.ts +41 -0
  153. package/dist-types/ts3.4/commands/ListWirelessDeviceImportTasksCommand.d.ts +41 -0
  154. package/dist-types/ts3.4/commands/ListWirelessDevicesCommand.d.ts +2 -4
  155. package/dist-types/ts3.4/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/ListWirelessGatewaysCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/PutPositionConfigurationCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/PutResourceLogLevelCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/ResetAllResourceLogLevelsCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ResetResourceLogLevelCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/StartSingleWirelessDeviceImportTaskCommand.d.ts +41 -0
  162. package/dist-types/ts3.4/commands/StartWirelessDeviceImportTaskCommand.d.ts +41 -0
  163. package/dist-types/ts3.4/commands/UpdateWirelessDeviceImportTaskCommand.d.ts +41 -0
  164. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  165. package/dist-types/ts3.4/models/models_0.d.ts +135 -87
  166. package/dist-types/ts3.4/models/models_1.d.ts +131 -1
  167. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  168. package/package.json +12 -12
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_restJson1GetResourceLogLevelCommand = exports.serializeAws_restJson1GetResourceEventConfigurationCommand = exports.serializeAws_restJson1GetPositionEstimateCommand = exports.serializeAws_restJson1GetPositionConfigurationCommand = exports.serializeAws_restJson1GetPositionCommand = exports.serializeAws_restJson1GetPartnerAccountCommand = exports.serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1GetMulticastGroupSessionCommand = exports.serializeAws_restJson1GetMulticastGroupCommand = exports.serializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1GetFuotaTaskCommand = exports.serializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1GetDeviceProfileCommand = exports.serializeAws_restJson1GetDestinationCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.serializeAws_restJson1DeleteWirelessGatewayCommand = exports.serializeAws_restJson1DeleteWirelessDeviceCommand = exports.serializeAws_restJson1DeleteServiceProfileCommand = exports.serializeAws_restJson1DeleteQueuedMessagesCommand = exports.serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1DeleteMulticastGroupCommand = exports.serializeAws_restJson1DeleteFuotaTaskCommand = exports.serializeAws_restJson1DeleteDeviceProfileCommand = exports.serializeAws_restJson1DeleteDestinationCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.serializeAws_restJson1CreateWirelessGatewayCommand = exports.serializeAws_restJson1CreateWirelessDeviceCommand = exports.serializeAws_restJson1CreateServiceProfileCommand = exports.serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1CreateMulticastGroupCommand = exports.serializeAws_restJson1CreateFuotaTaskCommand = exports.serializeAws_restJson1CreateDeviceProfileCommand = exports.serializeAws_restJson1CreateDestinationCommand = exports.serializeAws_restJson1CancelMulticastGroupSessionCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = void 0;
4
- exports.serializeAws_restJson1UpdateWirelessDeviceCommand = exports.serializeAws_restJson1UpdateResourcePositionCommand = exports.serializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.serializeAws_restJson1UpdatePositionCommand = exports.serializeAws_restJson1UpdatePartnerAccountCommand = exports.serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1UpdateMulticastGroupCommand = exports.serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1UpdateFuotaTaskCommand = exports.serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1UpdateDestinationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TestWirelessDeviceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartMulticastGroupSessionCommand = exports.serializeAws_restJson1StartFuotaTaskCommand = exports.serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1SendDataToWirelessDeviceCommand = exports.serializeAws_restJson1SendDataToMulticastGroupCommand = exports.serializeAws_restJson1ResetResourceLogLevelCommand = exports.serializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.serializeAws_restJson1PutResourceLogLevelCommand = exports.serializeAws_restJson1PutPositionConfigurationCommand = exports.serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListQueuedMessagesCommand = exports.serializeAws_restJson1ListPositionConfigurationsCommand = exports.serializeAws_restJson1ListPartnerAccountsCommand = exports.serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.serializeAws_restJson1ListMulticastGroupsCommand = exports.serializeAws_restJson1ListFuotaTasksCommand = exports.serializeAws_restJson1ListEventConfigurationsCommand = exports.serializeAws_restJson1ListDeviceProfilesCommand = exports.serializeAws_restJson1ListDestinationsCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskCommand = exports.serializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.serializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.serializeAws_restJson1GetWirelessGatewayCommand = exports.serializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.serializeAws_restJson1GetWirelessDeviceCommand = exports.serializeAws_restJson1GetServiceProfileCommand = exports.serializeAws_restJson1GetServiceEndpointCommand = exports.serializeAws_restJson1GetResourcePositionCommand = void 0;
5
- exports.deserializeAws_restJson1GetResourceEventConfigurationCommand = exports.deserializeAws_restJson1GetPositionEstimateCommand = exports.deserializeAws_restJson1GetPositionConfigurationCommand = exports.deserializeAws_restJson1GetPositionCommand = exports.deserializeAws_restJson1GetPartnerAccountCommand = exports.deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1GetMulticastGroupSessionCommand = exports.deserializeAws_restJson1GetMulticastGroupCommand = exports.deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1GetFuotaTaskCommand = exports.deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1GetDeviceProfileCommand = exports.deserializeAws_restJson1GetDestinationCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayCommand = exports.deserializeAws_restJson1DeleteWirelessDeviceCommand = exports.deserializeAws_restJson1DeleteServiceProfileCommand = exports.deserializeAws_restJson1DeleteQueuedMessagesCommand = exports.deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1DeleteMulticastGroupCommand = exports.deserializeAws_restJson1DeleteFuotaTaskCommand = exports.deserializeAws_restJson1DeleteDeviceProfileCommand = exports.deserializeAws_restJson1DeleteDestinationCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.deserializeAws_restJson1CreateWirelessGatewayCommand = exports.deserializeAws_restJson1CreateWirelessDeviceCommand = exports.deserializeAws_restJson1CreateServiceProfileCommand = exports.deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1CreateMulticastGroupCommand = exports.deserializeAws_restJson1CreateFuotaTaskCommand = exports.deserializeAws_restJson1CreateDeviceProfileCommand = exports.deserializeAws_restJson1CreateDestinationCommand = exports.deserializeAws_restJson1CancelMulticastGroupSessionCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = exports.deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.deserializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = exports.serializeAws_restJson1UpdateWirelessGatewayCommand = void 0;
6
- exports.deserializeAws_restJson1UpdateResourcePositionCommand = exports.deserializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.deserializeAws_restJson1UpdatePositionCommand = exports.deserializeAws_restJson1UpdatePartnerAccountCommand = exports.deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1UpdateMulticastGroupCommand = exports.deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1UpdateFuotaTaskCommand = exports.deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1UpdateDestinationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TestWirelessDeviceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartMulticastGroupSessionCommand = exports.deserializeAws_restJson1StartFuotaTaskCommand = exports.deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1SendDataToWirelessDeviceCommand = exports.deserializeAws_restJson1SendDataToMulticastGroupCommand = exports.deserializeAws_restJson1ResetResourceLogLevelCommand = exports.deserializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.deserializeAws_restJson1PutResourceLogLevelCommand = exports.deserializeAws_restJson1PutPositionConfigurationCommand = exports.deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListQueuedMessagesCommand = exports.deserializeAws_restJson1ListPositionConfigurationsCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = exports.deserializeAws_restJson1ListEventConfigurationsCommand = exports.deserializeAws_restJson1ListDeviceProfilesCommand = exports.deserializeAws_restJson1ListDestinationsCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskCommand = exports.deserializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.deserializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.deserializeAws_restJson1GetWirelessGatewayCommand = exports.deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.deserializeAws_restJson1GetWirelessDeviceCommand = exports.deserializeAws_restJson1GetServiceProfileCommand = exports.deserializeAws_restJson1GetServiceEndpointCommand = exports.deserializeAws_restJson1GetResourcePositionCommand = exports.deserializeAws_restJson1GetResourceLogLevelCommand = void 0;
7
- exports.deserializeAws_restJson1UpdateWirelessGatewayCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceCommand = void 0;
3
+ exports.serializeAws_restJson1GetPositionEstimateCommand = exports.serializeAws_restJson1GetPositionConfigurationCommand = exports.serializeAws_restJson1GetPositionCommand = exports.serializeAws_restJson1GetPartnerAccountCommand = exports.serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1GetMulticastGroupSessionCommand = exports.serializeAws_restJson1GetMulticastGroupCommand = exports.serializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1GetFuotaTaskCommand = exports.serializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1GetDeviceProfileCommand = exports.serializeAws_restJson1GetDestinationCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.serializeAws_restJson1DeregisterWirelessDeviceCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.serializeAws_restJson1DeleteWirelessGatewayCommand = exports.serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1DeleteWirelessDeviceCommand = exports.serializeAws_restJson1DeleteServiceProfileCommand = exports.serializeAws_restJson1DeleteQueuedMessagesCommand = exports.serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1DeleteMulticastGroupCommand = exports.serializeAws_restJson1DeleteFuotaTaskCommand = exports.serializeAws_restJson1DeleteDeviceProfileCommand = exports.serializeAws_restJson1DeleteDestinationCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.serializeAws_restJson1CreateWirelessGatewayCommand = exports.serializeAws_restJson1CreateWirelessDeviceCommand = exports.serializeAws_restJson1CreateServiceProfileCommand = exports.serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1CreateMulticastGroupCommand = exports.serializeAws_restJson1CreateFuotaTaskCommand = exports.serializeAws_restJson1CreateDeviceProfileCommand = exports.serializeAws_restJson1CreateDestinationCommand = exports.serializeAws_restJson1CancelMulticastGroupSessionCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = void 0;
4
+ exports.serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1UpdateFuotaTaskCommand = exports.serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1UpdateDestinationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TestWirelessDeviceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1StartMulticastGroupSessionCommand = exports.serializeAws_restJson1StartFuotaTaskCommand = exports.serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1SendDataToWirelessDeviceCommand = exports.serializeAws_restJson1SendDataToMulticastGroupCommand = exports.serializeAws_restJson1ResetResourceLogLevelCommand = exports.serializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.serializeAws_restJson1PutResourceLogLevelCommand = exports.serializeAws_restJson1PutPositionConfigurationCommand = exports.serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListWirelessDeviceImportTasksCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListQueuedMessagesCommand = exports.serializeAws_restJson1ListPositionConfigurationsCommand = exports.serializeAws_restJson1ListPartnerAccountsCommand = exports.serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.serializeAws_restJson1ListMulticastGroupsCommand = exports.serializeAws_restJson1ListFuotaTasksCommand = exports.serializeAws_restJson1ListEventConfigurationsCommand = exports.serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1ListDeviceProfilesCommand = exports.serializeAws_restJson1ListDestinationsCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskCommand = exports.serializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.serializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.serializeAws_restJson1GetWirelessGatewayCommand = exports.serializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.serializeAws_restJson1GetWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1GetWirelessDeviceCommand = exports.serializeAws_restJson1GetServiceProfileCommand = exports.serializeAws_restJson1GetServiceEndpointCommand = exports.serializeAws_restJson1GetResourcePositionCommand = exports.serializeAws_restJson1GetResourceLogLevelCommand = exports.serializeAws_restJson1GetResourceEventConfigurationCommand = void 0;
5
+ exports.deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1GetDeviceProfileCommand = exports.deserializeAws_restJson1GetDestinationCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.deserializeAws_restJson1DeregisterWirelessDeviceCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayCommand = exports.deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = exports.deserializeAws_restJson1DeleteWirelessDeviceCommand = exports.deserializeAws_restJson1DeleteServiceProfileCommand = exports.deserializeAws_restJson1DeleteQueuedMessagesCommand = exports.deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1DeleteMulticastGroupCommand = exports.deserializeAws_restJson1DeleteFuotaTaskCommand = exports.deserializeAws_restJson1DeleteDeviceProfileCommand = exports.deserializeAws_restJson1DeleteDestinationCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.deserializeAws_restJson1CreateWirelessGatewayCommand = exports.deserializeAws_restJson1CreateWirelessDeviceCommand = exports.deserializeAws_restJson1CreateServiceProfileCommand = exports.deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1CreateMulticastGroupCommand = exports.deserializeAws_restJson1CreateFuotaTaskCommand = exports.deserializeAws_restJson1CreateDeviceProfileCommand = exports.deserializeAws_restJson1CreateDestinationCommand = exports.deserializeAws_restJson1CancelMulticastGroupSessionCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = exports.deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.deserializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = exports.serializeAws_restJson1UpdateWirelessGatewayCommand = exports.serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = exports.serializeAws_restJson1UpdateWirelessDeviceCommand = exports.serializeAws_restJson1UpdateResourcePositionCommand = exports.serializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.serializeAws_restJson1UpdatePositionCommand = exports.serializeAws_restJson1UpdatePartnerAccountCommand = exports.serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1UpdateMulticastGroupCommand = void 0;
6
+ exports.deserializeAws_restJson1StartMulticastGroupSessionCommand = exports.deserializeAws_restJson1StartFuotaTaskCommand = exports.deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1SendDataToWirelessDeviceCommand = exports.deserializeAws_restJson1SendDataToMulticastGroupCommand = exports.deserializeAws_restJson1ResetResourceLogLevelCommand = exports.deserializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.deserializeAws_restJson1PutResourceLogLevelCommand = exports.deserializeAws_restJson1PutPositionConfigurationCommand = exports.deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = exports.deserializeAws_restJson1ListWirelessDeviceImportTasksCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListQueuedMessagesCommand = exports.deserializeAws_restJson1ListPositionConfigurationsCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = exports.deserializeAws_restJson1ListEventConfigurationsCommand = exports.deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = exports.deserializeAws_restJson1ListDeviceProfilesCommand = exports.deserializeAws_restJson1ListDestinationsCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskCommand = exports.deserializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.deserializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.deserializeAws_restJson1GetWirelessGatewayCommand = exports.deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.deserializeAws_restJson1GetWirelessDeviceImportTaskCommand = exports.deserializeAws_restJson1GetWirelessDeviceCommand = exports.deserializeAws_restJson1GetServiceProfileCommand = exports.deserializeAws_restJson1GetServiceEndpointCommand = exports.deserializeAws_restJson1GetResourcePositionCommand = exports.deserializeAws_restJson1GetResourceLogLevelCommand = exports.deserializeAws_restJson1GetResourceEventConfigurationCommand = exports.deserializeAws_restJson1GetPositionEstimateCommand = exports.deserializeAws_restJson1GetPositionConfigurationCommand = exports.deserializeAws_restJson1GetPositionCommand = exports.deserializeAws_restJson1GetPartnerAccountCommand = exports.deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1GetMulticastGroupSessionCommand = exports.deserializeAws_restJson1GetMulticastGroupCommand = exports.deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1GetFuotaTaskCommand = void 0;
7
+ exports.deserializeAws_restJson1UpdateWirelessGatewayCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceCommand = exports.deserializeAws_restJson1UpdateResourcePositionCommand = exports.deserializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.deserializeAws_restJson1UpdatePositionCommand = exports.deserializeAws_restJson1UpdatePartnerAccountCommand = exports.deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1UpdateMulticastGroupCommand = exports.deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1UpdateFuotaTaskCommand = exports.deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1UpdateDestinationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TestWirelessDeviceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartWirelessDeviceImportTaskCommand = exports.deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = void 0;
8
8
  const protocol_http_1 = require("@aws-sdk/protocol-http");
9
9
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
10
  const uuid_1 = require("uuid");
@@ -221,6 +221,9 @@ const serializeAws_restJson1CreateDeviceProfileCommand = async (input, context)
221
221
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
222
222
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANDeviceProfile(input.LoRaWAN, context) }),
223
223
  ...(input.Name != null && { Name: input.Name }),
224
+ ...(input.Sidewalk != null && {
225
+ Sidewalk: serializeAws_restJson1SidewalkCreateDeviceProfile(input.Sidewalk, context),
226
+ }),
224
227
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
225
228
  });
226
229
  return new protocol_http_1.HttpRequest({
@@ -360,6 +363,9 @@ const serializeAws_restJson1CreateWirelessDeviceCommand = async (input, context)
360
363
  ...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANDevice(input.LoRaWAN, context) }),
361
364
  ...(input.Name != null && { Name: input.Name }),
362
365
  ...(input.Positioning != null && { Positioning: input.Positioning }),
366
+ ...(input.Sidewalk != null && {
367
+ Sidewalk: serializeAws_restJson1SidewalkCreateWirelessDevice(input.Sidewalk, context),
368
+ }),
363
369
  ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
364
370
  ...(input.Type != null && { Type: input.Type }),
365
371
  });
@@ -592,6 +598,23 @@ const serializeAws_restJson1DeleteWirelessDeviceCommand = async (input, context)
592
598
  });
593
599
  };
594
600
  exports.serializeAws_restJson1DeleteWirelessDeviceCommand = serializeAws_restJson1DeleteWirelessDeviceCommand;
601
+ const serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = async (input, context) => {
602
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
603
+ const headers = {};
604
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task/{Id}";
605
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
606
+ let body;
607
+ return new protocol_http_1.HttpRequest({
608
+ protocol,
609
+ hostname,
610
+ port,
611
+ method: "DELETE",
612
+ headers,
613
+ path: resolvedPath,
614
+ body,
615
+ });
616
+ };
617
+ exports.serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand;
595
618
  const serializeAws_restJson1DeleteWirelessGatewayCommand = async (input, context) => {
596
619
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
597
620
  const headers = {};
@@ -643,6 +666,27 @@ const serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = async (
643
666
  });
644
667
  };
645
668
  exports.serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand;
669
+ const serializeAws_restJson1DeregisterWirelessDeviceCommand = async (input, context) => {
670
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
671
+ const headers = {};
672
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices/{Identifier}/deregister";
673
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Identifier", () => input.Identifier, "{Identifier}", false);
674
+ const query = map({
675
+ WirelessDeviceType: [, input.WirelessDeviceType],
676
+ });
677
+ let body;
678
+ return new protocol_http_1.HttpRequest({
679
+ protocol,
680
+ hostname,
681
+ port,
682
+ method: "PATCH",
683
+ headers,
684
+ path: resolvedPath,
685
+ query,
686
+ body,
687
+ });
688
+ };
689
+ exports.serializeAws_restJson1DeregisterWirelessDeviceCommand = serializeAws_restJson1DeregisterWirelessDeviceCommand;
646
690
  const serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = async (input, context) => {
647
691
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
648
692
  const headers = {};
@@ -1126,6 +1170,23 @@ const serializeAws_restJson1GetWirelessDeviceCommand = async (input, context) =>
1126
1170
  });
1127
1171
  };
1128
1172
  exports.serializeAws_restJson1GetWirelessDeviceCommand = serializeAws_restJson1GetWirelessDeviceCommand;
1173
+ const serializeAws_restJson1GetWirelessDeviceImportTaskCommand = async (input, context) => {
1174
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1175
+ const headers = {};
1176
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task/{Id}";
1177
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
1178
+ let body;
1179
+ return new protocol_http_1.HttpRequest({
1180
+ protocol,
1181
+ hostname,
1182
+ port,
1183
+ method: "GET",
1184
+ headers,
1185
+ path: resolvedPath,
1186
+ body,
1187
+ });
1188
+ };
1189
+ exports.serializeAws_restJson1GetWirelessDeviceImportTaskCommand = serializeAws_restJson1GetWirelessDeviceImportTaskCommand;
1129
1190
  const serializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (input, context) => {
1130
1191
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1131
1192
  const headers = {};
@@ -1280,6 +1341,7 @@ const serializeAws_restJson1ListDeviceProfilesCommand = async (input, context) =
1280
1341
  const query = map({
1281
1342
  nextToken: [, input.NextToken],
1282
1343
  maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1344
+ deviceProfileType: [, input.DeviceProfileType],
1283
1345
  });
1284
1346
  let body;
1285
1347
  return new protocol_http_1.HttpRequest({
@@ -1294,6 +1356,29 @@ const serializeAws_restJson1ListDeviceProfilesCommand = async (input, context) =
1294
1356
  });
1295
1357
  };
1296
1358
  exports.serializeAws_restJson1ListDeviceProfilesCommand = serializeAws_restJson1ListDeviceProfilesCommand;
1359
+ const serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = async (input, context) => {
1360
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1361
+ const headers = {};
1362
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task";
1363
+ const query = map({
1364
+ id: [, (0, smithy_client_1.expectNonNull)(input.Id, `Id`)],
1365
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1366
+ nextToken: [, input.NextToken],
1367
+ status: [, input.Status],
1368
+ });
1369
+ let body;
1370
+ return new protocol_http_1.HttpRequest({
1371
+ protocol,
1372
+ hostname,
1373
+ port,
1374
+ method: "GET",
1375
+ headers,
1376
+ path: resolvedPath,
1377
+ query,
1378
+ body,
1379
+ });
1380
+ };
1381
+ exports.serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand;
1297
1382
  const serializeAws_restJson1ListEventConfigurationsCommand = async (input, context) => {
1298
1383
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1299
1384
  const headers = {};
@@ -1508,6 +1593,27 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
1508
1593
  });
1509
1594
  };
1510
1595
  exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
1596
+ const serializeAws_restJson1ListWirelessDeviceImportTasksCommand = async (input, context) => {
1597
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1598
+ const headers = {};
1599
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_tasks";
1600
+ const query = map({
1601
+ maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
1602
+ nextToken: [, input.NextToken],
1603
+ });
1604
+ let body;
1605
+ return new protocol_http_1.HttpRequest({
1606
+ protocol,
1607
+ hostname,
1608
+ port,
1609
+ method: "GET",
1610
+ headers,
1611
+ path: resolvedPath,
1612
+ query,
1613
+ body,
1614
+ });
1615
+ };
1616
+ exports.serializeAws_restJson1ListWirelessDeviceImportTasksCommand = serializeAws_restJson1ListWirelessDeviceImportTasksCommand;
1511
1617
  const serializeAws_restJson1ListWirelessDevicesCommand = async (input, context) => {
1512
1618
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1513
1619
  const headers = {};
@@ -1815,6 +1921,57 @@ const serializeAws_restJson1StartMulticastGroupSessionCommand = async (input, co
1815
1921
  });
1816
1922
  };
1817
1923
  exports.serializeAws_restJson1StartMulticastGroupSessionCommand = serializeAws_restJson1StartMulticastGroupSessionCommand;
1924
+ const serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = async (input, context) => {
1925
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1926
+ const headers = {
1927
+ "content-type": "application/json",
1928
+ };
1929
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_single_device_import_task";
1930
+ let body;
1931
+ body = JSON.stringify({
1932
+ ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1933
+ ...(input.DestinationName != null && { DestinationName: input.DestinationName }),
1934
+ ...(input.DeviceName != null && { DeviceName: input.DeviceName }),
1935
+ ...(input.Sidewalk != null && {
1936
+ Sidewalk: serializeAws_restJson1SidewalkSingleStartImportInfo(input.Sidewalk, context),
1937
+ }),
1938
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
1939
+ });
1940
+ return new protocol_http_1.HttpRequest({
1941
+ protocol,
1942
+ hostname,
1943
+ port,
1944
+ method: "POST",
1945
+ headers,
1946
+ path: resolvedPath,
1947
+ body,
1948
+ });
1949
+ };
1950
+ exports.serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand;
1951
+ const serializeAws_restJson1StartWirelessDeviceImportTaskCommand = async (input, context) => {
1952
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1953
+ const headers = {
1954
+ "content-type": "application/json",
1955
+ };
1956
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task";
1957
+ let body;
1958
+ body = JSON.stringify({
1959
+ ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
1960
+ ...(input.DestinationName != null && { DestinationName: input.DestinationName }),
1961
+ ...(input.Sidewalk != null && { Sidewalk: serializeAws_restJson1SidewalkStartImportInfo(input.Sidewalk, context) }),
1962
+ ...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
1963
+ });
1964
+ return new protocol_http_1.HttpRequest({
1965
+ protocol,
1966
+ hostname,
1967
+ port,
1968
+ method: "POST",
1969
+ headers,
1970
+ path: resolvedPath,
1971
+ body,
1972
+ });
1973
+ };
1974
+ exports.serializeAws_restJson1StartWirelessDeviceImportTaskCommand = serializeAws_restJson1StartWirelessDeviceImportTaskCommand;
1818
1975
  const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1819
1976
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1820
1977
  const headers = {
@@ -2200,6 +2357,30 @@ const serializeAws_restJson1UpdateWirelessDeviceCommand = async (input, context)
2200
2357
  });
2201
2358
  };
2202
2359
  exports.serializeAws_restJson1UpdateWirelessDeviceCommand = serializeAws_restJson1UpdateWirelessDeviceCommand;
2360
+ const serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = async (input, context) => {
2361
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2362
+ const headers = {
2363
+ "content-type": "application/json",
2364
+ };
2365
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/wireless_device_import_task/{Id}";
2366
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Id", () => input.Id, "{Id}", false);
2367
+ let body;
2368
+ body = JSON.stringify({
2369
+ ...(input.Sidewalk != null && {
2370
+ Sidewalk: serializeAws_restJson1SidewalkUpdateImportInfo(input.Sidewalk, context),
2371
+ }),
2372
+ });
2373
+ return new protocol_http_1.HttpRequest({
2374
+ protocol,
2375
+ hostname,
2376
+ port,
2377
+ method: "PATCH",
2378
+ headers,
2379
+ path: resolvedPath,
2380
+ body,
2381
+ });
2382
+ };
2383
+ exports.serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand;
2203
2384
  const serializeAws_restJson1UpdateWirelessGatewayCommand = async (input, context) => {
2204
2385
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2205
2386
  const headers = {
@@ -3476,6 +3657,52 @@ const deserializeAws_restJson1DeleteWirelessDeviceCommandError = async (output,
3476
3657
  });
3477
3658
  }
3478
3659
  };
3660
+ const deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = async (output, context) => {
3661
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
3662
+ return deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommandError(output, context);
3663
+ }
3664
+ const contents = map({
3665
+ $metadata: deserializeMetadata(output),
3666
+ });
3667
+ await collectBody(output.body, context);
3668
+ return contents;
3669
+ };
3670
+ exports.deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand = deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand;
3671
+ const deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommandError = async (output, context) => {
3672
+ const parsedOutput = {
3673
+ ...output,
3674
+ body: await parseErrorBody(output.body, context),
3675
+ };
3676
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3677
+ switch (errorCode) {
3678
+ case "AccessDeniedException":
3679
+ case "com.amazonaws.iotwireless#AccessDeniedException":
3680
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
3681
+ case "ConflictException":
3682
+ case "com.amazonaws.iotwireless#ConflictException":
3683
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
3684
+ case "InternalServerException":
3685
+ case "com.amazonaws.iotwireless#InternalServerException":
3686
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3687
+ case "ResourceNotFoundException":
3688
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
3689
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3690
+ case "ThrottlingException":
3691
+ case "com.amazonaws.iotwireless#ThrottlingException":
3692
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3693
+ case "ValidationException":
3694
+ case "com.amazonaws.iotwireless#ValidationException":
3695
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3696
+ default:
3697
+ const parsedBody = parsedOutput.body;
3698
+ (0, smithy_client_1.throwDefaultError)({
3699
+ output,
3700
+ parsedBody,
3701
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
3702
+ errorCode,
3703
+ });
3704
+ }
3705
+ };
3479
3706
  const deserializeAws_restJson1DeleteWirelessGatewayCommand = async (output, context) => {
3480
3707
  if (output.statusCode !== 204 && output.statusCode >= 300) {
3481
3708
  return deserializeAws_restJson1DeleteWirelessGatewayCommandError(output, context);
@@ -3605,6 +3832,46 @@ const deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommandError =
3605
3832
  });
3606
3833
  }
3607
3834
  };
3835
+ const deserializeAws_restJson1DeregisterWirelessDeviceCommand = async (output, context) => {
3836
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3837
+ return deserializeAws_restJson1DeregisterWirelessDeviceCommandError(output, context);
3838
+ }
3839
+ const contents = map({
3840
+ $metadata: deserializeMetadata(output),
3841
+ });
3842
+ await collectBody(output.body, context);
3843
+ return contents;
3844
+ };
3845
+ exports.deserializeAws_restJson1DeregisterWirelessDeviceCommand = deserializeAws_restJson1DeregisterWirelessDeviceCommand;
3846
+ const deserializeAws_restJson1DeregisterWirelessDeviceCommandError = async (output, context) => {
3847
+ const parsedOutput = {
3848
+ ...output,
3849
+ body: await parseErrorBody(output.body, context),
3850
+ };
3851
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3852
+ switch (errorCode) {
3853
+ case "InternalServerException":
3854
+ case "com.amazonaws.iotwireless#InternalServerException":
3855
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
3856
+ case "ResourceNotFoundException":
3857
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
3858
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
3859
+ case "ThrottlingException":
3860
+ case "com.amazonaws.iotwireless#ThrottlingException":
3861
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
3862
+ case "ValidationException":
3863
+ case "com.amazonaws.iotwireless#ValidationException":
3864
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
3865
+ default:
3866
+ const parsedBody = parsedOutput.body;
3867
+ (0, smithy_client_1.throwDefaultError)({
3868
+ output,
3869
+ parsedBody,
3870
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
3871
+ errorCode,
3872
+ });
3873
+ }
3874
+ };
3608
3875
  const deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = async (output, context) => {
3609
3876
  if (output.statusCode !== 204 && output.statusCode >= 300) {
3610
3877
  return deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommandError(output, context);
@@ -3993,6 +4260,9 @@ const deserializeAws_restJson1GetDeviceProfileCommand = async (output, context)
3993
4260
  if (data.Name != null) {
3994
4261
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
3995
4262
  }
4263
+ if (data.Sidewalk != null) {
4264
+ contents.Sidewalk = deserializeAws_restJson1SidewalkGetDeviceProfile(data.Sidewalk, context);
4265
+ }
3996
4266
  return contents;
3997
4267
  };
3998
4268
  exports.deserializeAws_restJson1GetDeviceProfileCommand = deserializeAws_restJson1GetDeviceProfileCommand;
@@ -4910,30 +5180,51 @@ const deserializeAws_restJson1GetWirelessDeviceCommandError = async (output, con
4910
5180
  });
4911
5181
  }
4912
5182
  };
4913
- const deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (output, context) => {
5183
+ const deserializeAws_restJson1GetWirelessDeviceImportTaskCommand = async (output, context) => {
4914
5184
  if (output.statusCode !== 200 && output.statusCode >= 300) {
4915
- return deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError(output, context);
5185
+ return deserializeAws_restJson1GetWirelessDeviceImportTaskCommandError(output, context);
4916
5186
  }
4917
5187
  const contents = map({
4918
5188
  $metadata: deserializeMetadata(output),
4919
5189
  });
4920
5190
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
4921
- if (data.LastUplinkReceivedAt != null) {
4922
- contents.LastUplinkReceivedAt = (0, smithy_client_1.expectString)(data.LastUplinkReceivedAt);
5191
+ if (data.Arn != null) {
5192
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
4923
5193
  }
4924
- if (data.LoRaWAN != null) {
4925
- contents.LoRaWAN = deserializeAws_restJson1LoRaWANDeviceMetadata(data.LoRaWAN, context);
5194
+ if (data.CreationTime != null) {
5195
+ contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
5196
+ }
5197
+ if (data.DestinationName != null) {
5198
+ contents.DestinationName = (0, smithy_client_1.expectString)(data.DestinationName);
5199
+ }
5200
+ if (data.FailedImportedDeviceCount != null) {
5201
+ contents.FailedImportedDeviceCount = (0, smithy_client_1.expectLong)(data.FailedImportedDeviceCount);
5202
+ }
5203
+ if (data.Id != null) {
5204
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
5205
+ }
5206
+ if (data.InitializedImportedDeviceCount != null) {
5207
+ contents.InitializedImportedDeviceCount = (0, smithy_client_1.expectLong)(data.InitializedImportedDeviceCount);
5208
+ }
5209
+ if (data.OnboardedImportedDeviceCount != null) {
5210
+ contents.OnboardedImportedDeviceCount = (0, smithy_client_1.expectLong)(data.OnboardedImportedDeviceCount);
5211
+ }
5212
+ if (data.PendingImportedDeviceCount != null) {
5213
+ contents.PendingImportedDeviceCount = (0, smithy_client_1.expectLong)(data.PendingImportedDeviceCount);
4926
5214
  }
4927
5215
  if (data.Sidewalk != null) {
4928
- contents.Sidewalk = deserializeAws_restJson1SidewalkDeviceMetadata(data.Sidewalk, context);
5216
+ contents.Sidewalk = deserializeAws_restJson1SidewalkGetStartImportInfo(data.Sidewalk, context);
4929
5217
  }
4930
- if (data.WirelessDeviceId != null) {
4931
- contents.WirelessDeviceId = (0, smithy_client_1.expectString)(data.WirelessDeviceId);
5218
+ if (data.Status != null) {
5219
+ contents.Status = (0, smithy_client_1.expectString)(data.Status);
5220
+ }
5221
+ if (data.StatusReason != null) {
5222
+ contents.StatusReason = (0, smithy_client_1.expectString)(data.StatusReason);
4932
5223
  }
4933
5224
  return contents;
4934
5225
  };
4935
- exports.deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = deserializeAws_restJson1GetWirelessDeviceStatisticsCommand;
4936
- const deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError = async (output, context) => {
5226
+ exports.deserializeAws_restJson1GetWirelessDeviceImportTaskCommand = deserializeAws_restJson1GetWirelessDeviceImportTaskCommand;
5227
+ const deserializeAws_restJson1GetWirelessDeviceImportTaskCommandError = async (output, context) => {
4937
5228
  const parsedOutput = {
4938
5229
  ...output,
4939
5230
  body: await parseErrorBody(output.body, context),
@@ -4943,8 +5234,66 @@ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError = async (o
4943
5234
  case "AccessDeniedException":
4944
5235
  case "com.amazonaws.iotwireless#AccessDeniedException":
4945
5236
  throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
4946
- case "InternalServerException":
4947
- case "com.amazonaws.iotwireless#InternalServerException":
5237
+ case "ConflictException":
5238
+ case "com.amazonaws.iotwireless#ConflictException":
5239
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
5240
+ case "InternalServerException":
5241
+ case "com.amazonaws.iotwireless#InternalServerException":
5242
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
5243
+ case "ResourceNotFoundException":
5244
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
5245
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
5246
+ case "ThrottlingException":
5247
+ case "com.amazonaws.iotwireless#ThrottlingException":
5248
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
5249
+ case "ValidationException":
5250
+ case "com.amazonaws.iotwireless#ValidationException":
5251
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
5252
+ default:
5253
+ const parsedBody = parsedOutput.body;
5254
+ (0, smithy_client_1.throwDefaultError)({
5255
+ output,
5256
+ parsedBody,
5257
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
5258
+ errorCode,
5259
+ });
5260
+ }
5261
+ };
5262
+ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (output, context) => {
5263
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5264
+ return deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError(output, context);
5265
+ }
5266
+ const contents = map({
5267
+ $metadata: deserializeMetadata(output),
5268
+ });
5269
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5270
+ if (data.LastUplinkReceivedAt != null) {
5271
+ contents.LastUplinkReceivedAt = (0, smithy_client_1.expectString)(data.LastUplinkReceivedAt);
5272
+ }
5273
+ if (data.LoRaWAN != null) {
5274
+ contents.LoRaWAN = deserializeAws_restJson1LoRaWANDeviceMetadata(data.LoRaWAN, context);
5275
+ }
5276
+ if (data.Sidewalk != null) {
5277
+ contents.Sidewalk = deserializeAws_restJson1SidewalkDeviceMetadata(data.Sidewalk, context);
5278
+ }
5279
+ if (data.WirelessDeviceId != null) {
5280
+ contents.WirelessDeviceId = (0, smithy_client_1.expectString)(data.WirelessDeviceId);
5281
+ }
5282
+ return contents;
5283
+ };
5284
+ exports.deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = deserializeAws_restJson1GetWirelessDeviceStatisticsCommand;
5285
+ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError = async (output, context) => {
5286
+ const parsedOutput = {
5287
+ ...output,
5288
+ body: await parseErrorBody(output.body, context),
5289
+ };
5290
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5291
+ switch (errorCode) {
5292
+ case "AccessDeniedException":
5293
+ case "com.amazonaws.iotwireless#AccessDeniedException":
5294
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
5295
+ case "InternalServerException":
5296
+ case "com.amazonaws.iotwireless#InternalServerException":
4948
5297
  throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
4949
5298
  case "ResourceNotFoundException":
4950
5299
  case "com.amazonaws.iotwireless#ResourceNotFoundException":
@@ -5381,6 +5730,61 @@ const deserializeAws_restJson1ListDeviceProfilesCommandError = async (output, co
5381
5730
  });
5382
5731
  }
5383
5732
  };
5733
+ const deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = async (output, context) => {
5734
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5735
+ return deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommandError(output, context);
5736
+ }
5737
+ const contents = map({
5738
+ $metadata: deserializeMetadata(output),
5739
+ });
5740
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
5741
+ if (data.DestinationName != null) {
5742
+ contents.DestinationName = (0, smithy_client_1.expectString)(data.DestinationName);
5743
+ }
5744
+ if (data.ImportedWirelessDeviceList != null) {
5745
+ contents.ImportedWirelessDeviceList = deserializeAws_restJson1ImportedWirelessDeviceList(data.ImportedWirelessDeviceList, context);
5746
+ }
5747
+ if (data.NextToken != null) {
5748
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
5749
+ }
5750
+ return contents;
5751
+ };
5752
+ exports.deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand = deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand;
5753
+ const deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommandError = async (output, context) => {
5754
+ const parsedOutput = {
5755
+ ...output,
5756
+ body: await parseErrorBody(output.body, context),
5757
+ };
5758
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5759
+ switch (errorCode) {
5760
+ case "AccessDeniedException":
5761
+ case "com.amazonaws.iotwireless#AccessDeniedException":
5762
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
5763
+ case "ConflictException":
5764
+ case "com.amazonaws.iotwireless#ConflictException":
5765
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
5766
+ case "InternalServerException":
5767
+ case "com.amazonaws.iotwireless#InternalServerException":
5768
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
5769
+ case "ResourceNotFoundException":
5770
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
5771
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
5772
+ case "ThrottlingException":
5773
+ case "com.amazonaws.iotwireless#ThrottlingException":
5774
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
5775
+ case "ValidationException":
5776
+ case "com.amazonaws.iotwireless#ValidationException":
5777
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
5778
+ default:
5779
+ const parsedBody = parsedOutput.body;
5780
+ (0, smithy_client_1.throwDefaultError)({
5781
+ output,
5782
+ parsedBody,
5783
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
5784
+ errorCode,
5785
+ });
5786
+ }
5787
+ };
5384
5788
  const deserializeAws_restJson1ListEventConfigurationsCommand = async (output, context) => {
5385
5789
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5386
5790
  return deserializeAws_restJson1ListEventConfigurationsCommandError(output, context);
@@ -5847,6 +6251,58 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
5847
6251
  });
5848
6252
  }
5849
6253
  };
6254
+ const deserializeAws_restJson1ListWirelessDeviceImportTasksCommand = async (output, context) => {
6255
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
6256
+ return deserializeAws_restJson1ListWirelessDeviceImportTasksCommandError(output, context);
6257
+ }
6258
+ const contents = map({
6259
+ $metadata: deserializeMetadata(output),
6260
+ });
6261
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6262
+ if (data.NextToken != null) {
6263
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
6264
+ }
6265
+ if (data.WirelessDeviceImportTaskList != null) {
6266
+ contents.WirelessDeviceImportTaskList = deserializeAws_restJson1WirelessDeviceImportTaskList(data.WirelessDeviceImportTaskList, context);
6267
+ }
6268
+ return contents;
6269
+ };
6270
+ exports.deserializeAws_restJson1ListWirelessDeviceImportTasksCommand = deserializeAws_restJson1ListWirelessDeviceImportTasksCommand;
6271
+ const deserializeAws_restJson1ListWirelessDeviceImportTasksCommandError = async (output, context) => {
6272
+ const parsedOutput = {
6273
+ ...output,
6274
+ body: await parseErrorBody(output.body, context),
6275
+ };
6276
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6277
+ switch (errorCode) {
6278
+ case "AccessDeniedException":
6279
+ case "com.amazonaws.iotwireless#AccessDeniedException":
6280
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
6281
+ case "ConflictException":
6282
+ case "com.amazonaws.iotwireless#ConflictException":
6283
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
6284
+ case "InternalServerException":
6285
+ case "com.amazonaws.iotwireless#InternalServerException":
6286
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
6287
+ case "ResourceNotFoundException":
6288
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
6289
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
6290
+ case "ThrottlingException":
6291
+ case "com.amazonaws.iotwireless#ThrottlingException":
6292
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
6293
+ case "ValidationException":
6294
+ case "com.amazonaws.iotwireless#ValidationException":
6295
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
6296
+ default:
6297
+ const parsedBody = parsedOutput.body;
6298
+ (0, smithy_client_1.throwDefaultError)({
6299
+ output,
6300
+ parsedBody,
6301
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
6302
+ errorCode,
6303
+ });
6304
+ }
6305
+ };
5850
6306
  const deserializeAws_restJson1ListWirelessDevicesCommand = async (output, context) => {
5851
6307
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5852
6308
  return deserializeAws_restJson1ListWirelessDevicesCommandError(output, context);
@@ -6427,6 +6883,110 @@ const deserializeAws_restJson1StartMulticastGroupSessionCommandError = async (ou
6427
6883
  });
6428
6884
  }
6429
6885
  };
6886
+ const deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = async (output, context) => {
6887
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
6888
+ return deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommandError(output, context);
6889
+ }
6890
+ const contents = map({
6891
+ $metadata: deserializeMetadata(output),
6892
+ });
6893
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6894
+ if (data.Arn != null) {
6895
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
6896
+ }
6897
+ if (data.Id != null) {
6898
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
6899
+ }
6900
+ return contents;
6901
+ };
6902
+ exports.deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand = deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand;
6903
+ const deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommandError = async (output, context) => {
6904
+ const parsedOutput = {
6905
+ ...output,
6906
+ body: await parseErrorBody(output.body, context),
6907
+ };
6908
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6909
+ switch (errorCode) {
6910
+ case "AccessDeniedException":
6911
+ case "com.amazonaws.iotwireless#AccessDeniedException":
6912
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
6913
+ case "ConflictException":
6914
+ case "com.amazonaws.iotwireless#ConflictException":
6915
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
6916
+ case "InternalServerException":
6917
+ case "com.amazonaws.iotwireless#InternalServerException":
6918
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
6919
+ case "ResourceNotFoundException":
6920
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
6921
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
6922
+ case "ThrottlingException":
6923
+ case "com.amazonaws.iotwireless#ThrottlingException":
6924
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
6925
+ case "ValidationException":
6926
+ case "com.amazonaws.iotwireless#ValidationException":
6927
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
6928
+ default:
6929
+ const parsedBody = parsedOutput.body;
6930
+ (0, smithy_client_1.throwDefaultError)({
6931
+ output,
6932
+ parsedBody,
6933
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
6934
+ errorCode,
6935
+ });
6936
+ }
6937
+ };
6938
+ const deserializeAws_restJson1StartWirelessDeviceImportTaskCommand = async (output, context) => {
6939
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
6940
+ return deserializeAws_restJson1StartWirelessDeviceImportTaskCommandError(output, context);
6941
+ }
6942
+ const contents = map({
6943
+ $metadata: deserializeMetadata(output),
6944
+ });
6945
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
6946
+ if (data.Arn != null) {
6947
+ contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
6948
+ }
6949
+ if (data.Id != null) {
6950
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
6951
+ }
6952
+ return contents;
6953
+ };
6954
+ exports.deserializeAws_restJson1StartWirelessDeviceImportTaskCommand = deserializeAws_restJson1StartWirelessDeviceImportTaskCommand;
6955
+ const deserializeAws_restJson1StartWirelessDeviceImportTaskCommandError = async (output, context) => {
6956
+ const parsedOutput = {
6957
+ ...output,
6958
+ body: await parseErrorBody(output.body, context),
6959
+ };
6960
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6961
+ switch (errorCode) {
6962
+ case "AccessDeniedException":
6963
+ case "com.amazonaws.iotwireless#AccessDeniedException":
6964
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
6965
+ case "ConflictException":
6966
+ case "com.amazonaws.iotwireless#ConflictException":
6967
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
6968
+ case "InternalServerException":
6969
+ case "com.amazonaws.iotwireless#InternalServerException":
6970
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
6971
+ case "ResourceNotFoundException":
6972
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
6973
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
6974
+ case "ThrottlingException":
6975
+ case "com.amazonaws.iotwireless#ThrottlingException":
6976
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
6977
+ case "ValidationException":
6978
+ case "com.amazonaws.iotwireless#ValidationException":
6979
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
6980
+ default:
6981
+ const parsedBody = parsedOutput.body;
6982
+ (0, smithy_client_1.throwDefaultError)({
6983
+ output,
6984
+ parsedBody,
6985
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
6986
+ errorCode,
6987
+ });
6988
+ }
6989
+ };
6430
6990
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
6431
6991
  if (output.statusCode !== 204 && output.statusCode >= 300) {
6432
6992
  return deserializeAws_restJson1TagResourceCommandError(output, context);
@@ -7038,6 +7598,52 @@ const deserializeAws_restJson1UpdateWirelessDeviceCommandError = async (output,
7038
7598
  });
7039
7599
  }
7040
7600
  };
7601
+ const deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = async (output, context) => {
7602
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
7603
+ return deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommandError(output, context);
7604
+ }
7605
+ const contents = map({
7606
+ $metadata: deserializeMetadata(output),
7607
+ });
7608
+ await collectBody(output.body, context);
7609
+ return contents;
7610
+ };
7611
+ exports.deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand = deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand;
7612
+ const deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommandError = async (output, context) => {
7613
+ const parsedOutput = {
7614
+ ...output,
7615
+ body: await parseErrorBody(output.body, context),
7616
+ };
7617
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7618
+ switch (errorCode) {
7619
+ case "AccessDeniedException":
7620
+ case "com.amazonaws.iotwireless#AccessDeniedException":
7621
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
7622
+ case "ConflictException":
7623
+ case "com.amazonaws.iotwireless#ConflictException":
7624
+ throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
7625
+ case "InternalServerException":
7626
+ case "com.amazonaws.iotwireless#InternalServerException":
7627
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
7628
+ case "ResourceNotFoundException":
7629
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
7630
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
7631
+ case "ThrottlingException":
7632
+ case "com.amazonaws.iotwireless#ThrottlingException":
7633
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
7634
+ case "ValidationException":
7635
+ case "com.amazonaws.iotwireless#ValidationException":
7636
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
7637
+ default:
7638
+ const parsedBody = parsedOutput.body;
7639
+ (0, smithy_client_1.throwDefaultError)({
7640
+ output,
7641
+ parsedBody,
7642
+ exceptionCtor: IoTWirelessServiceException_1.IoTWirelessServiceException,
7643
+ errorCode,
7644
+ });
7645
+ }
7646
+ };
7041
7647
  const deserializeAws_restJson1UpdateWirelessGatewayCommand = async (output, context) => {
7042
7648
  if (output.statusCode !== 204 && output.statusCode >= 300) {
7043
7649
  return deserializeAws_restJson1UpdateWirelessGatewayCommandError(output, context);
@@ -7740,6 +8346,14 @@ const serializeAws_restJson1SidewalkAccountInfo = (input, context) => {
7740
8346
  ...(input.AppServerPrivateKey != null && { AppServerPrivateKey: input.AppServerPrivateKey }),
7741
8347
  };
7742
8348
  };
8349
+ const serializeAws_restJson1SidewalkCreateDeviceProfile = (input, context) => {
8350
+ return {};
8351
+ };
8352
+ const serializeAws_restJson1SidewalkCreateWirelessDevice = (input, context) => {
8353
+ return {
8354
+ ...(input.DeviceProfileId != null && { DeviceProfileId: input.DeviceProfileId }),
8355
+ };
8356
+ };
7743
8357
  const serializeAws_restJson1SidewalkEventNotificationConfigurations = (input, context) => {
7744
8358
  return {
7745
8359
  ...(input.AmazonIdEventTopic != null && { AmazonIdEventTopic: input.AmazonIdEventTopic }),
@@ -7757,11 +8371,27 @@ const serializeAws_restJson1SidewalkSendDataToDevice = (input, context) => {
7757
8371
  ...(input.Seq != null && { Seq: input.Seq }),
7758
8372
  };
7759
8373
  };
8374
+ const serializeAws_restJson1SidewalkSingleStartImportInfo = (input, context) => {
8375
+ return {
8376
+ ...(input.SidewalkManufacturingSn != null && { SidewalkManufacturingSn: input.SidewalkManufacturingSn }),
8377
+ };
8378
+ };
8379
+ const serializeAws_restJson1SidewalkStartImportInfo = (input, context) => {
8380
+ return {
8381
+ ...(input.DeviceCreationFile != null && { DeviceCreationFile: input.DeviceCreationFile }),
8382
+ ...(input.Role != null && { Role: input.Role }),
8383
+ };
8384
+ };
7760
8385
  const serializeAws_restJson1SidewalkUpdateAccount = (input, context) => {
7761
8386
  return {
7762
8387
  ...(input.AppServerPrivateKey != null && { AppServerPrivateKey: input.AppServerPrivateKey }),
7763
8388
  };
7764
8389
  };
8390
+ const serializeAws_restJson1SidewalkUpdateImportInfo = (input, context) => {
8391
+ return {
8392
+ ...(input.DeviceCreationFile != null && { DeviceCreationFile: input.DeviceCreationFile }),
8393
+ };
8394
+ };
7765
8395
  const serializeAws_restJson1SubBands = (input, context) => {
7766
8396
  return input
7767
8397
  .filter((e) => e != null)
@@ -8075,6 +8705,26 @@ const deserializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration = (
8075
8705
  : undefined,
8076
8706
  };
8077
8707
  };
8708
+ const deserializeAws_restJson1DakCertificateMetadata = (output, context) => {
8709
+ return {
8710
+ ApId: (0, smithy_client_1.expectString)(output.ApId),
8711
+ CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
8712
+ DeviceTypeId: (0, smithy_client_1.expectString)(output.DeviceTypeId),
8713
+ FactorySupport: (0, smithy_client_1.expectBoolean)(output.FactorySupport),
8714
+ MaxAllowedSignature: (0, smithy_client_1.expectInt32)(output.MaxAllowedSignature),
8715
+ };
8716
+ };
8717
+ const deserializeAws_restJson1DakCertificateMetadataList = (output, context) => {
8718
+ const retVal = (output || [])
8719
+ .filter((e) => e != null)
8720
+ .map((entry) => {
8721
+ if (entry === null) {
8722
+ return null;
8723
+ }
8724
+ return deserializeAws_restJson1DakCertificateMetadata(entry, context);
8725
+ });
8726
+ return retVal;
8727
+ };
8078
8728
  const deserializeAws_restJson1DestinationList = (output, context) => {
8079
8729
  const retVal = (output || [])
8080
8730
  .filter((e) => e != null)
@@ -8107,6 +8757,17 @@ const deserializeAws_restJson1DeviceCertificateList = (output, context) => {
8107
8757
  });
8108
8758
  return retVal;
8109
8759
  };
8760
+ const deserializeAws_restJson1DeviceCreationFileList = (output, context) => {
8761
+ const retVal = (output || [])
8762
+ .filter((e) => e != null)
8763
+ .map((entry) => {
8764
+ if (entry === null) {
8765
+ return null;
8766
+ }
8767
+ return (0, smithy_client_1.expectString)(entry);
8768
+ });
8769
+ return retVal;
8770
+ };
8110
8771
  const deserializeAws_restJson1DeviceProfile = (output, context) => {
8111
8772
  return {
8112
8773
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -8252,6 +8913,32 @@ const deserializeAws_restJson1GatewayListItem = (output, context) => {
8252
8913
  GatewayId: (0, smithy_client_1.expectString)(output.GatewayId),
8253
8914
  };
8254
8915
  };
8916
+ const deserializeAws_restJson1ImportedSidewalkDevice = (output, context) => {
8917
+ return {
8918
+ LastUpdateTime: output.LastUpdateTime != null
8919
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.LastUpdateTime))
8920
+ : undefined,
8921
+ OnboardingStatus: (0, smithy_client_1.expectString)(output.OnboardingStatus),
8922
+ OnboardingStatusReason: (0, smithy_client_1.expectString)(output.OnboardingStatusReason),
8923
+ SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
8924
+ };
8925
+ };
8926
+ const deserializeAws_restJson1ImportedWirelessDevice = (output, context) => {
8927
+ return {
8928
+ Sidewalk: output.Sidewalk != null ? deserializeAws_restJson1ImportedSidewalkDevice(output.Sidewalk, context) : undefined,
8929
+ };
8930
+ };
8931
+ const deserializeAws_restJson1ImportedWirelessDeviceList = (output, context) => {
8932
+ const retVal = (output || [])
8933
+ .filter((e) => e != null)
8934
+ .map((entry) => {
8935
+ if (entry === null) {
8936
+ return null;
8937
+ }
8938
+ return deserializeAws_restJson1ImportedWirelessDevice(entry, context);
8939
+ });
8940
+ return retVal;
8941
+ };
8255
8942
  const deserializeAws_restJson1JoinEuiFilters = (output, context) => {
8256
8943
  const retVal = (output || [])
8257
8944
  .filter((e) => e != null)
@@ -8624,6 +9311,17 @@ const deserializeAws_restJson1PositionSolverDetails = (output, context) => {
8624
9311
  SemtechGnss: output.SemtechGnss != null ? deserializeAws_restJson1SemtechGnssDetail(output.SemtechGnss, context) : undefined,
8625
9312
  };
8626
9313
  };
9314
+ const deserializeAws_restJson1PrivateKeysList = (output, context) => {
9315
+ const retVal = (output || [])
9316
+ .filter((e) => e != null)
9317
+ .map((entry) => {
9318
+ if (entry === null) {
9319
+ return null;
9320
+ }
9321
+ return deserializeAws_restJson1CertificateList(entry, context);
9322
+ });
9323
+ return retVal;
9324
+ };
8627
9325
  const deserializeAws_restJson1ProximityEventConfiguration = (output, context) => {
8628
9326
  return {
8629
9327
  Sidewalk: output.Sidewalk != null
@@ -8706,11 +9404,15 @@ const deserializeAws_restJson1SidewalkAccountList = (output, context) => {
8706
9404
  const deserializeAws_restJson1SidewalkDevice = (output, context) => {
8707
9405
  return {
8708
9406
  AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
9407
+ CertificateId: (0, smithy_client_1.expectString)(output.CertificateId),
8709
9408
  DeviceCertificates: output.DeviceCertificates != null
8710
9409
  ? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
8711
9410
  : undefined,
9411
+ DeviceProfileId: (0, smithy_client_1.expectString)(output.DeviceProfileId),
9412
+ PrivateKeys: output.PrivateKeys != null ? deserializeAws_restJson1PrivateKeysList(output.PrivateKeys, context) : undefined,
8712
9413
  SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
8713
9414
  SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
9415
+ Status: (0, smithy_client_1.expectString)(output.Status),
8714
9416
  };
8715
9417
  };
8716
9418
  const deserializeAws_restJson1SidewalkDeviceMetadata = (output, context) => {
@@ -8726,14 +9428,33 @@ const deserializeAws_restJson1SidewalkEventNotificationConfigurations = (output,
8726
9428
  AmazonIdEventTopic: (0, smithy_client_1.expectString)(output.AmazonIdEventTopic),
8727
9429
  };
8728
9430
  };
9431
+ const deserializeAws_restJson1SidewalkGetDeviceProfile = (output, context) => {
9432
+ return {
9433
+ ApplicationServerPublicKey: (0, smithy_client_1.expectString)(output.ApplicationServerPublicKey),
9434
+ DakCertificateMetadata: output.DakCertificateMetadata != null
9435
+ ? deserializeAws_restJson1DakCertificateMetadataList(output.DakCertificateMetadata, context)
9436
+ : undefined,
9437
+ QualificationStatus: (0, smithy_client_1.expectBoolean)(output.QualificationStatus),
9438
+ };
9439
+ };
9440
+ const deserializeAws_restJson1SidewalkGetStartImportInfo = (output, context) => {
9441
+ return {
9442
+ DeviceCreationFileList: output.DeviceCreationFileList != null
9443
+ ? deserializeAws_restJson1DeviceCreationFileList(output.DeviceCreationFileList, context)
9444
+ : undefined,
9445
+ Role: (0, smithy_client_1.expectString)(output.Role),
9446
+ };
9447
+ };
8729
9448
  const deserializeAws_restJson1SidewalkListDevice = (output, context) => {
8730
9449
  return {
8731
9450
  AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
8732
9451
  DeviceCertificates: output.DeviceCertificates != null
8733
9452
  ? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
8734
9453
  : undefined,
9454
+ DeviceProfileId: (0, smithy_client_1.expectString)(output.DeviceProfileId),
8735
9455
  SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
8736
9456
  SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
9457
+ Status: (0, smithy_client_1.expectString)(output.Status),
8737
9458
  };
8738
9459
  };
8739
9460
  const deserializeAws_restJson1SidewalkResourceTypeEventConfiguration = (output, context) => {
@@ -8810,6 +9531,34 @@ const deserializeAws_restJson1WirelessDeviceEventLogOptionList = (output, contex
8810
9531
  });
8811
9532
  return retVal;
8812
9533
  };
9534
+ const deserializeAws_restJson1WirelessDeviceImportTask = (output, context) => {
9535
+ return {
9536
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
9537
+ CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
9538
+ DestinationName: (0, smithy_client_1.expectString)(output.DestinationName),
9539
+ FailedImportedDeviceCount: (0, smithy_client_1.expectLong)(output.FailedImportedDeviceCount),
9540
+ Id: (0, smithy_client_1.expectString)(output.Id),
9541
+ InitializedImportedDeviceCount: (0, smithy_client_1.expectLong)(output.InitializedImportedDeviceCount),
9542
+ OnboardedImportedDeviceCount: (0, smithy_client_1.expectLong)(output.OnboardedImportedDeviceCount),
9543
+ PendingImportedDeviceCount: (0, smithy_client_1.expectLong)(output.PendingImportedDeviceCount),
9544
+ Sidewalk: output.Sidewalk != null
9545
+ ? deserializeAws_restJson1SidewalkGetStartImportInfo(output.Sidewalk, context)
9546
+ : undefined,
9547
+ Status: (0, smithy_client_1.expectString)(output.Status),
9548
+ StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
9549
+ };
9550
+ };
9551
+ const deserializeAws_restJson1WirelessDeviceImportTaskList = (output, context) => {
9552
+ const retVal = (output || [])
9553
+ .filter((e) => e != null)
9554
+ .map((entry) => {
9555
+ if (entry === null) {
9556
+ return null;
9557
+ }
9558
+ return deserializeAws_restJson1WirelessDeviceImportTask(entry, context);
9559
+ });
9560
+ return retVal;
9561
+ };
8813
9562
  const deserializeAws_restJson1WirelessDeviceList = (output, context) => {
8814
9563
  const retVal = (output || [])
8815
9564
  .filter((e) => e != null)