@aws-sdk/client-iot-wireless 3.121.0 → 3.128.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 +27 -0
- package/dist-cjs/IoTWireless.js +75 -0
- package/dist-cjs/commands/GetPositionCommand.js +36 -0
- package/dist-cjs/commands/GetPositionConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListPositionConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/PutPositionConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/UpdatePositionCommand.js +36 -0
- package/dist-cjs/commands/UpdateResourceEventConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/UpdateWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +119 -92
- package/dist-cjs/models/models_1.js +108 -0
- package/dist-cjs/pagination/ListPositionConfigurationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +798 -420
- package/dist-es/IoTWireless.js +75 -0
- package/dist-es/commands/GetPositionCommand.js +39 -0
- package/dist-es/commands/GetPositionConfigurationCommand.js +39 -0
- package/dist-es/commands/ListPositionConfigurationsCommand.js +39 -0
- package/dist-es/commands/PutPositionConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdatePartnerAccountCommand.js +1 -1
- package/dist-es/commands/UpdatePositionCommand.js +39 -0
- package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +1 -1
- package/dist-es/commands/UpdateWirelessDeviceCommand.js +1 -1
- package/dist-es/commands/UpdateWirelessGatewayCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +83 -56
- package/dist-es/models/models_1.js +70 -0
- package/dist-es/pagination/ListPositionConfigurationsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +846 -363
- package/dist-types/IoTWireless.d.ts +37 -2
- package/dist-types/IoTWirelessClient.d.ts +7 -2
- package/dist-types/commands/GetEventConfigurationByResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/GetPositionCommand.d.ts +35 -0
- package/dist-types/commands/GetPositionConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +35 -0
- package/dist-types/commands/PutPositionConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePositionCommand.d.ts +35 -0
- package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +338 -278
- package/dist-types/models/models_1.d.ts +313 -0
- package/dist-types/pagination/ListPositionConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +25 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/GetPositionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPositionConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPositionConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPositionConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePartnerAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePositionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceEventConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +193 -156
- package/dist-types/ts3.4/models/models_1.d.ts +186 -0
- package/dist-types/ts3.4/pagination/ListPositionConfigurationsPaginator.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 +15 -0
- package/package.json +26 -26
|
@@ -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_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;
|
|
3
|
+
exports.serializeAws_restJson1GetServiceEndpointCommand = exports.serializeAws_restJson1GetResourceLogLevelCommand = exports.serializeAws_restJson1GetResourceEventConfigurationCommand = exports.serializeAws_restJson1GetPositionConfigurationCommand = exports.serializeAws_restJson1GetPositionCommand = exports.serializeAws_restJson1GetPartnerAccountCommand = exports.serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1GetMulticastGroupSessionCommand = exports.serializeAws_restJson1GetMulticastGroupCommand = exports.serializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1GetFuotaTaskCommand = exports.serializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1GetDeviceProfileCommand = exports.serializeAws_restJson1GetDestinationCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.serializeAws_restJson1DeleteWirelessGatewayCommand = exports.serializeAws_restJson1DeleteWirelessDeviceCommand = exports.serializeAws_restJson1DeleteServiceProfileCommand = exports.serializeAws_restJson1DeleteQueuedMessagesCommand = exports.serializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1DeleteMulticastGroupCommand = exports.serializeAws_restJson1DeleteFuotaTaskCommand = exports.serializeAws_restJson1DeleteDeviceProfileCommand = exports.serializeAws_restJson1DeleteDestinationCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.serializeAws_restJson1CreateWirelessGatewayCommand = exports.serializeAws_restJson1CreateWirelessDeviceCommand = exports.serializeAws_restJson1CreateServiceProfileCommand = exports.serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1CreateMulticastGroupCommand = exports.serializeAws_restJson1CreateFuotaTaskCommand = exports.serializeAws_restJson1CreateDeviceProfileCommand = exports.serializeAws_restJson1CreateDestinationCommand = exports.serializeAws_restJson1CancelMulticastGroupSessionCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = void 0;
|
|
4
|
+
exports.deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = exports.deserializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = exports.serializeAws_restJson1UpdateWirelessGatewayCommand = exports.serializeAws_restJson1UpdateWirelessDeviceCommand = exports.serializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.serializeAws_restJson1UpdatePositionCommand = exports.serializeAws_restJson1UpdatePartnerAccountCommand = exports.serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.serializeAws_restJson1UpdateMulticastGroupCommand = exports.serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.serializeAws_restJson1UpdateFuotaTaskCommand = exports.serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.serializeAws_restJson1UpdateDestinationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TestWirelessDeviceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartMulticastGroupSessionCommand = exports.serializeAws_restJson1StartFuotaTaskCommand = exports.serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.serializeAws_restJson1SendDataToWirelessDeviceCommand = exports.serializeAws_restJson1SendDataToMulticastGroupCommand = exports.serializeAws_restJson1ResetResourceLogLevelCommand = exports.serializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.serializeAws_restJson1PutResourceLogLevelCommand = exports.serializeAws_restJson1PutPositionConfigurationCommand = exports.serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.serializeAws_restJson1ListWirelessGatewaysCommand = exports.serializeAws_restJson1ListWirelessDevicesCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListServiceProfilesCommand = exports.serializeAws_restJson1ListQueuedMessagesCommand = exports.serializeAws_restJson1ListPositionConfigurationsCommand = exports.serializeAws_restJson1ListPartnerAccountsCommand = exports.serializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.serializeAws_restJson1ListMulticastGroupsCommand = exports.serializeAws_restJson1ListFuotaTasksCommand = exports.serializeAws_restJson1ListEventConfigurationsCommand = exports.serializeAws_restJson1ListDeviceProfilesCommand = exports.serializeAws_restJson1ListDestinationsCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.serializeAws_restJson1GetWirelessGatewayTaskCommand = exports.serializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.serializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.serializeAws_restJson1GetWirelessGatewayCommand = exports.serializeAws_restJson1GetWirelessDeviceStatisticsCommand = exports.serializeAws_restJson1GetWirelessDeviceCommand = exports.serializeAws_restJson1GetServiceProfileCommand = void 0;
|
|
5
|
+
exports.deserializeAws_restJson1GetWirelessDeviceCommand = exports.deserializeAws_restJson1GetServiceProfileCommand = exports.deserializeAws_restJson1GetServiceEndpointCommand = exports.deserializeAws_restJson1GetResourceLogLevelCommand = exports.deserializeAws_restJson1GetResourceEventConfigurationCommand = exports.deserializeAws_restJson1GetPositionConfigurationCommand = exports.deserializeAws_restJson1GetPositionCommand = exports.deserializeAws_restJson1GetPartnerAccountCommand = exports.deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1GetMulticastGroupSessionCommand = exports.deserializeAws_restJson1GetMulticastGroupCommand = exports.deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1GetFuotaTaskCommand = exports.deserializeAws_restJson1GetEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1GetDeviceProfileCommand = exports.deserializeAws_restJson1GetDestinationCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = exports.deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayTaskCommand = exports.deserializeAws_restJson1DeleteWirelessGatewayCommand = exports.deserializeAws_restJson1DeleteWirelessDeviceCommand = exports.deserializeAws_restJson1DeleteServiceProfileCommand = exports.deserializeAws_restJson1DeleteQueuedMessagesCommand = exports.deserializeAws_restJson1DeleteNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1DeleteMulticastGroupCommand = exports.deserializeAws_restJson1DeleteFuotaTaskCommand = exports.deserializeAws_restJson1DeleteDeviceProfileCommand = exports.deserializeAws_restJson1DeleteDestinationCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1CreateWirelessGatewayTaskCommand = exports.deserializeAws_restJson1CreateWirelessGatewayCommand = exports.deserializeAws_restJson1CreateWirelessDeviceCommand = exports.deserializeAws_restJson1CreateServiceProfileCommand = exports.deserializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1CreateMulticastGroupCommand = exports.deserializeAws_restJson1CreateFuotaTaskCommand = exports.deserializeAws_restJson1CreateDeviceProfileCommand = exports.deserializeAws_restJson1CreateDestinationCommand = exports.deserializeAws_restJson1CancelMulticastGroupSessionCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithThingCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = void 0;
|
|
6
|
+
exports.deserializeAws_restJson1UpdateWirelessGatewayCommand = exports.deserializeAws_restJson1UpdateWirelessDeviceCommand = exports.deserializeAws_restJson1UpdateResourceEventConfigurationCommand = exports.deserializeAws_restJson1UpdatePositionCommand = exports.deserializeAws_restJson1UpdatePartnerAccountCommand = exports.deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = exports.deserializeAws_restJson1UpdateMulticastGroupCommand = exports.deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = exports.deserializeAws_restJson1UpdateFuotaTaskCommand = exports.deserializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = exports.deserializeAws_restJson1UpdateDestinationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TestWirelessDeviceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartMulticastGroupSessionCommand = exports.deserializeAws_restJson1StartFuotaTaskCommand = exports.deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = exports.deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = exports.deserializeAws_restJson1SendDataToWirelessDeviceCommand = exports.deserializeAws_restJson1SendDataToMulticastGroupCommand = exports.deserializeAws_restJson1ResetResourceLogLevelCommand = exports.deserializeAws_restJson1ResetAllResourceLogLevelsCommand = exports.deserializeAws_restJson1PutResourceLogLevelCommand = exports.deserializeAws_restJson1PutPositionConfigurationCommand = exports.deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = exports.deserializeAws_restJson1ListWirelessGatewaysCommand = exports.deserializeAws_restJson1ListWirelessDevicesCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListServiceProfilesCommand = exports.deserializeAws_restJson1ListQueuedMessagesCommand = exports.deserializeAws_restJson1ListPositionConfigurationsCommand = exports.deserializeAws_restJson1ListPartnerAccountsCommand = exports.deserializeAws_restJson1ListNetworkAnalyzerConfigurationsCommand = exports.deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = exports.deserializeAws_restJson1ListMulticastGroupsCommand = exports.deserializeAws_restJson1ListFuotaTasksCommand = exports.deserializeAws_restJson1ListEventConfigurationsCommand = exports.deserializeAws_restJson1ListDeviceProfilesCommand = exports.deserializeAws_restJson1ListDestinationsCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = exports.deserializeAws_restJson1GetWirelessGatewayTaskCommand = exports.deserializeAws_restJson1GetWirelessGatewayStatisticsCommand = exports.deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = exports.deserializeAws_restJson1GetWirelessGatewayCertificateCommand = exports.deserializeAws_restJson1GetWirelessGatewayCommand = exports.deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = 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");
|
|
@@ -19,10 +19,8 @@ const serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = async
|
|
|
19
19
|
let body;
|
|
20
20
|
body = JSON.stringify({
|
|
21
21
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
22
|
-
...(input.Sidewalk
|
|
23
|
-
|
|
24
|
-
...(input.Tags !== undefined &&
|
|
25
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
22
|
+
...(input.Sidewalk != null && { Sidewalk: serializeAws_restJson1SidewalkAccountInfo(input.Sidewalk, context) }),
|
|
23
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
26
24
|
});
|
|
27
25
|
return new protocol_http_1.HttpRequest({
|
|
28
26
|
protocol,
|
|
@@ -53,8 +51,7 @@ const serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = async
|
|
|
53
51
|
}
|
|
54
52
|
let body;
|
|
55
53
|
body = JSON.stringify({
|
|
56
|
-
...(input.MulticastGroupId
|
|
57
|
-
input.MulticastGroupId !== null && { MulticastGroupId: input.MulticastGroupId }),
|
|
54
|
+
...(input.MulticastGroupId != null && { MulticastGroupId: input.MulticastGroupId }),
|
|
58
55
|
});
|
|
59
56
|
return new protocol_http_1.HttpRequest({
|
|
60
57
|
protocol,
|
|
@@ -85,8 +82,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = async
|
|
|
85
82
|
}
|
|
86
83
|
let body;
|
|
87
84
|
body = JSON.stringify({
|
|
88
|
-
...(input.WirelessDeviceId
|
|
89
|
-
input.WirelessDeviceId !== null && { WirelessDeviceId: input.WirelessDeviceId }),
|
|
85
|
+
...(input.WirelessDeviceId != null && { WirelessDeviceId: input.WirelessDeviceId }),
|
|
90
86
|
});
|
|
91
87
|
return new protocol_http_1.HttpRequest({
|
|
92
88
|
protocol,
|
|
@@ -117,8 +113,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = a
|
|
|
117
113
|
}
|
|
118
114
|
let body;
|
|
119
115
|
body = JSON.stringify({
|
|
120
|
-
...(input.WirelessDeviceId
|
|
121
|
-
input.WirelessDeviceId !== null && { WirelessDeviceId: input.WirelessDeviceId }),
|
|
116
|
+
...(input.WirelessDeviceId != null && { WirelessDeviceId: input.WirelessDeviceId }),
|
|
122
117
|
});
|
|
123
118
|
return new protocol_http_1.HttpRequest({
|
|
124
119
|
protocol,
|
|
@@ -149,7 +144,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = async (inp
|
|
|
149
144
|
}
|
|
150
145
|
let body;
|
|
151
146
|
body = JSON.stringify({
|
|
152
|
-
...(input.ThingArn
|
|
147
|
+
...(input.ThingArn != null && { ThingArn: input.ThingArn }),
|
|
153
148
|
});
|
|
154
149
|
return new protocol_http_1.HttpRequest({
|
|
155
150
|
protocol,
|
|
@@ -180,8 +175,7 @@ const serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = asy
|
|
|
180
175
|
}
|
|
181
176
|
let body;
|
|
182
177
|
body = JSON.stringify({
|
|
183
|
-
...(input.IotCertificateId
|
|
184
|
-
input.IotCertificateId !== null && { IotCertificateId: input.IotCertificateId }),
|
|
178
|
+
...(input.IotCertificateId != null && { IotCertificateId: input.IotCertificateId }),
|
|
185
179
|
});
|
|
186
180
|
return new protocol_http_1.HttpRequest({
|
|
187
181
|
protocol,
|
|
@@ -212,7 +206,7 @@ const serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = async (in
|
|
|
212
206
|
}
|
|
213
207
|
let body;
|
|
214
208
|
body = JSON.stringify({
|
|
215
|
-
...(input.ThingArn
|
|
209
|
+
...(input.ThingArn != null && { ThingArn: input.ThingArn }),
|
|
216
210
|
});
|
|
217
211
|
return new protocol_http_1.HttpRequest({
|
|
218
212
|
protocol,
|
|
@@ -261,14 +255,12 @@ const serializeAws_restJson1CreateDestinationCommand = async (input, context) =>
|
|
|
261
255
|
let body;
|
|
262
256
|
body = JSON.stringify({
|
|
263
257
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
264
|
-
...(input.Description
|
|
265
|
-
...(input.Expression
|
|
266
|
-
...(input.ExpressionType
|
|
267
|
-
|
|
268
|
-
...(input.
|
|
269
|
-
...(input.
|
|
270
|
-
...(input.Tags !== undefined &&
|
|
271
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
258
|
+
...(input.Description != null && { Description: input.Description }),
|
|
259
|
+
...(input.Expression != null && { Expression: input.Expression }),
|
|
260
|
+
...(input.ExpressionType != null && { ExpressionType: input.ExpressionType }),
|
|
261
|
+
...(input.Name != null && { Name: input.Name }),
|
|
262
|
+
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
263
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
272
264
|
});
|
|
273
265
|
return new protocol_http_1.HttpRequest({
|
|
274
266
|
protocol,
|
|
@@ -291,11 +283,9 @@ const serializeAws_restJson1CreateDeviceProfileCommand = async (input, context)
|
|
|
291
283
|
let body;
|
|
292
284
|
body = JSON.stringify({
|
|
293
285
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
294
|
-
...(input.LoRaWAN
|
|
295
|
-
|
|
296
|
-
...(input.
|
|
297
|
-
...(input.Tags !== undefined &&
|
|
298
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
286
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANDeviceProfile(input.LoRaWAN, context) }),
|
|
287
|
+
...(input.Name != null && { Name: input.Name }),
|
|
288
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
299
289
|
});
|
|
300
290
|
return new protocol_http_1.HttpRequest({
|
|
301
291
|
protocol,
|
|
@@ -318,16 +308,12 @@ const serializeAws_restJson1CreateFuotaTaskCommand = async (input, context) => {
|
|
|
318
308
|
let body;
|
|
319
309
|
body = JSON.stringify({
|
|
320
310
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
321
|
-
...(input.Description
|
|
322
|
-
...(input.FirmwareUpdateImage
|
|
323
|
-
|
|
324
|
-
...(input.
|
|
325
|
-
|
|
326
|
-
...(input.
|
|
327
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
|
|
328
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
329
|
-
...(input.Tags !== undefined &&
|
|
330
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
311
|
+
...(input.Description != null && { Description: input.Description }),
|
|
312
|
+
...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
|
|
313
|
+
...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
|
|
314
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
|
|
315
|
+
...(input.Name != null && { Name: input.Name }),
|
|
316
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
331
317
|
});
|
|
332
318
|
return new protocol_http_1.HttpRequest({
|
|
333
319
|
protocol,
|
|
@@ -350,12 +336,10 @@ const serializeAws_restJson1CreateMulticastGroupCommand = async (input, context)
|
|
|
350
336
|
let body;
|
|
351
337
|
body = JSON.stringify({
|
|
352
338
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
353
|
-
...(input.Description
|
|
354
|
-
...(input.LoRaWAN
|
|
355
|
-
|
|
356
|
-
...(input.
|
|
357
|
-
...(input.Tags !== undefined &&
|
|
358
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
339
|
+
...(input.Description != null && { Description: input.Description }),
|
|
340
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticast(input.LoRaWAN, context) }),
|
|
341
|
+
...(input.Name != null && { Name: input.Name }),
|
|
342
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
359
343
|
});
|
|
360
344
|
return new protocol_http_1.HttpRequest({
|
|
361
345
|
protocol,
|
|
@@ -378,18 +362,16 @@ const serializeAws_restJson1CreateNetworkAnalyzerConfigurationCommand = async (i
|
|
|
378
362
|
let body;
|
|
379
363
|
body = JSON.stringify({
|
|
380
364
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
381
|
-
...(input.Description
|
|
382
|
-
...(input.Name
|
|
383
|
-
...(input.Tags
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
...(input.WirelessDevices
|
|
388
|
-
input.WirelessDevices !== null && {
|
|
365
|
+
...(input.Description != null && { Description: input.Description }),
|
|
366
|
+
...(input.Name != null && { Name: input.Name }),
|
|
367
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
368
|
+
...(input.TraceContent != null && {
|
|
369
|
+
TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context),
|
|
370
|
+
}),
|
|
371
|
+
...(input.WirelessDevices != null && {
|
|
389
372
|
WirelessDevices: serializeAws_restJson1WirelessDeviceList(input.WirelessDevices, context),
|
|
390
373
|
}),
|
|
391
|
-
...(input.WirelessGateways
|
|
392
|
-
input.WirelessGateways !== null && {
|
|
374
|
+
...(input.WirelessGateways != null && {
|
|
393
375
|
WirelessGateways: serializeAws_restJson1WirelessGatewayList(input.WirelessGateways, context),
|
|
394
376
|
}),
|
|
395
377
|
});
|
|
@@ -414,11 +396,9 @@ const serializeAws_restJson1CreateServiceProfileCommand = async (input, context)
|
|
|
414
396
|
let body;
|
|
415
397
|
body = JSON.stringify({
|
|
416
398
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
417
|
-
...(input.LoRaWAN
|
|
418
|
-
|
|
419
|
-
...(input.
|
|
420
|
-
...(input.Tags !== undefined &&
|
|
421
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
399
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANServiceProfile(input.LoRaWAN, context) }),
|
|
400
|
+
...(input.Name != null && { Name: input.Name }),
|
|
401
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
422
402
|
});
|
|
423
403
|
return new protocol_http_1.HttpRequest({
|
|
424
404
|
protocol,
|
|
@@ -441,15 +421,12 @@ const serializeAws_restJson1CreateWirelessDeviceCommand = async (input, context)
|
|
|
441
421
|
let body;
|
|
442
422
|
body = JSON.stringify({
|
|
443
423
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
444
|
-
...(input.Description
|
|
445
|
-
...(input.DestinationName
|
|
446
|
-
|
|
447
|
-
...(input.
|
|
448
|
-
|
|
449
|
-
...(input.
|
|
450
|
-
...(input.Tags !== undefined &&
|
|
451
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
452
|
-
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
424
|
+
...(input.Description != null && { Description: input.Description }),
|
|
425
|
+
...(input.DestinationName != null && { DestinationName: input.DestinationName }),
|
|
426
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANDevice(input.LoRaWAN, context) }),
|
|
427
|
+
...(input.Name != null && { Name: input.Name }),
|
|
428
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
429
|
+
...(input.Type != null && { Type: input.Type }),
|
|
453
430
|
});
|
|
454
431
|
return new protocol_http_1.HttpRequest({
|
|
455
432
|
protocol,
|
|
@@ -472,12 +449,10 @@ const serializeAws_restJson1CreateWirelessGatewayCommand = async (input, context
|
|
|
472
449
|
let body;
|
|
473
450
|
body = JSON.stringify({
|
|
474
451
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
475
|
-
...(input.Description
|
|
476
|
-
...(input.LoRaWAN
|
|
477
|
-
|
|
478
|
-
...(input.
|
|
479
|
-
...(input.Tags !== undefined &&
|
|
480
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
452
|
+
...(input.Description != null && { Description: input.Description }),
|
|
453
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANGateway(input.LoRaWAN, context) }),
|
|
454
|
+
...(input.Name != null && { Name: input.Name }),
|
|
455
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
481
456
|
});
|
|
482
457
|
return new protocol_http_1.HttpRequest({
|
|
483
458
|
protocol,
|
|
@@ -508,8 +483,7 @@ const serializeAws_restJson1CreateWirelessGatewayTaskCommand = async (input, con
|
|
|
508
483
|
}
|
|
509
484
|
let body;
|
|
510
485
|
body = JSON.stringify({
|
|
511
|
-
...(input.WirelessGatewayTaskDefinitionId
|
|
512
|
-
input.WirelessGatewayTaskDefinitionId !== null && {
|
|
486
|
+
...(input.WirelessGatewayTaskDefinitionId != null && {
|
|
513
487
|
WirelessGatewayTaskDefinitionId: input.WirelessGatewayTaskDefinitionId,
|
|
514
488
|
}),
|
|
515
489
|
});
|
|
@@ -533,14 +507,11 @@ const serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = async (
|
|
|
533
507
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-gateway-task-definitions";
|
|
534
508
|
let body;
|
|
535
509
|
body = JSON.stringify({
|
|
536
|
-
...(input.AutoCreateTasks
|
|
537
|
-
input.AutoCreateTasks !== null && { AutoCreateTasks: input.AutoCreateTasks }),
|
|
510
|
+
...(input.AutoCreateTasks != null && { AutoCreateTasks: input.AutoCreateTasks }),
|
|
538
511
|
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
539
|
-
...(input.Name
|
|
540
|
-
...(input.Tags
|
|
541
|
-
|
|
542
|
-
...(input.Update !== undefined &&
|
|
543
|
-
input.Update !== null && {
|
|
512
|
+
...(input.Name != null && { Name: input.Name }),
|
|
513
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
514
|
+
...(input.Update != null && {
|
|
544
515
|
Update: serializeAws_restJson1UpdateWirelessGatewayTaskCreate(input.Update, context),
|
|
545
516
|
}),
|
|
546
517
|
});
|
|
@@ -1291,6 +1262,67 @@ const serializeAws_restJson1GetPartnerAccountCommand = async (input, context) =>
|
|
|
1291
1262
|
});
|
|
1292
1263
|
};
|
|
1293
1264
|
exports.serializeAws_restJson1GetPartnerAccountCommand = serializeAws_restJson1GetPartnerAccountCommand;
|
|
1265
|
+
const serializeAws_restJson1GetPositionCommand = async (input, context) => {
|
|
1266
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1267
|
+
const headers = {};
|
|
1268
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/positions/{ResourceIdentifier}";
|
|
1269
|
+
if (input.ResourceIdentifier !== undefined) {
|
|
1270
|
+
const labelValue = input.ResourceIdentifier;
|
|
1271
|
+
if (labelValue.length <= 0) {
|
|
1272
|
+
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
1273
|
+
}
|
|
1274
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1275
|
+
}
|
|
1276
|
+
else {
|
|
1277
|
+
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
1278
|
+
}
|
|
1279
|
+
const query = {
|
|
1280
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
1281
|
+
};
|
|
1282
|
+
let body;
|
|
1283
|
+
return new protocol_http_1.HttpRequest({
|
|
1284
|
+
protocol,
|
|
1285
|
+
hostname,
|
|
1286
|
+
port,
|
|
1287
|
+
method: "GET",
|
|
1288
|
+
headers,
|
|
1289
|
+
path: resolvedPath,
|
|
1290
|
+
query,
|
|
1291
|
+
body,
|
|
1292
|
+
});
|
|
1293
|
+
};
|
|
1294
|
+
exports.serializeAws_restJson1GetPositionCommand = serializeAws_restJson1GetPositionCommand;
|
|
1295
|
+
const serializeAws_restJson1GetPositionConfigurationCommand = async (input, context) => {
|
|
1296
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1297
|
+
const headers = {};
|
|
1298
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1299
|
+
"/position-configurations/{ResourceIdentifier}";
|
|
1300
|
+
if (input.ResourceIdentifier !== undefined) {
|
|
1301
|
+
const labelValue = input.ResourceIdentifier;
|
|
1302
|
+
if (labelValue.length <= 0) {
|
|
1303
|
+
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
1304
|
+
}
|
|
1305
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1306
|
+
}
|
|
1307
|
+
else {
|
|
1308
|
+
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
1309
|
+
}
|
|
1310
|
+
const query = {
|
|
1311
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
1312
|
+
};
|
|
1313
|
+
let body;
|
|
1314
|
+
return new protocol_http_1.HttpRequest({
|
|
1315
|
+
protocol,
|
|
1316
|
+
hostname,
|
|
1317
|
+
port,
|
|
1318
|
+
method: "GET",
|
|
1319
|
+
headers,
|
|
1320
|
+
path: resolvedPath,
|
|
1321
|
+
query,
|
|
1322
|
+
body,
|
|
1323
|
+
});
|
|
1324
|
+
};
|
|
1325
|
+
exports.serializeAws_restJson1GetPositionConfigurationCommand = serializeAws_restJson1GetPositionConfigurationCommand;
|
|
1294
1326
|
const serializeAws_restJson1GetResourceEventConfigurationCommand = async (input, context) => {
|
|
1295
1327
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1296
1328
|
const headers = {};
|
|
@@ -1796,6 +1828,28 @@ const serializeAws_restJson1ListPartnerAccountsCommand = async (input, context)
|
|
|
1796
1828
|
});
|
|
1797
1829
|
};
|
|
1798
1830
|
exports.serializeAws_restJson1ListPartnerAccountsCommand = serializeAws_restJson1ListPartnerAccountsCommand;
|
|
1831
|
+
const serializeAws_restJson1ListPositionConfigurationsCommand = async (input, context) => {
|
|
1832
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1833
|
+
const headers = {};
|
|
1834
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/position-configurations";
|
|
1835
|
+
const query = {
|
|
1836
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
1837
|
+
...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }),
|
|
1838
|
+
...(input.NextToken !== undefined && { nextToken: input.NextToken }),
|
|
1839
|
+
};
|
|
1840
|
+
let body;
|
|
1841
|
+
return new protocol_http_1.HttpRequest({
|
|
1842
|
+
protocol,
|
|
1843
|
+
hostname,
|
|
1844
|
+
port,
|
|
1845
|
+
method: "GET",
|
|
1846
|
+
headers,
|
|
1847
|
+
path: resolvedPath,
|
|
1848
|
+
query,
|
|
1849
|
+
body,
|
|
1850
|
+
});
|
|
1851
|
+
};
|
|
1852
|
+
exports.serializeAws_restJson1ListPositionConfigurationsCommand = serializeAws_restJson1ListPositionConfigurationsCommand;
|
|
1799
1853
|
const serializeAws_restJson1ListQueuedMessagesCommand = async (input, context) => {
|
|
1800
1854
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1801
1855
|
const headers = {};
|
|
@@ -1939,6 +1993,45 @@ const serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = async (i
|
|
|
1939
1993
|
});
|
|
1940
1994
|
};
|
|
1941
1995
|
exports.serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand;
|
|
1996
|
+
const serializeAws_restJson1PutPositionConfigurationCommand = async (input, context) => {
|
|
1997
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1998
|
+
const headers = {
|
|
1999
|
+
"content-type": "application/json",
|
|
2000
|
+
};
|
|
2001
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
2002
|
+
"/position-configurations/{ResourceIdentifier}";
|
|
2003
|
+
if (input.ResourceIdentifier !== undefined) {
|
|
2004
|
+
const labelValue = input.ResourceIdentifier;
|
|
2005
|
+
if (labelValue.length <= 0) {
|
|
2006
|
+
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
2007
|
+
}
|
|
2008
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2009
|
+
}
|
|
2010
|
+
else {
|
|
2011
|
+
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
2012
|
+
}
|
|
2013
|
+
const query = {
|
|
2014
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
2015
|
+
};
|
|
2016
|
+
let body;
|
|
2017
|
+
body = JSON.stringify({
|
|
2018
|
+
...(input.Destination != null && { Destination: input.Destination }),
|
|
2019
|
+
...(input.Solvers != null && {
|
|
2020
|
+
Solvers: serializeAws_restJson1PositionSolverConfigurations(input.Solvers, context),
|
|
2021
|
+
}),
|
|
2022
|
+
});
|
|
2023
|
+
return new protocol_http_1.HttpRequest({
|
|
2024
|
+
protocol,
|
|
2025
|
+
hostname,
|
|
2026
|
+
port,
|
|
2027
|
+
method: "PUT",
|
|
2028
|
+
headers,
|
|
2029
|
+
path: resolvedPath,
|
|
2030
|
+
query,
|
|
2031
|
+
body,
|
|
2032
|
+
});
|
|
2033
|
+
};
|
|
2034
|
+
exports.serializeAws_restJson1PutPositionConfigurationCommand = serializeAws_restJson1PutPositionConfigurationCommand;
|
|
1942
2035
|
const serializeAws_restJson1PutResourceLogLevelCommand = async (input, context) => {
|
|
1943
2036
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1944
2037
|
const headers = {
|
|
@@ -1960,7 +2053,7 @@ const serializeAws_restJson1PutResourceLogLevelCommand = async (input, context)
|
|
|
1960
2053
|
};
|
|
1961
2054
|
let body;
|
|
1962
2055
|
body = JSON.stringify({
|
|
1963
|
-
...(input.LogLevel
|
|
2056
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
1964
2057
|
});
|
|
1965
2058
|
return new protocol_http_1.HttpRequest({
|
|
1966
2059
|
protocol,
|
|
@@ -2041,9 +2134,8 @@ const serializeAws_restJson1SendDataToMulticastGroupCommand = async (input, cont
|
|
|
2041
2134
|
}
|
|
2042
2135
|
let body;
|
|
2043
2136
|
body = JSON.stringify({
|
|
2044
|
-
...(input.PayloadData
|
|
2045
|
-
...(input.WirelessMetadata
|
|
2046
|
-
input.WirelessMetadata !== null && {
|
|
2137
|
+
...(input.PayloadData != null && { PayloadData: input.PayloadData }),
|
|
2138
|
+
...(input.WirelessMetadata != null && {
|
|
2047
2139
|
WirelessMetadata: serializeAws_restJson1MulticastWirelessMetadata(input.WirelessMetadata, context),
|
|
2048
2140
|
}),
|
|
2049
2141
|
});
|
|
@@ -2076,10 +2168,9 @@ const serializeAws_restJson1SendDataToWirelessDeviceCommand = async (input, cont
|
|
|
2076
2168
|
}
|
|
2077
2169
|
let body;
|
|
2078
2170
|
body = JSON.stringify({
|
|
2079
|
-
...(input.PayloadData
|
|
2080
|
-
...(input.TransmitMode
|
|
2081
|
-
...(input.WirelessMetadata
|
|
2082
|
-
input.WirelessMetadata !== null && {
|
|
2171
|
+
...(input.PayloadData != null && { PayloadData: input.PayloadData }),
|
|
2172
|
+
...(input.TransmitMode != null && { TransmitMode: input.TransmitMode }),
|
|
2173
|
+
...(input.WirelessMetadata != null && {
|
|
2083
2174
|
WirelessMetadata: serializeAws_restJson1WirelessMetadata(input.WirelessMetadata, context),
|
|
2084
2175
|
}),
|
|
2085
2176
|
});
|
|
@@ -2112,9 +2203,8 @@ const serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCo
|
|
|
2112
2203
|
}
|
|
2113
2204
|
let body;
|
|
2114
2205
|
body = JSON.stringify({
|
|
2115
|
-
...(input.QueryString
|
|
2116
|
-
...(input.Tags
|
|
2117
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2206
|
+
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
2207
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2118
2208
|
});
|
|
2119
2209
|
return new protocol_http_1.HttpRequest({
|
|
2120
2210
|
protocol,
|
|
@@ -2145,9 +2235,8 @@ const serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGrou
|
|
|
2145
2235
|
}
|
|
2146
2236
|
let body;
|
|
2147
2237
|
body = JSON.stringify({
|
|
2148
|
-
...(input.QueryString
|
|
2149
|
-
...(input.Tags
|
|
2150
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2238
|
+
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
2239
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2151
2240
|
});
|
|
2152
2241
|
return new protocol_http_1.HttpRequest({
|
|
2153
2242
|
protocol,
|
|
@@ -2178,8 +2267,7 @@ const serializeAws_restJson1StartFuotaTaskCommand = async (input, context) => {
|
|
|
2178
2267
|
}
|
|
2179
2268
|
let body;
|
|
2180
2269
|
body = JSON.stringify({
|
|
2181
|
-
...(input.LoRaWAN
|
|
2182
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANStartFuotaTask(input.LoRaWAN, context) }),
|
|
2270
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANStartFuotaTask(input.LoRaWAN, context) }),
|
|
2183
2271
|
});
|
|
2184
2272
|
return new protocol_http_1.HttpRequest({
|
|
2185
2273
|
protocol,
|
|
@@ -2210,8 +2298,7 @@ const serializeAws_restJson1StartMulticastGroupSessionCommand = async (input, co
|
|
|
2210
2298
|
}
|
|
2211
2299
|
let body;
|
|
2212
2300
|
body = JSON.stringify({
|
|
2213
|
-
...(input.LoRaWAN
|
|
2214
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticastSession(input.LoRaWAN, context) }),
|
|
2301
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticastSession(input.LoRaWAN, context) }),
|
|
2215
2302
|
});
|
|
2216
2303
|
return new protocol_http_1.HttpRequest({
|
|
2217
2304
|
protocol,
|
|
@@ -2235,8 +2322,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
2235
2322
|
};
|
|
2236
2323
|
let body;
|
|
2237
2324
|
body = JSON.stringify({
|
|
2238
|
-
...(input.Tags
|
|
2239
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2325
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
2240
2326
|
});
|
|
2241
2327
|
return new protocol_http_1.HttpRequest({
|
|
2242
2328
|
protocol,
|
|
@@ -2315,11 +2401,10 @@ const serializeAws_restJson1UpdateDestinationCommand = async (input, context) =>
|
|
|
2315
2401
|
}
|
|
2316
2402
|
let body;
|
|
2317
2403
|
body = JSON.stringify({
|
|
2318
|
-
...(input.Description
|
|
2319
|
-
...(input.Expression
|
|
2320
|
-
...(input.ExpressionType
|
|
2321
|
-
|
|
2322
|
-
...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
|
|
2404
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2405
|
+
...(input.Expression != null && { Expression: input.Expression }),
|
|
2406
|
+
...(input.ExpressionType != null && { ExpressionType: input.ExpressionType }),
|
|
2407
|
+
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2323
2408
|
});
|
|
2324
2409
|
return new protocol_http_1.HttpRequest({
|
|
2325
2410
|
protocol,
|
|
@@ -2340,18 +2425,14 @@ const serializeAws_restJson1UpdateEventConfigurationByResourceTypesCommand = asy
|
|
|
2340
2425
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/event-configurations-resource-types";
|
|
2341
2426
|
let body;
|
|
2342
2427
|
body = JSON.stringify({
|
|
2343
|
-
...(input.ConnectionStatus
|
|
2344
|
-
input.ConnectionStatus !== null && {
|
|
2428
|
+
...(input.ConnectionStatus != null && {
|
|
2345
2429
|
ConnectionStatus: serializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration(input.ConnectionStatus, context),
|
|
2346
2430
|
}),
|
|
2347
|
-
...(input.DeviceRegistrationState
|
|
2348
|
-
input.DeviceRegistrationState !== null && {
|
|
2431
|
+
...(input.DeviceRegistrationState != null && {
|
|
2349
2432
|
DeviceRegistrationState: serializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration(input.DeviceRegistrationState, context),
|
|
2350
2433
|
}),
|
|
2351
|
-
...(input.Join
|
|
2352
|
-
|
|
2353
|
-
...(input.Proximity !== undefined &&
|
|
2354
|
-
input.Proximity !== null && {
|
|
2434
|
+
...(input.Join != null && { Join: serializeAws_restJson1JoinResourceTypeEventConfiguration(input.Join, context) }),
|
|
2435
|
+
...(input.Proximity != null && {
|
|
2355
2436
|
Proximity: serializeAws_restJson1ProximityResourceTypeEventConfiguration(input.Proximity, context),
|
|
2356
2437
|
}),
|
|
2357
2438
|
});
|
|
@@ -2384,14 +2465,11 @@ const serializeAws_restJson1UpdateFuotaTaskCommand = async (input, context) => {
|
|
|
2384
2465
|
}
|
|
2385
2466
|
let body;
|
|
2386
2467
|
body = JSON.stringify({
|
|
2387
|
-
...(input.Description
|
|
2388
|
-
...(input.FirmwareUpdateImage
|
|
2389
|
-
|
|
2390
|
-
...(input.
|
|
2391
|
-
|
|
2392
|
-
...(input.LoRaWAN !== undefined &&
|
|
2393
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
|
|
2394
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2468
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2469
|
+
...(input.FirmwareUpdateImage != null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
|
|
2470
|
+
...(input.FirmwareUpdateRole != null && { FirmwareUpdateRole: input.FirmwareUpdateRole }),
|
|
2471
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANFuotaTask(input.LoRaWAN, context) }),
|
|
2472
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2395
2473
|
});
|
|
2396
2474
|
return new protocol_http_1.HttpRequest({
|
|
2397
2475
|
protocol,
|
|
@@ -2412,14 +2490,11 @@ const serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = async (input
|
|
|
2412
2490
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/log-levels";
|
|
2413
2491
|
let body;
|
|
2414
2492
|
body = JSON.stringify({
|
|
2415
|
-
...(input.DefaultLogLevel
|
|
2416
|
-
|
|
2417
|
-
...(input.WirelessDeviceLogOptions !== undefined &&
|
|
2418
|
-
input.WirelessDeviceLogOptions !== null && {
|
|
2493
|
+
...(input.DefaultLogLevel != null && { DefaultLogLevel: input.DefaultLogLevel }),
|
|
2494
|
+
...(input.WirelessDeviceLogOptions != null && {
|
|
2419
2495
|
WirelessDeviceLogOptions: serializeAws_restJson1WirelessDeviceLogOptionList(input.WirelessDeviceLogOptions, context),
|
|
2420
2496
|
}),
|
|
2421
|
-
...(input.WirelessGatewayLogOptions
|
|
2422
|
-
input.WirelessGatewayLogOptions !== null && {
|
|
2497
|
+
...(input.WirelessGatewayLogOptions != null && {
|
|
2423
2498
|
WirelessGatewayLogOptions: serializeAws_restJson1WirelessGatewayLogOptionList(input.WirelessGatewayLogOptions, context),
|
|
2424
2499
|
}),
|
|
2425
2500
|
});
|
|
@@ -2452,10 +2527,9 @@ const serializeAws_restJson1UpdateMulticastGroupCommand = async (input, context)
|
|
|
2452
2527
|
}
|
|
2453
2528
|
let body;
|
|
2454
2529
|
body = JSON.stringify({
|
|
2455
|
-
...(input.Description
|
|
2456
|
-
...(input.LoRaWAN
|
|
2457
|
-
|
|
2458
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2530
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2531
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticast(input.LoRaWAN, context) }),
|
|
2532
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2459
2533
|
});
|
|
2460
2534
|
return new protocol_http_1.HttpRequest({
|
|
2461
2535
|
protocol,
|
|
@@ -2487,23 +2561,20 @@ const serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (i
|
|
|
2487
2561
|
}
|
|
2488
2562
|
let body;
|
|
2489
2563
|
body = JSON.stringify({
|
|
2490
|
-
...(input.Description
|
|
2491
|
-
...(input.TraceContent
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2564
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2565
|
+
...(input.TraceContent != null && {
|
|
2566
|
+
TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context),
|
|
2567
|
+
}),
|
|
2568
|
+
...(input.WirelessDevicesToAdd != null && {
|
|
2495
2569
|
WirelessDevicesToAdd: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToAdd, context),
|
|
2496
2570
|
}),
|
|
2497
|
-
...(input.WirelessDevicesToRemove
|
|
2498
|
-
input.WirelessDevicesToRemove !== null && {
|
|
2571
|
+
...(input.WirelessDevicesToRemove != null && {
|
|
2499
2572
|
WirelessDevicesToRemove: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToRemove, context),
|
|
2500
2573
|
}),
|
|
2501
|
-
...(input.WirelessGatewaysToAdd
|
|
2502
|
-
input.WirelessGatewaysToAdd !== null && {
|
|
2574
|
+
...(input.WirelessGatewaysToAdd != null && {
|
|
2503
2575
|
WirelessGatewaysToAdd: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToAdd, context),
|
|
2504
2576
|
}),
|
|
2505
|
-
...(input.WirelessGatewaysToRemove
|
|
2506
|
-
input.WirelessGatewaysToRemove !== null && {
|
|
2577
|
+
...(input.WirelessGatewaysToRemove != null && {
|
|
2507
2578
|
WirelessGatewaysToRemove: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToRemove, context),
|
|
2508
2579
|
}),
|
|
2509
2580
|
});
|
|
@@ -2539,8 +2610,7 @@ const serializeAws_restJson1UpdatePartnerAccountCommand = async (input, context)
|
|
|
2539
2610
|
};
|
|
2540
2611
|
let body;
|
|
2541
2612
|
body = JSON.stringify({
|
|
2542
|
-
...(input.Sidewalk
|
|
2543
|
-
input.Sidewalk !== null && { Sidewalk: serializeAws_restJson1SidewalkUpdateAccount(input.Sidewalk, context) }),
|
|
2613
|
+
...(input.Sidewalk != null && { Sidewalk: serializeAws_restJson1SidewalkUpdateAccount(input.Sidewalk, context) }),
|
|
2544
2614
|
});
|
|
2545
2615
|
return new protocol_http_1.HttpRequest({
|
|
2546
2616
|
protocol,
|
|
@@ -2554,6 +2624,41 @@ const serializeAws_restJson1UpdatePartnerAccountCommand = async (input, context)
|
|
|
2554
2624
|
});
|
|
2555
2625
|
};
|
|
2556
2626
|
exports.serializeAws_restJson1UpdatePartnerAccountCommand = serializeAws_restJson1UpdatePartnerAccountCommand;
|
|
2627
|
+
const serializeAws_restJson1UpdatePositionCommand = async (input, context) => {
|
|
2628
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2629
|
+
const headers = {
|
|
2630
|
+
"content-type": "application/json",
|
|
2631
|
+
};
|
|
2632
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/positions/{ResourceIdentifier}";
|
|
2633
|
+
if (input.ResourceIdentifier !== undefined) {
|
|
2634
|
+
const labelValue = input.ResourceIdentifier;
|
|
2635
|
+
if (labelValue.length <= 0) {
|
|
2636
|
+
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
2637
|
+
}
|
|
2638
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2639
|
+
}
|
|
2640
|
+
else {
|
|
2641
|
+
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
2642
|
+
}
|
|
2643
|
+
const query = {
|
|
2644
|
+
...(input.ResourceType !== undefined && { resourceType: input.ResourceType }),
|
|
2645
|
+
};
|
|
2646
|
+
let body;
|
|
2647
|
+
body = JSON.stringify({
|
|
2648
|
+
...(input.Position != null && { Position: serializeAws_restJson1PositionCoordinate(input.Position, context) }),
|
|
2649
|
+
});
|
|
2650
|
+
return new protocol_http_1.HttpRequest({
|
|
2651
|
+
protocol,
|
|
2652
|
+
hostname,
|
|
2653
|
+
port,
|
|
2654
|
+
method: "PATCH",
|
|
2655
|
+
headers,
|
|
2656
|
+
path: resolvedPath,
|
|
2657
|
+
query,
|
|
2658
|
+
body,
|
|
2659
|
+
});
|
|
2660
|
+
};
|
|
2661
|
+
exports.serializeAws_restJson1UpdatePositionCommand = serializeAws_restJson1UpdatePositionCommand;
|
|
2557
2662
|
const serializeAws_restJson1UpdateResourceEventConfigurationCommand = async (input, context) => {
|
|
2558
2663
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2559
2664
|
const headers = {
|
|
@@ -2576,18 +2681,14 @@ const serializeAws_restJson1UpdateResourceEventConfigurationCommand = async (inp
|
|
|
2576
2681
|
};
|
|
2577
2682
|
let body;
|
|
2578
2683
|
body = JSON.stringify({
|
|
2579
|
-
...(input.ConnectionStatus
|
|
2580
|
-
input.ConnectionStatus !== null && {
|
|
2684
|
+
...(input.ConnectionStatus != null && {
|
|
2581
2685
|
ConnectionStatus: serializeAws_restJson1ConnectionStatusEventConfiguration(input.ConnectionStatus, context),
|
|
2582
2686
|
}),
|
|
2583
|
-
...(input.DeviceRegistrationState
|
|
2584
|
-
input.DeviceRegistrationState !== null && {
|
|
2687
|
+
...(input.DeviceRegistrationState != null && {
|
|
2585
2688
|
DeviceRegistrationState: serializeAws_restJson1DeviceRegistrationStateEventConfiguration(input.DeviceRegistrationState, context),
|
|
2586
2689
|
}),
|
|
2587
|
-
...(input.Join
|
|
2588
|
-
|
|
2589
|
-
...(input.Proximity !== undefined &&
|
|
2590
|
-
input.Proximity !== null && {
|
|
2690
|
+
...(input.Join != null && { Join: serializeAws_restJson1JoinEventConfiguration(input.Join, context) }),
|
|
2691
|
+
...(input.Proximity != null && {
|
|
2591
2692
|
Proximity: serializeAws_restJson1ProximityEventConfiguration(input.Proximity, context),
|
|
2592
2693
|
}),
|
|
2593
2694
|
});
|
|
@@ -2621,12 +2722,10 @@ const serializeAws_restJson1UpdateWirelessDeviceCommand = async (input, context)
|
|
|
2621
2722
|
}
|
|
2622
2723
|
let body;
|
|
2623
2724
|
body = JSON.stringify({
|
|
2624
|
-
...(input.Description
|
|
2625
|
-
...(input.DestinationName
|
|
2626
|
-
|
|
2627
|
-
...(input.
|
|
2628
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANUpdateDevice(input.LoRaWAN, context) }),
|
|
2629
|
-
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
2725
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2726
|
+
...(input.DestinationName != null && { DestinationName: input.DestinationName }),
|
|
2727
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANUpdateDevice(input.LoRaWAN, context) }),
|
|
2728
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2630
2729
|
});
|
|
2631
2730
|
return new protocol_http_1.HttpRequest({
|
|
2632
2731
|
protocol,
|
|
@@ -2657,14 +2756,14 @@ const serializeAws_restJson1UpdateWirelessGatewayCommand = async (input, context
|
|
|
2657
2756
|
}
|
|
2658
2757
|
let body;
|
|
2659
2758
|
body = JSON.stringify({
|
|
2660
|
-
...(input.Description
|
|
2661
|
-
...(input.JoinEuiFilters
|
|
2662
|
-
input.JoinEuiFilters !== null && {
|
|
2759
|
+
...(input.Description != null && { Description: input.Description }),
|
|
2760
|
+
...(input.JoinEuiFilters != null && {
|
|
2663
2761
|
JoinEuiFilters: serializeAws_restJson1JoinEuiFilters(input.JoinEuiFilters, context),
|
|
2664
2762
|
}),
|
|
2665
|
-
...(input.Name
|
|
2666
|
-
...(input.NetIdFilters
|
|
2667
|
-
|
|
2763
|
+
...(input.Name != null && { Name: input.Name }),
|
|
2764
|
+
...(input.NetIdFilters != null && {
|
|
2765
|
+
NetIdFilters: serializeAws_restJson1NetIdFilters(input.NetIdFilters, context),
|
|
2766
|
+
}),
|
|
2668
2767
|
});
|
|
2669
2768
|
return new protocol_http_1.HttpRequest({
|
|
2670
2769
|
protocol,
|
|
@@ -5064,6 +5163,130 @@ const deserializeAws_restJson1GetPartnerAccountCommandError = async (output, con
|
|
|
5064
5163
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5065
5164
|
}
|
|
5066
5165
|
};
|
|
5166
|
+
const deserializeAws_restJson1GetPositionCommand = async (output, context) => {
|
|
5167
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5168
|
+
return deserializeAws_restJson1GetPositionCommandError(output, context);
|
|
5169
|
+
}
|
|
5170
|
+
const contents = {
|
|
5171
|
+
$metadata: deserializeMetadata(output),
|
|
5172
|
+
Accuracy: undefined,
|
|
5173
|
+
Position: undefined,
|
|
5174
|
+
SolverProvider: undefined,
|
|
5175
|
+
SolverType: undefined,
|
|
5176
|
+
SolverVersion: undefined,
|
|
5177
|
+
Timestamp: undefined,
|
|
5178
|
+
};
|
|
5179
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5180
|
+
if (data.Accuracy !== undefined && data.Accuracy !== null) {
|
|
5181
|
+
contents.Accuracy = deserializeAws_restJson1Accuracy(data.Accuracy, context);
|
|
5182
|
+
}
|
|
5183
|
+
if (data.Position !== undefined && data.Position !== null) {
|
|
5184
|
+
contents.Position = deserializeAws_restJson1PositionCoordinate(data.Position, context);
|
|
5185
|
+
}
|
|
5186
|
+
if (data.SolverProvider !== undefined && data.SolverProvider !== null) {
|
|
5187
|
+
contents.SolverProvider = (0, smithy_client_1.expectString)(data.SolverProvider);
|
|
5188
|
+
}
|
|
5189
|
+
if (data.SolverType !== undefined && data.SolverType !== null) {
|
|
5190
|
+
contents.SolverType = (0, smithy_client_1.expectString)(data.SolverType);
|
|
5191
|
+
}
|
|
5192
|
+
if (data.SolverVersion !== undefined && data.SolverVersion !== null) {
|
|
5193
|
+
contents.SolverVersion = (0, smithy_client_1.expectString)(data.SolverVersion);
|
|
5194
|
+
}
|
|
5195
|
+
if (data.Timestamp !== undefined && data.Timestamp !== null) {
|
|
5196
|
+
contents.Timestamp = (0, smithy_client_1.expectString)(data.Timestamp);
|
|
5197
|
+
}
|
|
5198
|
+
return Promise.resolve(contents);
|
|
5199
|
+
};
|
|
5200
|
+
exports.deserializeAws_restJson1GetPositionCommand = deserializeAws_restJson1GetPositionCommand;
|
|
5201
|
+
const deserializeAws_restJson1GetPositionCommandError = async (output, context) => {
|
|
5202
|
+
const parsedOutput = {
|
|
5203
|
+
...output,
|
|
5204
|
+
body: await parseBody(output.body, context),
|
|
5205
|
+
};
|
|
5206
|
+
let response;
|
|
5207
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5208
|
+
switch (errorCode) {
|
|
5209
|
+
case "AccessDeniedException":
|
|
5210
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5211
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5212
|
+
case "InternalServerException":
|
|
5213
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5214
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
5215
|
+
case "ResourceNotFoundException":
|
|
5216
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5217
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
5218
|
+
case "ThrottlingException":
|
|
5219
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5220
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
5221
|
+
case "ValidationException":
|
|
5222
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
5223
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
5224
|
+
default:
|
|
5225
|
+
const parsedBody = parsedOutput.body;
|
|
5226
|
+
const $metadata = deserializeMetadata(output);
|
|
5227
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
5228
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
5229
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
5230
|
+
$fault: "client",
|
|
5231
|
+
$metadata,
|
|
5232
|
+
});
|
|
5233
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5234
|
+
}
|
|
5235
|
+
};
|
|
5236
|
+
const deserializeAws_restJson1GetPositionConfigurationCommand = async (output, context) => {
|
|
5237
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5238
|
+
return deserializeAws_restJson1GetPositionConfigurationCommandError(output, context);
|
|
5239
|
+
}
|
|
5240
|
+
const contents = {
|
|
5241
|
+
$metadata: deserializeMetadata(output),
|
|
5242
|
+
Destination: undefined,
|
|
5243
|
+
Solvers: undefined,
|
|
5244
|
+
};
|
|
5245
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5246
|
+
if (data.Destination !== undefined && data.Destination !== null) {
|
|
5247
|
+
contents.Destination = (0, smithy_client_1.expectString)(data.Destination);
|
|
5248
|
+
}
|
|
5249
|
+
if (data.Solvers !== undefined && data.Solvers !== null) {
|
|
5250
|
+
contents.Solvers = deserializeAws_restJson1PositionSolverDetails(data.Solvers, context);
|
|
5251
|
+
}
|
|
5252
|
+
return Promise.resolve(contents);
|
|
5253
|
+
};
|
|
5254
|
+
exports.deserializeAws_restJson1GetPositionConfigurationCommand = deserializeAws_restJson1GetPositionConfigurationCommand;
|
|
5255
|
+
const deserializeAws_restJson1GetPositionConfigurationCommandError = async (output, context) => {
|
|
5256
|
+
const parsedOutput = {
|
|
5257
|
+
...output,
|
|
5258
|
+
body: await parseBody(output.body, context),
|
|
5259
|
+
};
|
|
5260
|
+
let response;
|
|
5261
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5262
|
+
switch (errorCode) {
|
|
5263
|
+
case "AccessDeniedException":
|
|
5264
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
5265
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
5266
|
+
case "InternalServerException":
|
|
5267
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
5268
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
5269
|
+
case "ResourceNotFoundException":
|
|
5270
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
5271
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
5272
|
+
case "ThrottlingException":
|
|
5273
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
5274
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
5275
|
+
case "ValidationException":
|
|
5276
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
5277
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
5278
|
+
default:
|
|
5279
|
+
const parsedBody = parsedOutput.body;
|
|
5280
|
+
const $metadata = deserializeMetadata(output);
|
|
5281
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
5282
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
5283
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
5284
|
+
$fault: "client",
|
|
5285
|
+
$metadata,
|
|
5286
|
+
});
|
|
5287
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5288
|
+
}
|
|
5289
|
+
};
|
|
5067
5290
|
const deserializeAws_restJson1GetResourceEventConfigurationCommand = async (output, context) => {
|
|
5068
5291
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
5069
5292
|
return deserializeAws_restJson1GetResourceEventConfigurationCommandError(output, context);
|
|
@@ -6216,6 +6439,57 @@ const deserializeAws_restJson1ListPartnerAccountsCommandError = async (output, c
|
|
|
6216
6439
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6217
6440
|
}
|
|
6218
6441
|
};
|
|
6442
|
+
const deserializeAws_restJson1ListPositionConfigurationsCommand = async (output, context) => {
|
|
6443
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6444
|
+
return deserializeAws_restJson1ListPositionConfigurationsCommandError(output, context);
|
|
6445
|
+
}
|
|
6446
|
+
const contents = {
|
|
6447
|
+
$metadata: deserializeMetadata(output),
|
|
6448
|
+
NextToken: undefined,
|
|
6449
|
+
PositionConfigurationList: undefined,
|
|
6450
|
+
};
|
|
6451
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6452
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
6453
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
6454
|
+
}
|
|
6455
|
+
if (data.PositionConfigurationList !== undefined && data.PositionConfigurationList !== null) {
|
|
6456
|
+
contents.PositionConfigurationList = deserializeAws_restJson1PositionConfigurationList(data.PositionConfigurationList, context);
|
|
6457
|
+
}
|
|
6458
|
+
return Promise.resolve(contents);
|
|
6459
|
+
};
|
|
6460
|
+
exports.deserializeAws_restJson1ListPositionConfigurationsCommand = deserializeAws_restJson1ListPositionConfigurationsCommand;
|
|
6461
|
+
const deserializeAws_restJson1ListPositionConfigurationsCommandError = async (output, context) => {
|
|
6462
|
+
const parsedOutput = {
|
|
6463
|
+
...output,
|
|
6464
|
+
body: await parseBody(output.body, context),
|
|
6465
|
+
};
|
|
6466
|
+
let response;
|
|
6467
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6468
|
+
switch (errorCode) {
|
|
6469
|
+
case "AccessDeniedException":
|
|
6470
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6471
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
6472
|
+
case "InternalServerException":
|
|
6473
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6474
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
6475
|
+
case "ThrottlingException":
|
|
6476
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6477
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
6478
|
+
case "ValidationException":
|
|
6479
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
6480
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
6481
|
+
default:
|
|
6482
|
+
const parsedBody = parsedOutput.body;
|
|
6483
|
+
const $metadata = deserializeMetadata(output);
|
|
6484
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
6485
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
6486
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
6487
|
+
$fault: "client",
|
|
6488
|
+
$metadata,
|
|
6489
|
+
});
|
|
6490
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6491
|
+
}
|
|
6492
|
+
};
|
|
6219
6493
|
const deserializeAws_restJson1ListQueuedMessagesCommand = async (output, context) => {
|
|
6220
6494
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6221
6495
|
return deserializeAws_restJson1ListQueuedMessagesCommandError(output, context);
|
|
@@ -6524,6 +6798,52 @@ const deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommandError = a
|
|
|
6524
6798
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6525
6799
|
}
|
|
6526
6800
|
};
|
|
6801
|
+
const deserializeAws_restJson1PutPositionConfigurationCommand = async (output, context) => {
|
|
6802
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6803
|
+
return deserializeAws_restJson1PutPositionConfigurationCommandError(output, context);
|
|
6804
|
+
}
|
|
6805
|
+
const contents = {
|
|
6806
|
+
$metadata: deserializeMetadata(output),
|
|
6807
|
+
};
|
|
6808
|
+
await collectBody(output.body, context);
|
|
6809
|
+
return Promise.resolve(contents);
|
|
6810
|
+
};
|
|
6811
|
+
exports.deserializeAws_restJson1PutPositionConfigurationCommand = deserializeAws_restJson1PutPositionConfigurationCommand;
|
|
6812
|
+
const deserializeAws_restJson1PutPositionConfigurationCommandError = async (output, context) => {
|
|
6813
|
+
const parsedOutput = {
|
|
6814
|
+
...output,
|
|
6815
|
+
body: await parseBody(output.body, context),
|
|
6816
|
+
};
|
|
6817
|
+
let response;
|
|
6818
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6819
|
+
switch (errorCode) {
|
|
6820
|
+
case "AccessDeniedException":
|
|
6821
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
6822
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
6823
|
+
case "InternalServerException":
|
|
6824
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
6825
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
6826
|
+
case "ResourceNotFoundException":
|
|
6827
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
6828
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
6829
|
+
case "ThrottlingException":
|
|
6830
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
6831
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
6832
|
+
case "ValidationException":
|
|
6833
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
6834
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
6835
|
+
default:
|
|
6836
|
+
const parsedBody = parsedOutput.body;
|
|
6837
|
+
const $metadata = deserializeMetadata(output);
|
|
6838
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
6839
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
6840
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
6841
|
+
$fault: "client",
|
|
6842
|
+
$metadata,
|
|
6843
|
+
});
|
|
6844
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6845
|
+
}
|
|
6846
|
+
};
|
|
6527
6847
|
const deserializeAws_restJson1PutResourceLogLevelCommand = async (output, context) => {
|
|
6528
6848
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6529
6849
|
return deserializeAws_restJson1PutResourceLogLevelCommandError(output, context);
|
|
@@ -7419,6 +7739,52 @@ const deserializeAws_restJson1UpdatePartnerAccountCommandError = async (output,
|
|
|
7419
7739
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7420
7740
|
}
|
|
7421
7741
|
};
|
|
7742
|
+
const deserializeAws_restJson1UpdatePositionCommand = async (output, context) => {
|
|
7743
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
7744
|
+
return deserializeAws_restJson1UpdatePositionCommandError(output, context);
|
|
7745
|
+
}
|
|
7746
|
+
const contents = {
|
|
7747
|
+
$metadata: deserializeMetadata(output),
|
|
7748
|
+
};
|
|
7749
|
+
await collectBody(output.body, context);
|
|
7750
|
+
return Promise.resolve(contents);
|
|
7751
|
+
};
|
|
7752
|
+
exports.deserializeAws_restJson1UpdatePositionCommand = deserializeAws_restJson1UpdatePositionCommand;
|
|
7753
|
+
const deserializeAws_restJson1UpdatePositionCommandError = async (output, context) => {
|
|
7754
|
+
const parsedOutput = {
|
|
7755
|
+
...output,
|
|
7756
|
+
body: await parseBody(output.body, context),
|
|
7757
|
+
};
|
|
7758
|
+
let response;
|
|
7759
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7760
|
+
switch (errorCode) {
|
|
7761
|
+
case "AccessDeniedException":
|
|
7762
|
+
case "com.amazonaws.iotwireless#AccessDeniedException":
|
|
7763
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
7764
|
+
case "InternalServerException":
|
|
7765
|
+
case "com.amazonaws.iotwireless#InternalServerException":
|
|
7766
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
7767
|
+
case "ResourceNotFoundException":
|
|
7768
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException":
|
|
7769
|
+
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
7770
|
+
case "ThrottlingException":
|
|
7771
|
+
case "com.amazonaws.iotwireless#ThrottlingException":
|
|
7772
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
7773
|
+
case "ValidationException":
|
|
7774
|
+
case "com.amazonaws.iotwireless#ValidationException":
|
|
7775
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
7776
|
+
default:
|
|
7777
|
+
const parsedBody = parsedOutput.body;
|
|
7778
|
+
const $metadata = deserializeMetadata(output);
|
|
7779
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
7780
|
+
response = new IoTWirelessServiceException_1.IoTWirelessServiceException({
|
|
7781
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
7782
|
+
$fault: "client",
|
|
7783
|
+
$metadata,
|
|
7784
|
+
});
|
|
7785
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
7786
|
+
}
|
|
7787
|
+
};
|
|
7422
7788
|
const deserializeAws_restJson1UpdateResourceEventConfigurationCommand = async (output, context) => {
|
|
7423
7789
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
7424
7790
|
return deserializeAws_restJson1UpdateResourceEventConfigurationCommandError(output, context);
|
|
@@ -7661,56 +8027,50 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
7661
8027
|
};
|
|
7662
8028
|
const serializeAws_restJson1AbpV1_0_x = (input, context) => {
|
|
7663
8029
|
return {
|
|
7664
|
-
...(input.DevAddr
|
|
7665
|
-
...(input.FCntStart
|
|
7666
|
-
...(input.SessionKeys
|
|
7667
|
-
input.SessionKeys !== null && {
|
|
8030
|
+
...(input.DevAddr != null && { DevAddr: input.DevAddr }),
|
|
8031
|
+
...(input.FCntStart != null && { FCntStart: input.FCntStart }),
|
|
8032
|
+
...(input.SessionKeys != null && {
|
|
7668
8033
|
SessionKeys: serializeAws_restJson1SessionKeysAbpV1_0_x(input.SessionKeys, context),
|
|
7669
8034
|
}),
|
|
7670
8035
|
};
|
|
7671
8036
|
};
|
|
7672
8037
|
const serializeAws_restJson1AbpV1_1 = (input, context) => {
|
|
7673
8038
|
return {
|
|
7674
|
-
...(input.DevAddr
|
|
7675
|
-
...(input.FCntStart
|
|
7676
|
-
...(input.SessionKeys
|
|
7677
|
-
input.SessionKeys !== null && {
|
|
8039
|
+
...(input.DevAddr != null && { DevAddr: input.DevAddr }),
|
|
8040
|
+
...(input.FCntStart != null && { FCntStart: input.FCntStart }),
|
|
8041
|
+
...(input.SessionKeys != null && {
|
|
7678
8042
|
SessionKeys: serializeAws_restJson1SessionKeysAbpV1_1(input.SessionKeys, context),
|
|
7679
8043
|
}),
|
|
7680
8044
|
};
|
|
7681
8045
|
};
|
|
7682
8046
|
const serializeAws_restJson1ConnectionStatusEventConfiguration = (input, context) => {
|
|
7683
8047
|
return {
|
|
7684
|
-
...(input.LoRaWAN
|
|
7685
|
-
input.LoRaWAN !== null && {
|
|
8048
|
+
...(input.LoRaWAN != null && {
|
|
7686
8049
|
LoRaWAN: serializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations(input.LoRaWAN, context),
|
|
7687
8050
|
}),
|
|
7688
|
-
...(input.WirelessGatewayIdEventTopic
|
|
7689
|
-
|
|
8051
|
+
...(input.WirelessGatewayIdEventTopic != null && {
|
|
8052
|
+
WirelessGatewayIdEventTopic: input.WirelessGatewayIdEventTopic,
|
|
8053
|
+
}),
|
|
7690
8054
|
};
|
|
7691
8055
|
};
|
|
7692
8056
|
const serializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration = (input, context) => {
|
|
7693
8057
|
return {
|
|
7694
|
-
...(input.LoRaWAN
|
|
7695
|
-
input.LoRaWAN !== null && {
|
|
8058
|
+
...(input.LoRaWAN != null && {
|
|
7696
8059
|
LoRaWAN: serializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration(input.LoRaWAN, context),
|
|
7697
8060
|
}),
|
|
7698
8061
|
};
|
|
7699
8062
|
};
|
|
7700
8063
|
const serializeAws_restJson1DeviceRegistrationStateEventConfiguration = (input, context) => {
|
|
7701
8064
|
return {
|
|
7702
|
-
...(input.Sidewalk
|
|
7703
|
-
input.Sidewalk !== null && {
|
|
8065
|
+
...(input.Sidewalk != null && {
|
|
7704
8066
|
Sidewalk: serializeAws_restJson1SidewalkEventNotificationConfigurations(input.Sidewalk, context),
|
|
7705
8067
|
}),
|
|
7706
|
-
...(input.WirelessDeviceIdEventTopic
|
|
7707
|
-
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
8068
|
+
...(input.WirelessDeviceIdEventTopic != null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7708
8069
|
};
|
|
7709
8070
|
};
|
|
7710
8071
|
const serializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration = (input, context) => {
|
|
7711
8072
|
return {
|
|
7712
|
-
...(input.Sidewalk
|
|
7713
|
-
input.Sidewalk !== null && {
|
|
8073
|
+
...(input.Sidewalk != null && {
|
|
7714
8074
|
Sidewalk: serializeAws_restJson1SidewalkResourceTypeEventConfiguration(input.Sidewalk, context),
|
|
7715
8075
|
}),
|
|
7716
8076
|
};
|
|
@@ -7727,9 +8087,10 @@ const serializeAws_restJson1FactoryPresetFreqsList = (input, context) => {
|
|
|
7727
8087
|
};
|
|
7728
8088
|
const serializeAws_restJson1FPorts = (input, context) => {
|
|
7729
8089
|
return {
|
|
7730
|
-
...(input.ClockSync
|
|
7731
|
-
...(input.Fuota
|
|
7732
|
-
...(input.Multicast
|
|
8090
|
+
...(input.ClockSync != null && { ClockSync: input.ClockSync }),
|
|
8091
|
+
...(input.Fuota != null && { Fuota: input.Fuota }),
|
|
8092
|
+
...(input.Multicast != null && { Multicast: input.Multicast }),
|
|
8093
|
+
...(input.Positioning != null && { Positioning: serializeAws_restJson1Positioning(input.Positioning, context) }),
|
|
7733
8094
|
};
|
|
7734
8095
|
};
|
|
7735
8096
|
const serializeAws_restJson1JoinEuiFilters = (input, context) => {
|
|
@@ -7754,193 +8115,161 @@ const serializeAws_restJson1JoinEuiRange = (input, context) => {
|
|
|
7754
8115
|
};
|
|
7755
8116
|
const serializeAws_restJson1JoinEventConfiguration = (input, context) => {
|
|
7756
8117
|
return {
|
|
7757
|
-
...(input.LoRaWAN
|
|
7758
|
-
input.LoRaWAN !== null && {
|
|
8118
|
+
...(input.LoRaWAN != null && {
|
|
7759
8119
|
LoRaWAN: serializeAws_restJson1LoRaWANJoinEventNotificationConfigurations(input.LoRaWAN, context),
|
|
7760
8120
|
}),
|
|
7761
|
-
...(input.WirelessDeviceIdEventTopic
|
|
7762
|
-
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
8121
|
+
...(input.WirelessDeviceIdEventTopic != null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7763
8122
|
};
|
|
7764
8123
|
};
|
|
7765
8124
|
const serializeAws_restJson1JoinResourceTypeEventConfiguration = (input, context) => {
|
|
7766
8125
|
return {
|
|
7767
|
-
...(input.LoRaWAN
|
|
7768
|
-
input.LoRaWAN !== null && {
|
|
8126
|
+
...(input.LoRaWAN != null && {
|
|
7769
8127
|
LoRaWAN: serializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration(input.LoRaWAN, context),
|
|
7770
8128
|
}),
|
|
7771
8129
|
};
|
|
7772
8130
|
};
|
|
7773
8131
|
const serializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations = (input, context) => {
|
|
7774
8132
|
return {
|
|
7775
|
-
...(input.GatewayEuiEventTopic
|
|
7776
|
-
input.GatewayEuiEventTopic !== null && { GatewayEuiEventTopic: input.GatewayEuiEventTopic }),
|
|
8133
|
+
...(input.GatewayEuiEventTopic != null && { GatewayEuiEventTopic: input.GatewayEuiEventTopic }),
|
|
7777
8134
|
};
|
|
7778
8135
|
};
|
|
7779
8136
|
const serializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration = (input, context) => {
|
|
7780
8137
|
return {
|
|
7781
|
-
...(input.WirelessGatewayEventTopic
|
|
7782
|
-
input.WirelessGatewayEventTopic !== null && { WirelessGatewayEventTopic: input.WirelessGatewayEventTopic }),
|
|
8138
|
+
...(input.WirelessGatewayEventTopic != null && { WirelessGatewayEventTopic: input.WirelessGatewayEventTopic }),
|
|
7783
8139
|
};
|
|
7784
8140
|
};
|
|
7785
8141
|
const serializeAws_restJson1LoRaWANDevice = (input, context) => {
|
|
7786
8142
|
return {
|
|
7787
|
-
...(input.AbpV1_0_x
|
|
7788
|
-
|
|
7789
|
-
...(input.
|
|
7790
|
-
|
|
7791
|
-
...(input.
|
|
7792
|
-
...(input.
|
|
7793
|
-
|
|
7794
|
-
...(input.
|
|
7795
|
-
input.FPorts !== null && { FPorts: serializeAws_restJson1FPorts(input.FPorts, context) }),
|
|
7796
|
-
...(input.OtaaV1_0_x !== undefined &&
|
|
7797
|
-
input.OtaaV1_0_x !== null && { OtaaV1_0_x: serializeAws_restJson1OtaaV1_0_x(input.OtaaV1_0_x, context) }),
|
|
7798
|
-
...(input.OtaaV1_1 !== undefined &&
|
|
7799
|
-
input.OtaaV1_1 !== null && { OtaaV1_1: serializeAws_restJson1OtaaV1_1(input.OtaaV1_1, context) }),
|
|
7800
|
-
...(input.ServiceProfileId !== undefined &&
|
|
7801
|
-
input.ServiceProfileId !== null && { ServiceProfileId: input.ServiceProfileId }),
|
|
8143
|
+
...(input.AbpV1_0_x != null && { AbpV1_0_x: serializeAws_restJson1AbpV1_0_x(input.AbpV1_0_x, context) }),
|
|
8144
|
+
...(input.AbpV1_1 != null && { AbpV1_1: serializeAws_restJson1AbpV1_1(input.AbpV1_1, context) }),
|
|
8145
|
+
...(input.DevEui != null && { DevEui: input.DevEui }),
|
|
8146
|
+
...(input.DeviceProfileId != null && { DeviceProfileId: input.DeviceProfileId }),
|
|
8147
|
+
...(input.FPorts != null && { FPorts: serializeAws_restJson1FPorts(input.FPorts, context) }),
|
|
8148
|
+
...(input.OtaaV1_0_x != null && { OtaaV1_0_x: serializeAws_restJson1OtaaV1_0_x(input.OtaaV1_0_x, context) }),
|
|
8149
|
+
...(input.OtaaV1_1 != null && { OtaaV1_1: serializeAws_restJson1OtaaV1_1(input.OtaaV1_1, context) }),
|
|
8150
|
+
...(input.ServiceProfileId != null && { ServiceProfileId: input.ServiceProfileId }),
|
|
7802
8151
|
};
|
|
7803
8152
|
};
|
|
7804
8153
|
const serializeAws_restJson1LoRaWANDeviceProfile = (input, context) => {
|
|
7805
8154
|
return {
|
|
7806
|
-
...(input.ClassBTimeout
|
|
7807
|
-
...(input.ClassCTimeout
|
|
7808
|
-
...(input.FactoryPresetFreqsList
|
|
7809
|
-
input.FactoryPresetFreqsList !== null && {
|
|
8155
|
+
...(input.ClassBTimeout != null && { ClassBTimeout: input.ClassBTimeout }),
|
|
8156
|
+
...(input.ClassCTimeout != null && { ClassCTimeout: input.ClassCTimeout }),
|
|
8157
|
+
...(input.FactoryPresetFreqsList != null && {
|
|
7810
8158
|
FactoryPresetFreqsList: serializeAws_restJson1FactoryPresetFreqsList(input.FactoryPresetFreqsList, context),
|
|
7811
8159
|
}),
|
|
7812
|
-
...(input.MacVersion
|
|
7813
|
-
...(input.MaxDutyCycle
|
|
7814
|
-
...(input.MaxEirp
|
|
7815
|
-
...(input.PingSlotDr
|
|
7816
|
-
...(input.PingSlotFreq
|
|
7817
|
-
...(input.PingSlotPeriod
|
|
7818
|
-
|
|
7819
|
-
...(input.
|
|
7820
|
-
|
|
7821
|
-
...(input.
|
|
7822
|
-
...(input.
|
|
7823
|
-
...(input.
|
|
7824
|
-
...(input.
|
|
7825
|
-
...(input.
|
|
7826
|
-
...(input.
|
|
7827
|
-
|
|
7828
|
-
...(input.SupportsClassB !== undefined &&
|
|
7829
|
-
input.SupportsClassB !== null && { SupportsClassB: input.SupportsClassB }),
|
|
7830
|
-
...(input.SupportsClassC !== undefined &&
|
|
7831
|
-
input.SupportsClassC !== null && { SupportsClassC: input.SupportsClassC }),
|
|
7832
|
-
...(input.SupportsJoin !== undefined && input.SupportsJoin !== null && { SupportsJoin: input.SupportsJoin }),
|
|
8160
|
+
...(input.MacVersion != null && { MacVersion: input.MacVersion }),
|
|
8161
|
+
...(input.MaxDutyCycle != null && { MaxDutyCycle: input.MaxDutyCycle }),
|
|
8162
|
+
...(input.MaxEirp != null && { MaxEirp: input.MaxEirp }),
|
|
8163
|
+
...(input.PingSlotDr != null && { PingSlotDr: input.PingSlotDr }),
|
|
8164
|
+
...(input.PingSlotFreq != null && { PingSlotFreq: input.PingSlotFreq }),
|
|
8165
|
+
...(input.PingSlotPeriod != null && { PingSlotPeriod: input.PingSlotPeriod }),
|
|
8166
|
+
...(input.RegParamsRevision != null && { RegParamsRevision: input.RegParamsRevision }),
|
|
8167
|
+
...(input.RfRegion != null && { RfRegion: input.RfRegion }),
|
|
8168
|
+
...(input.RxDataRate2 != null && { RxDataRate2: input.RxDataRate2 }),
|
|
8169
|
+
...(input.RxDelay1 != null && { RxDelay1: input.RxDelay1 }),
|
|
8170
|
+
...(input.RxDrOffset1 != null && { RxDrOffset1: input.RxDrOffset1 }),
|
|
8171
|
+
...(input.RxFreq2 != null && { RxFreq2: input.RxFreq2 }),
|
|
8172
|
+
...(input.Supports32BitFCnt != null && { Supports32BitFCnt: input.Supports32BitFCnt }),
|
|
8173
|
+
...(input.SupportsClassB != null && { SupportsClassB: input.SupportsClassB }),
|
|
8174
|
+
...(input.SupportsClassC != null && { SupportsClassC: input.SupportsClassC }),
|
|
8175
|
+
...(input.SupportsJoin != null && { SupportsJoin: input.SupportsJoin }),
|
|
7833
8176
|
};
|
|
7834
8177
|
};
|
|
7835
8178
|
const serializeAws_restJson1LoRaWANFuotaTask = (input, context) => {
|
|
7836
8179
|
return {
|
|
7837
|
-
...(input.RfRegion
|
|
8180
|
+
...(input.RfRegion != null && { RfRegion: input.RfRegion }),
|
|
7838
8181
|
};
|
|
7839
8182
|
};
|
|
7840
8183
|
const serializeAws_restJson1LoRaWANGateway = (input, context) => {
|
|
7841
8184
|
return {
|
|
7842
|
-
...(input.GatewayEui
|
|
7843
|
-
...(input.JoinEuiFilters
|
|
7844
|
-
input.JoinEuiFilters !== null && {
|
|
8185
|
+
...(input.GatewayEui != null && { GatewayEui: input.GatewayEui }),
|
|
8186
|
+
...(input.JoinEuiFilters != null && {
|
|
7845
8187
|
JoinEuiFilters: serializeAws_restJson1JoinEuiFilters(input.JoinEuiFilters, context),
|
|
7846
8188
|
}),
|
|
7847
|
-
...(input.NetIdFilters
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
...(input.
|
|
7851
|
-
|
|
8189
|
+
...(input.NetIdFilters != null && {
|
|
8190
|
+
NetIdFilters: serializeAws_restJson1NetIdFilters(input.NetIdFilters, context),
|
|
8191
|
+
}),
|
|
8192
|
+
...(input.RfRegion != null && { RfRegion: input.RfRegion }),
|
|
8193
|
+
...(input.SubBands != null && { SubBands: serializeAws_restJson1SubBands(input.SubBands, context) }),
|
|
7852
8194
|
};
|
|
7853
8195
|
};
|
|
7854
8196
|
const serializeAws_restJson1LoRaWANGatewayVersion = (input, context) => {
|
|
7855
8197
|
return {
|
|
7856
|
-
...(input.Model
|
|
7857
|
-
...(input.PackageVersion
|
|
7858
|
-
|
|
7859
|
-
...(input.Station !== undefined && input.Station !== null && { Station: input.Station }),
|
|
8198
|
+
...(input.Model != null && { Model: input.Model }),
|
|
8199
|
+
...(input.PackageVersion != null && { PackageVersion: input.PackageVersion }),
|
|
8200
|
+
...(input.Station != null && { Station: input.Station }),
|
|
7860
8201
|
};
|
|
7861
8202
|
};
|
|
7862
8203
|
const serializeAws_restJson1LoRaWANJoinEventNotificationConfigurations = (input, context) => {
|
|
7863
8204
|
return {
|
|
7864
|
-
...(input.DevEuiEventTopic
|
|
7865
|
-
input.DevEuiEventTopic !== null && { DevEuiEventTopic: input.DevEuiEventTopic }),
|
|
8205
|
+
...(input.DevEuiEventTopic != null && { DevEuiEventTopic: input.DevEuiEventTopic }),
|
|
7866
8206
|
};
|
|
7867
8207
|
};
|
|
7868
8208
|
const serializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration = (input, context) => {
|
|
7869
8209
|
return {
|
|
7870
|
-
...(input.WirelessDeviceEventTopic
|
|
7871
|
-
input.WirelessDeviceEventTopic !== null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
8210
|
+
...(input.WirelessDeviceEventTopic != null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
7872
8211
|
};
|
|
7873
8212
|
};
|
|
7874
8213
|
const serializeAws_restJson1LoRaWANMulticast = (input, context) => {
|
|
7875
8214
|
return {
|
|
7876
|
-
...(input.DlClass
|
|
7877
|
-
...(input.RfRegion
|
|
8215
|
+
...(input.DlClass != null && { DlClass: input.DlClass }),
|
|
8216
|
+
...(input.RfRegion != null && { RfRegion: input.RfRegion }),
|
|
7878
8217
|
};
|
|
7879
8218
|
};
|
|
7880
8219
|
const serializeAws_restJson1LoRaWANMulticastMetadata = (input, context) => {
|
|
7881
8220
|
return {
|
|
7882
|
-
...(input.FPort
|
|
8221
|
+
...(input.FPort != null && { FPort: input.FPort }),
|
|
7883
8222
|
};
|
|
7884
8223
|
};
|
|
7885
8224
|
const serializeAws_restJson1LoRaWANMulticastSession = (input, context) => {
|
|
7886
8225
|
return {
|
|
7887
|
-
...(input.DlDr
|
|
7888
|
-
...(input.DlFreq
|
|
7889
|
-
...(input.SessionStartTime
|
|
7890
|
-
input.SessionStartTime !== null && {
|
|
8226
|
+
...(input.DlDr != null && { DlDr: input.DlDr }),
|
|
8227
|
+
...(input.DlFreq != null && { DlFreq: input.DlFreq }),
|
|
8228
|
+
...(input.SessionStartTime != null && {
|
|
7891
8229
|
SessionStartTime: input.SessionStartTime.toISOString().split(".")[0] + "Z",
|
|
7892
8230
|
}),
|
|
7893
|
-
...(input.SessionTimeout
|
|
7894
|
-
input.SessionTimeout !== null && { SessionTimeout: input.SessionTimeout }),
|
|
8231
|
+
...(input.SessionTimeout != null && { SessionTimeout: input.SessionTimeout }),
|
|
7895
8232
|
};
|
|
7896
8233
|
};
|
|
7897
8234
|
const serializeAws_restJson1LoRaWANSendDataToDevice = (input, context) => {
|
|
7898
8235
|
return {
|
|
7899
|
-
...(input.FPort
|
|
8236
|
+
...(input.FPort != null && { FPort: input.FPort }),
|
|
7900
8237
|
};
|
|
7901
8238
|
};
|
|
7902
8239
|
const serializeAws_restJson1LoRaWANServiceProfile = (input, context) => {
|
|
7903
8240
|
return {
|
|
7904
|
-
...(input.AddGwMetadata
|
|
8241
|
+
...(input.AddGwMetadata != null && { AddGwMetadata: input.AddGwMetadata }),
|
|
7905
8242
|
};
|
|
7906
8243
|
};
|
|
7907
8244
|
const serializeAws_restJson1LoRaWANStartFuotaTask = (input, context) => {
|
|
7908
8245
|
return {
|
|
7909
|
-
...(input.StartTime
|
|
7910
|
-
input.StartTime !== null && { StartTime: input.StartTime.toISOString().split(".")[0] + "Z" }),
|
|
8246
|
+
...(input.StartTime != null && { StartTime: input.StartTime.toISOString().split(".")[0] + "Z" }),
|
|
7911
8247
|
};
|
|
7912
8248
|
};
|
|
7913
8249
|
const serializeAws_restJson1LoRaWANUpdateDevice = (input, context) => {
|
|
7914
8250
|
return {
|
|
7915
|
-
...(input.AbpV1_0_x
|
|
7916
|
-
|
|
7917
|
-
...(input.
|
|
7918
|
-
|
|
7919
|
-
...(input.
|
|
7920
|
-
input.DeviceProfileId !== null && { DeviceProfileId: input.DeviceProfileId }),
|
|
7921
|
-
...(input.ServiceProfileId !== undefined &&
|
|
7922
|
-
input.ServiceProfileId !== null && { ServiceProfileId: input.ServiceProfileId }),
|
|
8251
|
+
...(input.AbpV1_0_x != null && { AbpV1_0_x: serializeAws_restJson1UpdateAbpV1_0_x(input.AbpV1_0_x, context) }),
|
|
8252
|
+
...(input.AbpV1_1 != null && { AbpV1_1: serializeAws_restJson1UpdateAbpV1_1(input.AbpV1_1, context) }),
|
|
8253
|
+
...(input.DeviceProfileId != null && { DeviceProfileId: input.DeviceProfileId }),
|
|
8254
|
+
...(input.FPorts != null && { FPorts: serializeAws_restJson1UpdateFPorts(input.FPorts, context) }),
|
|
8255
|
+
...(input.ServiceProfileId != null && { ServiceProfileId: input.ServiceProfileId }),
|
|
7923
8256
|
};
|
|
7924
8257
|
};
|
|
7925
8258
|
const serializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = (input, context) => {
|
|
7926
8259
|
return {
|
|
7927
|
-
...(input.CurrentVersion
|
|
7928
|
-
input.CurrentVersion !== null && {
|
|
8260
|
+
...(input.CurrentVersion != null && {
|
|
7929
8261
|
CurrentVersion: serializeAws_restJson1LoRaWANGatewayVersion(input.CurrentVersion, context),
|
|
7930
8262
|
}),
|
|
7931
|
-
...(input.SigKeyCrc
|
|
7932
|
-
...(input.UpdateSignature
|
|
7933
|
-
|
|
7934
|
-
...(input.UpdateVersion !== undefined &&
|
|
7935
|
-
input.UpdateVersion !== null && {
|
|
8263
|
+
...(input.SigKeyCrc != null && { SigKeyCrc: input.SigKeyCrc }),
|
|
8264
|
+
...(input.UpdateSignature != null && { UpdateSignature: input.UpdateSignature }),
|
|
8265
|
+
...(input.UpdateVersion != null && {
|
|
7936
8266
|
UpdateVersion: serializeAws_restJson1LoRaWANGatewayVersion(input.UpdateVersion, context),
|
|
7937
8267
|
}),
|
|
7938
8268
|
};
|
|
7939
8269
|
};
|
|
7940
8270
|
const serializeAws_restJson1MulticastWirelessMetadata = (input, context) => {
|
|
7941
8271
|
return {
|
|
7942
|
-
...(input.LoRaWAN
|
|
7943
|
-
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticastMetadata(input.LoRaWAN, context) }),
|
|
8272
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticastMetadata(input.LoRaWAN, context) }),
|
|
7944
8273
|
};
|
|
7945
8274
|
};
|
|
7946
8275
|
const serializeAws_restJson1NetIdFilters = (input, context) => {
|
|
@@ -7955,79 +8284,102 @@ const serializeAws_restJson1NetIdFilters = (input, context) => {
|
|
|
7955
8284
|
};
|
|
7956
8285
|
const serializeAws_restJson1OtaaV1_0_x = (input, context) => {
|
|
7957
8286
|
return {
|
|
7958
|
-
...(input.AppEui
|
|
7959
|
-
...(input.AppKey
|
|
7960
|
-
...(input.GenAppKey
|
|
8287
|
+
...(input.AppEui != null && { AppEui: input.AppEui }),
|
|
8288
|
+
...(input.AppKey != null && { AppKey: input.AppKey }),
|
|
8289
|
+
...(input.GenAppKey != null && { GenAppKey: input.GenAppKey }),
|
|
7961
8290
|
};
|
|
7962
8291
|
};
|
|
7963
8292
|
const serializeAws_restJson1OtaaV1_1 = (input, context) => {
|
|
7964
8293
|
return {
|
|
7965
|
-
...(input.AppKey
|
|
7966
|
-
...(input.JoinEui
|
|
7967
|
-
...(input.NwkKey
|
|
8294
|
+
...(input.AppKey != null && { AppKey: input.AppKey }),
|
|
8295
|
+
...(input.JoinEui != null && { JoinEui: input.JoinEui }),
|
|
8296
|
+
...(input.NwkKey != null && { NwkKey: input.NwkKey }),
|
|
8297
|
+
};
|
|
8298
|
+
};
|
|
8299
|
+
const serializeAws_restJson1PositionCoordinate = (input, context) => {
|
|
8300
|
+
return input
|
|
8301
|
+
.filter((e) => e != null)
|
|
8302
|
+
.map((entry) => {
|
|
8303
|
+
if (entry === null) {
|
|
8304
|
+
return null;
|
|
8305
|
+
}
|
|
8306
|
+
return (0, smithy_client_1.serializeFloat)(entry);
|
|
8307
|
+
});
|
|
8308
|
+
};
|
|
8309
|
+
const serializeAws_restJson1Positioning = (input, context) => {
|
|
8310
|
+
return {
|
|
8311
|
+
...(input.ClockSync != null && { ClockSync: input.ClockSync }),
|
|
8312
|
+
...(input.Gnss != null && { Gnss: input.Gnss }),
|
|
8313
|
+
...(input.Stream != null && { Stream: input.Stream }),
|
|
8314
|
+
};
|
|
8315
|
+
};
|
|
8316
|
+
const serializeAws_restJson1PositionSolverConfigurations = (input, context) => {
|
|
8317
|
+
return {
|
|
8318
|
+
...(input.SemtechGnss != null && {
|
|
8319
|
+
SemtechGnss: serializeAws_restJson1SemtechGnssConfiguration(input.SemtechGnss, context),
|
|
8320
|
+
}),
|
|
7968
8321
|
};
|
|
7969
8322
|
};
|
|
7970
8323
|
const serializeAws_restJson1ProximityEventConfiguration = (input, context) => {
|
|
7971
8324
|
return {
|
|
7972
|
-
...(input.Sidewalk
|
|
7973
|
-
input.Sidewalk !== null && {
|
|
8325
|
+
...(input.Sidewalk != null && {
|
|
7974
8326
|
Sidewalk: serializeAws_restJson1SidewalkEventNotificationConfigurations(input.Sidewalk, context),
|
|
7975
8327
|
}),
|
|
7976
|
-
...(input.WirelessDeviceIdEventTopic
|
|
7977
|
-
input.WirelessDeviceIdEventTopic !== null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
8328
|
+
...(input.WirelessDeviceIdEventTopic != null && { WirelessDeviceIdEventTopic: input.WirelessDeviceIdEventTopic }),
|
|
7978
8329
|
};
|
|
7979
8330
|
};
|
|
7980
8331
|
const serializeAws_restJson1ProximityResourceTypeEventConfiguration = (input, context) => {
|
|
7981
8332
|
return {
|
|
7982
|
-
...(input.Sidewalk
|
|
7983
|
-
input.Sidewalk !== null && {
|
|
8333
|
+
...(input.Sidewalk != null && {
|
|
7984
8334
|
Sidewalk: serializeAws_restJson1SidewalkResourceTypeEventConfiguration(input.Sidewalk, context),
|
|
7985
8335
|
}),
|
|
7986
8336
|
};
|
|
7987
8337
|
};
|
|
8338
|
+
const serializeAws_restJson1SemtechGnssConfiguration = (input, context) => {
|
|
8339
|
+
return {
|
|
8340
|
+
...(input.Fec != null && { Fec: input.Fec }),
|
|
8341
|
+
...(input.Status != null && { Status: input.Status }),
|
|
8342
|
+
};
|
|
8343
|
+
};
|
|
7988
8344
|
const serializeAws_restJson1SessionKeysAbpV1_0_x = (input, context) => {
|
|
7989
8345
|
return {
|
|
7990
|
-
...(input.AppSKey
|
|
7991
|
-
...(input.NwkSKey
|
|
8346
|
+
...(input.AppSKey != null && { AppSKey: input.AppSKey }),
|
|
8347
|
+
...(input.NwkSKey != null && { NwkSKey: input.NwkSKey }),
|
|
7992
8348
|
};
|
|
7993
8349
|
};
|
|
7994
8350
|
const serializeAws_restJson1SessionKeysAbpV1_1 = (input, context) => {
|
|
7995
8351
|
return {
|
|
7996
|
-
...(input.AppSKey
|
|
7997
|
-
...(input.FNwkSIntKey
|
|
7998
|
-
...(input.NwkSEncKey
|
|
7999
|
-
...(input.SNwkSIntKey
|
|
8352
|
+
...(input.AppSKey != null && { AppSKey: input.AppSKey }),
|
|
8353
|
+
...(input.FNwkSIntKey != null && { FNwkSIntKey: input.FNwkSIntKey }),
|
|
8354
|
+
...(input.NwkSEncKey != null && { NwkSEncKey: input.NwkSEncKey }),
|
|
8355
|
+
...(input.SNwkSIntKey != null && { SNwkSIntKey: input.SNwkSIntKey }),
|
|
8000
8356
|
};
|
|
8001
8357
|
};
|
|
8002
8358
|
const serializeAws_restJson1SidewalkAccountInfo = (input, context) => {
|
|
8003
8359
|
return {
|
|
8004
|
-
...(input.AmazonId
|
|
8005
|
-
...(input.AppServerPrivateKey
|
|
8006
|
-
input.AppServerPrivateKey !== null && { AppServerPrivateKey: input.AppServerPrivateKey }),
|
|
8360
|
+
...(input.AmazonId != null && { AmazonId: input.AmazonId }),
|
|
8361
|
+
...(input.AppServerPrivateKey != null && { AppServerPrivateKey: input.AppServerPrivateKey }),
|
|
8007
8362
|
};
|
|
8008
8363
|
};
|
|
8009
8364
|
const serializeAws_restJson1SidewalkEventNotificationConfigurations = (input, context) => {
|
|
8010
8365
|
return {
|
|
8011
|
-
...(input.AmazonIdEventTopic
|
|
8012
|
-
input.AmazonIdEventTopic !== null && { AmazonIdEventTopic: input.AmazonIdEventTopic }),
|
|
8366
|
+
...(input.AmazonIdEventTopic != null && { AmazonIdEventTopic: input.AmazonIdEventTopic }),
|
|
8013
8367
|
};
|
|
8014
8368
|
};
|
|
8015
8369
|
const serializeAws_restJson1SidewalkResourceTypeEventConfiguration = (input, context) => {
|
|
8016
8370
|
return {
|
|
8017
|
-
...(input.WirelessDeviceEventTopic
|
|
8018
|
-
input.WirelessDeviceEventTopic !== null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
8371
|
+
...(input.WirelessDeviceEventTopic != null && { WirelessDeviceEventTopic: input.WirelessDeviceEventTopic }),
|
|
8019
8372
|
};
|
|
8020
8373
|
};
|
|
8021
8374
|
const serializeAws_restJson1SidewalkSendDataToDevice = (input, context) => {
|
|
8022
8375
|
return {
|
|
8023
|
-
...(input.MessageType
|
|
8024
|
-
...(input.Seq
|
|
8376
|
+
...(input.MessageType != null && { MessageType: input.MessageType }),
|
|
8377
|
+
...(input.Seq != null && { Seq: input.Seq }),
|
|
8025
8378
|
};
|
|
8026
8379
|
};
|
|
8027
8380
|
const serializeAws_restJson1SidewalkUpdateAccount = (input, context) => {
|
|
8028
8381
|
return {
|
|
8029
|
-
...(input.AppServerPrivateKey
|
|
8030
|
-
input.AppServerPrivateKey !== null && { AppServerPrivateKey: input.AppServerPrivateKey }),
|
|
8382
|
+
...(input.AppServerPrivateKey != null && { AppServerPrivateKey: input.AppServerPrivateKey }),
|
|
8031
8383
|
};
|
|
8032
8384
|
};
|
|
8033
8385
|
const serializeAws_restJson1SubBands = (input, context) => {
|
|
@@ -8042,8 +8394,8 @@ const serializeAws_restJson1SubBands = (input, context) => {
|
|
|
8042
8394
|
};
|
|
8043
8395
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
8044
8396
|
return {
|
|
8045
|
-
...(input.Key
|
|
8046
|
-
...(input.Value
|
|
8397
|
+
...(input.Key != null && { Key: input.Key }),
|
|
8398
|
+
...(input.Value != null && { Value: input.Value }),
|
|
8047
8399
|
};
|
|
8048
8400
|
};
|
|
8049
8401
|
const serializeAws_restJson1TagList = (input, context) => {
|
|
@@ -8058,37 +8410,38 @@ const serializeAws_restJson1TagList = (input, context) => {
|
|
|
8058
8410
|
};
|
|
8059
8411
|
const serializeAws_restJson1TraceContent = (input, context) => {
|
|
8060
8412
|
return {
|
|
8061
|
-
...(input.LogLevel
|
|
8062
|
-
...(input.WirelessDeviceFrameInfo
|
|
8063
|
-
input.WirelessDeviceFrameInfo !== null && { WirelessDeviceFrameInfo: input.WirelessDeviceFrameInfo }),
|
|
8413
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
8414
|
+
...(input.WirelessDeviceFrameInfo != null && { WirelessDeviceFrameInfo: input.WirelessDeviceFrameInfo }),
|
|
8064
8415
|
};
|
|
8065
8416
|
};
|
|
8066
8417
|
const serializeAws_restJson1UpdateAbpV1_0_x = (input, context) => {
|
|
8067
8418
|
return {
|
|
8068
|
-
...(input.FCntStart
|
|
8419
|
+
...(input.FCntStart != null && { FCntStart: input.FCntStart }),
|
|
8069
8420
|
};
|
|
8070
8421
|
};
|
|
8071
8422
|
const serializeAws_restJson1UpdateAbpV1_1 = (input, context) => {
|
|
8072
8423
|
return {
|
|
8073
|
-
...(input.FCntStart
|
|
8424
|
+
...(input.FCntStart != null && { FCntStart: input.FCntStart }),
|
|
8425
|
+
};
|
|
8426
|
+
};
|
|
8427
|
+
const serializeAws_restJson1UpdateFPorts = (input, context) => {
|
|
8428
|
+
return {
|
|
8429
|
+
...(input.Positioning != null && { Positioning: serializeAws_restJson1Positioning(input.Positioning, context) }),
|
|
8074
8430
|
};
|
|
8075
8431
|
};
|
|
8076
8432
|
const serializeAws_restJson1UpdateWirelessGatewayTaskCreate = (input, context) => {
|
|
8077
8433
|
return {
|
|
8078
|
-
...(input.LoRaWAN
|
|
8079
|
-
input.LoRaWAN !== null && {
|
|
8434
|
+
...(input.LoRaWAN != null && {
|
|
8080
8435
|
LoRaWAN: serializeAws_restJson1LoRaWANUpdateGatewayTaskCreate(input.LoRaWAN, context),
|
|
8081
8436
|
}),
|
|
8082
|
-
...(input.UpdateDataRole
|
|
8083
|
-
|
|
8084
|
-
...(input.UpdateDataSource !== undefined &&
|
|
8085
|
-
input.UpdateDataSource !== null && { UpdateDataSource: input.UpdateDataSource }),
|
|
8437
|
+
...(input.UpdateDataRole != null && { UpdateDataRole: input.UpdateDataRole }),
|
|
8438
|
+
...(input.UpdateDataSource != null && { UpdateDataSource: input.UpdateDataSource }),
|
|
8086
8439
|
};
|
|
8087
8440
|
};
|
|
8088
8441
|
const serializeAws_restJson1WirelessDeviceEventLogOption = (input, context) => {
|
|
8089
8442
|
return {
|
|
8090
|
-
...(input.Event
|
|
8091
|
-
...(input.LogLevel
|
|
8443
|
+
...(input.Event != null && { Event: input.Event }),
|
|
8444
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
8092
8445
|
};
|
|
8093
8446
|
};
|
|
8094
8447
|
const serializeAws_restJson1WirelessDeviceEventLogOptionList = (input, context) => {
|
|
@@ -8113,12 +8466,11 @@ const serializeAws_restJson1WirelessDeviceList = (input, context) => {
|
|
|
8113
8466
|
};
|
|
8114
8467
|
const serializeAws_restJson1WirelessDeviceLogOption = (input, context) => {
|
|
8115
8468
|
return {
|
|
8116
|
-
...(input.Events
|
|
8117
|
-
input.Events !== null && {
|
|
8469
|
+
...(input.Events != null && {
|
|
8118
8470
|
Events: serializeAws_restJson1WirelessDeviceEventLogOptionList(input.Events, context),
|
|
8119
8471
|
}),
|
|
8120
|
-
...(input.LogLevel
|
|
8121
|
-
...(input.Type
|
|
8472
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
8473
|
+
...(input.Type != null && { Type: input.Type }),
|
|
8122
8474
|
};
|
|
8123
8475
|
};
|
|
8124
8476
|
const serializeAws_restJson1WirelessDeviceLogOptionList = (input, context) => {
|
|
@@ -8133,8 +8485,8 @@ const serializeAws_restJson1WirelessDeviceLogOptionList = (input, context) => {
|
|
|
8133
8485
|
};
|
|
8134
8486
|
const serializeAws_restJson1WirelessGatewayEventLogOption = (input, context) => {
|
|
8135
8487
|
return {
|
|
8136
|
-
...(input.Event
|
|
8137
|
-
...(input.LogLevel
|
|
8488
|
+
...(input.Event != null && { Event: input.Event }),
|
|
8489
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
8138
8490
|
};
|
|
8139
8491
|
};
|
|
8140
8492
|
const serializeAws_restJson1WirelessGatewayEventLogOptionList = (input, context) => {
|
|
@@ -8159,12 +8511,11 @@ const serializeAws_restJson1WirelessGatewayList = (input, context) => {
|
|
|
8159
8511
|
};
|
|
8160
8512
|
const serializeAws_restJson1WirelessGatewayLogOption = (input, context) => {
|
|
8161
8513
|
return {
|
|
8162
|
-
...(input.Events
|
|
8163
|
-
input.Events !== null && {
|
|
8514
|
+
...(input.Events != null && {
|
|
8164
8515
|
Events: serializeAws_restJson1WirelessGatewayEventLogOptionList(input.Events, context),
|
|
8165
8516
|
}),
|
|
8166
|
-
...(input.LogLevel
|
|
8167
|
-
...(input.Type
|
|
8517
|
+
...(input.LogLevel != null && { LogLevel: input.LogLevel }),
|
|
8518
|
+
...(input.Type != null && { Type: input.Type }),
|
|
8168
8519
|
};
|
|
8169
8520
|
};
|
|
8170
8521
|
const serializeAws_restJson1WirelessGatewayLogOptionList = (input, context) => {
|
|
@@ -8179,17 +8530,17 @@ const serializeAws_restJson1WirelessGatewayLogOptionList = (input, context) => {
|
|
|
8179
8530
|
};
|
|
8180
8531
|
const serializeAws_restJson1WirelessMetadata = (input, context) => {
|
|
8181
8532
|
return {
|
|
8182
|
-
...(input.LoRaWAN
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8533
|
+
...(input.LoRaWAN != null && { LoRaWAN: serializeAws_restJson1LoRaWANSendDataToDevice(input.LoRaWAN, context) }),
|
|
8534
|
+
...(input.Sidewalk != null && {
|
|
8535
|
+
Sidewalk: serializeAws_restJson1SidewalkSendDataToDevice(input.Sidewalk, context),
|
|
8536
|
+
}),
|
|
8186
8537
|
};
|
|
8187
8538
|
};
|
|
8188
8539
|
const deserializeAws_restJson1AbpV1_0_x = (output, context) => {
|
|
8189
8540
|
return {
|
|
8190
8541
|
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
8191
8542
|
FCntStart: (0, smithy_client_1.expectInt32)(output.FCntStart),
|
|
8192
|
-
SessionKeys: output.SessionKeys
|
|
8543
|
+
SessionKeys: output.SessionKeys != null
|
|
8193
8544
|
? deserializeAws_restJson1SessionKeysAbpV1_0_x(output.SessionKeys, context)
|
|
8194
8545
|
: undefined,
|
|
8195
8546
|
};
|
|
@@ -8198,9 +8549,13 @@ const deserializeAws_restJson1AbpV1_1 = (output, context) => {
|
|
|
8198
8549
|
return {
|
|
8199
8550
|
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
8200
8551
|
FCntStart: (0, smithy_client_1.expectInt32)(output.FCntStart),
|
|
8201
|
-
SessionKeys: output.SessionKeys
|
|
8202
|
-
|
|
8203
|
-
|
|
8552
|
+
SessionKeys: output.SessionKeys != null ? deserializeAws_restJson1SessionKeysAbpV1_1(output.SessionKeys, context) : undefined,
|
|
8553
|
+
};
|
|
8554
|
+
};
|
|
8555
|
+
const deserializeAws_restJson1Accuracy = (output, context) => {
|
|
8556
|
+
return {
|
|
8557
|
+
HorizontalAccuracy: (0, smithy_client_1.limitedParseFloat32)(output.HorizontalAccuracy),
|
|
8558
|
+
VerticalAccuracy: (0, smithy_client_1.limitedParseFloat32)(output.VerticalAccuracy),
|
|
8204
8559
|
};
|
|
8205
8560
|
};
|
|
8206
8561
|
const deserializeAws_restJson1CertificateList = (output, context) => {
|
|
@@ -8211,7 +8566,7 @@ const deserializeAws_restJson1CertificateList = (output, context) => {
|
|
|
8211
8566
|
};
|
|
8212
8567
|
const deserializeAws_restJson1ConnectionStatusEventConfiguration = (output, context) => {
|
|
8213
8568
|
return {
|
|
8214
|
-
LoRaWAN: output.LoRaWAN
|
|
8569
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8215
8570
|
? deserializeAws_restJson1LoRaWANConnectionStatusEventNotificationConfigurations(output.LoRaWAN, context)
|
|
8216
8571
|
: undefined,
|
|
8217
8572
|
WirelessGatewayIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessGatewayIdEventTopic),
|
|
@@ -8219,7 +8574,7 @@ const deserializeAws_restJson1ConnectionStatusEventConfiguration = (output, cont
|
|
|
8219
8574
|
};
|
|
8220
8575
|
const deserializeAws_restJson1ConnectionStatusResourceTypeEventConfiguration = (output, context) => {
|
|
8221
8576
|
return {
|
|
8222
|
-
LoRaWAN: output.LoRaWAN
|
|
8577
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8223
8578
|
? deserializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfiguration(output.LoRaWAN, context)
|
|
8224
8579
|
: undefined,
|
|
8225
8580
|
};
|
|
@@ -8276,7 +8631,7 @@ const deserializeAws_restJson1DeviceProfileList = (output, context) => {
|
|
|
8276
8631
|
};
|
|
8277
8632
|
const deserializeAws_restJson1DeviceRegistrationStateEventConfiguration = (output, context) => {
|
|
8278
8633
|
return {
|
|
8279
|
-
Sidewalk: output.Sidewalk
|
|
8634
|
+
Sidewalk: output.Sidewalk != null
|
|
8280
8635
|
? deserializeAws_restJson1SidewalkEventNotificationConfigurations(output.Sidewalk, context)
|
|
8281
8636
|
: undefined,
|
|
8282
8637
|
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
@@ -8284,16 +8639,14 @@ const deserializeAws_restJson1DeviceRegistrationStateEventConfiguration = (outpu
|
|
|
8284
8639
|
};
|
|
8285
8640
|
const deserializeAws_restJson1DeviceRegistrationStateResourceTypeEventConfiguration = (output, context) => {
|
|
8286
8641
|
return {
|
|
8287
|
-
Sidewalk: output.Sidewalk
|
|
8642
|
+
Sidewalk: output.Sidewalk != null
|
|
8288
8643
|
? deserializeAws_restJson1SidewalkResourceTypeEventConfiguration(output.Sidewalk, context)
|
|
8289
8644
|
: undefined,
|
|
8290
8645
|
};
|
|
8291
8646
|
};
|
|
8292
8647
|
const deserializeAws_restJson1DownlinkQueueMessage = (output, context) => {
|
|
8293
8648
|
return {
|
|
8294
|
-
LoRaWAN: output.LoRaWAN
|
|
8295
|
-
? deserializeAws_restJson1LoRaWANSendDataToDevice(output.LoRaWAN, context)
|
|
8296
|
-
: undefined,
|
|
8649
|
+
LoRaWAN: output.LoRaWAN != null ? deserializeAws_restJson1LoRaWANSendDataToDevice(output.LoRaWAN, context) : undefined,
|
|
8297
8650
|
MessageId: (0, smithy_client_1.expectString)(output.MessageId),
|
|
8298
8651
|
ReceivedAt: (0, smithy_client_1.expectString)(output.ReceivedAt),
|
|
8299
8652
|
TransmitMode: (0, smithy_client_1.expectInt32)(output.TransmitMode),
|
|
@@ -8312,7 +8665,7 @@ const deserializeAws_restJson1DownlinkQueueMessagesList = (output, context) => {
|
|
|
8312
8665
|
};
|
|
8313
8666
|
const deserializeAws_restJson1EventConfigurationItem = (output, context) => {
|
|
8314
8667
|
return {
|
|
8315
|
-
Events: output.Events
|
|
8668
|
+
Events: output.Events != null
|
|
8316
8669
|
? deserializeAws_restJson1EventNotificationItemConfigurations(output.Events, context)
|
|
8317
8670
|
: undefined,
|
|
8318
8671
|
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
@@ -8333,16 +8686,14 @@ const deserializeAws_restJson1EventConfigurationsList = (output, context) => {
|
|
|
8333
8686
|
};
|
|
8334
8687
|
const deserializeAws_restJson1EventNotificationItemConfigurations = (output, context) => {
|
|
8335
8688
|
return {
|
|
8336
|
-
ConnectionStatus: output.ConnectionStatus
|
|
8689
|
+
ConnectionStatus: output.ConnectionStatus != null
|
|
8337
8690
|
? deserializeAws_restJson1ConnectionStatusEventConfiguration(output.ConnectionStatus, context)
|
|
8338
8691
|
: undefined,
|
|
8339
|
-
DeviceRegistrationState: output.DeviceRegistrationState
|
|
8692
|
+
DeviceRegistrationState: output.DeviceRegistrationState != null
|
|
8340
8693
|
? deserializeAws_restJson1DeviceRegistrationStateEventConfiguration(output.DeviceRegistrationState, context)
|
|
8341
8694
|
: undefined,
|
|
8342
|
-
Join: output.Join
|
|
8343
|
-
|
|
8344
|
-
: undefined,
|
|
8345
|
-
Proximity: output.Proximity !== undefined && output.Proximity !== null
|
|
8695
|
+
Join: output.Join != null ? deserializeAws_restJson1JoinEventConfiguration(output.Join, context) : undefined,
|
|
8696
|
+
Proximity: output.Proximity != null
|
|
8346
8697
|
? deserializeAws_restJson1ProximityEventConfiguration(output.Proximity, context)
|
|
8347
8698
|
: undefined,
|
|
8348
8699
|
};
|
|
@@ -8363,6 +8714,7 @@ const deserializeAws_restJson1FPorts = (output, context) => {
|
|
|
8363
8714
|
ClockSync: (0, smithy_client_1.expectInt32)(output.ClockSync),
|
|
8364
8715
|
Fuota: (0, smithy_client_1.expectInt32)(output.Fuota),
|
|
8365
8716
|
Multicast: (0, smithy_client_1.expectInt32)(output.Multicast),
|
|
8717
|
+
Positioning: output.Positioning != null ? deserializeAws_restJson1Positioning(output.Positioning, context) : undefined,
|
|
8366
8718
|
};
|
|
8367
8719
|
};
|
|
8368
8720
|
const deserializeAws_restJson1FuotaTask = (output, context) => {
|
|
@@ -8407,7 +8759,7 @@ const deserializeAws_restJson1JoinEuiRange = (output, context) => {
|
|
|
8407
8759
|
};
|
|
8408
8760
|
const deserializeAws_restJson1JoinEventConfiguration = (output, context) => {
|
|
8409
8761
|
return {
|
|
8410
|
-
LoRaWAN: output.LoRaWAN
|
|
8762
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8411
8763
|
? deserializeAws_restJson1LoRaWANJoinEventNotificationConfigurations(output.LoRaWAN, context)
|
|
8412
8764
|
: undefined,
|
|
8413
8765
|
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
@@ -8415,7 +8767,7 @@ const deserializeAws_restJson1JoinEventConfiguration = (output, context) => {
|
|
|
8415
8767
|
};
|
|
8416
8768
|
const deserializeAws_restJson1JoinResourceTypeEventConfiguration = (output, context) => {
|
|
8417
8769
|
return {
|
|
8418
|
-
LoRaWAN: output.LoRaWAN
|
|
8770
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8419
8771
|
? deserializeAws_restJson1LoRaWANJoinResourceTypeEventConfiguration(output.LoRaWAN, context)
|
|
8420
8772
|
: undefined,
|
|
8421
8773
|
};
|
|
@@ -8432,23 +8784,13 @@ const deserializeAws_restJson1LoRaWANConnectionStatusResourceTypeEventConfigurat
|
|
|
8432
8784
|
};
|
|
8433
8785
|
const deserializeAws_restJson1LoRaWANDevice = (output, context) => {
|
|
8434
8786
|
return {
|
|
8435
|
-
AbpV1_0_x: output.AbpV1_0_x
|
|
8436
|
-
|
|
8437
|
-
: undefined,
|
|
8438
|
-
AbpV1_1: output.AbpV1_1 !== undefined && output.AbpV1_1 !== null
|
|
8439
|
-
? deserializeAws_restJson1AbpV1_1(output.AbpV1_1, context)
|
|
8440
|
-
: undefined,
|
|
8787
|
+
AbpV1_0_x: output.AbpV1_0_x != null ? deserializeAws_restJson1AbpV1_0_x(output.AbpV1_0_x, context) : undefined,
|
|
8788
|
+
AbpV1_1: output.AbpV1_1 != null ? deserializeAws_restJson1AbpV1_1(output.AbpV1_1, context) : undefined,
|
|
8441
8789
|
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
8442
8790
|
DeviceProfileId: (0, smithy_client_1.expectString)(output.DeviceProfileId),
|
|
8443
|
-
FPorts: output.FPorts
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
OtaaV1_0_x: output.OtaaV1_0_x !== undefined && output.OtaaV1_0_x !== null
|
|
8447
|
-
? deserializeAws_restJson1OtaaV1_0_x(output.OtaaV1_0_x, context)
|
|
8448
|
-
: undefined,
|
|
8449
|
-
OtaaV1_1: output.OtaaV1_1 !== undefined && output.OtaaV1_1 !== null
|
|
8450
|
-
? deserializeAws_restJson1OtaaV1_1(output.OtaaV1_1, context)
|
|
8451
|
-
: undefined,
|
|
8791
|
+
FPorts: output.FPorts != null ? deserializeAws_restJson1FPorts(output.FPorts, context) : undefined,
|
|
8792
|
+
OtaaV1_0_x: output.OtaaV1_0_x != null ? deserializeAws_restJson1OtaaV1_0_x(output.OtaaV1_0_x, context) : undefined,
|
|
8793
|
+
OtaaV1_1: output.OtaaV1_1 != null ? deserializeAws_restJson1OtaaV1_1(output.OtaaV1_1, context) : undefined,
|
|
8452
8794
|
ServiceProfileId: (0, smithy_client_1.expectString)(output.ServiceProfileId),
|
|
8453
8795
|
};
|
|
8454
8796
|
};
|
|
@@ -8458,7 +8800,7 @@ const deserializeAws_restJson1LoRaWANDeviceMetadata = (output, context) => {
|
|
|
8458
8800
|
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
8459
8801
|
FPort: (0, smithy_client_1.expectInt32)(output.FPort),
|
|
8460
8802
|
Frequency: (0, smithy_client_1.expectInt32)(output.Frequency),
|
|
8461
|
-
Gateways: output.Gateways
|
|
8803
|
+
Gateways: output.Gateways != null
|
|
8462
8804
|
? deserializeAws_restJson1LoRaWANGatewayMetadataList(output.Gateways, context)
|
|
8463
8805
|
: undefined,
|
|
8464
8806
|
Timestamp: (0, smithy_client_1.expectString)(output.Timestamp),
|
|
@@ -8468,7 +8810,7 @@ const deserializeAws_restJson1LoRaWANDeviceProfile = (output, context) => {
|
|
|
8468
8810
|
return {
|
|
8469
8811
|
ClassBTimeout: (0, smithy_client_1.expectInt32)(output.ClassBTimeout),
|
|
8470
8812
|
ClassCTimeout: (0, smithy_client_1.expectInt32)(output.ClassCTimeout),
|
|
8471
|
-
FactoryPresetFreqsList: output.FactoryPresetFreqsList
|
|
8813
|
+
FactoryPresetFreqsList: output.FactoryPresetFreqsList != null
|
|
8472
8814
|
? deserializeAws_restJson1FactoryPresetFreqsList(output.FactoryPresetFreqsList, context)
|
|
8473
8815
|
: undefined,
|
|
8474
8816
|
MacVersion: (0, smithy_client_1.expectString)(output.MacVersion),
|
|
@@ -8492,29 +8834,23 @@ const deserializeAws_restJson1LoRaWANDeviceProfile = (output, context) => {
|
|
|
8492
8834
|
const deserializeAws_restJson1LoRaWANFuotaTaskGetInfo = (output, context) => {
|
|
8493
8835
|
return {
|
|
8494
8836
|
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
8495
|
-
StartTime: output.StartTime
|
|
8496
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.StartTime))
|
|
8497
|
-
: undefined,
|
|
8837
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.StartTime)) : undefined,
|
|
8498
8838
|
};
|
|
8499
8839
|
};
|
|
8500
8840
|
const deserializeAws_restJson1LoRaWANGateway = (output, context) => {
|
|
8501
8841
|
return {
|
|
8502
8842
|
GatewayEui: (0, smithy_client_1.expectString)(output.GatewayEui),
|
|
8503
|
-
JoinEuiFilters: output.JoinEuiFilters
|
|
8843
|
+
JoinEuiFilters: output.JoinEuiFilters != null
|
|
8504
8844
|
? deserializeAws_restJson1JoinEuiFilters(output.JoinEuiFilters, context)
|
|
8505
8845
|
: undefined,
|
|
8506
|
-
NetIdFilters: output.NetIdFilters
|
|
8507
|
-
? deserializeAws_restJson1NetIdFilters(output.NetIdFilters, context)
|
|
8508
|
-
: undefined,
|
|
8846
|
+
NetIdFilters: output.NetIdFilters != null ? deserializeAws_restJson1NetIdFilters(output.NetIdFilters, context) : undefined,
|
|
8509
8847
|
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
8510
|
-
SubBands: output.SubBands
|
|
8511
|
-
? deserializeAws_restJson1SubBands(output.SubBands, context)
|
|
8512
|
-
: undefined,
|
|
8848
|
+
SubBands: output.SubBands != null ? deserializeAws_restJson1SubBands(output.SubBands, context) : undefined,
|
|
8513
8849
|
};
|
|
8514
8850
|
};
|
|
8515
8851
|
const deserializeAws_restJson1LoRaWANGatewayCurrentVersion = (output, context) => {
|
|
8516
8852
|
return {
|
|
8517
|
-
CurrentVersion: output.CurrentVersion
|
|
8853
|
+
CurrentVersion: output.CurrentVersion != null
|
|
8518
8854
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.CurrentVersion, context)
|
|
8519
8855
|
: undefined,
|
|
8520
8856
|
};
|
|
@@ -8594,9 +8930,7 @@ const deserializeAws_restJson1LoRaWANMulticastSession = (output, context) => {
|
|
|
8594
8930
|
return {
|
|
8595
8931
|
DlDr: (0, smithy_client_1.expectInt32)(output.DlDr),
|
|
8596
8932
|
DlFreq: (0, smithy_client_1.expectInt32)(output.DlFreq),
|
|
8597
|
-
SessionStartTime: output.SessionStartTime
|
|
8598
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SessionStartTime))
|
|
8599
|
-
: undefined,
|
|
8933
|
+
SessionStartTime: output.SessionStartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SessionStartTime)) : undefined,
|
|
8600
8934
|
SessionTimeout: (0, smithy_client_1.expectInt32)(output.SessionTimeout),
|
|
8601
8935
|
};
|
|
8602
8936
|
};
|
|
@@ -8607,22 +8941,22 @@ const deserializeAws_restJson1LoRaWANSendDataToDevice = (output, context) => {
|
|
|
8607
8941
|
};
|
|
8608
8942
|
const deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = (output, context) => {
|
|
8609
8943
|
return {
|
|
8610
|
-
CurrentVersion: output.CurrentVersion
|
|
8944
|
+
CurrentVersion: output.CurrentVersion != null
|
|
8611
8945
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.CurrentVersion, context)
|
|
8612
8946
|
: undefined,
|
|
8613
8947
|
SigKeyCrc: (0, smithy_client_1.expectLong)(output.SigKeyCrc),
|
|
8614
8948
|
UpdateSignature: (0, smithy_client_1.expectString)(output.UpdateSignature),
|
|
8615
|
-
UpdateVersion: output.UpdateVersion
|
|
8949
|
+
UpdateVersion: output.UpdateVersion != null
|
|
8616
8950
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.UpdateVersion, context)
|
|
8617
8951
|
: undefined,
|
|
8618
8952
|
};
|
|
8619
8953
|
};
|
|
8620
8954
|
const deserializeAws_restJson1LoRaWANUpdateGatewayTaskEntry = (output, context) => {
|
|
8621
8955
|
return {
|
|
8622
|
-
CurrentVersion: output.CurrentVersion
|
|
8956
|
+
CurrentVersion: output.CurrentVersion != null
|
|
8623
8957
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.CurrentVersion, context)
|
|
8624
8958
|
: undefined,
|
|
8625
|
-
UpdateVersion: output.UpdateVersion
|
|
8959
|
+
UpdateVersion: output.UpdateVersion != null
|
|
8626
8960
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.UpdateVersion, context)
|
|
8627
8961
|
: undefined,
|
|
8628
8962
|
};
|
|
@@ -8703,9 +9037,51 @@ const deserializeAws_restJson1OtaaV1_1 = (output, context) => {
|
|
|
8703
9037
|
NwkKey: (0, smithy_client_1.expectString)(output.NwkKey),
|
|
8704
9038
|
};
|
|
8705
9039
|
};
|
|
9040
|
+
const deserializeAws_restJson1PositionConfigurationItem = (output, context) => {
|
|
9041
|
+
return {
|
|
9042
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
9043
|
+
ResourceIdentifier: (0, smithy_client_1.expectString)(output.ResourceIdentifier),
|
|
9044
|
+
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
9045
|
+
Solvers: output.Solvers != null ? deserializeAws_restJson1PositionSolverDetails(output.Solvers, context) : undefined,
|
|
9046
|
+
};
|
|
9047
|
+
};
|
|
9048
|
+
const deserializeAws_restJson1PositionConfigurationList = (output, context) => {
|
|
9049
|
+
const retVal = (output || [])
|
|
9050
|
+
.filter((e) => e != null)
|
|
9051
|
+
.map((entry) => {
|
|
9052
|
+
if (entry === null) {
|
|
9053
|
+
return null;
|
|
9054
|
+
}
|
|
9055
|
+
return deserializeAws_restJson1PositionConfigurationItem(entry, context);
|
|
9056
|
+
});
|
|
9057
|
+
return retVal;
|
|
9058
|
+
};
|
|
9059
|
+
const deserializeAws_restJson1PositionCoordinate = (output, context) => {
|
|
9060
|
+
const retVal = (output || [])
|
|
9061
|
+
.filter((e) => e != null)
|
|
9062
|
+
.map((entry) => {
|
|
9063
|
+
if (entry === null) {
|
|
9064
|
+
return null;
|
|
9065
|
+
}
|
|
9066
|
+
return (0, smithy_client_1.limitedParseFloat32)(entry);
|
|
9067
|
+
});
|
|
9068
|
+
return retVal;
|
|
9069
|
+
};
|
|
9070
|
+
const deserializeAws_restJson1Positioning = (output, context) => {
|
|
9071
|
+
return {
|
|
9072
|
+
ClockSync: (0, smithy_client_1.expectInt32)(output.ClockSync),
|
|
9073
|
+
Gnss: (0, smithy_client_1.expectInt32)(output.Gnss),
|
|
9074
|
+
Stream: (0, smithy_client_1.expectInt32)(output.Stream),
|
|
9075
|
+
};
|
|
9076
|
+
};
|
|
9077
|
+
const deserializeAws_restJson1PositionSolverDetails = (output, context) => {
|
|
9078
|
+
return {
|
|
9079
|
+
SemtechGnss: output.SemtechGnss != null ? deserializeAws_restJson1SemtechGnssDetail(output.SemtechGnss, context) : undefined,
|
|
9080
|
+
};
|
|
9081
|
+
};
|
|
8706
9082
|
const deserializeAws_restJson1ProximityEventConfiguration = (output, context) => {
|
|
8707
9083
|
return {
|
|
8708
|
-
Sidewalk: output.Sidewalk
|
|
9084
|
+
Sidewalk: output.Sidewalk != null
|
|
8709
9085
|
? deserializeAws_restJson1SidewalkEventNotificationConfigurations(output.Sidewalk, context)
|
|
8710
9086
|
: undefined,
|
|
8711
9087
|
WirelessDeviceIdEventTopic: (0, smithy_client_1.expectString)(output.WirelessDeviceIdEventTopic),
|
|
@@ -8713,11 +9089,19 @@ const deserializeAws_restJson1ProximityEventConfiguration = (output, context) =>
|
|
|
8713
9089
|
};
|
|
8714
9090
|
const deserializeAws_restJson1ProximityResourceTypeEventConfiguration = (output, context) => {
|
|
8715
9091
|
return {
|
|
8716
|
-
Sidewalk: output.Sidewalk
|
|
9092
|
+
Sidewalk: output.Sidewalk != null
|
|
8717
9093
|
? deserializeAws_restJson1SidewalkResourceTypeEventConfiguration(output.Sidewalk, context)
|
|
8718
9094
|
: undefined,
|
|
8719
9095
|
};
|
|
8720
9096
|
};
|
|
9097
|
+
const deserializeAws_restJson1SemtechGnssDetail = (output, context) => {
|
|
9098
|
+
return {
|
|
9099
|
+
Fec: (0, smithy_client_1.expectString)(output.Fec),
|
|
9100
|
+
Provider: (0, smithy_client_1.expectString)(output.Provider),
|
|
9101
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
9102
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
9103
|
+
};
|
|
9104
|
+
};
|
|
8721
9105
|
const deserializeAws_restJson1ServiceProfile = (output, context) => {
|
|
8722
9106
|
return {
|
|
8723
9107
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
@@ -8777,7 +9161,7 @@ const deserializeAws_restJson1SidewalkAccountList = (output, context) => {
|
|
|
8777
9161
|
const deserializeAws_restJson1SidewalkDevice = (output, context) => {
|
|
8778
9162
|
return {
|
|
8779
9163
|
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
8780
|
-
DeviceCertificates: output.DeviceCertificates
|
|
9164
|
+
DeviceCertificates: output.DeviceCertificates != null
|
|
8781
9165
|
? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
|
|
8782
9166
|
: undefined,
|
|
8783
9167
|
SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
|
|
@@ -8800,7 +9184,7 @@ const deserializeAws_restJson1SidewalkEventNotificationConfigurations = (output,
|
|
|
8800
9184
|
const deserializeAws_restJson1SidewalkListDevice = (output, context) => {
|
|
8801
9185
|
return {
|
|
8802
9186
|
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
8803
|
-
DeviceCertificates: output.DeviceCertificates
|
|
9187
|
+
DeviceCertificates: output.DeviceCertificates != null
|
|
8804
9188
|
? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
|
|
8805
9189
|
: undefined,
|
|
8806
9190
|
SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
|
|
@@ -8848,7 +9232,7 @@ const deserializeAws_restJson1TraceContent = (output, context) => {
|
|
|
8848
9232
|
};
|
|
8849
9233
|
const deserializeAws_restJson1UpdateWirelessGatewayTaskCreate = (output, context) => {
|
|
8850
9234
|
return {
|
|
8851
|
-
LoRaWAN: output.LoRaWAN
|
|
9235
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8852
9236
|
? deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate(output.LoRaWAN, context)
|
|
8853
9237
|
: undefined,
|
|
8854
9238
|
UpdateDataRole: (0, smithy_client_1.expectString)(output.UpdateDataRole),
|
|
@@ -8859,7 +9243,7 @@ const deserializeAws_restJson1UpdateWirelessGatewayTaskEntry = (output, context)
|
|
|
8859
9243
|
return {
|
|
8860
9244
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
8861
9245
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8862
|
-
LoRaWAN: output.LoRaWAN
|
|
9246
|
+
LoRaWAN: output.LoRaWAN != null
|
|
8863
9247
|
? deserializeAws_restJson1LoRaWANUpdateGatewayTaskEntry(output.LoRaWAN, context)
|
|
8864
9248
|
: undefined,
|
|
8865
9249
|
};
|
|
@@ -8894,7 +9278,7 @@ const deserializeAws_restJson1WirelessDeviceList = (output, context) => {
|
|
|
8894
9278
|
};
|
|
8895
9279
|
const deserializeAws_restJson1WirelessDeviceLogOption = (output, context) => {
|
|
8896
9280
|
return {
|
|
8897
|
-
Events: output.Events
|
|
9281
|
+
Events: output.Events != null
|
|
8898
9282
|
? deserializeAws_restJson1WirelessDeviceEventLogOptionList(output.Events, context)
|
|
8899
9283
|
: undefined,
|
|
8900
9284
|
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
@@ -8919,15 +9303,11 @@ const deserializeAws_restJson1WirelessDeviceStatistics = (output, context) => {
|
|
|
8919
9303
|
FuotaDeviceStatus: (0, smithy_client_1.expectString)(output.FuotaDeviceStatus),
|
|
8920
9304
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8921
9305
|
LastUplinkReceivedAt: (0, smithy_client_1.expectString)(output.LastUplinkReceivedAt),
|
|
8922
|
-
LoRaWAN: output.LoRaWAN
|
|
8923
|
-
? deserializeAws_restJson1LoRaWANListDevice(output.LoRaWAN, context)
|
|
8924
|
-
: undefined,
|
|
9306
|
+
LoRaWAN: output.LoRaWAN != null ? deserializeAws_restJson1LoRaWANListDevice(output.LoRaWAN, context) : undefined,
|
|
8925
9307
|
McGroupId: (0, smithy_client_1.expectInt32)(output.McGroupId),
|
|
8926
9308
|
MulticastDeviceStatus: (0, smithy_client_1.expectString)(output.MulticastDeviceStatus),
|
|
8927
9309
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
8928
|
-
Sidewalk: output.Sidewalk
|
|
8929
|
-
? deserializeAws_restJson1SidewalkListDevice(output.Sidewalk, context)
|
|
8930
|
-
: undefined,
|
|
9310
|
+
Sidewalk: output.Sidewalk != null ? deserializeAws_restJson1SidewalkListDevice(output.Sidewalk, context) : undefined,
|
|
8931
9311
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
8932
9312
|
};
|
|
8933
9313
|
};
|
|
@@ -8972,7 +9352,7 @@ const deserializeAws_restJson1WirelessGatewayList = (output, context) => {
|
|
|
8972
9352
|
};
|
|
8973
9353
|
const deserializeAws_restJson1WirelessGatewayLogOption = (output, context) => {
|
|
8974
9354
|
return {
|
|
8975
|
-
Events: output.Events
|
|
9355
|
+
Events: output.Events != null
|
|
8976
9356
|
? deserializeAws_restJson1WirelessGatewayEventLogOptionList(output.Events, context)
|
|
8977
9357
|
: undefined,
|
|
8978
9358
|
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
@@ -8996,9 +9376,7 @@ const deserializeAws_restJson1WirelessGatewayStatistics = (output, context) => {
|
|
|
8996
9376
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
8997
9377
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8998
9378
|
LastUplinkReceivedAt: (0, smithy_client_1.expectString)(output.LastUplinkReceivedAt),
|
|
8999
|
-
LoRaWAN: output.LoRaWAN
|
|
9000
|
-
? deserializeAws_restJson1LoRaWANGateway(output.LoRaWAN, context)
|
|
9001
|
-
: undefined,
|
|
9379
|
+
LoRaWAN: output.LoRaWAN != null ? deserializeAws_restJson1LoRaWANGateway(output.LoRaWAN, context) : undefined,
|
|
9002
9380
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
9003
9381
|
};
|
|
9004
9382
|
};
|