@aws-sdk/client-iot-wireless 3.76.0 → 3.80.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.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/IoTWireless.js +90 -0
- package/dist-cjs/commands/CreateNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/GetEventConfigurationByResourceTypesCommand.js +36 -0
- package/dist-cjs/commands/ListEventConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/ListNetworkAnalyzerConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/UpdateEventConfigurationByResourceTypesCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +216 -38
- package/dist-cjs/pagination/ListDestinationsPaginator.js +2 -1
- package/dist-cjs/pagination/ListDeviceProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListFuotaTasksPaginator.js +2 -1
- package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +2 -1
- package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +2 -1
- package/dist-cjs/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +2 -1
- package/dist-cjs/pagination/ListServiceProfilesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWirelessDevicesPaginator.js +2 -1
- package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js +2 -1
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +743 -27
- package/dist-es/IoTWireless.js +90 -0
- package/dist-es/commands/CreateNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/GetEventConfigurationByResourceTypesCommand.js +39 -0
- package/dist-es/commands/ListEventConfigurationsCommand.js +39 -0
- package/dist-es/commands/ListNetworkAnalyzerConfigurationsCommand.js +39 -0
- package/dist-es/commands/UpdateEventConfigurationByResourceTypesCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +150 -28
- package/dist-es/pagination/ListDestinationsPaginator.js +3 -2
- package/dist-es/pagination/ListDeviceProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListFuotaTasksPaginator.js +3 -2
- package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +3 -2
- package/dist-es/pagination/ListMulticastGroupsPaginator.js +3 -2
- package/dist-es/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +75 -0
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +3 -2
- package/dist-es/pagination/ListServiceProfilesPaginator.js +3 -2
- package/dist-es/pagination/ListWirelessDevicesPaginator.js +3 -2
- package/dist-es/pagination/ListWirelessGatewaysPaginator.js +3 -2
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +847 -27
- package/dist-types/IoTWireless.d.ts +46 -4
- package/dist-types/IoTWirelessClient.d.ts +8 -2
- package/dist-types/commands/CreateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetEventConfigurationByResourceTypesCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/ListEventConfigurationsCommand.d.ts +35 -0
- package/dist-types/commands/ListNetworkAnalyzerConfigurationsCommand.d.ts +35 -0
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +653 -79
- package/dist-types/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +30 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEventConfigurationByResourceTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEventConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNetworkAnalyzerConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +361 -36
- package/dist-types/ts3.4/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +25 -25
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
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;
|
|
3
|
+
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_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.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_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_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListQueuedMessagesCommand = 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 = void 0;
|
|
5
|
+
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_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 = 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_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_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListQueuedMessagesCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = exports.deserializeAws_restJson1ListEventConfigurationsCommand = exports.deserializeAws_restJson1ListDeviceProfilesCommand = exports.deserializeAws_restJson1ListDestinationsCommand = 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");
|
|
@@ -368,6 +368,42 @@ const serializeAws_restJson1CreateMulticastGroupCommand = async (input, context)
|
|
|
368
368
|
});
|
|
369
369
|
};
|
|
370
370
|
exports.serializeAws_restJson1CreateMulticastGroupCommand = serializeAws_restJson1CreateMulticastGroupCommand;
|
|
371
|
+
const serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = async (input, context) => {
|
|
372
|
+
var _a;
|
|
373
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
374
|
+
const headers = {
|
|
375
|
+
"content-type": "application/json",
|
|
376
|
+
};
|
|
377
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/network-analyzer-configurations";
|
|
378
|
+
let body;
|
|
379
|
+
body = JSON.stringify({
|
|
380
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
381
|
+
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
382
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
383
|
+
...(input.Tags !== undefined &&
|
|
384
|
+
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
385
|
+
...(input.TraceContent !== undefined &&
|
|
386
|
+
input.TraceContent !== null && { TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context) }),
|
|
387
|
+
...(input.WirelessDevices !== undefined &&
|
|
388
|
+
input.WirelessDevices !== null && {
|
|
389
|
+
WirelessDevices: serializeAws_restJson1WirelessDeviceList(input.WirelessDevices, context),
|
|
390
|
+
}),
|
|
391
|
+
...(input.WirelessGateways !== undefined &&
|
|
392
|
+
input.WirelessGateways !== null && {
|
|
393
|
+
WirelessGateways: serializeAws_restJson1WirelessGatewayList(input.WirelessGateways, context),
|
|
394
|
+
}),
|
|
395
|
+
});
|
|
396
|
+
return new protocol_http_1.HttpRequest({
|
|
397
|
+
protocol,
|
|
398
|
+
hostname,
|
|
399
|
+
port,
|
|
400
|
+
method: "POST",
|
|
401
|
+
headers,
|
|
402
|
+
path: resolvedPath,
|
|
403
|
+
body,
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
exports.serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand;
|
|
371
407
|
const serializeAws_restJson1CreateServiceProfileCommand = async (input, context) => {
|
|
372
408
|
var _a;
|
|
373
409
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
@@ -623,6 +659,33 @@ const serializeAws_restJson1DeleteMulticastGroupCommand = async (input, context)
|
|
|
623
659
|
});
|
|
624
660
|
};
|
|
625
661
|
exports.serializeAws_restJson1DeleteMulticastGroupCommand = serializeAws_restJson1DeleteMulticastGroupCommand;
|
|
662
|
+
const serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = async (input, context) => {
|
|
663
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
664
|
+
const headers = {};
|
|
665
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
666
|
+
"/network-analyzer-configurations/{ConfigurationName}";
|
|
667
|
+
if (input.ConfigurationName !== undefined) {
|
|
668
|
+
const labelValue = input.ConfigurationName;
|
|
669
|
+
if (labelValue.length <= 0) {
|
|
670
|
+
throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
|
|
671
|
+
}
|
|
672
|
+
resolvedPath = resolvedPath.replace("{ConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
673
|
+
}
|
|
674
|
+
else {
|
|
675
|
+
throw new Error("No value provided for input HTTP label: ConfigurationName.");
|
|
676
|
+
}
|
|
677
|
+
let body;
|
|
678
|
+
return new protocol_http_1.HttpRequest({
|
|
679
|
+
protocol,
|
|
680
|
+
hostname,
|
|
681
|
+
port,
|
|
682
|
+
method: "DELETE",
|
|
683
|
+
headers,
|
|
684
|
+
path: resolvedPath,
|
|
685
|
+
body,
|
|
686
|
+
});
|
|
687
|
+
};
|
|
688
|
+
exports.serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand;
|
|
626
689
|
const serializeAws_restJson1DeleteQueuedMessagesCommand = async (input, context) => {
|
|
627
690
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
628
691
|
const headers = {};
|
|
@@ -1055,6 +1118,25 @@ const serializeAws_restJson1GetDeviceProfileCommand = async (input, context) =>
|
|
|
1055
1118
|
});
|
|
1056
1119
|
};
|
|
1057
1120
|
exports.serializeAws_restJson1GetDeviceProfileCommand = serializeAws_restJson1GetDeviceProfileCommand;
|
|
1121
|
+
const serializeAws_restJson1GetEventConfigurationByResourceTypesCommand = async (input, context) => {
|
|
1122
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1123
|
+
const headers = {
|
|
1124
|
+
"content-type": "application/json",
|
|
1125
|
+
};
|
|
1126
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/event-configurations-resource-types";
|
|
1127
|
+
let body;
|
|
1128
|
+
body = "";
|
|
1129
|
+
return new protocol_http_1.HttpRequest({
|
|
1130
|
+
protocol,
|
|
1131
|
+
hostname,
|
|
1132
|
+
port,
|
|
1133
|
+
method: "GET",
|
|
1134
|
+
headers,
|
|
1135
|
+
path: resolvedPath,
|
|
1136
|
+
body,
|
|
1137
|
+
});
|
|
1138
|
+
};
|
|
1139
|
+
exports.serializeAws_restJson1GetEventConfigurationByResourceTypesCommand = serializeAws_restJson1GetEventConfigurationByResourceTypesCommand;
|
|
1058
1140
|
const serializeAws_restJson1GetFuotaTaskCommand = async (input, context) => {
|
|
1059
1141
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1060
1142
|
const headers = {};
|
|
@@ -1577,6 +1659,28 @@ const serializeAws_restJson1ListDeviceProfilesCommand = async (input, context) =
|
|
|
1577
1659
|
});
|
|
1578
1660
|
};
|
|
1579
1661
|
exports.serializeAws_restJson1ListDeviceProfilesCommand = serializeAws_restJson1ListDeviceProfilesCommand;
|
|
1662
|
+
const serializeAws_restJson1ListEventConfigurationsCommand = async (input, context) => {
|
|
1663
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1664
|
+
const headers = {};
|
|
1665
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/event-configurations";
|
|
1666
|
+
const query = {
|
|
1667
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
1668
|
+
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
1669
|
+
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
1670
|
+
};
|
|
1671
|
+
let body;
|
|
1672
|
+
return new protocol_http_1.HttpRequest({
|
|
1673
|
+
protocol,
|
|
1674
|
+
hostname,
|
|
1675
|
+
port,
|
|
1676
|
+
method: "GET",
|
|
1677
|
+
headers,
|
|
1678
|
+
path: resolvedPath,
|
|
1679
|
+
query,
|
|
1680
|
+
body,
|
|
1681
|
+
});
|
|
1682
|
+
};
|
|
1683
|
+
exports.serializeAws_restJson1ListEventConfigurationsCommand = serializeAws_restJson1ListEventConfigurationsCommand;
|
|
1580
1684
|
const serializeAws_restJson1ListFuotaTasksCommand = async (input, context) => {
|
|
1581
1685
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1582
1686
|
const headers = {};
|
|
@@ -1650,6 +1754,27 @@ const serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = async (input
|
|
|
1650
1754
|
});
|
|
1651
1755
|
};
|
|
1652
1756
|
exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand;
|
|
1757
|
+
const serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = async (input, context) => {
|
|
1758
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1759
|
+
const headers = {};
|
|
1760
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/network-analyzer-configurations";
|
|
1761
|
+
const query = {
|
|
1762
|
+
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
1763
|
+
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
1764
|
+
};
|
|
1765
|
+
let body;
|
|
1766
|
+
return new protocol_http_1.HttpRequest({
|
|
1767
|
+
protocol,
|
|
1768
|
+
hostname,
|
|
1769
|
+
port,
|
|
1770
|
+
method: "GET",
|
|
1771
|
+
headers,
|
|
1772
|
+
path: resolvedPath,
|
|
1773
|
+
query,
|
|
1774
|
+
body,
|
|
1775
|
+
});
|
|
1776
|
+
};
|
|
1777
|
+
exports.serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand;
|
|
1653
1778
|
const serializeAws_restJson1ListPartnerAccountsCommand = async (input, context) => {
|
|
1654
1779
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1655
1780
|
const headers = {};
|
|
@@ -2207,6 +2332,40 @@ const serializeAws_restJson1UpdateDestinationCommand = async (input, context) =>
|
|
|
2207
2332
|
});
|
|
2208
2333
|
};
|
|
2209
2334
|
exports.serializeAws_restJson1UpdateDestinationCommand = serializeAws_restJson1UpdateDestinationCommand;
|
|
2335
|
+
const serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = async (input, context) => {
|
|
2336
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2337
|
+
const headers = {
|
|
2338
|
+
"content-type": "application/json",
|
|
2339
|
+
};
|
|
2340
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/event-configurations-resource-types";
|
|
2341
|
+
let body;
|
|
2342
|
+
body = JSON.stringify({
|
|
2343
|
+
...(input.ConnectionStatus !== undefined &&
|
|
2344
|
+
input.ConnectionStatus !== null && {
|
|
2345
|
+
ConnectionStatus: serializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration(input.ConnectionStatus, context),
|
|
2346
|
+
}),
|
|
2347
|
+
...(input.DeviceRegistrationState !== undefined &&
|
|
2348
|
+
input.DeviceRegistrationState !== null && {
|
|
2349
|
+
DeviceRegistrationState: serializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration(input.DeviceRegistrationState, context),
|
|
2350
|
+
}),
|
|
2351
|
+
...(input.Join !== undefined &&
|
|
2352
|
+
input.Join !== null && { Join: serializeAws_restJson1JoinResourceTypeEventConfiguration(input.Join, context) }),
|
|
2353
|
+
...(input.Proximity !== undefined &&
|
|
2354
|
+
input.Proximity !== null && {
|
|
2355
|
+
Proximity: serializeAws_restJson1ProximityResourceTypeEventConfiguration(input.Proximity, context),
|
|
2356
|
+
}),
|
|
2357
|
+
});
|
|
2358
|
+
return new protocol_http_1.HttpRequest({
|
|
2359
|
+
protocol,
|
|
2360
|
+
hostname,
|
|
2361
|
+
port,
|
|
2362
|
+
method: "PATCH",
|
|
2363
|
+
headers,
|
|
2364
|
+
path: resolvedPath,
|
|
2365
|
+
body,
|
|
2366
|
+
});
|
|
2367
|
+
};
|
|
2368
|
+
exports.serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand;
|
|
2210
2369
|
const serializeAws_restJson1UpdateFuotaTaskCommand = async (input, context) => {
|
|
2211
2370
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2212
2371
|
const headers = {
|
|
@@ -2328,6 +2487,7 @@ const serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (i
|
|
|
2328
2487
|
}
|
|
2329
2488
|
let body;
|
|
2330
2489
|
body = JSON.stringify({
|
|
2490
|
+
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
2331
2491
|
...(input.TraceContent !== undefined &&
|
|
2332
2492
|
input.TraceContent !== null && { TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context) }),
|
|
2333
2493
|
...(input.WirelessDevicesToAdd !== undefined &&
|
|
@@ -2416,10 +2576,16 @@ const serializeAws_restJson1UpdateResourceEventConfigurationCommand = async (inp
|
|
|
2416
2576
|
};
|
|
2417
2577
|
let body;
|
|
2418
2578
|
body = JSON.stringify({
|
|
2579
|
+
...(input.ConnectionStatus !== undefined &&
|
|
2580
|
+
input.ConnectionStatus !== null && {
|
|
2581
|
+
ConnectionStatus: serializeAws_restJson1ConnectionStatusEventConfiguration(input.ConnectionStatus, context),
|
|
2582
|
+
}),
|
|
2419
2583
|
...(input.DeviceRegistrationState !== undefined &&
|
|
2420
2584
|
input.DeviceRegistrationState !== null && {
|
|
2421
2585
|
DeviceRegistrationState: serializeAws_restJson1DeviceRegistrationStateEventConfiguration(input.DeviceRegistrationState, context),
|
|
2422
2586
|
}),
|
|
2587
|
+
...(input.Join !== undefined &&
|
|
2588
|
+
input.Join !== null && { Join: serializeAws_restJson1JoinEventConfiguration(input.Join, context) }),
|
|
2423
2589
|
...(input.Proximity !== undefined &&
|
|
2424
2590
|
input.Proximity !== null && {
|
|
2425
2591
|
Proximity: serializeAws_restJson1ProximityEventConfiguration(input.Proximity, context),
|
|
@@ -3128,6 +3294,62 @@ const deserializeAws_restJson1CreateMulticastGroupCommandError = async (output,
|
|
|
3128
3294
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3129
3295
|
}
|
|
3130
3296
|
};
|
|
3297
|
+
const deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = async (output, context) => {
|
|
3298
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3299
|
+
return deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommandError(output, context);
|
|
3300
|
+
}
|
|
3301
|
+
const contents = {
|
|
3302
|
+
$metadata: deserializeMetadata(output),
|
|
3303
|
+
Arn: undefined,
|
|
3304
|
+
Name: undefined,
|
|
3305
|
+
};
|
|
3306
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3307
|
+
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3308
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3309
|
+
}
|
|
3310
|
+
if (data.Name !== undefined && data.Name !== null) {
|
|
3311
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
3312
|
+
}
|
|
3313
|
+
return Promise.resolve(contents);
|
|
3314
|
+
};
|
|
3315
|
+
exports.deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand;
|
|
3316
|
+
const deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommandError = async (output, context) => {
|
|
3317
|
+
const parsedOutput = {
|
|
3318
|
+
...output,
|
|
3319
|
+
body: await parseBody(output.body, context),
|
|
3320
|
+
};
|
|
3321
|
+
let response;
|
|
3322
|
+
let errorCode = "UnknownError";
|
|
3323
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3324
|
+
switch (errorCode) {
|
|
3325
|
+
case "AccessDeniedException":
|
|
3326
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3327
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3328
|
+
case "ConflictException":
|
|
3329
|
+
case "com.amazonaws.iotwireless#ConflictException":
|
|
3330
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
3331
|
+
case "InternalServerException":
|
|
3332
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3333
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
3334
|
+
case "ResourceNotFoundException":
|
|
3335
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3336
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3337
|
+
case "ThrottlingException":
|
|
3338
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3339
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3340
|
+
case "ValidationException":
|
|
3341
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
3342
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
3343
|
+
default:
|
|
3344
|
+
const parsedBody = parsedOutput.body;
|
|
3345
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
3346
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3347
|
+
$fault: "client",
|
|
3348
|
+
$metadata: deserializeMetadata(output),
|
|
3349
|
+
});
|
|
3350
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3351
|
+
}
|
|
3352
|
+
};
|
|
3131
3353
|
const deserializeAws_restJson1CreateServiceProfileCommand = async (output, context) => {
|
|
3132
3354
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3133
3355
|
return deserializeAws_restJson1CreateServiceProfileCommandError(output, context);
|
|
@@ -3591,6 +3813,54 @@ const deserializeAws_restJson1DeleteMulticastGroupCommandError = async (output,
|
|
|
3591
3813
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3592
3814
|
}
|
|
3593
3815
|
};
|
|
3816
|
+
const deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = async (output, context) => {
|
|
3817
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3818
|
+
return deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommandError(output, context);
|
|
3819
|
+
}
|
|
3820
|
+
const contents = {
|
|
3821
|
+
$metadata: deserializeMetadata(output),
|
|
3822
|
+
};
|
|
3823
|
+
await collectBody(output.body, context);
|
|
3824
|
+
return Promise.resolve(contents);
|
|
3825
|
+
};
|
|
3826
|
+
exports.deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand;
|
|
3827
|
+
const deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommandError = async (output, context) => {
|
|
3828
|
+
const parsedOutput = {
|
|
3829
|
+
...output,
|
|
3830
|
+
body: await parseBody(output.body, context),
|
|
3831
|
+
};
|
|
3832
|
+
let response;
|
|
3833
|
+
let errorCode = "UnknownError";
|
|
3834
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3835
|
+
switch (errorCode) {
|
|
3836
|
+
case "AccessDeniedException":
|
|
3837
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
3838
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3839
|
+
case "ConflictException":
|
|
3840
|
+
case "com.amazonaws.iotwireless#ConflictException":
|
|
3841
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
3842
|
+
case "InternalServerException":
|
|
3843
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
3844
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
3845
|
+
case "ResourceNotFoundException":
|
|
3846
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
3847
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3848
|
+
case "ThrottlingException":
|
|
3849
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
3850
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
3851
|
+
case "ValidationException":
|
|
3852
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
3853
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
3854
|
+
default:
|
|
3855
|
+
const parsedBody = parsedOutput.body;
|
|
3856
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
3857
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3858
|
+
$fault: "client",
|
|
3859
|
+
$metadata: deserializeMetadata(output),
|
|
3860
|
+
});
|
|
3861
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3862
|
+
}
|
|
3863
|
+
};
|
|
3594
3864
|
const deserializeAws_restJson1DeleteQueuedMessagesCommand = async (output, context) => {
|
|
3595
3865
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3596
3866
|
return deserializeAws_restJson1DeleteQueuedMessagesCommandError(output, context);
|
|
@@ -4315,39 +4585,94 @@ const deserializeAws_restJson1GetDeviceProfileCommandError = async (output, cont
|
|
|
4315
4585
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4316
4586
|
}
|
|
4317
4587
|
};
|
|
4318
|
-
const
|
|
4588
|
+
const deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand = async (output, context) => {
|
|
4319
4589
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4320
|
-
return
|
|
4590
|
+
return deserializeAws_restJson1GetEventConfigurationByResourceTypesCommandError(output, context);
|
|
4321
4591
|
}
|
|
4322
4592
|
const contents = {
|
|
4323
4593
|
$metadata: deserializeMetadata(output),
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
FirmwareUpdateRole: undefined,
|
|
4329
|
-
Id: undefined,
|
|
4330
|
-
LoRaWAN: undefined,
|
|
4331
|
-
Name: undefined,
|
|
4332
|
-
Status: undefined,
|
|
4594
|
+
ConnectionStatus: undefined,
|
|
4595
|
+
DeviceRegistrationState: undefined,
|
|
4596
|
+
Join: undefined,
|
|
4597
|
+
Proximity: undefined,
|
|
4333
4598
|
};
|
|
4334
4599
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4335
|
-
if (data.
|
|
4336
|
-
contents.
|
|
4337
|
-
}
|
|
4338
|
-
if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
|
|
4339
|
-
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
|
|
4600
|
+
if (data.ConnectionStatus !== undefined && data.ConnectionStatus !== null) {
|
|
4601
|
+
contents.ConnectionStatus = deserializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration(data.ConnectionStatus, context);
|
|
4340
4602
|
}
|
|
4341
|
-
if (data.
|
|
4342
|
-
contents.
|
|
4603
|
+
if (data.DeviceRegistrationState !== undefined && data.DeviceRegistrationState !== null) {
|
|
4604
|
+
contents.DeviceRegistrationState = deserializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration(data.DeviceRegistrationState, context);
|
|
4343
4605
|
}
|
|
4344
|
-
if (data.
|
|
4345
|
-
contents.
|
|
4606
|
+
if (data.Join !== undefined && data.Join !== null) {
|
|
4607
|
+
contents.Join = deserializeAws_restJson1JoinResourceTypeEventConfiguration(data.Join, context);
|
|
4346
4608
|
}
|
|
4347
|
-
if (data.
|
|
4348
|
-
contents.
|
|
4609
|
+
if (data.Proximity !== undefined && data.Proximity !== null) {
|
|
4610
|
+
contents.Proximity = deserializeAws_restJson1ProximityResourceTypeEventConfiguration(data.Proximity, context);
|
|
4349
4611
|
}
|
|
4350
|
-
|
|
4612
|
+
return Promise.resolve(contents);
|
|
4613
|
+
};
|
|
4614
|
+
exports.deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand = deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand;
|
|
4615
|
+
const deserializeAws_restJson1GetEventConfigurationByResourceTypesCommandError = async (output, context) => {
|
|
4616
|
+
const parsedOutput = {
|
|
4617
|
+
...output,
|
|
4618
|
+
body: await parseBody(output.body, context),
|
|
4619
|
+
};
|
|
4620
|
+
let response;
|
|
4621
|
+
let errorCode = "UnknownError";
|
|
4622
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4623
|
+
switch (errorCode) {
|
|
4624
|
+
case "AccessDeniedException":
|
|
4625
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
4626
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
4627
|
+
case "InternalServerException":
|
|
4628
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
4629
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
4630
|
+
case "ThrottlingException":
|
|
4631
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
4632
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
4633
|
+
default:
|
|
4634
|
+
const parsedBody = parsedOutput.body;
|
|
4635
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
4636
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4637
|
+
$fault: "client",
|
|
4638
|
+
$metadata: deserializeMetadata(output),
|
|
4639
|
+
});
|
|
4640
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4641
|
+
}
|
|
4642
|
+
};
|
|
4643
|
+
const deserializeAws_restJson1GetFuotaTaskCommand = async (output, context) => {
|
|
4644
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4645
|
+
return deserializeAws_restJson1GetFuotaTaskCommandError(output, context);
|
|
4646
|
+
}
|
|
4647
|
+
const contents = {
|
|
4648
|
+
$metadata: deserializeMetadata(output),
|
|
4649
|
+
Arn: undefined,
|
|
4650
|
+
CreatedAt: undefined,
|
|
4651
|
+
Description: undefined,
|
|
4652
|
+
FirmwareUpdateImage: undefined,
|
|
4653
|
+
FirmwareUpdateRole: undefined,
|
|
4654
|
+
Id: undefined,
|
|
4655
|
+
LoRaWAN: undefined,
|
|
4656
|
+
Name: undefined,
|
|
4657
|
+
Status: undefined,
|
|
4658
|
+
};
|
|
4659
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4660
|
+
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4661
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4662
|
+
}
|
|
4663
|
+
if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
|
|
4664
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
|
|
4665
|
+
}
|
|
4666
|
+
if (data.Description !== undefined && data.Description !== null) {
|
|
4667
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4668
|
+
}
|
|
4669
|
+
if (data.FirmwareUpdateImage !== undefined && data.FirmwareUpdateImage !== null) {
|
|
4670
|
+
contents.FirmwareUpdateImage = (0, smithy_client_1.expectString)(data.FirmwareUpdateImage);
|
|
4671
|
+
}
|
|
4672
|
+
if (data.FirmwareUpdateRole !== undefined && data.FirmwareUpdateRole !== null) {
|
|
4673
|
+
contents.FirmwareUpdateRole = (0, smithy_client_1.expectString)(data.FirmwareUpdateRole);
|
|
4674
|
+
}
|
|
4675
|
+
if (data.Id !== undefined && data.Id !== null) {
|
|
4351
4676
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4352
4677
|
}
|
|
4353
4678
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
@@ -4581,11 +4906,23 @@ const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (ou
|
|
|
4581
4906
|
}
|
|
4582
4907
|
const contents = {
|
|
4583
4908
|
$metadata: deserializeMetadata(output),
|
|
4909
|
+
Arn: undefined,
|
|
4910
|
+
Description: undefined,
|
|
4911
|
+
Name: undefined,
|
|
4584
4912
|
TraceContent: undefined,
|
|
4585
4913
|
WirelessDevices: undefined,
|
|
4586
4914
|
WirelessGateways: undefined,
|
|
4587
4915
|
};
|
|
4588
4916
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4917
|
+
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4918
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4919
|
+
}
|
|
4920
|
+
if (data.Description !== undefined && data.Description !== null) {
|
|
4921
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4922
|
+
}
|
|
4923
|
+
if (data.Name !== undefined && data.Name !== null) {
|
|
4924
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4925
|
+
}
|
|
4589
4926
|
if (data.TraceContent !== undefined && data.TraceContent !== null) {
|
|
4590
4927
|
contents.TraceContent = deserializeAws_restJson1TraceContent(data.TraceContent, context);
|
|
4591
4928
|
}
|
|
@@ -4688,13 +5025,21 @@ const deserializeAws_restJson1GetResourceEventConfigurationCommand = async (outp
|
|
|
4688
5025
|
}
|
|
4689
5026
|
const contents = {
|
|
4690
5027
|
$metadata: deserializeMetadata(output),
|
|
5028
|
+
ConnectionStatus: undefined,
|
|
4691
5029
|
DeviceRegistrationState: undefined,
|
|
5030
|
+
Join: undefined,
|
|
4692
5031
|
Proximity: undefined,
|
|
4693
5032
|
};
|
|
4694
5033
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5034
|
+
if (data.ConnectionStatus !== undefined && data.ConnectionStatus !== null) {
|
|
5035
|
+
contents.ConnectionStatus = deserializeAws_restJson1ConnectionStatusEventConfiguration(data.ConnectionStatus, context);
|
|
5036
|
+
}
|
|
4695
5037
|
if (data.DeviceRegistrationState !== undefined && data.DeviceRegistrationState !== null) {
|
|
4696
5038
|
contents.DeviceRegistrationState = deserializeAws_restJson1DeviceRegistrationStateEventConfiguration(data.DeviceRegistrationState, context);
|
|
4697
5039
|
}
|
|
5040
|
+
if (data.Join !== undefined && data.Join !== null) {
|
|
5041
|
+
contents.Join = deserializeAws_restJson1JoinEventConfiguration(data.Join, context);
|
|
5042
|
+
}
|
|
4698
5043
|
if (data.Proximity !== undefined && data.Proximity !== null) {
|
|
4699
5044
|
contents.Proximity = deserializeAws_restJson1ProximityEventConfiguration(data.Proximity, context);
|
|
4700
5045
|
}
|
|
@@ -5503,6 +5848,56 @@ const deserializeAws_restJson1ListDeviceProfilesCommandError = async (output, co
|
|
|
5503
5848
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5504
5849
|
}
|
|
5505
5850
|
};
|
|
5851
|
+
const deserializeAws_restJson1ListEventConfigurationsCommand = async (output, context) => {
|
|
5852
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5853
|
+
return deserializeAws_restJson1ListEventConfigurationsCommandError(output, context);
|
|
5854
|
+
}
|
|
5855
|
+
const contents = {
|
|
5856
|
+
$metadata: deserializeMetadata(output),
|
|
5857
|
+
EventConfigurationsList: undefined,
|
|
5858
|
+
NextToken: undefined,
|
|
5859
|
+
};
|
|
5860
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5861
|
+
if (data.EventConfigurationsList !== undefined && data.EventConfigurationsList !== null) {
|
|
5862
|
+
contents.EventConfigurationsList = deserializeAws_restJson1EventConfigurationsList(data.EventConfigurationsList, context);
|
|
5863
|
+
}
|
|
5864
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5865
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5866
|
+
}
|
|
5867
|
+
return Promise.resolve(contents);
|
|
5868
|
+
};
|
|
5869
|
+
exports.deserializeAws_restJson1ListEventConfigurationsCommand = deserializeAws_restJson1ListEventConfigurationsCommand;
|
|
5870
|
+
const deserializeAws_restJson1ListEventConfigurationsCommandError = async (output, context) => {
|
|
5871
|
+
const parsedOutput = {
|
|
5872
|
+
...output,
|
|
5873
|
+
body: await parseBody(output.body, context),
|
|
5874
|
+
};
|
|
5875
|
+
let response;
|
|
5876
|
+
let errorCode = "UnknownError";
|
|
5877
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5878
|
+
switch (errorCode) {
|
|
5879
|
+
case "AccessDeniedException":
|
|
5880
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5881
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5882
|
+
case "InternalServerException":
|
|
5883
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5884
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
5885
|
+
case "ThrottlingException":
|
|
5886
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5887
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
5888
|
+
case "ValidationException":
|
|
5889
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
5890
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
5891
|
+
default:
|
|
5892
|
+
const parsedBody = parsedOutput.body;
|
|
5893
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
5894
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
5895
|
+
$fault: "client",
|
|
5896
|
+
$metadata: deserializeMetadata(output),
|
|
5897
|
+
});
|
|
5898
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5899
|
+
}
|
|
5900
|
+
};
|
|
5506
5901
|
const deserializeAws_restJson1ListFuotaTasksCommand = async (output, context) => {
|
|
5507
5902
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5508
5903
|
return deserializeAws_restJson1ListFuotaTasksCommandError(output, context);
|
|
@@ -5656,6 +6051,56 @@ const deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommandError = async
|
|
|
5656
6051
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5657
6052
|
}
|
|
5658
6053
|
};
|
|
6054
|
+
const deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = async (output, context) => {
|
|
6055
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6056
|
+
return deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommandError(output, context);
|
|
6057
|
+
}
|
|
6058
|
+
const contents = {
|
|
6059
|
+
$metadata: deserializeMetadata(output),
|
|
6060
|
+
NetworkAnalyzerConfigurationList: undefined,
|
|
6061
|
+
NextToken: undefined,
|
|
6062
|
+
};
|
|
6063
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6064
|
+
if (data.NetworkAnalyzerConfigurationList !== undefined && data.NetworkAnalyzerConfigurationList !== null) {
|
|
6065
|
+
contents.NetworkAnalyzerConfigurationList = deserializeAws_restJson1NetworkAnalyzerConfigurationList(data.NetworkAnalyzerConfigurationList, context);
|
|
6066
|
+
}
|
|
6067
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
6068
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
6069
|
+
}
|
|
6070
|
+
return Promise.resolve(contents);
|
|
6071
|
+
};
|
|
6072
|
+
exports.deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand;
|
|
6073
|
+
const deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommandError = async (output, context) => {
|
|
6074
|
+
const parsedOutput = {
|
|
6075
|
+
...output,
|
|
6076
|
+
body: await parseBody(output.body, context),
|
|
6077
|
+
};
|
|
6078
|
+
let response;
|
|
6079
|
+
let errorCode = "UnknownError";
|
|
6080
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6081
|
+
switch (errorCode) {
|
|
6082
|
+
case "AccessDeniedException":
|
|
6083
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6084
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
6085
|
+
case "InternalServerException":
|
|
6086
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6087
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
6088
|
+
case "ThrottlingException":
|
|
6089
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6090
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
6091
|
+
case "ValidationException":
|
|
6092
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
6093
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
6094
|
+
default:
|
|
6095
|
+
const parsedBody = parsedOutput.body;
|
|
6096
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
6097
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
6098
|
+
$fault: "client",
|
|
6099
|
+
$metadata: deserializeMetadata(output),
|
|
6100
|
+
});
|
|
6101
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6102
|
+
}
|
|
6103
|
+
};
|
|
5659
6104
|
const deserializeAws_restJson1ListPartnerAccountsCommand = async (output, context) => {
|
|
5660
6105
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5661
6106
|
return deserializeAws_restJson1ListPartnerAccountsCommandError(output, context);
|
|
@@ -6611,6 +7056,48 @@ const deserializeAws_restJson1UpdateDestinationCommandError = async (output, con
|
|
|
6611
7056
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6612
7057
|
}
|
|
6613
7058
|
};
|
|
7059
|
+
const deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = async (output, context) => {
|
|
7060
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
7061
|
+
return deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommandError(output, context);
|
|
7062
|
+
}
|
|
7063
|
+
const contents = {
|
|
7064
|
+
$metadata: deserializeMetadata(output),
|
|
7065
|
+
};
|
|
7066
|
+
await collectBody(output.body, context);
|
|
7067
|
+
return Promise.resolve(contents);
|
|
7068
|
+
};
|
|
7069
|
+
exports.deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand;
|
|
7070
|
+
const deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommandError = async (output, context) => {
|
|
7071
|
+
const parsedOutput = {
|
|
7072
|
+
...output,
|
|
7073
|
+
body: await parseBody(output.body, context),
|
|
7074
|
+
};
|
|
7075
|
+
let response;
|
|
7076
|
+
let errorCode = "UnknownError";
|
|
7077
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7078
|
+
switch (errorCode) {
|
|
7079
|
+
case "AccessDeniedException":
|
|
7080
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
7081
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
7082
|
+
case "InternalServerException":
|
|
7083
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
7084
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
7085
|
+
case "ThrottlingException":
|
|
7086
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
7087
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
7088
|
+
case "ValidationException":
|
|
7089
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
7090
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
7091
|
+
default:
|
|
7092
|
+
const parsedBody = parsedOutput.body;
|
|
7093
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
7094
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
7095
|
+
$fault: "client",
|
|
7096
|
+
$metadata: deserializeMetadata(output),
|
|
7097
|
+
});
|
|
7098
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7099
|
+
}
|
|
7100
|
+
};
|
|
6614
7101
|
const deserializeAws_restJson1UpdateFuotaTaskCommand = async (output, context) => {
|
|
6615
7102
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
6616
7103
|
return deserializeAws_restJson1UpdateFuotaTaskCommandError(output, context);
|
|
@@ -7082,6 +7569,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
7082
7569
|
const serializeAws_restJson1AbpV1_0_x = (input, context) => {
|
|
7083
7570
|
return {
|
|
7084
7571
|
...(input.DevAddr !== undefined && input.DevAddr !== null && { DevAddr: input.DevAddr }),
|
|
7572
|
+
...(input.FCntStart !== undefined && input.FCntStart !== null && { FCntStart: input.FCntStart }),
|
|
7085
7573
|
...(input.SessionKeys !== undefined &&
|
|
7086
7574
|
input.SessionKeys !== null && {
|
|
7087
7575
|
SessionKeys: serializeAws_restJson1SessionKeysAbpV1_0_x(input.SessionKeys, context),
|
|
@@ -7091,18 +7579,47 @@ const serializeAws_restJson1AbpV1_0_x = (input, context) => {
|
|
|
7091
7579
|
const serializeAws_restJson1AbpV1_1 = (input, context) => {
|
|
7092
7580
|
return {
|
|
7093
7581
|
...(input.DevAddr !== undefined && input.DevAddr !== null && { DevAddr: input.DevAddr }),
|
|
7582
|
+
...(input.FCntStart !== undefined && input.FCntStart !== null && { FCntStart: input.FCntStart }),
|
|
7094
7583
|
...(input.SessionKeys !== undefined &&
|
|
7095
7584
|
input.SessionKeys !== null && {
|
|
7096
7585
|
SessionKeys: serializeAws_restJson1SessionKeysAbpV1_1(input.SessionKeys, context),
|
|
7097
7586
|
}),
|
|
7098
7587
|
};
|
|
7099
7588
|
};
|
|
7589
|
+
const serializeAws_restJson1ConnectionStatusEventConfiguration = (input, context) => {
|
|
7590
|
+
return {
|
|
7591
|
+
...(input.LoRaWAN !== undefined &&
|
|
7592
|
+
input.LoRaWAN !== null && {
|
|
7593
|
+
LoRaWAN: serializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations(input.LoRaWAN, context),
|
|
7594
|
+
}),
|
|
7595
|
+
...(input.WirelessGatewayIdEventTopic !== undefined &&
|
|
7596
|
+
input.WirelessGatewayIdEventTopic !== null && { WirelessGatewayIdEventTopic: input.WirelessGatewayIdEventTopic }),
|
|
7597
|
+
};
|
|
7598
|
+
};
|
|
7599
|
+
const serializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration = (input, context) => {
|
|
7600
|
+
return {
|
|
7601
|
+
...(input.LoRaWAN !== undefined &&
|
|
7602
|
+
input.LoRaWAN !== null && {
|
|
7603
|
+
LoRaWAN: serializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration(input.LoRaWAN, context),
|
|
7604
|
+
}),
|
|
7605
|
+
};
|
|
7606
|
+
};
|
|
7100
7607
|
const serializeAws_restJson1DeviceRegistrationStateEventConfiguration = (input, context) => {
|
|
7101
7608
|
return {
|
|
7102
7609
|
...(input.Sidewalk !== undefined &&
|
|
7103
7610
|
input.Sidewalk !== null && {
|
|
7104
7611
|
Sidewalk: serializeAws_restJson1SidewalkEventNotificationConfigurations(input.Sidewalk, context),
|
|
7105
7612
|
}),
|
|
7613
|
+
...(input.WirelessDeviceIdEventTopic !== undefined &&
|
|
7614
|
+
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7615
|
+
};
|
|
7616
|
+
};
|
|
7617
|
+
const serializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration = (input, context) => {
|
|
7618
|
+
return {
|
|
7619
|
+
...(input.Sidewalk !== undefined &&
|
|
7620
|
+
input.Sidewalk !== null && {
|
|
7621
|
+
Sidewalk: serializeAws_restJson1SidewalkResourceTypeEventConfiguration(input.Sidewalk, context),
|
|
7622
|
+
}),
|
|
7106
7623
|
};
|
|
7107
7624
|
};
|
|
7108
7625
|
const serializeAws_restJson1FactoryPresetFreqsList = (input, context) => {
|
|
@@ -7142,6 +7659,36 @@ const serializeAws_restJson1JoinEuiRange = (input, context) => {
|
|
|
7142
7659
|
return entry;
|
|
7143
7660
|
});
|
|
7144
7661
|
};
|
|
7662
|
+
const serializeAws_restJson1JoinEventConfiguration = (input, context) => {
|
|
7663
|
+
return {
|
|
7664
|
+
...(input.LoRaWAN !== undefined &&
|
|
7665
|
+
input.LoRaWAN !== null && {
|
|
7666
|
+
LoRaWAN: serializeAws_restJson1LoRaWANJoinEventNotificationConfigurations(input.LoRaWAN, context),
|
|
7667
|
+
}),
|
|
7668
|
+
...(input.WirelessDeviceIdEventTopic !== undefined &&
|
|
7669
|
+
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7670
|
+
};
|
|
7671
|
+
};
|
|
7672
|
+
const serializeAws_restJson1JoinResourceTypeEventConfiguration = (input, context) => {
|
|
7673
|
+
return {
|
|
7674
|
+
...(input.LoRaWAN !== undefined &&
|
|
7675
|
+
input.LoRaWAN !== null && {
|
|
7676
|
+
LoRaWAN: serializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration(input.LoRaWAN, context),
|
|
7677
|
+
}),
|
|
7678
|
+
};
|
|
7679
|
+
};
|
|
7680
|
+
const serializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations = (input, context) => {
|
|
7681
|
+
return {
|
|
7682
|
+
...(input.GatewayEuiEventTopic !== undefined &&
|
|
7683
|
+
input.GatewayEuiEventTopic !== null && { GatewayEuiEventTopic: input.GatewayEuiEventTopic }),
|
|
7684
|
+
};
|
|
7685
|
+
};
|
|
7686
|
+
const serializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration = (input, context) => {
|
|
7687
|
+
return {
|
|
7688
|
+
...(input.WirelessGatewayEventTopic !== undefined &&
|
|
7689
|
+
input.WirelessGatewayEventTopic !== null && { WirelessGatewayEventTopic: input.WirelessGatewayEventTopic }),
|
|
7690
|
+
};
|
|
7691
|
+
};
|
|
7145
7692
|
const serializeAws_restJson1LoRaWANDevice = (input, context) => {
|
|
7146
7693
|
return {
|
|
7147
7694
|
...(input.AbpV1_0_x !== undefined &&
|
|
@@ -7219,6 +7766,18 @@ const serializeAws_restJson1LoRaWANGatewayVersion = (input, context) => {
|
|
|
7219
7766
|
...(input.Station !== undefined && input.Station !== null && { Station: input.Station }),
|
|
7220
7767
|
};
|
|
7221
7768
|
};
|
|
7769
|
+
const serializeAws_restJson1LoRaWANJoinEventNotificationConfigurations = (input, context) => {
|
|
7770
|
+
return {
|
|
7771
|
+
...(input.DevEuiEventTopic !== undefined &&
|
|
7772
|
+
input.DevEuiEventTopic !== null && { DevEuiEventTopic: input.DevEuiEventTopic }),
|
|
7773
|
+
};
|
|
7774
|
+
};
|
|
7775
|
+
const serializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration = (input, context) => {
|
|
7776
|
+
return {
|
|
7777
|
+
...(input.WirelessDeviceEventTopic !== undefined &&
|
|
7778
|
+
input.WirelessDeviceEventTopic !== null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
7779
|
+
};
|
|
7780
|
+
};
|
|
7222
7781
|
const serializeAws_restJson1LoRaWANMulticast = (input, context) => {
|
|
7223
7782
|
return {
|
|
7224
7783
|
...(input.DlClass !== undefined && input.DlClass !== null && { DlClass: input.DlClass }),
|
|
@@ -7260,6 +7819,10 @@ const serializeAws_restJson1LoRaWANStartFuotaTask = (input, context) => {
|
|
|
7260
7819
|
};
|
|
7261
7820
|
const serializeAws_restJson1LoRaWANUpdateDevice = (input, context) => {
|
|
7262
7821
|
return {
|
|
7822
|
+
...(input.AbpV1_0_x !== undefined &&
|
|
7823
|
+
input.AbpV1_0_x !== null && { AbpV1_0_x: serializeAws_restJson1UpdateAbpV1_0_x(input.AbpV1_0_x, context) }),
|
|
7824
|
+
...(input.AbpV1_1 !== undefined &&
|
|
7825
|
+
input.AbpV1_1 !== null && { AbpV1_1: serializeAws_restJson1UpdateAbpV1_1(input.AbpV1_1, context) }),
|
|
7263
7826
|
...(input.DeviceProfileId !== undefined &&
|
|
7264
7827
|
input.DeviceProfileId !== null && { DeviceProfileId: input.DeviceProfileId }),
|
|
7265
7828
|
...(input.ServiceProfileId !== undefined &&
|
|
@@ -7317,6 +7880,16 @@ const serializeAws_restJson1ProximityEventConfiguration = (input, context) => {
|
|
|
7317
7880
|
input.Sidewalk !== null && {
|
|
7318
7881
|
Sidewalk: serializeAws_restJson1SidewalkEventNotificationConfigurations(input.Sidewalk, context),
|
|
7319
7882
|
}),
|
|
7883
|
+
...(input.WirelessDeviceIdEventTopic !== undefined &&
|
|
7884
|
+
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7885
|
+
};
|
|
7886
|
+
};
|
|
7887
|
+
const serializeAws_restJson1ProximityResourceTypeEventConfiguration = (input, context) => {
|
|
7888
|
+
return {
|
|
7889
|
+
...(input.Sidewalk !== undefined &&
|
|
7890
|
+
input.Sidewalk !== null && {
|
|
7891
|
+
Sidewalk: serializeAws_restJson1SidewalkResourceTypeEventConfiguration(input.Sidewalk, context),
|
|
7892
|
+
}),
|
|
7320
7893
|
};
|
|
7321
7894
|
};
|
|
7322
7895
|
const serializeAws_restJson1SessionKeysAbpV1_0_x = (input, context) => {
|
|
@@ -7346,6 +7919,12 @@ const serializeAws_restJson1SidewalkEventNotificationConfigurations = (input, co
|
|
|
7346
7919
|
input.AmazonIdEventTopic !== null && { AmazonIdEventTopic: input.AmazonIdEventTopic }),
|
|
7347
7920
|
};
|
|
7348
7921
|
};
|
|
7922
|
+
const serializeAws_restJson1SidewalkResourceTypeEventConfiguration = (input, context) => {
|
|
7923
|
+
return {
|
|
7924
|
+
...(input.WirelessDeviceEventTopic !== undefined &&
|
|
7925
|
+
input.WirelessDeviceEventTopic !== null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
7926
|
+
};
|
|
7927
|
+
};
|
|
7349
7928
|
const serializeAws_restJson1SidewalkSendDataToDevice = (input, context) => {
|
|
7350
7929
|
return {
|
|
7351
7930
|
...(input.MessageType !== undefined && input.MessageType !== null && { MessageType: input.MessageType }),
|
|
@@ -7391,6 +7970,16 @@ const serializeAws_restJson1TraceContent = (input, context) => {
|
|
|
7391
7970
|
input.WirelessDeviceFrameInfo !== null && { WirelessDeviceFrameInfo: input.WirelessDeviceFrameInfo }),
|
|
7392
7971
|
};
|
|
7393
7972
|
};
|
|
7973
|
+
const serializeAws_restJson1UpdateAbpV1_0_x = (input, context) => {
|
|
7974
|
+
return {
|
|
7975
|
+
...(input.FCntStart !== undefined && input.FCntStart !== null && { FCntStart: input.FCntStart }),
|
|
7976
|
+
};
|
|
7977
|
+
};
|
|
7978
|
+
const serializeAws_restJson1UpdateAbpV1_1 = (input, context) => {
|
|
7979
|
+
return {
|
|
7980
|
+
...(input.FCntStart !== undefined && input.FCntStart !== null && { FCntStart: input.FCntStart }),
|
|
7981
|
+
};
|
|
7982
|
+
};
|
|
7394
7983
|
const serializeAws_restJson1UpdateWirelessGatewayTaskCreate = (input, context) => {
|
|
7395
7984
|
return {
|
|
7396
7985
|
...(input.LoRaWAN !== undefined &&
|
|
@@ -7506,6 +8095,7 @@ const serializeAws_restJson1WirelessMetadata = (input, context) => {
|
|
|
7506
8095
|
const deserializeAws_restJson1AbpV1_0_x = (output, context) => {
|
|
7507
8096
|
return {
|
|
7508
8097
|
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
8098
|
+
FCntStart: (0, smithy_client_1.expectInt32)(output.FCntStart),
|
|
7509
8099
|
SessionKeys: output.SessionKeys !== undefined && output.SessionKeys !== null
|
|
7510
8100
|
? deserializeAws_restJson1SessionKeysAbpV1_0_x(output.SessionKeys, context)
|
|
7511
8101
|
: undefined,
|
|
@@ -7514,6 +8104,7 @@ const deserializeAws_restJson1AbpV1_0_x = (output, context) => {
|
|
|
7514
8104
|
const deserializeAws_restJson1AbpV1_1 = (output, context) => {
|
|
7515
8105
|
return {
|
|
7516
8106
|
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
8107
|
+
FCntStart: (0, smithy_client_1.expectInt32)(output.FCntStart),
|
|
7517
8108
|
SessionKeys: output.SessionKeys !== undefined && output.SessionKeys !== null
|
|
7518
8109
|
? deserializeAws_restJson1SessionKeysAbpV1_1(output.SessionKeys, context)
|
|
7519
8110
|
: undefined,
|
|
@@ -7525,6 +8116,21 @@ const deserializeAws_restJson1CertificateList = (output, context) => {
|
|
|
7525
8116
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
7526
8117
|
};
|
|
7527
8118
|
};
|
|
8119
|
+
const deserializeAws_restJson1ConnectionStatusEventConfiguration = (output, context) => {
|
|
8120
|
+
return {
|
|
8121
|
+
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8122
|
+
? deserializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations(output.LoRaWAN, context)
|
|
8123
|
+
: undefined,
|
|
8124
|
+
WirelessGatewayIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessGatewayIdEventTopic),
|
|
8125
|
+
};
|
|
8126
|
+
};
|
|
8127
|
+
const deserializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration = (output, context) => {
|
|
8128
|
+
return {
|
|
8129
|
+
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8130
|
+
? deserializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration(output.LoRaWAN, context)
|
|
8131
|
+
: undefined,
|
|
8132
|
+
};
|
|
8133
|
+
};
|
|
7528
8134
|
const deserializeAws_restJson1DestinationList = (output, context) => {
|
|
7529
8135
|
const retVal = (output || [])
|
|
7530
8136
|
.filter((e) => e != null)
|
|
@@ -7580,6 +8186,14 @@ const deserializeAws_restJson1DeviceRegistrationStateEventConfiguration = (outpu
|
|
|
7580
8186
|
Sidewalk: output.Sidewalk !== undefined && output.Sidewalk !== null
|
|
7581
8187
|
? deserializeAws_restJson1SidewalkEventNotificationConfigurations(output.Sidewalk, context)
|
|
7582
8188
|
: undefined,
|
|
8189
|
+
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
8190
|
+
};
|
|
8191
|
+
};
|
|
8192
|
+
const deserializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration = (output, context) => {
|
|
8193
|
+
return {
|
|
8194
|
+
Sidewalk: output.Sidewalk !== undefined && output.Sidewalk !== null
|
|
8195
|
+
? deserializeAws_restJson1SidewalkResourceTypeEventConfiguration(output.Sidewalk, context)
|
|
8196
|
+
: undefined,
|
|
7583
8197
|
};
|
|
7584
8198
|
};
|
|
7585
8199
|
const deserializeAws_restJson1DownlinkQueueMessage = (output, context) => {
|
|
@@ -7603,6 +8217,43 @@ const deserializeAws_restJson1DownlinkQueueMessagesList = (output, context) => {
|
|
|
7603
8217
|
});
|
|
7604
8218
|
return retVal;
|
|
7605
8219
|
};
|
|
8220
|
+
const deserializeAws_restJson1EventConfigurationItem = (output, context) => {
|
|
8221
|
+
return {
|
|
8222
|
+
Events: output.Events !== undefined && output.Events !== null
|
|
8223
|
+
? deserializeAws_restJson1EventNotificationItemConfigurations(output.Events, context)
|
|
8224
|
+
: undefined,
|
|
8225
|
+
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
8226
|
+
IdentifierType: (0, smithy_client_1.expectString)(output.IdentifierType),
|
|
8227
|
+
PartnerType: (0, smithy_client_1.expectString)(output.PartnerType),
|
|
8228
|
+
};
|
|
8229
|
+
};
|
|
8230
|
+
const deserializeAws_restJson1EventConfigurationsList = (output, context) => {
|
|
8231
|
+
const retVal = (output || [])
|
|
8232
|
+
.filter((e) => e != null)
|
|
8233
|
+
.map((entry) => {
|
|
8234
|
+
if (entry === null) {
|
|
8235
|
+
return null;
|
|
8236
|
+
}
|
|
8237
|
+
return deserializeAws_restJson1EventConfigurationItem(entry, context);
|
|
8238
|
+
});
|
|
8239
|
+
return retVal;
|
|
8240
|
+
};
|
|
8241
|
+
const deserializeAws_restJson1EventNotificationItemConfigurations = (output, context) => {
|
|
8242
|
+
return {
|
|
8243
|
+
ConnectionStatus: output.ConnectionStatus !== undefined && output.ConnectionStatus !== null
|
|
8244
|
+
? deserializeAws_restJson1ConnectionStatusEventConfiguration(output.ConnectionStatus, context)
|
|
8245
|
+
: undefined,
|
|
8246
|
+
DeviceRegistrationState: output.DeviceRegistrationState !== undefined && output.DeviceRegistrationState !== null
|
|
8247
|
+
? deserializeAws_restJson1DeviceRegistrationStateEventConfiguration(output.DeviceRegistrationState, context)
|
|
8248
|
+
: undefined,
|
|
8249
|
+
Join: output.Join !== undefined && output.Join !== null
|
|
8250
|
+
? deserializeAws_restJson1JoinEventConfiguration(output.Join, context)
|
|
8251
|
+
: undefined,
|
|
8252
|
+
Proximity: output.Proximity !== undefined && output.Proximity !== null
|
|
8253
|
+
? deserializeAws_restJson1ProximityEventConfiguration(output.Proximity, context)
|
|
8254
|
+
: undefined,
|
|
8255
|
+
};
|
|
8256
|
+
};
|
|
7606
8257
|
const deserializeAws_restJson1FactoryPresetFreqsList = (output, context) => {
|
|
7607
8258
|
const retVal = (output || [])
|
|
7608
8259
|
.filter((e) => e != null)
|
|
@@ -7661,6 +8312,31 @@ const deserializeAws_restJson1JoinEuiRange = (output, context) => {
|
|
|
7661
8312
|
});
|
|
7662
8313
|
return retVal;
|
|
7663
8314
|
};
|
|
8315
|
+
const deserializeAws_restJson1JoinEventConfiguration = (output, context) => {
|
|
8316
|
+
return {
|
|
8317
|
+
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8318
|
+
? deserializeAws_restJson1LoRaWANJoinEventNotificationConfigurations(output.LoRaWAN, context)
|
|
8319
|
+
: undefined,
|
|
8320
|
+
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
8321
|
+
};
|
|
8322
|
+
};
|
|
8323
|
+
const deserializeAws_restJson1JoinResourceTypeEventConfiguration = (output, context) => {
|
|
8324
|
+
return {
|
|
8325
|
+
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8326
|
+
? deserializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration(output.LoRaWAN, context)
|
|
8327
|
+
: undefined,
|
|
8328
|
+
};
|
|
8329
|
+
};
|
|
8330
|
+
const deserializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations = (output, context) => {
|
|
8331
|
+
return {
|
|
8332
|
+
GatewayEuiEventTopic: (0, smithy_client_1.expectString)(output.GatewayEuiEventTopic),
|
|
8333
|
+
};
|
|
8334
|
+
};
|
|
8335
|
+
const deserializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration = (output, context) => {
|
|
8336
|
+
return {
|
|
8337
|
+
WirelessGatewayEventTopic: (0, smithy_client_1.expectString)(output.WirelessGatewayEventTopic),
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
7664
8340
|
const deserializeAws_restJson1LoRaWANDevice = (output, context) => {
|
|
7665
8341
|
return {
|
|
7666
8342
|
AbpV1_0_x: output.AbpV1_0_x !== undefined && output.AbpV1_0_x !== null
|
|
@@ -7798,6 +8474,16 @@ const deserializeAws_restJson1LoRaWANGetServiceProfileInfo = (output, context) =
|
|
|
7798
8474
|
UlRatePolicy: (0, smithy_client_1.expectString)(output.UlRatePolicy),
|
|
7799
8475
|
};
|
|
7800
8476
|
};
|
|
8477
|
+
const deserializeAws_restJson1LoRaWANJoinEventNotificationConfigurations = (output, context) => {
|
|
8478
|
+
return {
|
|
8479
|
+
DevEuiEventTopic: (0, smithy_client_1.expectString)(output.DevEuiEventTopic),
|
|
8480
|
+
};
|
|
8481
|
+
};
|
|
8482
|
+
const deserializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration = (output, context) => {
|
|
8483
|
+
return {
|
|
8484
|
+
WirelessDeviceEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceEventTopic),
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
7801
8487
|
const deserializeAws_restJson1LoRaWANListDevice = (output, context) => {
|
|
7802
8488
|
return {
|
|
7803
8489
|
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
@@ -7893,6 +8579,23 @@ const deserializeAws_restJson1NetIdFilters = (output, context) => {
|
|
|
7893
8579
|
});
|
|
7894
8580
|
return retVal;
|
|
7895
8581
|
};
|
|
8582
|
+
const deserializeAws_restJson1NetworkAnalyzerConfigurationList = (output, context) => {
|
|
8583
|
+
const retVal = (output || [])
|
|
8584
|
+
.filter((e) => e != null)
|
|
8585
|
+
.map((entry) => {
|
|
8586
|
+
if (entry === null) {
|
|
8587
|
+
return null;
|
|
8588
|
+
}
|
|
8589
|
+
return deserializeAws_restJson1NetworkAnalyzerConfigurations(entry, context);
|
|
8590
|
+
});
|
|
8591
|
+
return retVal;
|
|
8592
|
+
};
|
|
8593
|
+
const deserializeAws_restJson1NetworkAnalyzerConfigurations = (output, context) => {
|
|
8594
|
+
return {
|
|
8595
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
8596
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
8597
|
+
};
|
|
8598
|
+
};
|
|
7896
8599
|
const deserializeAws_restJson1OtaaV1_0_x = (output, context) => {
|
|
7897
8600
|
return {
|
|
7898
8601
|
AppEui: (0, smithy_client_1.expectString)(output.AppEui),
|
|
@@ -7912,6 +8615,14 @@ const deserializeAws_restJson1ProximityEventConfiguration = (output, context) =>
|
|
|
7912
8615
|
Sidewalk: output.Sidewalk !== undefined && output.Sidewalk !== null
|
|
7913
8616
|
? deserializeAws_restJson1SidewalkEventNotificationConfigurations(output.Sidewalk, context)
|
|
7914
8617
|
: undefined,
|
|
8618
|
+
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
8619
|
+
};
|
|
8620
|
+
};
|
|
8621
|
+
const deserializeAws_restJson1ProximityResourceTypeEventConfiguration = (output, context) => {
|
|
8622
|
+
return {
|
|
8623
|
+
Sidewalk: output.Sidewalk !== undefined && output.Sidewalk !== null
|
|
8624
|
+
? deserializeAws_restJson1SidewalkResourceTypeEventConfiguration(output.Sidewalk, context)
|
|
8625
|
+
: undefined,
|
|
7915
8626
|
};
|
|
7916
8627
|
};
|
|
7917
8628
|
const deserializeAws_restJson1ServiceProfile = (output, context) => {
|
|
@@ -8003,6 +8714,11 @@ const deserializeAws_restJson1SidewalkListDevice = (output, context) => {
|
|
|
8003
8714
|
SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
|
|
8004
8715
|
};
|
|
8005
8716
|
};
|
|
8717
|
+
const deserializeAws_restJson1SidewalkResourceTypeEventConfiguration = (output, context) => {
|
|
8718
|
+
return {
|
|
8719
|
+
WirelessDeviceEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceEventTopic),
|
|
8720
|
+
};
|
|
8721
|
+
};
|
|
8006
8722
|
const deserializeAws_restJson1SubBands = (output, context) => {
|
|
8007
8723
|
const retVal = (output || [])
|
|
8008
8724
|
.filter((e) => e != null)
|