@aws-sdk/client-iot-wireless 3.42.0 → 3.47.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 (57) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +11 -1
  3. package/dist-cjs/IoTWireless.js +60 -0
  4. package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +36 -0
  5. package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +36 -0
  6. package/dist-cjs/commands/ListQueuedMessagesCommand.js +36 -0
  7. package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +36 -0
  8. package/dist-cjs/commands/index.js +4 -0
  9. package/dist-cjs/endpoints.js +48 -1
  10. package/dist-cjs/models/models_0.js +77 -54
  11. package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +35 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +545 -4
  14. package/dist-cjs/runtimeConfig.browser.js +7 -2
  15. package/dist-cjs/runtimeConfig.js +9 -3
  16. package/dist-es/IoTWireless.js +60 -0
  17. package/dist-es/commands/DeleteQueuedMessagesCommand.js +39 -0
  18. package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +39 -0
  19. package/dist-es/commands/ListQueuedMessagesCommand.js +39 -0
  20. package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +39 -0
  21. package/dist-es/commands/index.js +4 -0
  22. package/dist-es/endpoints.js +48 -1
  23. package/dist-es/models/models_0.js +49 -32
  24. package/dist-es/pagination/ListQueuedMessagesPaginator.js +74 -0
  25. package/dist-es/pagination/index.js +1 -0
  26. package/dist-es/protocols/Aws_restJson1.js +629 -32
  27. package/dist-es/runtimeConfig.browser.js +12 -3
  28. package/dist-es/runtimeConfig.js +13 -6
  29. package/dist-types/IoTWireless.d.ts +39 -1
  30. package/dist-types/IoTWirelessClient.d.ts +22 -4
  31. package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +35 -0
  32. package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +35 -0
  33. package/dist-types/commands/ListQueuedMessagesCommand.d.ts +35 -0
  34. package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
  35. package/dist-types/commands/index.d.ts +4 -0
  36. package/dist-types/models/models_0.d.ts +205 -57
  37. package/dist-types/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  40. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  41. package/dist-types/runtimeConfig.d.ts +4 -3
  42. package/dist-types/runtimeConfig.native.d.ts +1 -0
  43. package/dist-types/ts3.4/IoTWireless.d.ts +20 -0
  44. package/dist-types/ts3.4/IoTWirelessClient.d.ts +9 -3
  45. package/dist-types/ts3.4/commands/DeleteQueuedMessagesCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +125 -37
  51. package/dist-types/ts3.4/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  57. package/package.json +38 -45
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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_restJson1GetResourceLogLevelCommand = exports.serializeAws_restJson1GetResourceEventConfigurationCommand = exports.serializeAws_restJson1GetPartnerAccountCommand = exports.serializeAws_restJson1GetMulticastGroupSessionCommand = exports.serializeAws_restJson1GetMulticastGroupCommand = exports.serializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1GetFuotaTaskCommand = 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_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_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.deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.deserializeAws_restJson1CreateWirelessGatewayCommand = exports.deserializeAws_restJson1CreateWirelessDeviceCommand = exports.deserializeAws_restJson1CreateServiceProfileCommand = 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_restJson1UpdateWirelessDeviceCommand = exports.serializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.serializeAws_restJson1UpdatePartnerAccountCommand = exports.serializeAws_restJson1UpdateMulticastGroupCommand = exports.serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1UpdateFuotaTaskCommand = 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_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListPartnerAccountsCommand = exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.serializeAws_restJson1ListMulticastGroupsCommand = exports.serializeAws_restJson1ListFuotaTasksCommand = exports.serializeAws_restJson1ListDeviceProfilesCommand = exports.serializeAws_restJson1ListDestinationsCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskCommand = void 0;
5
- exports.deserializeAws_restJson1SendDataToMulticastGroupCommand = exports.deserializeAws_restJson1ResetResourceLogLevelCommand = exports.deserializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.deserializeAws_restJson1PutResourceLogLevelCommand = exports.deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = 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_restJson1GetResourceLogLevelCommand = exports.deserializeAws_restJson1GetResourceEventConfigurationCommand = exports.deserializeAws_restJson1GetPartnerAccountCommand = exports.deserializeAws_restJson1GetMulticastGroupSessionCommand = exports.deserializeAws_restJson1GetMulticastGroupCommand = exports.deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1GetFuotaTaskCommand = 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_restJson1DeleteMulticastGroupCommand = exports.deserializeAws_restJson1DeleteFuotaTaskCommand = exports.deserializeAws_restJson1DeleteDeviceProfileCommand = exports.deserializeAws_restJson1DeleteDestinationCommand = void 0;
6
- exports.deserializeAws_restJson1UpdateWirelessGatewayCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceCommand = exports.deserializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.deserializeAws_restJson1UpdatePartnerAccountCommand = exports.deserializeAws_restJson1UpdateMulticastGroupCommand = exports.deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1UpdateFuotaTaskCommand = 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 = void 0;
3
+ exports.serializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.serializeAws_restJson1GetWirelessGatewayCommand = exports.serializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.serializeAws_restJson1GetWirelessDeviceCommand = exports.serializeAws_restJson1GetServiceProfileCommand = exports.serializeAws_restJson1GetServiceEndpointCommand = exports.serializeAws_restJson1GetResourceLogLevelCommand = exports.serializeAws_restJson1GetResourceEventConfigurationCommand = exports.serializeAws_restJson1GetPartnerAccountCommand = exports.serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1GetMulticastGroupSessionCommand = exports.serializeAws_restJson1GetMulticastGroupCommand = exports.serializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1GetFuotaTaskCommand = 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_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_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.deserializeAws_restJson1CreateServiceProfileCommand = 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_restJson1UpdateWirelessDeviceCommand = exports.serializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.serializeAws_restJson1UpdatePartnerAccountCommand = exports.serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1UpdateMulticastGroupCommand = exports.serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1UpdateFuotaTaskCommand = 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_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListQueuedMessagesCommand = exports.serializeAws_restJson1ListPartnerAccountsCommand = exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.serializeAws_restJson1ListMulticastGroupsCommand = exports.serializeAws_restJson1ListFuotaTasksCommand = exports.serializeAws_restJson1ListDeviceProfilesCommand = exports.serializeAws_restJson1ListDestinationsCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskCommand = exports.serializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = void 0;
5
+ exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListQueuedMessagesCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = 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_restJson1GetResourceLogLevelCommand = exports.deserializeAws_restJson1GetResourceEventConfigurationCommand = exports.deserializeAws_restJson1GetPartnerAccountCommand = exports.deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1GetMulticastGroupSessionCommand = exports.deserializeAws_restJson1GetMulticastGroupCommand = exports.deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1GetFuotaTaskCommand = 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_restJson1DeleteMulticastGroupCommand = exports.deserializeAws_restJson1DeleteFuotaTaskCommand = exports.deserializeAws_restJson1DeleteDeviceProfileCommand = exports.deserializeAws_restJson1DeleteDestinationCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.deserializeAws_restJson1CreateWirelessGatewayCommand = exports.deserializeAws_restJson1CreateWirelessDeviceCommand = void 0;
6
+ exports.deserializeAws_restJson1UpdateWirelessGatewayCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceCommand = exports.deserializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.deserializeAws_restJson1UpdatePartnerAccountCommand = exports.deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1UpdateMulticastGroupCommand = exports.deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1UpdateFuotaTaskCommand = 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_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = void 0;
7
7
  const protocol_http_1 = require("@aws-sdk/protocol-http");
8
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
9
9
  const uuid_1 = require("uuid");
@@ -621,6 +621,37 @@ const serializeAws_restJson1DeleteMulticastGroupCommand = async (input, context)
621
621
  });
622
622
  };
623
623
  exports.serializeAws_restJson1DeleteMulticastGroupCommand = serializeAws_restJson1DeleteMulticastGroupCommand;
624
+ const serializeAws_restJson1DeleteQueuedMessagesCommand = async (input, context) => {
625
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
626
+ const headers = {};
627
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices/{Id}/data";
628
+ if (input.Id !== undefined) {
629
+ const labelValue = input.Id;
630
+ if (labelValue.length <= 0) {
631
+ throw new Error("Empty value provided for input HTTP label: Id.");
632
+ }
633
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
634
+ }
635
+ else {
636
+ throw new Error("No value provided for input HTTP label: Id.");
637
+ }
638
+ const query = {
639
+ ...(input.MessageId !== undefined && { messageId: input.MessageId }),
640
+ ...(input.WirelessDeviceType !== undefined && { WirelessDeviceType: input.WirelessDeviceType }),
641
+ };
642
+ let body;
643
+ return new protocol_http_1.HttpRequest({
644
+ protocol,
645
+ hostname,
646
+ port,
647
+ method: "DELETE",
648
+ headers,
649
+ path: resolvedPath,
650
+ query,
651
+ body,
652
+ });
653
+ };
654
+ exports.serializeAws_restJson1DeleteQueuedMessagesCommand = serializeAws_restJson1DeleteQueuedMessagesCommand;
624
655
  const serializeAws_restJson1DeleteServiceProfileCommand = async (input, context) => {
625
656
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
626
657
  const headers = {};
@@ -1119,6 +1150,33 @@ const serializeAws_restJson1GetMulticastGroupSessionCommand = async (input, cont
1119
1150
  });
1120
1151
  };
1121
1152
  exports.serializeAws_restJson1GetMulticastGroupSessionCommand = serializeAws_restJson1GetMulticastGroupSessionCommand;
1153
+ const serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (input, context) => {
1154
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1155
+ const headers = {};
1156
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
1157
+ "/network-analyzer-configurations/{ConfigurationName}";
1158
+ if (input.ConfigurationName !== undefined) {
1159
+ const labelValue = input.ConfigurationName;
1160
+ if (labelValue.length <= 0) {
1161
+ throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
1162
+ }
1163
+ resolvedPath = resolvedPath.replace("{ConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1164
+ }
1165
+ else {
1166
+ throw new Error("No value provided for input HTTP label: ConfigurationName.");
1167
+ }
1168
+ let body;
1169
+ return new protocol_http_1.HttpRequest({
1170
+ protocol,
1171
+ hostname,
1172
+ port,
1173
+ method: "GET",
1174
+ headers,
1175
+ path: resolvedPath,
1176
+ body,
1177
+ });
1178
+ };
1179
+ exports.serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand;
1122
1180
  const serializeAws_restJson1GetPartnerAccountCommand = async (input, context) => {
1123
1181
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1124
1182
  const headers = {};
@@ -1611,6 +1669,38 @@ const serializeAws_restJson1ListPartnerAccountsCommand = async (input, context)
1611
1669
  });
1612
1670
  };
1613
1671
  exports.serializeAws_restJson1ListPartnerAccountsCommand = serializeAws_restJson1ListPartnerAccountsCommand;
1672
+ const serializeAws_restJson1ListQueuedMessagesCommand = async (input, context) => {
1673
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1674
+ const headers = {};
1675
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices/{Id}/data";
1676
+ if (input.Id !== undefined) {
1677
+ const labelValue = input.Id;
1678
+ if (labelValue.length <= 0) {
1679
+ throw new Error("Empty value provided for input HTTP label: Id.");
1680
+ }
1681
+ resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1682
+ }
1683
+ else {
1684
+ throw new Error("No value provided for input HTTP label: Id.");
1685
+ }
1686
+ const query = {
1687
+ ...(input.NextToken !== undefined && { nextToken: input.NextToken }),
1688
+ ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
1689
+ ...(input.WirelessDeviceType !== undefined && { WirelessDeviceType: input.WirelessDeviceType }),
1690
+ };
1691
+ let body;
1692
+ return new protocol_http_1.HttpRequest({
1693
+ protocol,
1694
+ hostname,
1695
+ port,
1696
+ method: "GET",
1697
+ headers,
1698
+ path: resolvedPath,
1699
+ query,
1700
+ body,
1701
+ });
1702
+ };
1703
+ exports.serializeAws_restJson1ListQueuedMessagesCommand = serializeAws_restJson1ListQueuedMessagesCommand;
1614
1704
  const serializeAws_restJson1ListServiceProfilesCommand = async (input, context) => {
1615
1705
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1616
1706
  const headers = {};
@@ -2217,6 +2307,55 @@ const serializeAws_restJson1UpdateMulticastGroupCommand = async (input, context)
2217
2307
  });
2218
2308
  };
2219
2309
  exports.serializeAws_restJson1UpdateMulticastGroupCommand = serializeAws_restJson1UpdateMulticastGroupCommand;
2310
+ const serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (input, context) => {
2311
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2312
+ const headers = {
2313
+ "content-type": "application/json",
2314
+ };
2315
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
2316
+ "/network-analyzer-configurations/{ConfigurationName}";
2317
+ if (input.ConfigurationName !== undefined) {
2318
+ const labelValue = input.ConfigurationName;
2319
+ if (labelValue.length <= 0) {
2320
+ throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
2321
+ }
2322
+ resolvedPath = resolvedPath.replace("{ConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
2323
+ }
2324
+ else {
2325
+ throw new Error("No value provided for input HTTP label: ConfigurationName.");
2326
+ }
2327
+ let body;
2328
+ body = JSON.stringify({
2329
+ ...(input.TraceContent !== undefined &&
2330
+ input.TraceContent !== null && { TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context) }),
2331
+ ...(input.WirelessDevicesToAdd !== undefined &&
2332
+ input.WirelessDevicesToAdd !== null && {
2333
+ WirelessDevicesToAdd: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToAdd, context),
2334
+ }),
2335
+ ...(input.WirelessDevicesToRemove !== undefined &&
2336
+ input.WirelessDevicesToRemove !== null && {
2337
+ WirelessDevicesToRemove: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToRemove, context),
2338
+ }),
2339
+ ...(input.WirelessGatewaysToAdd !== undefined &&
2340
+ input.WirelessGatewaysToAdd !== null && {
2341
+ WirelessGatewaysToAdd: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToAdd, context),
2342
+ }),
2343
+ ...(input.WirelessGatewaysToRemove !== undefined &&
2344
+ input.WirelessGatewaysToRemove !== null && {
2345
+ WirelessGatewaysToRemove: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToRemove, context),
2346
+ }),
2347
+ });
2348
+ return new protocol_http_1.HttpRequest({
2349
+ protocol,
2350
+ hostname,
2351
+ port,
2352
+ method: "PATCH",
2353
+ headers,
2354
+ path: resolvedPath,
2355
+ body,
2356
+ });
2357
+ };
2358
+ exports.serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand;
2220
2359
  const serializeAws_restJson1UpdatePartnerAccountCommand = async (input, context) => {
2221
2360
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2222
2361
  const headers = {
@@ -4186,6 +4325,82 @@ const deserializeAws_restJson1DeleteMulticastGroupCommandError = async (output,
4186
4325
  delete response.Message;
4187
4326
  return Promise.reject(Object.assign(new Error(message), response));
4188
4327
  };
4328
+ const deserializeAws_restJson1DeleteQueuedMessagesCommand = async (output, context) => {
4329
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
4330
+ return deserializeAws_restJson1DeleteQueuedMessagesCommandError(output, context);
4331
+ }
4332
+ const contents = {
4333
+ $metadata: deserializeMetadata(output),
4334
+ };
4335
+ await collectBody(output.body, context);
4336
+ return Promise.resolve(contents);
4337
+ };
4338
+ exports.deserializeAws_restJson1DeleteQueuedMessagesCommand = deserializeAws_restJson1DeleteQueuedMessagesCommand;
4339
+ const deserializeAws_restJson1DeleteQueuedMessagesCommandError = async (output, context) => {
4340
+ const parsedOutput = {
4341
+ ...output,
4342
+ body: await parseBody(output.body, context),
4343
+ };
4344
+ let response;
4345
+ let errorCode = "UnknownError";
4346
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4347
+ switch (errorCode) {
4348
+ case "AccessDeniedException":
4349
+ case "com.amazonaws.iotwireless#AccessDeniedException":
4350
+ response = {
4351
+ ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
4352
+ name: errorCode,
4353
+ $metadata: deserializeMetadata(output),
4354
+ };
4355
+ break;
4356
+ case "InternalServerException":
4357
+ case "com.amazonaws.iotwireless#InternalServerException":
4358
+ response = {
4359
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
4360
+ name: errorCode,
4361
+ $metadata: deserializeMetadata(output),
4362
+ };
4363
+ break;
4364
+ case "ResourceNotFoundException":
4365
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
4366
+ response = {
4367
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
4368
+ name: errorCode,
4369
+ $metadata: deserializeMetadata(output),
4370
+ };
4371
+ break;
4372
+ case "ThrottlingException":
4373
+ case "com.amazonaws.iotwireless#ThrottlingException":
4374
+ response = {
4375
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
4376
+ name: errorCode,
4377
+ $metadata: deserializeMetadata(output),
4378
+ };
4379
+ break;
4380
+ case "ValidationException":
4381
+ case "com.amazonaws.iotwireless#ValidationException":
4382
+ response = {
4383
+ ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
4384
+ name: errorCode,
4385
+ $metadata: deserializeMetadata(output),
4386
+ };
4387
+ break;
4388
+ default:
4389
+ const parsedBody = parsedOutput.body;
4390
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
4391
+ response = {
4392
+ ...parsedBody,
4393
+ name: `${errorCode}`,
4394
+ message: parsedBody.message || parsedBody.Message || errorCode,
4395
+ $fault: "client",
4396
+ $metadata: deserializeMetadata(output),
4397
+ };
4398
+ }
4399
+ const message = response.message || response.Message || errorCode;
4400
+ response.message = message;
4401
+ delete response.Message;
4402
+ return Promise.reject(Object.assign(new Error(message), response));
4403
+ };
4189
4404
  const deserializeAws_restJson1DeleteServiceProfileCommand = async (output, context) => {
4190
4405
  if (output.statusCode !== 204 && output.statusCode >= 300) {
4191
4406
  return deserializeAws_restJson1DeleteServiceProfileCommandError(output, context);
@@ -5698,6 +5913,94 @@ const deserializeAws_restJson1GetMulticastGroupSessionCommandError = async (outp
5698
5913
  delete response.Message;
5699
5914
  return Promise.reject(Object.assign(new Error(message), response));
5700
5915
  };
5916
+ const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (output, context) => {
5917
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
5918
+ return deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommandError(output, context);
5919
+ }
5920
+ const contents = {
5921
+ $metadata: deserializeMetadata(output),
5922
+ TraceContent: undefined,
5923
+ WirelessDevices: undefined,
5924
+ WirelessGateways: undefined,
5925
+ };
5926
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
5927
+ if (data.TraceContent !== undefined && data.TraceContent !== null) {
5928
+ contents.TraceContent = deserializeAws_restJson1TraceContent(data.TraceContent, context);
5929
+ }
5930
+ if (data.WirelessDevices !== undefined && data.WirelessDevices !== null) {
5931
+ contents.WirelessDevices = deserializeAws_restJson1WirelessDeviceList(data.WirelessDevices, context);
5932
+ }
5933
+ if (data.WirelessGateways !== undefined && data.WirelessGateways !== null) {
5934
+ contents.WirelessGateways = deserializeAws_restJson1WirelessGatewayList(data.WirelessGateways, context);
5935
+ }
5936
+ return Promise.resolve(contents);
5937
+ };
5938
+ exports.deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand;
5939
+ const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommandError = async (output, context) => {
5940
+ const parsedOutput = {
5941
+ ...output,
5942
+ body: await parseBody(output.body, context),
5943
+ };
5944
+ let response;
5945
+ let errorCode = "UnknownError";
5946
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5947
+ switch (errorCode) {
5948
+ case "AccessDeniedException":
5949
+ case "com.amazonaws.iotwireless#AccessDeniedException":
5950
+ response = {
5951
+ ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
5952
+ name: errorCode,
5953
+ $metadata: deserializeMetadata(output),
5954
+ };
5955
+ break;
5956
+ case "InternalServerException":
5957
+ case "com.amazonaws.iotwireless#InternalServerException":
5958
+ response = {
5959
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
5960
+ name: errorCode,
5961
+ $metadata: deserializeMetadata(output),
5962
+ };
5963
+ break;
5964
+ case "ResourceNotFoundException":
5965
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
5966
+ response = {
5967
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
5968
+ name: errorCode,
5969
+ $metadata: deserializeMetadata(output),
5970
+ };
5971
+ break;
5972
+ case "ThrottlingException":
5973
+ case "com.amazonaws.iotwireless#ThrottlingException":
5974
+ response = {
5975
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
5976
+ name: errorCode,
5977
+ $metadata: deserializeMetadata(output),
5978
+ };
5979
+ break;
5980
+ case "ValidationException":
5981
+ case "com.amazonaws.iotwireless#ValidationException":
5982
+ response = {
5983
+ ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
5984
+ name: errorCode,
5985
+ $metadata: deserializeMetadata(output),
5986
+ };
5987
+ break;
5988
+ default:
5989
+ const parsedBody = parsedOutput.body;
5990
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
5991
+ response = {
5992
+ ...parsedBody,
5993
+ name: `${errorCode}`,
5994
+ message: parsedBody.message || parsedBody.Message || errorCode,
5995
+ $fault: "client",
5996
+ $metadata: deserializeMetadata(output),
5997
+ };
5998
+ }
5999
+ const message = response.message || response.Message || errorCode;
6000
+ response.message = message;
6001
+ delete response.Message;
6002
+ return Promise.reject(Object.assign(new Error(message), response));
6003
+ };
5701
6004
  const deserializeAws_restJson1GetPartnerAccountCommand = async (output, context) => {
5702
6005
  if (output.statusCode !== 200 && output.statusCode >= 300) {
5703
6006
  return deserializeAws_restJson1GetPartnerAccountCommandError(output, context);
@@ -7326,6 +7629,90 @@ const deserializeAws_restJson1ListPartnerAccountsCommandError = async (output, c
7326
7629
  delete response.Message;
7327
7630
  return Promise.reject(Object.assign(new Error(message), response));
7328
7631
  };
7632
+ const deserializeAws_restJson1ListQueuedMessagesCommand = async (output, context) => {
7633
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
7634
+ return deserializeAws_restJson1ListQueuedMessagesCommandError(output, context);
7635
+ }
7636
+ const contents = {
7637
+ $metadata: deserializeMetadata(output),
7638
+ DownlinkQueueMessagesList: undefined,
7639
+ NextToken: undefined,
7640
+ };
7641
+ const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
7642
+ if (data.DownlinkQueueMessagesList !== undefined && data.DownlinkQueueMessagesList !== null) {
7643
+ contents.DownlinkQueueMessagesList = deserializeAws_restJson1DownlinkQueueMessagesList(data.DownlinkQueueMessagesList, context);
7644
+ }
7645
+ if (data.NextToken !== undefined && data.NextToken !== null) {
7646
+ contents.NextToken = smithy_client_1.expectString(data.NextToken);
7647
+ }
7648
+ return Promise.resolve(contents);
7649
+ };
7650
+ exports.deserializeAws_restJson1ListQueuedMessagesCommand = deserializeAws_restJson1ListQueuedMessagesCommand;
7651
+ const deserializeAws_restJson1ListQueuedMessagesCommandError = async (output, context) => {
7652
+ const parsedOutput = {
7653
+ ...output,
7654
+ body: await parseBody(output.body, context),
7655
+ };
7656
+ let response;
7657
+ let errorCode = "UnknownError";
7658
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7659
+ switch (errorCode) {
7660
+ case "AccessDeniedException":
7661
+ case "com.amazonaws.iotwireless#AccessDeniedException":
7662
+ response = {
7663
+ ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
7664
+ name: errorCode,
7665
+ $metadata: deserializeMetadata(output),
7666
+ };
7667
+ break;
7668
+ case "InternalServerException":
7669
+ case "com.amazonaws.iotwireless#InternalServerException":
7670
+ response = {
7671
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
7672
+ name: errorCode,
7673
+ $metadata: deserializeMetadata(output),
7674
+ };
7675
+ break;
7676
+ case "ResourceNotFoundException":
7677
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
7678
+ response = {
7679
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
7680
+ name: errorCode,
7681
+ $metadata: deserializeMetadata(output),
7682
+ };
7683
+ break;
7684
+ case "ThrottlingException":
7685
+ case "com.amazonaws.iotwireless#ThrottlingException":
7686
+ response = {
7687
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
7688
+ name: errorCode,
7689
+ $metadata: deserializeMetadata(output),
7690
+ };
7691
+ break;
7692
+ case "ValidationException":
7693
+ case "com.amazonaws.iotwireless#ValidationException":
7694
+ response = {
7695
+ ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
7696
+ name: errorCode,
7697
+ $metadata: deserializeMetadata(output),
7698
+ };
7699
+ break;
7700
+ default:
7701
+ const parsedBody = parsedOutput.body;
7702
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
7703
+ response = {
7704
+ ...parsedBody,
7705
+ name: `${errorCode}`,
7706
+ message: parsedBody.message || parsedBody.Message || errorCode,
7707
+ $fault: "client",
7708
+ $metadata: deserializeMetadata(output),
7709
+ };
7710
+ }
7711
+ const message = response.message || response.Message || errorCode;
7712
+ response.message = message;
7713
+ delete response.Message;
7714
+ return Promise.reject(Object.assign(new Error(message), response));
7715
+ };
7329
7716
  const deserializeAws_restJson1ListServiceProfilesCommand = async (output, context) => {
7330
7717
  if (output.statusCode !== 200 && output.statusCode >= 300) {
7331
7718
  return deserializeAws_restJson1ListServiceProfilesCommandError(output, context);
@@ -8978,6 +9365,82 @@ const deserializeAws_restJson1UpdateMulticastGroupCommandError = async (output,
8978
9365
  delete response.Message;
8979
9366
  return Promise.reject(Object.assign(new Error(message), response));
8980
9367
  };
9368
+ const deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (output, context) => {
9369
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
9370
+ return deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommandError(output, context);
9371
+ }
9372
+ const contents = {
9373
+ $metadata: deserializeMetadata(output),
9374
+ };
9375
+ await collectBody(output.body, context);
9376
+ return Promise.resolve(contents);
9377
+ };
9378
+ exports.deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand;
9379
+ const deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommandError = async (output, context) => {
9380
+ const parsedOutput = {
9381
+ ...output,
9382
+ body: await parseBody(output.body, context),
9383
+ };
9384
+ let response;
9385
+ let errorCode = "UnknownError";
9386
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9387
+ switch (errorCode) {
9388
+ case "AccessDeniedException":
9389
+ case "com.amazonaws.iotwireless#AccessDeniedException":
9390
+ response = {
9391
+ ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
9392
+ name: errorCode,
9393
+ $metadata: deserializeMetadata(output),
9394
+ };
9395
+ break;
9396
+ case "InternalServerException":
9397
+ case "com.amazonaws.iotwireless#InternalServerException":
9398
+ response = {
9399
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
9400
+ name: errorCode,
9401
+ $metadata: deserializeMetadata(output),
9402
+ };
9403
+ break;
9404
+ case "ResourceNotFoundException":
9405
+ case "com.amazonaws.iotwireless#ResourceNotFoundException":
9406
+ response = {
9407
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
9408
+ name: errorCode,
9409
+ $metadata: deserializeMetadata(output),
9410
+ };
9411
+ break;
9412
+ case "ThrottlingException":
9413
+ case "com.amazonaws.iotwireless#ThrottlingException":
9414
+ response = {
9415
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
9416
+ name: errorCode,
9417
+ $metadata: deserializeMetadata(output),
9418
+ };
9419
+ break;
9420
+ case "ValidationException":
9421
+ case "com.amazonaws.iotwireless#ValidationException":
9422
+ response = {
9423
+ ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
9424
+ name: errorCode,
9425
+ $metadata: deserializeMetadata(output),
9426
+ };
9427
+ break;
9428
+ default:
9429
+ const parsedBody = parsedOutput.body;
9430
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
9431
+ response = {
9432
+ ...parsedBody,
9433
+ name: `${errorCode}`,
9434
+ message: parsedBody.message || parsedBody.Message || errorCode,
9435
+ $fault: "client",
9436
+ $metadata: deserializeMetadata(output),
9437
+ };
9438
+ }
9439
+ const message = response.message || response.Message || errorCode;
9440
+ response.message = message;
9441
+ delete response.Message;
9442
+ return Promise.reject(Object.assign(new Error(message), response));
9443
+ };
8981
9444
  const deserializeAws_restJson1UpdatePartnerAccountCommand = async (output, context) => {
8982
9445
  if (output.statusCode !== 204 && output.statusCode >= 300) {
8983
9446
  return deserializeAws_restJson1UpdatePartnerAccountCommandError(output, context);
@@ -9698,6 +10161,13 @@ const serializeAws_restJson1TagList = (input, context) => {
9698
10161
  return serializeAws_restJson1Tag(entry, context);
9699
10162
  });
9700
10163
  };
10164
+ const serializeAws_restJson1TraceContent = (input, context) => {
10165
+ return {
10166
+ ...(input.LogLevel !== undefined && input.LogLevel !== null && { LogLevel: input.LogLevel }),
10167
+ ...(input.WirelessDeviceFrameInfo !== undefined &&
10168
+ input.WirelessDeviceFrameInfo !== null && { WirelessDeviceFrameInfo: input.WirelessDeviceFrameInfo }),
10169
+ };
10170
+ };
9701
10171
  const serializeAws_restJson1UpdateWirelessGatewayTaskCreate = (input, context) => {
9702
10172
  return {
9703
10173
  ...(input.LoRaWAN !== undefined &&
@@ -9726,6 +10196,16 @@ const serializeAws_restJson1WirelessDeviceEventLogOptionList = (input, context)
9726
10196
  return serializeAws_restJson1WirelessDeviceEventLogOption(entry, context);
9727
10197
  });
9728
10198
  };
10199
+ const serializeAws_restJson1WirelessDeviceList = (input, context) => {
10200
+ return input
10201
+ .filter((e) => e != null)
10202
+ .map((entry) => {
10203
+ if (entry === null) {
10204
+ return null;
10205
+ }
10206
+ return entry;
10207
+ });
10208
+ };
9729
10209
  const serializeAws_restJson1WirelessDeviceLogOption = (input, context) => {
9730
10210
  return {
9731
10211
  ...(input.Events !== undefined &&
@@ -9762,6 +10242,16 @@ const serializeAws_restJson1WirelessGatewayEventLogOptionList = (input, context)
9762
10242
  return serializeAws_restJson1WirelessGatewayEventLogOption(entry, context);
9763
10243
  });
9764
10244
  };
10245
+ const serializeAws_restJson1WirelessGatewayList = (input, context) => {
10246
+ return input
10247
+ .filter((e) => e != null)
10248
+ .map((entry) => {
10249
+ if (entry === null) {
10250
+ return null;
10251
+ }
10252
+ return entry;
10253
+ });
10254
+ };
9765
10255
  const serializeAws_restJson1WirelessGatewayLogOption = (input, context) => {
9766
10256
  return {
9767
10257
  ...(input.Events !== undefined &&
@@ -9866,6 +10356,26 @@ const deserializeAws_restJson1DeviceRegistrationStateEventConfiguration = (outpu
9866
10356
  : undefined,
9867
10357
  };
9868
10358
  };
10359
+ const deserializeAws_restJson1DownlinkQueueMessage = (output, context) => {
10360
+ return {
10361
+ LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
10362
+ ? deserializeAws_restJson1LoRaWANSendDataToDevice(output.LoRaWAN, context)
10363
+ : undefined,
10364
+ MessageId: smithy_client_1.expectString(output.MessageId),
10365
+ ReceivedAt: smithy_client_1.expectString(output.ReceivedAt),
10366
+ TransmitMode: smithy_client_1.expectInt32(output.TransmitMode),
10367
+ };
10368
+ };
10369
+ const deserializeAws_restJson1DownlinkQueueMessagesList = (output, context) => {
10370
+ return (output || [])
10371
+ .filter((e) => e != null)
10372
+ .map((entry) => {
10373
+ if (entry === null) {
10374
+ return null;
10375
+ }
10376
+ return deserializeAws_restJson1DownlinkQueueMessage(entry, context);
10377
+ });
10378
+ };
9869
10379
  const deserializeAws_restJson1FactoryPresetFreqsList = (output, context) => {
9870
10380
  return (output || [])
9871
10381
  .filter((e) => e != null)
@@ -10079,6 +10589,11 @@ const deserializeAws_restJson1LoRaWANMulticastSession = (output, context) => {
10079
10589
  SessionTimeout: smithy_client_1.expectInt32(output.SessionTimeout),
10080
10590
  };
10081
10591
  };
10592
+ const deserializeAws_restJson1LoRaWANSendDataToDevice = (output, context) => {
10593
+ return {
10594
+ FPort: smithy_client_1.expectInt32(output.FPort),
10595
+ };
10596
+ };
10082
10597
  const deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = (output, context) => {
10083
10598
  return {
10084
10599
  CurrentVersion: output.CurrentVersion !== undefined && output.CurrentVersion !== null
@@ -10277,6 +10792,12 @@ const deserializeAws_restJson1TagList = (output, context) => {
10277
10792
  return deserializeAws_restJson1Tag(entry, context);
10278
10793
  });
10279
10794
  };
10795
+ const deserializeAws_restJson1TraceContent = (output, context) => {
10796
+ return {
10797
+ LogLevel: smithy_client_1.expectString(output.LogLevel),
10798
+ WirelessDeviceFrameInfo: smithy_client_1.expectString(output.WirelessDeviceFrameInfo),
10799
+ };
10800
+ };
10280
10801
  const deserializeAws_restJson1UpdateWirelessGatewayTaskCreate = (output, context) => {
10281
10802
  return {
10282
10803
  LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
@@ -10311,6 +10832,16 @@ const deserializeAws_restJson1WirelessDeviceEventLogOptionList = (output, contex
10311
10832
  return deserializeAws_restJson1WirelessDeviceEventLogOption(entry, context);
10312
10833
  });
10313
10834
  };
10835
+ const deserializeAws_restJson1WirelessDeviceList = (output, context) => {
10836
+ return (output || [])
10837
+ .filter((e) => e != null)
10838
+ .map((entry) => {
10839
+ if (entry === null) {
10840
+ return null;
10841
+ }
10842
+ return smithy_client_1.expectString(entry);
10843
+ });
10844
+ };
10314
10845
  const deserializeAws_restJson1WirelessDeviceLogOption = (output, context) => {
10315
10846
  return {
10316
10847
  Events: output.Events !== undefined && output.Events !== null
@@ -10375,6 +10906,16 @@ const deserializeAws_restJson1WirelessGatewayEventLogOptionList = (output, conte
10375
10906
  return deserializeAws_restJson1WirelessGatewayEventLogOption(entry, context);
10376
10907
  });
10377
10908
  };
10909
+ const deserializeAws_restJson1WirelessGatewayList = (output, context) => {
10910
+ return (output || [])
10911
+ .filter((e) => e != null)
10912
+ .map((entry) => {
10913
+ if (entry === null) {
10914
+ return null;
10915
+ }
10916
+ return smithy_client_1.expectString(entry);
10917
+ });
10918
+ };
10378
10919
  const deserializeAws_restJson1WirelessGatewayLogOption = (output, context) => {
10379
10920
  return {
10380
10921
  Events: output.Events !== undefined && output.Events !== null