@aws-sdk/client-iot-wireless 3.54.1 → 3.55.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 +8 -0
- package/dist-cjs/IoTWirelessClient.js +13 -13
- package/dist-cjs/commands/AssociateAwsAccountWithPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessDeviceWithThingCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessGatewayWithCertificateCommand.js +3 -3
- package/dist-cjs/commands/AssociateWirelessGatewayWithThingCommand.js +3 -3
- package/dist-cjs/commands/CancelMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/CreateDestinationCommand.js +3 -3
- package/dist-cjs/commands/CreateDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/CreateServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/CreateWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DeleteMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +3 -3
- package/dist-cjs/commands/DeleteServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/DeleteWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAwsAccountFromPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessDeviceFromThingCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessGatewayFromCertificateCommand.js +3 -3
- package/dist-cjs/commands/DisassociateWirelessGatewayFromThingCommand.js +3 -3
- package/dist-cjs/commands/GetDestinationCommand.js +3 -3
- package/dist-cjs/commands/GetDeviceProfileCommand.js +3 -3
- package/dist-cjs/commands/GetFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/GetLogLevelsByResourceTypesCommand.js +3 -3
- package/dist-cjs/commands/GetMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/GetMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetPartnerAccountCommand.js +3 -3
- package/dist-cjs/commands/GetResourceEventConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/GetServiceEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetServiceProfileCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessDeviceStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayCertificateCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayFirmwareInformationCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayTaskCommand.js +3 -3
- package/dist-cjs/commands/GetWirelessGatewayTaskDefinitionCommand.js +3 -3
- package/dist-cjs/commands/ListDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListDeviceProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListFuotaTasksCommand.js +3 -3
- package/dist-cjs/commands/ListMulticastGroupsByFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/ListMulticastGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListPartnerAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListQueuedMessagesCommand.js +3 -3
- package/dist-cjs/commands/ListServiceProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessDevicesCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessGatewayTaskDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListWirelessGatewaysCommand.js +3 -3
- package/dist-cjs/commands/PutResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/ResetAllResourceLogLevelsCommand.js +3 -3
- package/dist-cjs/commands/ResetResourceLogLevelCommand.js +3 -3
- package/dist-cjs/commands/SendDataToMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/SendDataToWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/StartFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/StartMulticastGroupSessionCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/TestWirelessDeviceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDestinationCommand.js +3 -3
- package/dist-cjs/commands/UpdateFuotaTaskCommand.js +3 -3
- package/dist-cjs/commands/UpdateLogLevelsByResourceTypesCommand.js +3 -3
- package/dist-cjs/commands/UpdateMulticastGroupCommand.js +3 -3
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdatePartnerAccountCommand.js +3 -3
- 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/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +481 -481
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/IoTWireless.js +87 -87
- package/dist-es/pagination/ListDestinationsPaginator.js +4 -4
- package/dist-es/pagination/ListDeviceProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListFuotaTasksPaginator.js +4 -4
- package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +4 -4
- package/dist-es/pagination/ListMulticastGroupsPaginator.js +4 -4
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +4 -4
- package/dist-es/pagination/ListServiceProfilesPaginator.js +4 -4
- package/dist-es/pagination/ListWirelessDevicesPaginator.js +4 -4
- package/dist-es/pagination/ListWirelessGatewaysPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +87 -87
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -18,7 +18,7 @@ const serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = async
|
|
|
18
18
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/partner-accounts";
|
|
19
19
|
let body;
|
|
20
20
|
body = JSON.stringify({
|
|
21
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
21
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
22
22
|
...(input.Sidewalk !== undefined &&
|
|
23
23
|
input.Sidewalk !== null && { Sidewalk: serializeAws_restJson1SidewalkAccountInfo(input.Sidewalk, context) }),
|
|
24
24
|
...(input.Tags !== undefined &&
|
|
@@ -46,7 +46,7 @@ const serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = async
|
|
|
46
46
|
if (labelValue.length <= 0) {
|
|
47
47
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
48
48
|
}
|
|
49
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
49
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
52
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -78,7 +78,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = async
|
|
|
78
78
|
if (labelValue.length <= 0) {
|
|
79
79
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
80
80
|
}
|
|
81
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
81
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
84
84
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -110,7 +110,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = a
|
|
|
110
110
|
if (labelValue.length <= 0) {
|
|
111
111
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
112
112
|
}
|
|
113
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
113
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
116
116
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -142,7 +142,7 @@ const serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = async (inp
|
|
|
142
142
|
if (labelValue.length <= 0) {
|
|
143
143
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
144
144
|
}
|
|
145
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
145
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
146
146
|
}
|
|
147
147
|
else {
|
|
148
148
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -173,7 +173,7 @@ const serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = asy
|
|
|
173
173
|
if (labelValue.length <= 0) {
|
|
174
174
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
175
175
|
}
|
|
176
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
176
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
179
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -205,7 +205,7 @@ const serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = async (in
|
|
|
205
205
|
if (labelValue.length <= 0) {
|
|
206
206
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
207
207
|
}
|
|
208
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
208
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
209
209
|
}
|
|
210
210
|
else {
|
|
211
211
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -234,7 +234,7 @@ const serializeAws_restJson1CancelMulticastGroupSessionCommand = async (input, c
|
|
|
234
234
|
if (labelValue.length <= 0) {
|
|
235
235
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
236
236
|
}
|
|
237
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
237
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
240
240
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -260,7 +260,7 @@ const serializeAws_restJson1CreateDestinationCommand = async (input, context) =>
|
|
|
260
260
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/destinations";
|
|
261
261
|
let body;
|
|
262
262
|
body = JSON.stringify({
|
|
263
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
263
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
264
264
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
265
265
|
...(input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression }),
|
|
266
266
|
...(input.ExpressionType !== undefined &&
|
|
@@ -290,7 +290,7 @@ const serializeAws_restJson1CreateDeviceProfileCommand = async (input, context)
|
|
|
290
290
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/device-profiles";
|
|
291
291
|
let body;
|
|
292
292
|
body = JSON.stringify({
|
|
293
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
293
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
294
294
|
...(input.LoRaWAN !== undefined &&
|
|
295
295
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANDeviceProfile(input.LoRaWAN, context) }),
|
|
296
296
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -317,7 +317,7 @@ const serializeAws_restJson1CreateFuotaTaskCommand = async (input, context) => {
|
|
|
317
317
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/fuota-tasks";
|
|
318
318
|
let body;
|
|
319
319
|
body = JSON.stringify({
|
|
320
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
320
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
321
321
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
322
322
|
...(input.FirmwareUpdateImage !== undefined &&
|
|
323
323
|
input.FirmwareUpdateImage !== null && { FirmwareUpdateImage: input.FirmwareUpdateImage }),
|
|
@@ -349,7 +349,7 @@ const serializeAws_restJson1CreateMulticastGroupCommand = async (input, context)
|
|
|
349
349
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/multicast-groups";
|
|
350
350
|
let body;
|
|
351
351
|
body = JSON.stringify({
|
|
352
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
352
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
353
353
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
354
354
|
...(input.LoRaWAN !== undefined &&
|
|
355
355
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticast(input.LoRaWAN, context) }),
|
|
@@ -377,7 +377,7 @@ const serializeAws_restJson1CreateServiceProfileCommand = async (input, context)
|
|
|
377
377
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-profiles";
|
|
378
378
|
let body;
|
|
379
379
|
body = JSON.stringify({
|
|
380
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
380
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
381
381
|
...(input.LoRaWAN !== undefined &&
|
|
382
382
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANServiceProfile(input.LoRaWAN, context) }),
|
|
383
383
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -404,7 +404,7 @@ const serializeAws_restJson1CreateWirelessDeviceCommand = async (input, context)
|
|
|
404
404
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-devices";
|
|
405
405
|
let body;
|
|
406
406
|
body = JSON.stringify({
|
|
407
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
407
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
408
408
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
409
409
|
...(input.DestinationName !== undefined &&
|
|
410
410
|
input.DestinationName !== null && { DestinationName: input.DestinationName }),
|
|
@@ -435,7 +435,7 @@ const serializeAws_restJson1CreateWirelessGatewayCommand = async (input, context
|
|
|
435
435
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/wireless-gateways";
|
|
436
436
|
let body;
|
|
437
437
|
body = JSON.stringify({
|
|
438
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
438
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
439
439
|
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
440
440
|
...(input.LoRaWAN !== undefined &&
|
|
441
441
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANGateway(input.LoRaWAN, context) }),
|
|
@@ -465,7 +465,7 @@ const serializeAws_restJson1CreateWirelessGatewayTaskCommand = async (input, con
|
|
|
465
465
|
if (labelValue.length <= 0) {
|
|
466
466
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
467
467
|
}
|
|
468
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
468
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
469
469
|
}
|
|
470
470
|
else {
|
|
471
471
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -499,7 +499,7 @@ const serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = async (
|
|
|
499
499
|
body = JSON.stringify({
|
|
500
500
|
...(input.AutoCreateTasks !== undefined &&
|
|
501
501
|
input.AutoCreateTasks !== null && { AutoCreateTasks: input.AutoCreateTasks }),
|
|
502
|
-
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
502
|
+
ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
503
503
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
504
504
|
...(input.Tags !== undefined &&
|
|
505
505
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) }),
|
|
@@ -528,7 +528,7 @@ const serializeAws_restJson1DeleteDestinationCommand = async (input, context) =>
|
|
|
528
528
|
if (labelValue.length <= 0) {
|
|
529
529
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
530
530
|
}
|
|
531
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
531
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
532
532
|
}
|
|
533
533
|
else {
|
|
534
534
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1DeleteDeviceProfileCommand = async (input, context)
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
557
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -580,7 +580,7 @@ const serializeAws_restJson1DeleteFuotaTaskCommand = async (input, context) => {
|
|
|
580
580
|
if (labelValue.length <= 0) {
|
|
581
581
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
582
582
|
}
|
|
583
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
583
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
584
584
|
}
|
|
585
585
|
else {
|
|
586
586
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -606,7 +606,7 @@ const serializeAws_restJson1DeleteMulticastGroupCommand = async (input, context)
|
|
|
606
606
|
if (labelValue.length <= 0) {
|
|
607
607
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
608
608
|
}
|
|
609
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
609
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
610
610
|
}
|
|
611
611
|
else {
|
|
612
612
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -632,7 +632,7 @@ const serializeAws_restJson1DeleteQueuedMessagesCommand = async (input, context)
|
|
|
632
632
|
if (labelValue.length <= 0) {
|
|
633
633
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
634
634
|
}
|
|
635
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
635
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
636
636
|
}
|
|
637
637
|
else {
|
|
638
638
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -663,7 +663,7 @@ const serializeAws_restJson1DeleteServiceProfileCommand = async (input, context)
|
|
|
663
663
|
if (labelValue.length <= 0) {
|
|
664
664
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
665
665
|
}
|
|
666
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
666
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
667
667
|
}
|
|
668
668
|
else {
|
|
669
669
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -689,7 +689,7 @@ const serializeAws_restJson1DeleteWirelessDeviceCommand = async (input, context)
|
|
|
689
689
|
if (labelValue.length <= 0) {
|
|
690
690
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
691
691
|
}
|
|
692
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
692
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
693
693
|
}
|
|
694
694
|
else {
|
|
695
695
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -715,7 +715,7 @@ const serializeAws_restJson1DeleteWirelessGatewayCommand = async (input, context
|
|
|
715
715
|
if (labelValue.length <= 0) {
|
|
716
716
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
717
717
|
}
|
|
718
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
718
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
719
719
|
}
|
|
720
720
|
else {
|
|
721
721
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -741,7 +741,7 @@ const serializeAws_restJson1DeleteWirelessGatewayTaskCommand = async (input, con
|
|
|
741
741
|
if (labelValue.length <= 0) {
|
|
742
742
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
743
743
|
}
|
|
744
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
744
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
745
745
|
}
|
|
746
746
|
else {
|
|
747
747
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -767,7 +767,7 @@ const serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = async (
|
|
|
767
767
|
if (labelValue.length <= 0) {
|
|
768
768
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
769
769
|
}
|
|
770
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
770
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
771
771
|
}
|
|
772
772
|
else {
|
|
773
773
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -793,7 +793,7 @@ const serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = as
|
|
|
793
793
|
if (labelValue.length <= 0) {
|
|
794
794
|
throw new Error("Empty value provided for input HTTP label: PartnerAccountId.");
|
|
795
795
|
}
|
|
796
|
-
resolvedPath = resolvedPath.replace("{PartnerAccountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
796
|
+
resolvedPath = resolvedPath.replace("{PartnerAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
797
797
|
}
|
|
798
798
|
else {
|
|
799
799
|
throw new Error("No value provided for input HTTP label: PartnerAccountId.");
|
|
@@ -824,7 +824,7 @@ const serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = asy
|
|
|
824
824
|
if (labelValue.length <= 0) {
|
|
825
825
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
826
826
|
}
|
|
827
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
827
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
828
828
|
}
|
|
829
829
|
else {
|
|
830
830
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -834,7 +834,7 @@ const serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = asy
|
|
|
834
834
|
if (labelValue.length <= 0) {
|
|
835
835
|
throw new Error("Empty value provided for input HTTP label: MulticastGroupId.");
|
|
836
836
|
}
|
|
837
|
-
resolvedPath = resolvedPath.replace("{MulticastGroupId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
837
|
+
resolvedPath = resolvedPath.replace("{MulticastGroupId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
838
838
|
}
|
|
839
839
|
else {
|
|
840
840
|
throw new Error("No value provided for input HTTP label: MulticastGroupId.");
|
|
@@ -861,7 +861,7 @@ const serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = asy
|
|
|
861
861
|
if (labelValue.length <= 0) {
|
|
862
862
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
863
863
|
}
|
|
864
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
864
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
865
865
|
}
|
|
866
866
|
else {
|
|
867
867
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -871,7 +871,7 @@ const serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = asy
|
|
|
871
871
|
if (labelValue.length <= 0) {
|
|
872
872
|
throw new Error("Empty value provided for input HTTP label: WirelessDeviceId.");
|
|
873
873
|
}
|
|
874
|
-
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
874
|
+
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
875
875
|
}
|
|
876
876
|
else {
|
|
877
877
|
throw new Error("No value provided for input HTTP label: WirelessDeviceId.");
|
|
@@ -898,7 +898,7 @@ const serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand
|
|
|
898
898
|
if (labelValue.length <= 0) {
|
|
899
899
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
900
900
|
}
|
|
901
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
901
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
902
902
|
}
|
|
903
903
|
else {
|
|
904
904
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -908,7 +908,7 @@ const serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand
|
|
|
908
908
|
if (labelValue.length <= 0) {
|
|
909
909
|
throw new Error("Empty value provided for input HTTP label: WirelessDeviceId.");
|
|
910
910
|
}
|
|
911
|
-
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
911
|
+
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
912
912
|
}
|
|
913
913
|
else {
|
|
914
914
|
throw new Error("No value provided for input HTTP label: WirelessDeviceId.");
|
|
@@ -934,7 +934,7 @@ const serializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = async (
|
|
|
934
934
|
if (labelValue.length <= 0) {
|
|
935
935
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
936
936
|
}
|
|
937
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
937
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
938
938
|
}
|
|
939
939
|
else {
|
|
940
940
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -960,7 +960,7 @@ const serializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand =
|
|
|
960
960
|
if (labelValue.length <= 0) {
|
|
961
961
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
962
962
|
}
|
|
963
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
963
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
964
964
|
}
|
|
965
965
|
else {
|
|
966
966
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -986,7 +986,7 @@ const serializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = async
|
|
|
986
986
|
if (labelValue.length <= 0) {
|
|
987
987
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
988
988
|
}
|
|
989
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
989
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
990
990
|
}
|
|
991
991
|
else {
|
|
992
992
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1012,7 +1012,7 @@ const serializeAws_restJson1GetDestinationCommand = async (input, context) => {
|
|
|
1012
1012
|
if (labelValue.length <= 0) {
|
|
1013
1013
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
1014
1014
|
}
|
|
1015
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1015
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1016
1016
|
}
|
|
1017
1017
|
else {
|
|
1018
1018
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -1038,7 +1038,7 @@ const serializeAws_restJson1GetDeviceProfileCommand = async (input, context) =>
|
|
|
1038
1038
|
if (labelValue.length <= 0) {
|
|
1039
1039
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1040
1040
|
}
|
|
1041
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1041
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1042
1042
|
}
|
|
1043
1043
|
else {
|
|
1044
1044
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1064,7 +1064,7 @@ const serializeAws_restJson1GetFuotaTaskCommand = async (input, context) => {
|
|
|
1064
1064
|
if (labelValue.length <= 0) {
|
|
1065
1065
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1066
1066
|
}
|
|
1067
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1067
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
1070
1070
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1109,7 +1109,7 @@ const serializeAws_restJson1GetMulticastGroupCommand = async (input, context) =>
|
|
|
1109
1109
|
if (labelValue.length <= 0) {
|
|
1110
1110
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1111
1111
|
}
|
|
1112
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1112
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1113
1113
|
}
|
|
1114
1114
|
else {
|
|
1115
1115
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1135,7 +1135,7 @@ const serializeAws_restJson1GetMulticastGroupSessionCommand = async (input, cont
|
|
|
1135
1135
|
if (labelValue.length <= 0) {
|
|
1136
1136
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1137
1137
|
}
|
|
1138
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1138
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1139
1139
|
}
|
|
1140
1140
|
else {
|
|
1141
1141
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1162,7 +1162,7 @@ const serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (inpu
|
|
|
1162
1162
|
if (labelValue.length <= 0) {
|
|
1163
1163
|
throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
|
|
1164
1164
|
}
|
|
1165
|
-
resolvedPath = resolvedPath.replace("{ConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1165
|
+
resolvedPath = resolvedPath.replace("{ConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1166
1166
|
}
|
|
1167
1167
|
else {
|
|
1168
1168
|
throw new Error("No value provided for input HTTP label: ConfigurationName.");
|
|
@@ -1188,7 +1188,7 @@ const serializeAws_restJson1GetPartnerAccountCommand = async (input, context) =>
|
|
|
1188
1188
|
if (labelValue.length <= 0) {
|
|
1189
1189
|
throw new Error("Empty value provided for input HTTP label: PartnerAccountId.");
|
|
1190
1190
|
}
|
|
1191
|
-
resolvedPath = resolvedPath.replace("{PartnerAccountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1191
|
+
resolvedPath = resolvedPath.replace("{PartnerAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1192
1192
|
}
|
|
1193
1193
|
else {
|
|
1194
1194
|
throw new Error("No value provided for input HTTP label: PartnerAccountId.");
|
|
@@ -1218,7 +1218,7 @@ const serializeAws_restJson1GetResourceEventConfigurationCommand = async (input,
|
|
|
1218
1218
|
if (labelValue.length <= 0) {
|
|
1219
1219
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
1220
1220
|
}
|
|
1221
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1221
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1222
1222
|
}
|
|
1223
1223
|
else {
|
|
1224
1224
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -1249,7 +1249,7 @@ const serializeAws_restJson1GetResourceLogLevelCommand = async (input, context)
|
|
|
1249
1249
|
if (labelValue.length <= 0) {
|
|
1250
1250
|
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
1251
1251
|
}
|
|
1252
|
-
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1252
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1253
1253
|
}
|
|
1254
1254
|
else {
|
|
1255
1255
|
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
@@ -1299,7 +1299,7 @@ const serializeAws_restJson1GetServiceProfileCommand = async (input, context) =>
|
|
|
1299
1299
|
if (labelValue.length <= 0) {
|
|
1300
1300
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1301
1301
|
}
|
|
1302
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1302
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1303
1303
|
}
|
|
1304
1304
|
else {
|
|
1305
1305
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1325,7 +1325,7 @@ const serializeAws_restJson1GetWirelessDeviceCommand = async (input, context) =>
|
|
|
1325
1325
|
if (labelValue.length <= 0) {
|
|
1326
1326
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
1327
1327
|
}
|
|
1328
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1328
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1329
1329
|
}
|
|
1330
1330
|
else {
|
|
1331
1331
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -1356,7 +1356,7 @@ const serializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (input, c
|
|
|
1356
1356
|
if (labelValue.length <= 0) {
|
|
1357
1357
|
throw new Error("Empty value provided for input HTTP label: WirelessDeviceId.");
|
|
1358
1358
|
}
|
|
1359
|
-
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1359
|
+
resolvedPath = resolvedPath.replace("{WirelessDeviceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1360
1360
|
}
|
|
1361
1361
|
else {
|
|
1362
1362
|
throw new Error("No value provided for input HTTP label: WirelessDeviceId.");
|
|
@@ -1382,7 +1382,7 @@ const serializeAws_restJson1GetWirelessGatewayCommand = async (input, context) =
|
|
|
1382
1382
|
if (labelValue.length <= 0) {
|
|
1383
1383
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
1384
1384
|
}
|
|
1385
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1385
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1386
1386
|
}
|
|
1387
1387
|
else {
|
|
1388
1388
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -1412,7 +1412,7 @@ const serializeAws_restJson1GetWirelessGatewayCertificateCommand = async (input,
|
|
|
1412
1412
|
if (labelValue.length <= 0) {
|
|
1413
1413
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1414
1414
|
}
|
|
1415
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1415
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1416
1416
|
}
|
|
1417
1417
|
else {
|
|
1418
1418
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1439,7 +1439,7 @@ const serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = async
|
|
|
1439
1439
|
if (labelValue.length <= 0) {
|
|
1440
1440
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1441
1441
|
}
|
|
1442
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1442
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1443
1443
|
}
|
|
1444
1444
|
else {
|
|
1445
1445
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1466,7 +1466,7 @@ const serializeAws_restJson1GetWirelessGatewayStatisticsCommand = async (input,
|
|
|
1466
1466
|
if (labelValue.length <= 0) {
|
|
1467
1467
|
throw new Error("Empty value provided for input HTTP label: WirelessGatewayId.");
|
|
1468
1468
|
}
|
|
1469
|
-
resolvedPath = resolvedPath.replace("{WirelessGatewayId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1469
|
+
resolvedPath = resolvedPath.replace("{WirelessGatewayId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1470
1470
|
}
|
|
1471
1471
|
else {
|
|
1472
1472
|
throw new Error("No value provided for input HTTP label: WirelessGatewayId.");
|
|
@@ -1492,7 +1492,7 @@ const serializeAws_restJson1GetWirelessGatewayTaskCommand = async (input, contex
|
|
|
1492
1492
|
if (labelValue.length <= 0) {
|
|
1493
1493
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1494
1494
|
}
|
|
1495
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1495
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1496
1496
|
}
|
|
1497
1497
|
else {
|
|
1498
1498
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1518,7 +1518,7 @@ const serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = async (inp
|
|
|
1518
1518
|
if (labelValue.length <= 0) {
|
|
1519
1519
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1520
1520
|
}
|
|
1521
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1521
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1522
1522
|
}
|
|
1523
1523
|
else {
|
|
1524
1524
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1628,7 +1628,7 @@ const serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = async (input
|
|
|
1628
1628
|
if (labelValue.length <= 0) {
|
|
1629
1629
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1630
1630
|
}
|
|
1631
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1631
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1632
1632
|
}
|
|
1633
1633
|
else {
|
|
1634
1634
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1680,7 +1680,7 @@ const serializeAws_restJson1ListQueuedMessagesCommand = async (input, context) =
|
|
|
1680
1680
|
if (labelValue.length <= 0) {
|
|
1681
1681
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1682
1682
|
}
|
|
1683
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1683
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1684
1684
|
}
|
|
1685
1685
|
else {
|
|
1686
1686
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1825,7 +1825,7 @@ const serializeAws_restJson1PutResourceLogLevelCommand = async (input, context)
|
|
|
1825
1825
|
if (labelValue.length <= 0) {
|
|
1826
1826
|
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
1827
1827
|
}
|
|
1828
|
-
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1828
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1829
1829
|
}
|
|
1830
1830
|
else {
|
|
1831
1831
|
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
@@ -1877,7 +1877,7 @@ const serializeAws_restJson1ResetResourceLogLevelCommand = async (input, context
|
|
|
1877
1877
|
if (labelValue.length <= 0) {
|
|
1878
1878
|
throw new Error("Empty value provided for input HTTP label: ResourceIdentifier.");
|
|
1879
1879
|
}
|
|
1880
|
-
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1880
|
+
resolvedPath = resolvedPath.replace("{ResourceIdentifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1881
1881
|
}
|
|
1882
1882
|
else {
|
|
1883
1883
|
throw new Error("No value provided for input HTTP label: ResourceIdentifier.");
|
|
@@ -1909,7 +1909,7 @@ const serializeAws_restJson1SendDataToMulticastGroupCommand = async (input, cont
|
|
|
1909
1909
|
if (labelValue.length <= 0) {
|
|
1910
1910
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1911
1911
|
}
|
|
1912
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1912
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1913
1913
|
}
|
|
1914
1914
|
else {
|
|
1915
1915
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1944,7 +1944,7 @@ const serializeAws_restJson1SendDataToWirelessDeviceCommand = async (input, cont
|
|
|
1944
1944
|
if (labelValue.length <= 0) {
|
|
1945
1945
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1946
1946
|
}
|
|
1947
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1947
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1948
1948
|
}
|
|
1949
1949
|
else {
|
|
1950
1950
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -1980,7 +1980,7 @@ const serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCo
|
|
|
1980
1980
|
if (labelValue.length <= 0) {
|
|
1981
1981
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1982
1982
|
}
|
|
1983
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1983
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1984
1984
|
}
|
|
1985
1985
|
else {
|
|
1986
1986
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2013,7 +2013,7 @@ const serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGrou
|
|
|
2013
2013
|
if (labelValue.length <= 0) {
|
|
2014
2014
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2015
2015
|
}
|
|
2016
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2016
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2017
2017
|
}
|
|
2018
2018
|
else {
|
|
2019
2019
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2046,7 +2046,7 @@ const serializeAws_restJson1StartFuotaTaskCommand = async (input, context) => {
|
|
|
2046
2046
|
if (labelValue.length <= 0) {
|
|
2047
2047
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2048
2048
|
}
|
|
2049
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2049
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2050
2050
|
}
|
|
2051
2051
|
else {
|
|
2052
2052
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2078,7 +2078,7 @@ const serializeAws_restJson1StartMulticastGroupSessionCommand = async (input, co
|
|
|
2078
2078
|
if (labelValue.length <= 0) {
|
|
2079
2079
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2080
2080
|
}
|
|
2081
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2081
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2082
2082
|
}
|
|
2083
2083
|
else {
|
|
2084
2084
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2134,7 +2134,7 @@ const serializeAws_restJson1TestWirelessDeviceCommand = async (input, context) =
|
|
|
2134
2134
|
if (labelValue.length <= 0) {
|
|
2135
2135
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2136
2136
|
}
|
|
2137
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2137
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2138
2138
|
}
|
|
2139
2139
|
else {
|
|
2140
2140
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2183,7 +2183,7 @@ const serializeAws_restJson1UpdateDestinationCommand = async (input, context) =>
|
|
|
2183
2183
|
if (labelValue.length <= 0) {
|
|
2184
2184
|
throw new Error("Empty value provided for input HTTP label: Name.");
|
|
2185
2185
|
}
|
|
2186
|
-
resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2186
|
+
resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2187
2187
|
}
|
|
2188
2188
|
else {
|
|
2189
2189
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
@@ -2218,7 +2218,7 @@ const serializeAws_restJson1UpdateFuotaTaskCommand = async (input, context) => {
|
|
|
2218
2218
|
if (labelValue.length <= 0) {
|
|
2219
2219
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2220
2220
|
}
|
|
2221
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2221
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2222
2222
|
}
|
|
2223
2223
|
else {
|
|
2224
2224
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2286,7 +2286,7 @@ const serializeAws_restJson1UpdateMulticastGroupCommand = async (input, context)
|
|
|
2286
2286
|
if (labelValue.length <= 0) {
|
|
2287
2287
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2288
2288
|
}
|
|
2289
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2289
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2290
2290
|
}
|
|
2291
2291
|
else {
|
|
2292
2292
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2321,7 +2321,7 @@ const serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (i
|
|
|
2321
2321
|
if (labelValue.length <= 0) {
|
|
2322
2322
|
throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
|
|
2323
2323
|
}
|
|
2324
|
-
resolvedPath = resolvedPath.replace("{ConfigurationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2324
|
+
resolvedPath = resolvedPath.replace("{ConfigurationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2325
2325
|
}
|
|
2326
2326
|
else {
|
|
2327
2327
|
throw new Error("No value provided for input HTTP label: ConfigurationName.");
|
|
@@ -2369,7 +2369,7 @@ const serializeAws_restJson1UpdatePartnerAccountCommand = async (input, context)
|
|
|
2369
2369
|
if (labelValue.length <= 0) {
|
|
2370
2370
|
throw new Error("Empty value provided for input HTTP label: PartnerAccountId.");
|
|
2371
2371
|
}
|
|
2372
|
-
resolvedPath = resolvedPath.replace("{PartnerAccountId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2372
|
+
resolvedPath = resolvedPath.replace("{PartnerAccountId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2373
2373
|
}
|
|
2374
2374
|
else {
|
|
2375
2375
|
throw new Error("No value provided for input HTTP label: PartnerAccountId.");
|
|
@@ -2405,7 +2405,7 @@ const serializeAws_restJson1UpdateResourceEventConfigurationCommand = async (inp
|
|
|
2405
2405
|
if (labelValue.length <= 0) {
|
|
2406
2406
|
throw new Error("Empty value provided for input HTTP label: Identifier.");
|
|
2407
2407
|
}
|
|
2408
|
-
resolvedPath = resolvedPath.replace("{Identifier}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2408
|
+
resolvedPath = resolvedPath.replace("{Identifier}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2409
2409
|
}
|
|
2410
2410
|
else {
|
|
2411
2411
|
throw new Error("No value provided for input HTTP label: Identifier.");
|
|
@@ -2448,7 +2448,7 @@ const serializeAws_restJson1UpdateWirelessDeviceCommand = async (input, context)
|
|
|
2448
2448
|
if (labelValue.length <= 0) {
|
|
2449
2449
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2450
2450
|
}
|
|
2451
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2451
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2452
2452
|
}
|
|
2453
2453
|
else {
|
|
2454
2454
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2484,7 +2484,7 @@ const serializeAws_restJson1UpdateWirelessGatewayCommand = async (input, context
|
|
|
2484
2484
|
if (labelValue.length <= 0) {
|
|
2485
2485
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
2486
2486
|
}
|
|
2487
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
2487
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
2488
2488
|
}
|
|
2489
2489
|
else {
|
|
2490
2490
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -2520,9 +2520,9 @@ const deserializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand = asy
|
|
|
2520
2520
|
Arn: undefined,
|
|
2521
2521
|
Sidewalk: undefined,
|
|
2522
2522
|
};
|
|
2523
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2523
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2524
2524
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2525
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2525
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2526
2526
|
}
|
|
2527
2527
|
if (data.Sidewalk !== undefined && data.Sidewalk !== null) {
|
|
2528
2528
|
contents.Sidewalk = deserializeAws_restJson1SidewalkAccountInfo(data.Sidewalk, context);
|
|
@@ -2564,7 +2564,7 @@ const deserializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommandError
|
|
|
2564
2564
|
$fault: "client",
|
|
2565
2565
|
$metadata: deserializeMetadata(output),
|
|
2566
2566
|
});
|
|
2567
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2567
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2568
2568
|
}
|
|
2569
2569
|
};
|
|
2570
2570
|
const deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = async (output, context) => {
|
|
@@ -2612,7 +2612,7 @@ const deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommandError =
|
|
|
2612
2612
|
$fault: "client",
|
|
2613
2613
|
$metadata: deserializeMetadata(output),
|
|
2614
2614
|
});
|
|
2615
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2615
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2616
2616
|
}
|
|
2617
2617
|
};
|
|
2618
2618
|
const deserializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = async (output, context) => {
|
|
@@ -2660,7 +2660,7 @@ const deserializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommandError =
|
|
|
2660
2660
|
$fault: "client",
|
|
2661
2661
|
$metadata: deserializeMetadata(output),
|
|
2662
2662
|
});
|
|
2663
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2663
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2664
2664
|
}
|
|
2665
2665
|
};
|
|
2666
2666
|
const deserializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommand = async (output, context) => {
|
|
@@ -2708,7 +2708,7 @@ const deserializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupCommandEr
|
|
|
2708
2708
|
$fault: "client",
|
|
2709
2709
|
$metadata: deserializeMetadata(output),
|
|
2710
2710
|
});
|
|
2711
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2711
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2712
2712
|
}
|
|
2713
2713
|
};
|
|
2714
2714
|
const deserializeAws_restJson1AssociateWirelessDeviceWithThingCommand = async (output, context) => {
|
|
@@ -2756,7 +2756,7 @@ const deserializeAws_restJson1AssociateWirelessDeviceWithThingCommandError = asy
|
|
|
2756
2756
|
$fault: "client",
|
|
2757
2757
|
$metadata: deserializeMetadata(output),
|
|
2758
2758
|
});
|
|
2759
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2759
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2760
2760
|
}
|
|
2761
2761
|
};
|
|
2762
2762
|
const deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = async (output, context) => {
|
|
@@ -2767,9 +2767,9 @@ const deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand = a
|
|
|
2767
2767
|
$metadata: deserializeMetadata(output),
|
|
2768
2768
|
IotCertificateId: undefined,
|
|
2769
2769
|
};
|
|
2770
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2770
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2771
2771
|
if (data.IotCertificateId !== undefined && data.IotCertificateId !== null) {
|
|
2772
|
-
contents.IotCertificateId = smithy_client_1.expectString(data.IotCertificateId);
|
|
2772
|
+
contents.IotCertificateId = (0, smithy_client_1.expectString)(data.IotCertificateId);
|
|
2773
2773
|
}
|
|
2774
2774
|
return Promise.resolve(contents);
|
|
2775
2775
|
};
|
|
@@ -2808,7 +2808,7 @@ const deserializeAws_restJson1AssociateWirelessGatewayWithCertificateCommandErro
|
|
|
2808
2808
|
$fault: "client",
|
|
2809
2809
|
$metadata: deserializeMetadata(output),
|
|
2810
2810
|
});
|
|
2811
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2811
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2812
2812
|
}
|
|
2813
2813
|
};
|
|
2814
2814
|
const deserializeAws_restJson1AssociateWirelessGatewayWithThingCommand = async (output, context) => {
|
|
@@ -2856,7 +2856,7 @@ const deserializeAws_restJson1AssociateWirelessGatewayWithThingCommandError = as
|
|
|
2856
2856
|
$fault: "client",
|
|
2857
2857
|
$metadata: deserializeMetadata(output),
|
|
2858
2858
|
});
|
|
2859
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2859
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2860
2860
|
}
|
|
2861
2861
|
};
|
|
2862
2862
|
const deserializeAws_restJson1CancelMulticastGroupSessionCommand = async (output, context) => {
|
|
@@ -2904,7 +2904,7 @@ const deserializeAws_restJson1CancelMulticastGroupSessionCommandError = async (o
|
|
|
2904
2904
|
$fault: "client",
|
|
2905
2905
|
$metadata: deserializeMetadata(output),
|
|
2906
2906
|
});
|
|
2907
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2907
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2908
2908
|
}
|
|
2909
2909
|
};
|
|
2910
2910
|
const deserializeAws_restJson1CreateDestinationCommand = async (output, context) => {
|
|
@@ -2916,12 +2916,12 @@ const deserializeAws_restJson1CreateDestinationCommand = async (output, context)
|
|
|
2916
2916
|
Arn: undefined,
|
|
2917
2917
|
Name: undefined,
|
|
2918
2918
|
};
|
|
2919
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2919
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2920
2920
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2921
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2921
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2922
2922
|
}
|
|
2923
2923
|
if (data.Name !== undefined && data.Name !== null) {
|
|
2924
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
2924
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2925
2925
|
}
|
|
2926
2926
|
return Promise.resolve(contents);
|
|
2927
2927
|
};
|
|
@@ -2960,7 +2960,7 @@ const deserializeAws_restJson1CreateDestinationCommandError = async (output, con
|
|
|
2960
2960
|
$fault: "client",
|
|
2961
2961
|
$metadata: deserializeMetadata(output),
|
|
2962
2962
|
});
|
|
2963
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2963
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2964
2964
|
}
|
|
2965
2965
|
};
|
|
2966
2966
|
const deserializeAws_restJson1CreateDeviceProfileCommand = async (output, context) => {
|
|
@@ -2972,12 +2972,12 @@ const deserializeAws_restJson1CreateDeviceProfileCommand = async (output, contex
|
|
|
2972
2972
|
Arn: undefined,
|
|
2973
2973
|
Id: undefined,
|
|
2974
2974
|
};
|
|
2975
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2975
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2976
2976
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
2977
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
2977
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
2978
2978
|
}
|
|
2979
2979
|
if (data.Id !== undefined && data.Id !== null) {
|
|
2980
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
2980
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
2981
2981
|
}
|
|
2982
2982
|
return Promise.resolve(contents);
|
|
2983
2983
|
};
|
|
@@ -3013,7 +3013,7 @@ const deserializeAws_restJson1CreateDeviceProfileCommandError = async (output, c
|
|
|
3013
3013
|
$fault: "client",
|
|
3014
3014
|
$metadata: deserializeMetadata(output),
|
|
3015
3015
|
});
|
|
3016
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3016
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3017
3017
|
}
|
|
3018
3018
|
};
|
|
3019
3019
|
const deserializeAws_restJson1CreateFuotaTaskCommand = async (output, context) => {
|
|
@@ -3025,12 +3025,12 @@ const deserializeAws_restJson1CreateFuotaTaskCommand = async (output, context) =
|
|
|
3025
3025
|
Arn: undefined,
|
|
3026
3026
|
Id: undefined,
|
|
3027
3027
|
};
|
|
3028
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3028
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3029
3029
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3030
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3030
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3031
3031
|
}
|
|
3032
3032
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3033
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3033
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3034
3034
|
}
|
|
3035
3035
|
return Promise.resolve(contents);
|
|
3036
3036
|
};
|
|
@@ -3069,7 +3069,7 @@ const deserializeAws_restJson1CreateFuotaTaskCommandError = async (output, conte
|
|
|
3069
3069
|
$fault: "client",
|
|
3070
3070
|
$metadata: deserializeMetadata(output),
|
|
3071
3071
|
});
|
|
3072
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3072
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3073
3073
|
}
|
|
3074
3074
|
};
|
|
3075
3075
|
const deserializeAws_restJson1CreateMulticastGroupCommand = async (output, context) => {
|
|
@@ -3081,12 +3081,12 @@ const deserializeAws_restJson1CreateMulticastGroupCommand = async (output, conte
|
|
|
3081
3081
|
Arn: undefined,
|
|
3082
3082
|
Id: undefined,
|
|
3083
3083
|
};
|
|
3084
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3084
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3085
3085
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3086
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3086
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3087
3087
|
}
|
|
3088
3088
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3089
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3089
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3090
3090
|
}
|
|
3091
3091
|
return Promise.resolve(contents);
|
|
3092
3092
|
};
|
|
@@ -3125,7 +3125,7 @@ const deserializeAws_restJson1CreateMulticastGroupCommandError = async (output,
|
|
|
3125
3125
|
$fault: "client",
|
|
3126
3126
|
$metadata: deserializeMetadata(output),
|
|
3127
3127
|
});
|
|
3128
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3128
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3129
3129
|
}
|
|
3130
3130
|
};
|
|
3131
3131
|
const deserializeAws_restJson1CreateServiceProfileCommand = async (output, context) => {
|
|
@@ -3137,12 +3137,12 @@ const deserializeAws_restJson1CreateServiceProfileCommand = async (output, conte
|
|
|
3137
3137
|
Arn: undefined,
|
|
3138
3138
|
Id: undefined,
|
|
3139
3139
|
};
|
|
3140
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3140
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3141
3141
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3142
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3142
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3143
3143
|
}
|
|
3144
3144
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3145
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3145
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3146
3146
|
}
|
|
3147
3147
|
return Promise.resolve(contents);
|
|
3148
3148
|
};
|
|
@@ -3178,7 +3178,7 @@ const deserializeAws_restJson1CreateServiceProfileCommandError = async (output,
|
|
|
3178
3178
|
$fault: "client",
|
|
3179
3179
|
$metadata: deserializeMetadata(output),
|
|
3180
3180
|
});
|
|
3181
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3181
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3182
3182
|
}
|
|
3183
3183
|
};
|
|
3184
3184
|
const deserializeAws_restJson1CreateWirelessDeviceCommand = async (output, context) => {
|
|
@@ -3190,12 +3190,12 @@ const deserializeAws_restJson1CreateWirelessDeviceCommand = async (output, conte
|
|
|
3190
3190
|
Arn: undefined,
|
|
3191
3191
|
Id: undefined,
|
|
3192
3192
|
};
|
|
3193
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3193
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3194
3194
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3195
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3195
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3196
3196
|
}
|
|
3197
3197
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3198
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3198
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3199
3199
|
}
|
|
3200
3200
|
return Promise.resolve(contents);
|
|
3201
3201
|
};
|
|
@@ -3234,7 +3234,7 @@ const deserializeAws_restJson1CreateWirelessDeviceCommandError = async (output,
|
|
|
3234
3234
|
$fault: "client",
|
|
3235
3235
|
$metadata: deserializeMetadata(output),
|
|
3236
3236
|
});
|
|
3237
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3237
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3238
3238
|
}
|
|
3239
3239
|
};
|
|
3240
3240
|
const deserializeAws_restJson1CreateWirelessGatewayCommand = async (output, context) => {
|
|
@@ -3246,12 +3246,12 @@ const deserializeAws_restJson1CreateWirelessGatewayCommand = async (output, cont
|
|
|
3246
3246
|
Arn: undefined,
|
|
3247
3247
|
Id: undefined,
|
|
3248
3248
|
};
|
|
3249
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3249
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3250
3250
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3251
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3251
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3252
3252
|
}
|
|
3253
3253
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3254
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3254
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3255
3255
|
}
|
|
3256
3256
|
return Promise.resolve(contents);
|
|
3257
3257
|
};
|
|
@@ -3287,7 +3287,7 @@ const deserializeAws_restJson1CreateWirelessGatewayCommandError = async (output,
|
|
|
3287
3287
|
$fault: "client",
|
|
3288
3288
|
$metadata: deserializeMetadata(output),
|
|
3289
3289
|
});
|
|
3290
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3290
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3291
3291
|
}
|
|
3292
3292
|
};
|
|
3293
3293
|
const deserializeAws_restJson1CreateWirelessGatewayTaskCommand = async (output, context) => {
|
|
@@ -3299,12 +3299,12 @@ const deserializeAws_restJson1CreateWirelessGatewayTaskCommand = async (output,
|
|
|
3299
3299
|
Status: undefined,
|
|
3300
3300
|
WirelessGatewayTaskDefinitionId: undefined,
|
|
3301
3301
|
};
|
|
3302
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3302
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3303
3303
|
if (data.Status !== undefined && data.Status !== null) {
|
|
3304
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
3304
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
3305
3305
|
}
|
|
3306
3306
|
if (data.WirelessGatewayTaskDefinitionId !== undefined && data.WirelessGatewayTaskDefinitionId !== null) {
|
|
3307
|
-
contents.WirelessGatewayTaskDefinitionId = smithy_client_1.expectString(data.WirelessGatewayTaskDefinitionId);
|
|
3307
|
+
contents.WirelessGatewayTaskDefinitionId = (0, smithy_client_1.expectString)(data.WirelessGatewayTaskDefinitionId);
|
|
3308
3308
|
}
|
|
3309
3309
|
return Promise.resolve(contents);
|
|
3310
3310
|
};
|
|
@@ -3343,7 +3343,7 @@ const deserializeAws_restJson1CreateWirelessGatewayTaskCommandError = async (out
|
|
|
3343
3343
|
$fault: "client",
|
|
3344
3344
|
$metadata: deserializeMetadata(output),
|
|
3345
3345
|
});
|
|
3346
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3346
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3347
3347
|
}
|
|
3348
3348
|
};
|
|
3349
3349
|
const deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = async (output, context) => {
|
|
@@ -3355,12 +3355,12 @@ const deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = async
|
|
|
3355
3355
|
Arn: undefined,
|
|
3356
3356
|
Id: undefined,
|
|
3357
3357
|
};
|
|
3358
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3358
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3359
3359
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
3360
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
3360
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
3361
3361
|
}
|
|
3362
3362
|
if (data.Id !== undefined && data.Id !== null) {
|
|
3363
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
3363
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3364
3364
|
}
|
|
3365
3365
|
return Promise.resolve(contents);
|
|
3366
3366
|
};
|
|
@@ -3399,7 +3399,7 @@ const deserializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommandError =
|
|
|
3399
3399
|
$fault: "client",
|
|
3400
3400
|
$metadata: deserializeMetadata(output),
|
|
3401
3401
|
});
|
|
3402
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3402
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3403
3403
|
}
|
|
3404
3404
|
};
|
|
3405
3405
|
const deserializeAws_restJson1DeleteDestinationCommand = async (output, context) => {
|
|
@@ -3447,7 +3447,7 @@ const deserializeAws_restJson1DeleteDestinationCommandError = async (output, con
|
|
|
3447
3447
|
$fault: "client",
|
|
3448
3448
|
$metadata: deserializeMetadata(output),
|
|
3449
3449
|
});
|
|
3450
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3450
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3451
3451
|
}
|
|
3452
3452
|
};
|
|
3453
3453
|
const deserializeAws_restJson1DeleteDeviceProfileCommand = async (output, context) => {
|
|
@@ -3495,7 +3495,7 @@ const deserializeAws_restJson1DeleteDeviceProfileCommandError = async (output, c
|
|
|
3495
3495
|
$fault: "client",
|
|
3496
3496
|
$metadata: deserializeMetadata(output),
|
|
3497
3497
|
});
|
|
3498
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3498
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3499
3499
|
}
|
|
3500
3500
|
};
|
|
3501
3501
|
const deserializeAws_restJson1DeleteFuotaTaskCommand = async (output, context) => {
|
|
@@ -3540,7 +3540,7 @@ const deserializeAws_restJson1DeleteFuotaTaskCommandError = async (output, conte
|
|
|
3540
3540
|
$fault: "client",
|
|
3541
3541
|
$metadata: deserializeMetadata(output),
|
|
3542
3542
|
});
|
|
3543
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3543
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
3546
|
const deserializeAws_restJson1DeleteMulticastGroupCommand = async (output, context) => {
|
|
@@ -3588,7 +3588,7 @@ const deserializeAws_restJson1DeleteMulticastGroupCommandError = async (output,
|
|
|
3588
3588
|
$fault: "client",
|
|
3589
3589
|
$metadata: deserializeMetadata(output),
|
|
3590
3590
|
});
|
|
3591
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3591
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3592
3592
|
}
|
|
3593
3593
|
};
|
|
3594
3594
|
const deserializeAws_restJson1DeleteQueuedMessagesCommand = async (output, context) => {
|
|
@@ -3633,7 +3633,7 @@ const deserializeAws_restJson1DeleteQueuedMessagesCommandError = async (output,
|
|
|
3633
3633
|
$fault: "client",
|
|
3634
3634
|
$metadata: deserializeMetadata(output),
|
|
3635
3635
|
});
|
|
3636
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3636
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3637
3637
|
}
|
|
3638
3638
|
};
|
|
3639
3639
|
const deserializeAws_restJson1DeleteServiceProfileCommand = async (output, context) => {
|
|
@@ -3681,7 +3681,7 @@ const deserializeAws_restJson1DeleteServiceProfileCommandError = async (output,
|
|
|
3681
3681
|
$fault: "client",
|
|
3682
3682
|
$metadata: deserializeMetadata(output),
|
|
3683
3683
|
});
|
|
3684
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3685
3685
|
}
|
|
3686
3686
|
};
|
|
3687
3687
|
const deserializeAws_restJson1DeleteWirelessDeviceCommand = async (output, context) => {
|
|
@@ -3726,7 +3726,7 @@ const deserializeAws_restJson1DeleteWirelessDeviceCommandError = async (output,
|
|
|
3726
3726
|
$fault: "client",
|
|
3727
3727
|
$metadata: deserializeMetadata(output),
|
|
3728
3728
|
});
|
|
3729
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3729
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3730
3730
|
}
|
|
3731
3731
|
};
|
|
3732
3732
|
const deserializeAws_restJson1DeleteWirelessGatewayCommand = async (output, context) => {
|
|
@@ -3771,7 +3771,7 @@ const deserializeAws_restJson1DeleteWirelessGatewayCommandError = async (output,
|
|
|
3771
3771
|
$fault: "client",
|
|
3772
3772
|
$metadata: deserializeMetadata(output),
|
|
3773
3773
|
});
|
|
3774
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3774
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3775
3775
|
}
|
|
3776
3776
|
};
|
|
3777
3777
|
const deserializeAws_restJson1DeleteWirelessGatewayTaskCommand = async (output, context) => {
|
|
@@ -3816,7 +3816,7 @@ const deserializeAws_restJson1DeleteWirelessGatewayTaskCommandError = async (out
|
|
|
3816
3816
|
$fault: "client",
|
|
3817
3817
|
$metadata: deserializeMetadata(output),
|
|
3818
3818
|
});
|
|
3819
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3819
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3820
3820
|
}
|
|
3821
3821
|
};
|
|
3822
3822
|
const deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = async (output, context) => {
|
|
@@ -3861,7 +3861,7 @@ const deserializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommandError =
|
|
|
3861
3861
|
$fault: "client",
|
|
3862
3862
|
$metadata: deserializeMetadata(output),
|
|
3863
3863
|
});
|
|
3864
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3864
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3865
3865
|
}
|
|
3866
3866
|
};
|
|
3867
3867
|
const deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand = async (output, context) => {
|
|
@@ -3903,7 +3903,7 @@ const deserializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommandErr
|
|
|
3903
3903
|
$fault: "client",
|
|
3904
3904
|
$metadata: deserializeMetadata(output),
|
|
3905
3905
|
});
|
|
3906
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3906
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3907
3907
|
}
|
|
3908
3908
|
};
|
|
3909
3909
|
const deserializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand = async (output, context) => {
|
|
@@ -3948,7 +3948,7 @@ const deserializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommandErro
|
|
|
3948
3948
|
$fault: "client",
|
|
3949
3949
|
$metadata: deserializeMetadata(output),
|
|
3950
3950
|
});
|
|
3951
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3951
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3952
3952
|
}
|
|
3953
3953
|
};
|
|
3954
3954
|
const deserializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand = async (output, context) => {
|
|
@@ -3996,7 +3996,7 @@ const deserializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommandErro
|
|
|
3996
3996
|
$fault: "client",
|
|
3997
3997
|
$metadata: deserializeMetadata(output),
|
|
3998
3998
|
});
|
|
3999
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3999
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
4002
|
const deserializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCommand = async (output, context) => {
|
|
@@ -4041,7 +4041,7 @@ const deserializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupComman
|
|
|
4041
4041
|
$fault: "client",
|
|
4042
4042
|
$metadata: deserializeMetadata(output),
|
|
4043
4043
|
});
|
|
4044
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4044
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4045
4045
|
}
|
|
4046
4046
|
};
|
|
4047
4047
|
const deserializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = async (output, context) => {
|
|
@@ -4089,7 +4089,7 @@ const deserializeAws_restJson1DisassociateWirelessDeviceFromThingCommandError =
|
|
|
4089
4089
|
$fault: "client",
|
|
4090
4090
|
$metadata: deserializeMetadata(output),
|
|
4091
4091
|
});
|
|
4092
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4092
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4093
4093
|
}
|
|
4094
4094
|
};
|
|
4095
4095
|
const deserializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommand = async (output, context) => {
|
|
@@ -4134,7 +4134,7 @@ const deserializeAws_restJson1DisassociateWirelessGatewayFromCertificateCommandE
|
|
|
4134
4134
|
$fault: "client",
|
|
4135
4135
|
$metadata: deserializeMetadata(output),
|
|
4136
4136
|
});
|
|
4137
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4137
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4138
4138
|
}
|
|
4139
4139
|
};
|
|
4140
4140
|
const deserializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = async (output, context) => {
|
|
@@ -4182,7 +4182,7 @@ const deserializeAws_restJson1DisassociateWirelessGatewayFromThingCommandError =
|
|
|
4182
4182
|
$fault: "client",
|
|
4183
4183
|
$metadata: deserializeMetadata(output),
|
|
4184
4184
|
});
|
|
4185
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4185
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4186
4186
|
}
|
|
4187
4187
|
};
|
|
4188
4188
|
const deserializeAws_restJson1GetDestinationCommand = async (output, context) => {
|
|
@@ -4198,24 +4198,24 @@ const deserializeAws_restJson1GetDestinationCommand = async (output, context) =>
|
|
|
4198
4198
|
Name: undefined,
|
|
4199
4199
|
RoleArn: undefined,
|
|
4200
4200
|
};
|
|
4201
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4201
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4202
4202
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4203
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4203
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4204
4204
|
}
|
|
4205
4205
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4206
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4206
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4207
4207
|
}
|
|
4208
4208
|
if (data.Expression !== undefined && data.Expression !== null) {
|
|
4209
|
-
contents.Expression = smithy_client_1.expectString(data.Expression);
|
|
4209
|
+
contents.Expression = (0, smithy_client_1.expectString)(data.Expression);
|
|
4210
4210
|
}
|
|
4211
4211
|
if (data.ExpressionType !== undefined && data.ExpressionType !== null) {
|
|
4212
|
-
contents.ExpressionType = smithy_client_1.expectString(data.ExpressionType);
|
|
4212
|
+
contents.ExpressionType = (0, smithy_client_1.expectString)(data.ExpressionType);
|
|
4213
4213
|
}
|
|
4214
4214
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4215
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4215
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4216
4216
|
}
|
|
4217
4217
|
if (data.RoleArn !== undefined && data.RoleArn !== null) {
|
|
4218
|
-
contents.RoleArn = smithy_client_1.expectString(data.RoleArn);
|
|
4218
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
|
|
4219
4219
|
}
|
|
4220
4220
|
return Promise.resolve(contents);
|
|
4221
4221
|
};
|
|
@@ -4251,7 +4251,7 @@ const deserializeAws_restJson1GetDestinationCommandError = async (output, contex
|
|
|
4251
4251
|
$fault: "client",
|
|
4252
4252
|
$metadata: deserializeMetadata(output),
|
|
4253
4253
|
});
|
|
4254
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4254
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4255
4255
|
}
|
|
4256
4256
|
};
|
|
4257
4257
|
const deserializeAws_restJson1GetDeviceProfileCommand = async (output, context) => {
|
|
@@ -4265,18 +4265,18 @@ const deserializeAws_restJson1GetDeviceProfileCommand = async (output, context)
|
|
|
4265
4265
|
LoRaWAN: undefined,
|
|
4266
4266
|
Name: undefined,
|
|
4267
4267
|
};
|
|
4268
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4268
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4269
4269
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4270
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4270
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4271
4271
|
}
|
|
4272
4272
|
if (data.Id !== undefined && data.Id !== null) {
|
|
4273
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
4273
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4274
4274
|
}
|
|
4275
4275
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4276
4276
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANDeviceProfile(data.LoRaWAN, context);
|
|
4277
4277
|
}
|
|
4278
4278
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4279
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4279
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4280
4280
|
}
|
|
4281
4281
|
return Promise.resolve(contents);
|
|
4282
4282
|
};
|
|
@@ -4312,7 +4312,7 @@ const deserializeAws_restJson1GetDeviceProfileCommandError = async (output, cont
|
|
|
4312
4312
|
$fault: "client",
|
|
4313
4313
|
$metadata: deserializeMetadata(output),
|
|
4314
4314
|
});
|
|
4315
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4315
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4316
4316
|
}
|
|
4317
4317
|
};
|
|
4318
4318
|
const deserializeAws_restJson1GetFuotaTaskCommand = async (output, context) => {
|
|
@@ -4331,33 +4331,33 @@ const deserializeAws_restJson1GetFuotaTaskCommand = async (output, context) => {
|
|
|
4331
4331
|
Name: undefined,
|
|
4332
4332
|
Status: undefined,
|
|
4333
4333
|
};
|
|
4334
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4334
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4335
4335
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4336
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4336
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4337
4337
|
}
|
|
4338
4338
|
if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
|
|
4339
|
-
contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
|
|
4339
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
|
|
4340
4340
|
}
|
|
4341
4341
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4342
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4342
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4343
4343
|
}
|
|
4344
4344
|
if (data.FirmwareUpdateImage !== undefined && data.FirmwareUpdateImage !== null) {
|
|
4345
|
-
contents.FirmwareUpdateImage = smithy_client_1.expectString(data.FirmwareUpdateImage);
|
|
4345
|
+
contents.FirmwareUpdateImage = (0, smithy_client_1.expectString)(data.FirmwareUpdateImage);
|
|
4346
4346
|
}
|
|
4347
4347
|
if (data.FirmwareUpdateRole !== undefined && data.FirmwareUpdateRole !== null) {
|
|
4348
|
-
contents.FirmwareUpdateRole = smithy_client_1.expectString(data.FirmwareUpdateRole);
|
|
4348
|
+
contents.FirmwareUpdateRole = (0, smithy_client_1.expectString)(data.FirmwareUpdateRole);
|
|
4349
4349
|
}
|
|
4350
4350
|
if (data.Id !== undefined && data.Id !== null) {
|
|
4351
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
4351
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4352
4352
|
}
|
|
4353
4353
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4354
4354
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANFuotaTaskGetInfo(data.LoRaWAN, context);
|
|
4355
4355
|
}
|
|
4356
4356
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4357
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4357
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4358
4358
|
}
|
|
4359
4359
|
if (data.Status !== undefined && data.Status !== null) {
|
|
4360
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
4360
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
4361
4361
|
}
|
|
4362
4362
|
return Promise.resolve(contents);
|
|
4363
4363
|
};
|
|
@@ -4393,7 +4393,7 @@ const deserializeAws_restJson1GetFuotaTaskCommandError = async (output, context)
|
|
|
4393
4393
|
$fault: "client",
|
|
4394
4394
|
$metadata: deserializeMetadata(output),
|
|
4395
4395
|
});
|
|
4396
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4396
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4397
4397
|
}
|
|
4398
4398
|
};
|
|
4399
4399
|
const deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = async (output, context) => {
|
|
@@ -4406,9 +4406,9 @@ const deserializeAws_restJson1GetLogLevelsByResourceTypesCommand = async (output
|
|
|
4406
4406
|
WirelessDeviceLogOptions: undefined,
|
|
4407
4407
|
WirelessGatewayLogOptions: undefined,
|
|
4408
4408
|
};
|
|
4409
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4409
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4410
4410
|
if (data.DefaultLogLevel !== undefined && data.DefaultLogLevel !== null) {
|
|
4411
|
-
contents.DefaultLogLevel = smithy_client_1.expectString(data.DefaultLogLevel);
|
|
4411
|
+
contents.DefaultLogLevel = (0, smithy_client_1.expectString)(data.DefaultLogLevel);
|
|
4412
4412
|
}
|
|
4413
4413
|
if (data.WirelessDeviceLogOptions !== undefined && data.WirelessDeviceLogOptions !== null) {
|
|
4414
4414
|
contents.WirelessDeviceLogOptions = deserializeAws_restJson1WirelessDeviceLogOptionList(data.WirelessDeviceLogOptions, context);
|
|
@@ -4450,7 +4450,7 @@ const deserializeAws_restJson1GetLogLevelsByResourceTypesCommandError = async (o
|
|
|
4450
4450
|
$fault: "client",
|
|
4451
4451
|
$metadata: deserializeMetadata(output),
|
|
4452
4452
|
});
|
|
4453
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4453
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4454
4454
|
}
|
|
4455
4455
|
};
|
|
4456
4456
|
const deserializeAws_restJson1GetMulticastGroupCommand = async (output, context) => {
|
|
@@ -4467,27 +4467,27 @@ const deserializeAws_restJson1GetMulticastGroupCommand = async (output, context)
|
|
|
4467
4467
|
Name: undefined,
|
|
4468
4468
|
Status: undefined,
|
|
4469
4469
|
};
|
|
4470
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4470
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4471
4471
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4472
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4472
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4473
4473
|
}
|
|
4474
4474
|
if (data.CreatedAt !== undefined && data.CreatedAt !== null) {
|
|
4475
|
-
contents.CreatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreatedAt)));
|
|
4475
|
+
contents.CreatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreatedAt)));
|
|
4476
4476
|
}
|
|
4477
4477
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4478
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4478
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4479
4479
|
}
|
|
4480
4480
|
if (data.Id !== undefined && data.Id !== null) {
|
|
4481
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
4481
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4482
4482
|
}
|
|
4483
4483
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4484
4484
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANMulticastGet(data.LoRaWAN, context);
|
|
4485
4485
|
}
|
|
4486
4486
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4487
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4487
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4488
4488
|
}
|
|
4489
4489
|
if (data.Status !== undefined && data.Status !== null) {
|
|
4490
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
4490
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
4491
4491
|
}
|
|
4492
4492
|
return Promise.resolve(contents);
|
|
4493
4493
|
};
|
|
@@ -4523,7 +4523,7 @@ const deserializeAws_restJson1GetMulticastGroupCommandError = async (output, con
|
|
|
4523
4523
|
$fault: "client",
|
|
4524
4524
|
$metadata: deserializeMetadata(output),
|
|
4525
4525
|
});
|
|
4526
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4526
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4527
4527
|
}
|
|
4528
4528
|
};
|
|
4529
4529
|
const deserializeAws_restJson1GetMulticastGroupSessionCommand = async (output, context) => {
|
|
@@ -4534,7 +4534,7 @@ const deserializeAws_restJson1GetMulticastGroupSessionCommand = async (output, c
|
|
|
4534
4534
|
$metadata: deserializeMetadata(output),
|
|
4535
4535
|
LoRaWAN: undefined,
|
|
4536
4536
|
};
|
|
4537
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4537
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4538
4538
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4539
4539
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANMulticastSession(data.LoRaWAN, context);
|
|
4540
4540
|
}
|
|
@@ -4572,7 +4572,7 @@ const deserializeAws_restJson1GetMulticastGroupSessionCommandError = async (outp
|
|
|
4572
4572
|
$fault: "client",
|
|
4573
4573
|
$metadata: deserializeMetadata(output),
|
|
4574
4574
|
});
|
|
4575
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4575
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4576
4576
|
}
|
|
4577
4577
|
};
|
|
4578
4578
|
const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (output, context) => {
|
|
@@ -4585,7 +4585,7 @@ const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = async (ou
|
|
|
4585
4585
|
WirelessDevices: undefined,
|
|
4586
4586
|
WirelessGateways: undefined,
|
|
4587
4587
|
};
|
|
4588
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4588
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4589
4589
|
if (data.TraceContent !== undefined && data.TraceContent !== null) {
|
|
4590
4590
|
contents.TraceContent = deserializeAws_restJson1TraceContent(data.TraceContent, context);
|
|
4591
4591
|
}
|
|
@@ -4629,7 +4629,7 @@ const deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommandError = asyn
|
|
|
4629
4629
|
$fault: "client",
|
|
4630
4630
|
$metadata: deserializeMetadata(output),
|
|
4631
4631
|
});
|
|
4632
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4632
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4633
4633
|
}
|
|
4634
4634
|
};
|
|
4635
4635
|
const deserializeAws_restJson1GetPartnerAccountCommand = async (output, context) => {
|
|
@@ -4641,9 +4641,9 @@ const deserializeAws_restJson1GetPartnerAccountCommand = async (output, context)
|
|
|
4641
4641
|
AccountLinked: undefined,
|
|
4642
4642
|
Sidewalk: undefined,
|
|
4643
4643
|
};
|
|
4644
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4644
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4645
4645
|
if (data.AccountLinked !== undefined && data.AccountLinked !== null) {
|
|
4646
|
-
contents.AccountLinked = smithy_client_1.expectBoolean(data.AccountLinked);
|
|
4646
|
+
contents.AccountLinked = (0, smithy_client_1.expectBoolean)(data.AccountLinked);
|
|
4647
4647
|
}
|
|
4648
4648
|
if (data.Sidewalk !== undefined && data.Sidewalk !== null) {
|
|
4649
4649
|
contents.Sidewalk = deserializeAws_restJson1SidewalkAccountInfoWithFingerprint(data.Sidewalk, context);
|
|
@@ -4679,7 +4679,7 @@ const deserializeAws_restJson1GetPartnerAccountCommandError = async (output, con
|
|
|
4679
4679
|
$fault: "client",
|
|
4680
4680
|
$metadata: deserializeMetadata(output),
|
|
4681
4681
|
});
|
|
4682
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4682
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4683
4683
|
}
|
|
4684
4684
|
};
|
|
4685
4685
|
const deserializeAws_restJson1GetResourceEventConfigurationCommand = async (output, context) => {
|
|
@@ -4691,7 +4691,7 @@ const deserializeAws_restJson1GetResourceEventConfigurationCommand = async (outp
|
|
|
4691
4691
|
DeviceRegistrationState: undefined,
|
|
4692
4692
|
Proximity: undefined,
|
|
4693
4693
|
};
|
|
4694
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4694
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4695
4695
|
if (data.DeviceRegistrationState !== undefined && data.DeviceRegistrationState !== null) {
|
|
4696
4696
|
contents.DeviceRegistrationState = deserializeAws_restJson1DeviceRegistrationStateEventConfiguration(data.DeviceRegistrationState, context);
|
|
4697
4697
|
}
|
|
@@ -4732,7 +4732,7 @@ const deserializeAws_restJson1GetResourceEventConfigurationCommandError = async
|
|
|
4732
4732
|
$fault: "client",
|
|
4733
4733
|
$metadata: deserializeMetadata(output),
|
|
4734
4734
|
});
|
|
4735
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4735
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4736
4736
|
}
|
|
4737
4737
|
};
|
|
4738
4738
|
const deserializeAws_restJson1GetResourceLogLevelCommand = async (output, context) => {
|
|
@@ -4743,9 +4743,9 @@ const deserializeAws_restJson1GetResourceLogLevelCommand = async (output, contex
|
|
|
4743
4743
|
$metadata: deserializeMetadata(output),
|
|
4744
4744
|
LogLevel: undefined,
|
|
4745
4745
|
};
|
|
4746
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4746
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4747
4747
|
if (data.LogLevel !== undefined && data.LogLevel !== null) {
|
|
4748
|
-
contents.LogLevel = smithy_client_1.expectString(data.LogLevel);
|
|
4748
|
+
contents.LogLevel = (0, smithy_client_1.expectString)(data.LogLevel);
|
|
4749
4749
|
}
|
|
4750
4750
|
return Promise.resolve(contents);
|
|
4751
4751
|
};
|
|
@@ -4781,7 +4781,7 @@ const deserializeAws_restJson1GetResourceLogLevelCommandError = async (output, c
|
|
|
4781
4781
|
$fault: "client",
|
|
4782
4782
|
$metadata: deserializeMetadata(output),
|
|
4783
4783
|
});
|
|
4784
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4784
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4785
4785
|
}
|
|
4786
4786
|
};
|
|
4787
4787
|
const deserializeAws_restJson1GetServiceEndpointCommand = async (output, context) => {
|
|
@@ -4794,15 +4794,15 @@ const deserializeAws_restJson1GetServiceEndpointCommand = async (output, context
|
|
|
4794
4794
|
ServiceEndpoint: undefined,
|
|
4795
4795
|
ServiceType: undefined,
|
|
4796
4796
|
};
|
|
4797
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4797
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4798
4798
|
if (data.ServerTrust !== undefined && data.ServerTrust !== null) {
|
|
4799
|
-
contents.ServerTrust = smithy_client_1.expectString(data.ServerTrust);
|
|
4799
|
+
contents.ServerTrust = (0, smithy_client_1.expectString)(data.ServerTrust);
|
|
4800
4800
|
}
|
|
4801
4801
|
if (data.ServiceEndpoint !== undefined && data.ServiceEndpoint !== null) {
|
|
4802
|
-
contents.ServiceEndpoint = smithy_client_1.expectString(data.ServiceEndpoint);
|
|
4802
|
+
contents.ServiceEndpoint = (0, smithy_client_1.expectString)(data.ServiceEndpoint);
|
|
4803
4803
|
}
|
|
4804
4804
|
if (data.ServiceType !== undefined && data.ServiceType !== null) {
|
|
4805
|
-
contents.ServiceType = smithy_client_1.expectString(data.ServiceType);
|
|
4805
|
+
contents.ServiceType = (0, smithy_client_1.expectString)(data.ServiceType);
|
|
4806
4806
|
}
|
|
4807
4807
|
return Promise.resolve(contents);
|
|
4808
4808
|
};
|
|
@@ -4835,7 +4835,7 @@ const deserializeAws_restJson1GetServiceEndpointCommandError = async (output, co
|
|
|
4835
4835
|
$fault: "client",
|
|
4836
4836
|
$metadata: deserializeMetadata(output),
|
|
4837
4837
|
});
|
|
4838
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4838
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4839
4839
|
}
|
|
4840
4840
|
};
|
|
4841
4841
|
const deserializeAws_restJson1GetServiceProfileCommand = async (output, context) => {
|
|
@@ -4849,18 +4849,18 @@ const deserializeAws_restJson1GetServiceProfileCommand = async (output, context)
|
|
|
4849
4849
|
LoRaWAN: undefined,
|
|
4850
4850
|
Name: undefined,
|
|
4851
4851
|
};
|
|
4852
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4852
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4853
4853
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4854
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4854
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4855
4855
|
}
|
|
4856
4856
|
if (data.Id !== undefined && data.Id !== null) {
|
|
4857
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
4857
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4858
4858
|
}
|
|
4859
4859
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4860
4860
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANGetServiceProfileInfo(data.LoRaWAN, context);
|
|
4861
4861
|
}
|
|
4862
4862
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4863
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4863
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4864
4864
|
}
|
|
4865
4865
|
return Promise.resolve(contents);
|
|
4866
4866
|
};
|
|
@@ -4896,7 +4896,7 @@ const deserializeAws_restJson1GetServiceProfileCommandError = async (output, con
|
|
|
4896
4896
|
$fault: "client",
|
|
4897
4897
|
$metadata: deserializeMetadata(output),
|
|
4898
4898
|
});
|
|
4899
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4899
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4900
4900
|
}
|
|
4901
4901
|
};
|
|
4902
4902
|
const deserializeAws_restJson1GetWirelessDeviceCommand = async (output, context) => {
|
|
@@ -4916,36 +4916,36 @@ const deserializeAws_restJson1GetWirelessDeviceCommand = async (output, context)
|
|
|
4916
4916
|
ThingName: undefined,
|
|
4917
4917
|
Type: undefined,
|
|
4918
4918
|
};
|
|
4919
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4919
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4920
4920
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
4921
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
4921
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
4922
4922
|
}
|
|
4923
4923
|
if (data.Description !== undefined && data.Description !== null) {
|
|
4924
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
4924
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
4925
4925
|
}
|
|
4926
4926
|
if (data.DestinationName !== undefined && data.DestinationName !== null) {
|
|
4927
|
-
contents.DestinationName = smithy_client_1.expectString(data.DestinationName);
|
|
4927
|
+
contents.DestinationName = (0, smithy_client_1.expectString)(data.DestinationName);
|
|
4928
4928
|
}
|
|
4929
4929
|
if (data.Id !== undefined && data.Id !== null) {
|
|
4930
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
4930
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
4931
4931
|
}
|
|
4932
4932
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
4933
4933
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANDevice(data.LoRaWAN, context);
|
|
4934
4934
|
}
|
|
4935
4935
|
if (data.Name !== undefined && data.Name !== null) {
|
|
4936
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
4936
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
4937
4937
|
}
|
|
4938
4938
|
if (data.Sidewalk !== undefined && data.Sidewalk !== null) {
|
|
4939
4939
|
contents.Sidewalk = deserializeAws_restJson1SidewalkDevice(data.Sidewalk, context);
|
|
4940
4940
|
}
|
|
4941
4941
|
if (data.ThingArn !== undefined && data.ThingArn !== null) {
|
|
4942
|
-
contents.ThingArn = smithy_client_1.expectString(data.ThingArn);
|
|
4942
|
+
contents.ThingArn = (0, smithy_client_1.expectString)(data.ThingArn);
|
|
4943
4943
|
}
|
|
4944
4944
|
if (data.ThingName !== undefined && data.ThingName !== null) {
|
|
4945
|
-
contents.ThingName = smithy_client_1.expectString(data.ThingName);
|
|
4945
|
+
contents.ThingName = (0, smithy_client_1.expectString)(data.ThingName);
|
|
4946
4946
|
}
|
|
4947
4947
|
if (data.Type !== undefined && data.Type !== null) {
|
|
4948
|
-
contents.Type = smithy_client_1.expectString(data.Type);
|
|
4948
|
+
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
4949
4949
|
}
|
|
4950
4950
|
return Promise.resolve(contents);
|
|
4951
4951
|
};
|
|
@@ -4981,7 +4981,7 @@ const deserializeAws_restJson1GetWirelessDeviceCommandError = async (output, con
|
|
|
4981
4981
|
$fault: "client",
|
|
4982
4982
|
$metadata: deserializeMetadata(output),
|
|
4983
4983
|
});
|
|
4984
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4984
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4985
4985
|
}
|
|
4986
4986
|
};
|
|
4987
4987
|
const deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (output, context) => {
|
|
@@ -4995,9 +4995,9 @@ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (output
|
|
|
4995
4995
|
Sidewalk: undefined,
|
|
4996
4996
|
WirelessDeviceId: undefined,
|
|
4997
4997
|
};
|
|
4998
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4998
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4999
4999
|
if (data.LastUplinkReceivedAt !== undefined && data.LastUplinkReceivedAt !== null) {
|
|
5000
|
-
contents.LastUplinkReceivedAt = smithy_client_1.expectString(data.LastUplinkReceivedAt);
|
|
5000
|
+
contents.LastUplinkReceivedAt = (0, smithy_client_1.expectString)(data.LastUplinkReceivedAt);
|
|
5001
5001
|
}
|
|
5002
5002
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
5003
5003
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANDeviceMetadata(data.LoRaWAN, context);
|
|
@@ -5006,7 +5006,7 @@ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommand = async (output
|
|
|
5006
5006
|
contents.Sidewalk = deserializeAws_restJson1SidewalkDeviceMetadata(data.Sidewalk, context);
|
|
5007
5007
|
}
|
|
5008
5008
|
if (data.WirelessDeviceId !== undefined && data.WirelessDeviceId !== null) {
|
|
5009
|
-
contents.WirelessDeviceId = smithy_client_1.expectString(data.WirelessDeviceId);
|
|
5009
|
+
contents.WirelessDeviceId = (0, smithy_client_1.expectString)(data.WirelessDeviceId);
|
|
5010
5010
|
}
|
|
5011
5011
|
return Promise.resolve(contents);
|
|
5012
5012
|
};
|
|
@@ -5042,7 +5042,7 @@ const deserializeAws_restJson1GetWirelessDeviceStatisticsCommandError = async (o
|
|
|
5042
5042
|
$fault: "client",
|
|
5043
5043
|
$metadata: deserializeMetadata(output),
|
|
5044
5044
|
});
|
|
5045
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5045
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5046
5046
|
}
|
|
5047
5047
|
};
|
|
5048
5048
|
const deserializeAws_restJson1GetWirelessGatewayCommand = async (output, context) => {
|
|
@@ -5059,27 +5059,27 @@ const deserializeAws_restJson1GetWirelessGatewayCommand = async (output, context
|
|
|
5059
5059
|
ThingArn: undefined,
|
|
5060
5060
|
ThingName: undefined,
|
|
5061
5061
|
};
|
|
5062
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5062
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5063
5063
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5064
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
5064
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
5065
5065
|
}
|
|
5066
5066
|
if (data.Description !== undefined && data.Description !== null) {
|
|
5067
|
-
contents.Description = smithy_client_1.expectString(data.Description);
|
|
5067
|
+
contents.Description = (0, smithy_client_1.expectString)(data.Description);
|
|
5068
5068
|
}
|
|
5069
5069
|
if (data.Id !== undefined && data.Id !== null) {
|
|
5070
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
5070
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
5071
5071
|
}
|
|
5072
5072
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
5073
5073
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANGateway(data.LoRaWAN, context);
|
|
5074
5074
|
}
|
|
5075
5075
|
if (data.Name !== undefined && data.Name !== null) {
|
|
5076
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
5076
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
5077
5077
|
}
|
|
5078
5078
|
if (data.ThingArn !== undefined && data.ThingArn !== null) {
|
|
5079
|
-
contents.ThingArn = smithy_client_1.expectString(data.ThingArn);
|
|
5079
|
+
contents.ThingArn = (0, smithy_client_1.expectString)(data.ThingArn);
|
|
5080
5080
|
}
|
|
5081
5081
|
if (data.ThingName !== undefined && data.ThingName !== null) {
|
|
5082
|
-
contents.ThingName = smithy_client_1.expectString(data.ThingName);
|
|
5082
|
+
contents.ThingName = (0, smithy_client_1.expectString)(data.ThingName);
|
|
5083
5083
|
}
|
|
5084
5084
|
return Promise.resolve(contents);
|
|
5085
5085
|
};
|
|
@@ -5115,7 +5115,7 @@ const deserializeAws_restJson1GetWirelessGatewayCommandError = async (output, co
|
|
|
5115
5115
|
$fault: "client",
|
|
5116
5116
|
$metadata: deserializeMetadata(output),
|
|
5117
5117
|
});
|
|
5118
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5118
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5119
5119
|
}
|
|
5120
5120
|
};
|
|
5121
5121
|
const deserializeAws_restJson1GetWirelessGatewayCertificateCommand = async (output, context) => {
|
|
@@ -5127,12 +5127,12 @@ const deserializeAws_restJson1GetWirelessGatewayCertificateCommand = async (outp
|
|
|
5127
5127
|
IotCertificateId: undefined,
|
|
5128
5128
|
LoRaWANNetworkServerCertificateId: undefined,
|
|
5129
5129
|
};
|
|
5130
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5130
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5131
5131
|
if (data.IotCertificateId !== undefined && data.IotCertificateId !== null) {
|
|
5132
|
-
contents.IotCertificateId = smithy_client_1.expectString(data.IotCertificateId);
|
|
5132
|
+
contents.IotCertificateId = (0, smithy_client_1.expectString)(data.IotCertificateId);
|
|
5133
5133
|
}
|
|
5134
5134
|
if (data.LoRaWANNetworkServerCertificateId !== undefined && data.LoRaWANNetworkServerCertificateId !== null) {
|
|
5135
|
-
contents.LoRaWANNetworkServerCertificateId = smithy_client_1.expectString(data.LoRaWANNetworkServerCertificateId);
|
|
5135
|
+
contents.LoRaWANNetworkServerCertificateId = (0, smithy_client_1.expectString)(data.LoRaWANNetworkServerCertificateId);
|
|
5136
5136
|
}
|
|
5137
5137
|
return Promise.resolve(contents);
|
|
5138
5138
|
};
|
|
@@ -5168,7 +5168,7 @@ const deserializeAws_restJson1GetWirelessGatewayCertificateCommandError = async
|
|
|
5168
5168
|
$fault: "client",
|
|
5169
5169
|
$metadata: deserializeMetadata(output),
|
|
5170
5170
|
});
|
|
5171
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5171
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5172
5172
|
}
|
|
5173
5173
|
};
|
|
5174
5174
|
const deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = async (output, context) => {
|
|
@@ -5179,7 +5179,7 @@ const deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand = asy
|
|
|
5179
5179
|
$metadata: deserializeMetadata(output),
|
|
5180
5180
|
LoRaWAN: undefined,
|
|
5181
5181
|
};
|
|
5182
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5182
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5183
5183
|
if (data.LoRaWAN !== undefined && data.LoRaWAN !== null) {
|
|
5184
5184
|
contents.LoRaWAN = deserializeAws_restJson1LoRaWANGatewayCurrentVersion(data.LoRaWAN, context);
|
|
5185
5185
|
}
|
|
@@ -5217,7 +5217,7 @@ const deserializeAws_restJson1GetWirelessGatewayFirmwareInformationCommandError
|
|
|
5217
5217
|
$fault: "client",
|
|
5218
5218
|
$metadata: deserializeMetadata(output),
|
|
5219
5219
|
});
|
|
5220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5221
5221
|
}
|
|
5222
5222
|
};
|
|
5223
5223
|
const deserializeAws_restJson1GetWirelessGatewayStatisticsCommand = async (output, context) => {
|
|
@@ -5230,15 +5230,15 @@ const deserializeAws_restJson1GetWirelessGatewayStatisticsCommand = async (outpu
|
|
|
5230
5230
|
LastUplinkReceivedAt: undefined,
|
|
5231
5231
|
WirelessGatewayId: undefined,
|
|
5232
5232
|
};
|
|
5233
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5233
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5234
5234
|
if (data.ConnectionStatus !== undefined && data.ConnectionStatus !== null) {
|
|
5235
|
-
contents.ConnectionStatus = smithy_client_1.expectString(data.ConnectionStatus);
|
|
5235
|
+
contents.ConnectionStatus = (0, smithy_client_1.expectString)(data.ConnectionStatus);
|
|
5236
5236
|
}
|
|
5237
5237
|
if (data.LastUplinkReceivedAt !== undefined && data.LastUplinkReceivedAt !== null) {
|
|
5238
|
-
contents.LastUplinkReceivedAt = smithy_client_1.expectString(data.LastUplinkReceivedAt);
|
|
5238
|
+
contents.LastUplinkReceivedAt = (0, smithy_client_1.expectString)(data.LastUplinkReceivedAt);
|
|
5239
5239
|
}
|
|
5240
5240
|
if (data.WirelessGatewayId !== undefined && data.WirelessGatewayId !== null) {
|
|
5241
|
-
contents.WirelessGatewayId = smithy_client_1.expectString(data.WirelessGatewayId);
|
|
5241
|
+
contents.WirelessGatewayId = (0, smithy_client_1.expectString)(data.WirelessGatewayId);
|
|
5242
5242
|
}
|
|
5243
5243
|
return Promise.resolve(contents);
|
|
5244
5244
|
};
|
|
@@ -5274,7 +5274,7 @@ const deserializeAws_restJson1GetWirelessGatewayStatisticsCommandError = async (
|
|
|
5274
5274
|
$fault: "client",
|
|
5275
5275
|
$metadata: deserializeMetadata(output),
|
|
5276
5276
|
});
|
|
5277
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5277
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5278
5278
|
}
|
|
5279
5279
|
};
|
|
5280
5280
|
const deserializeAws_restJson1GetWirelessGatewayTaskCommand = async (output, context) => {
|
|
@@ -5289,21 +5289,21 @@ const deserializeAws_restJson1GetWirelessGatewayTaskCommand = async (output, con
|
|
|
5289
5289
|
WirelessGatewayId: undefined,
|
|
5290
5290
|
WirelessGatewayTaskDefinitionId: undefined,
|
|
5291
5291
|
};
|
|
5292
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5292
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5293
5293
|
if (data.LastUplinkReceivedAt !== undefined && data.LastUplinkReceivedAt !== null) {
|
|
5294
|
-
contents.LastUplinkReceivedAt = smithy_client_1.expectString(data.LastUplinkReceivedAt);
|
|
5294
|
+
contents.LastUplinkReceivedAt = (0, smithy_client_1.expectString)(data.LastUplinkReceivedAt);
|
|
5295
5295
|
}
|
|
5296
5296
|
if (data.Status !== undefined && data.Status !== null) {
|
|
5297
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
5297
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
5298
5298
|
}
|
|
5299
5299
|
if (data.TaskCreatedAt !== undefined && data.TaskCreatedAt !== null) {
|
|
5300
|
-
contents.TaskCreatedAt = smithy_client_1.expectString(data.TaskCreatedAt);
|
|
5300
|
+
contents.TaskCreatedAt = (0, smithy_client_1.expectString)(data.TaskCreatedAt);
|
|
5301
5301
|
}
|
|
5302
5302
|
if (data.WirelessGatewayId !== undefined && data.WirelessGatewayId !== null) {
|
|
5303
|
-
contents.WirelessGatewayId = smithy_client_1.expectString(data.WirelessGatewayId);
|
|
5303
|
+
contents.WirelessGatewayId = (0, smithy_client_1.expectString)(data.WirelessGatewayId);
|
|
5304
5304
|
}
|
|
5305
5305
|
if (data.WirelessGatewayTaskDefinitionId !== undefined && data.WirelessGatewayTaskDefinitionId !== null) {
|
|
5306
|
-
contents.WirelessGatewayTaskDefinitionId = smithy_client_1.expectString(data.WirelessGatewayTaskDefinitionId);
|
|
5306
|
+
contents.WirelessGatewayTaskDefinitionId = (0, smithy_client_1.expectString)(data.WirelessGatewayTaskDefinitionId);
|
|
5307
5307
|
}
|
|
5308
5308
|
return Promise.resolve(contents);
|
|
5309
5309
|
};
|
|
@@ -5339,7 +5339,7 @@ const deserializeAws_restJson1GetWirelessGatewayTaskCommandError = async (output
|
|
|
5339
5339
|
$fault: "client",
|
|
5340
5340
|
$metadata: deserializeMetadata(output),
|
|
5341
5341
|
});
|
|
5342
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5342
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5343
5343
|
}
|
|
5344
5344
|
};
|
|
5345
5345
|
const deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = async (output, context) => {
|
|
@@ -5353,15 +5353,15 @@ const deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = async (o
|
|
|
5353
5353
|
Name: undefined,
|
|
5354
5354
|
Update: undefined,
|
|
5355
5355
|
};
|
|
5356
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5356
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5357
5357
|
if (data.Arn !== undefined && data.Arn !== null) {
|
|
5358
|
-
contents.Arn = smithy_client_1.expectString(data.Arn);
|
|
5358
|
+
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
5359
5359
|
}
|
|
5360
5360
|
if (data.AutoCreateTasks !== undefined && data.AutoCreateTasks !== null) {
|
|
5361
|
-
contents.AutoCreateTasks = smithy_client_1.expectBoolean(data.AutoCreateTasks);
|
|
5361
|
+
contents.AutoCreateTasks = (0, smithy_client_1.expectBoolean)(data.AutoCreateTasks);
|
|
5362
5362
|
}
|
|
5363
5363
|
if (data.Name !== undefined && data.Name !== null) {
|
|
5364
|
-
contents.Name = smithy_client_1.expectString(data.Name);
|
|
5364
|
+
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
5365
5365
|
}
|
|
5366
5366
|
if (data.Update !== undefined && data.Update !== null) {
|
|
5367
5367
|
contents.Update = deserializeAws_restJson1UpdateWirelessGatewayTaskCreate(data.Update, context);
|
|
@@ -5400,7 +5400,7 @@ const deserializeAws_restJson1GetWirelessGatewayTaskDefinitionCommandError = asy
|
|
|
5400
5400
|
$fault: "client",
|
|
5401
5401
|
$metadata: deserializeMetadata(output),
|
|
5402
5402
|
});
|
|
5403
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5403
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5404
5404
|
}
|
|
5405
5405
|
};
|
|
5406
5406
|
const deserializeAws_restJson1ListDestinationsCommand = async (output, context) => {
|
|
@@ -5412,12 +5412,12 @@ const deserializeAws_restJson1ListDestinationsCommand = async (output, context)
|
|
|
5412
5412
|
DestinationList: undefined,
|
|
5413
5413
|
NextToken: undefined,
|
|
5414
5414
|
};
|
|
5415
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5415
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5416
5416
|
if (data.DestinationList !== undefined && data.DestinationList !== null) {
|
|
5417
5417
|
contents.DestinationList = deserializeAws_restJson1DestinationList(data.DestinationList, context);
|
|
5418
5418
|
}
|
|
5419
5419
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5420
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5420
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5421
5421
|
}
|
|
5422
5422
|
return Promise.resolve(contents);
|
|
5423
5423
|
};
|
|
@@ -5450,7 +5450,7 @@ const deserializeAws_restJson1ListDestinationsCommandError = async (output, cont
|
|
|
5450
5450
|
$fault: "client",
|
|
5451
5451
|
$metadata: deserializeMetadata(output),
|
|
5452
5452
|
});
|
|
5453
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5453
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5454
5454
|
}
|
|
5455
5455
|
};
|
|
5456
5456
|
const deserializeAws_restJson1ListDeviceProfilesCommand = async (output, context) => {
|
|
@@ -5462,12 +5462,12 @@ const deserializeAws_restJson1ListDeviceProfilesCommand = async (output, context
|
|
|
5462
5462
|
DeviceProfileList: undefined,
|
|
5463
5463
|
NextToken: undefined,
|
|
5464
5464
|
};
|
|
5465
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5465
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5466
5466
|
if (data.DeviceProfileList !== undefined && data.DeviceProfileList !== null) {
|
|
5467
5467
|
contents.DeviceProfileList = deserializeAws_restJson1DeviceProfileList(data.DeviceProfileList, context);
|
|
5468
5468
|
}
|
|
5469
5469
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5470
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5470
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5471
5471
|
}
|
|
5472
5472
|
return Promise.resolve(contents);
|
|
5473
5473
|
};
|
|
@@ -5500,7 +5500,7 @@ const deserializeAws_restJson1ListDeviceProfilesCommandError = async (output, co
|
|
|
5500
5500
|
$fault: "client",
|
|
5501
5501
|
$metadata: deserializeMetadata(output),
|
|
5502
5502
|
});
|
|
5503
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5503
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5504
5504
|
}
|
|
5505
5505
|
};
|
|
5506
5506
|
const deserializeAws_restJson1ListFuotaTasksCommand = async (output, context) => {
|
|
@@ -5512,12 +5512,12 @@ const deserializeAws_restJson1ListFuotaTasksCommand = async (output, context) =>
|
|
|
5512
5512
|
FuotaTaskList: undefined,
|
|
5513
5513
|
NextToken: undefined,
|
|
5514
5514
|
};
|
|
5515
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5515
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5516
5516
|
if (data.FuotaTaskList !== undefined && data.FuotaTaskList !== null) {
|
|
5517
5517
|
contents.FuotaTaskList = deserializeAws_restJson1FuotaTaskList(data.FuotaTaskList, context);
|
|
5518
5518
|
}
|
|
5519
5519
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5520
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5520
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5521
5521
|
}
|
|
5522
5522
|
return Promise.resolve(contents);
|
|
5523
5523
|
};
|
|
@@ -5550,7 +5550,7 @@ const deserializeAws_restJson1ListFuotaTasksCommandError = async (output, contex
|
|
|
5550
5550
|
$fault: "client",
|
|
5551
5551
|
$metadata: deserializeMetadata(output),
|
|
5552
5552
|
});
|
|
5553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5554
5554
|
}
|
|
5555
5555
|
};
|
|
5556
5556
|
const deserializeAws_restJson1ListMulticastGroupsCommand = async (output, context) => {
|
|
@@ -5562,12 +5562,12 @@ const deserializeAws_restJson1ListMulticastGroupsCommand = async (output, contex
|
|
|
5562
5562
|
MulticastGroupList: undefined,
|
|
5563
5563
|
NextToken: undefined,
|
|
5564
5564
|
};
|
|
5565
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5565
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5566
5566
|
if (data.MulticastGroupList !== undefined && data.MulticastGroupList !== null) {
|
|
5567
5567
|
contents.MulticastGroupList = deserializeAws_restJson1MulticastGroupList(data.MulticastGroupList, context);
|
|
5568
5568
|
}
|
|
5569
5569
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5570
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5570
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5571
5571
|
}
|
|
5572
5572
|
return Promise.resolve(contents);
|
|
5573
5573
|
};
|
|
@@ -5600,7 +5600,7 @@ const deserializeAws_restJson1ListMulticastGroupsCommandError = async (output, c
|
|
|
5600
5600
|
$fault: "client",
|
|
5601
5601
|
$metadata: deserializeMetadata(output),
|
|
5602
5602
|
});
|
|
5603
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5603
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5604
5604
|
}
|
|
5605
5605
|
};
|
|
5606
5606
|
const deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = async (output, context) => {
|
|
@@ -5612,12 +5612,12 @@ const deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = async (out
|
|
|
5612
5612
|
MulticastGroupList: undefined,
|
|
5613
5613
|
NextToken: undefined,
|
|
5614
5614
|
};
|
|
5615
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5615
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5616
5616
|
if (data.MulticastGroupList !== undefined && data.MulticastGroupList !== null) {
|
|
5617
5617
|
contents.MulticastGroupList = deserializeAws_restJson1MulticastGroupListByFuotaTask(data.MulticastGroupList, context);
|
|
5618
5618
|
}
|
|
5619
5619
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5620
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5620
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5621
5621
|
}
|
|
5622
5622
|
return Promise.resolve(contents);
|
|
5623
5623
|
};
|
|
@@ -5653,7 +5653,7 @@ const deserializeAws_restJson1ListMulticastGroupsByFuotaTaskCommandError = async
|
|
|
5653
5653
|
$fault: "client",
|
|
5654
5654
|
$metadata: deserializeMetadata(output),
|
|
5655
5655
|
});
|
|
5656
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5656
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5657
5657
|
}
|
|
5658
5658
|
};
|
|
5659
5659
|
const deserializeAws_restJson1ListPartnerAccountsCommand = async (output, context) => {
|
|
@@ -5665,9 +5665,9 @@ const deserializeAws_restJson1ListPartnerAccountsCommand = async (output, contex
|
|
|
5665
5665
|
NextToken: undefined,
|
|
5666
5666
|
Sidewalk: undefined,
|
|
5667
5667
|
};
|
|
5668
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5668
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5669
5669
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5670
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5670
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5671
5671
|
}
|
|
5672
5672
|
if (data.Sidewalk !== undefined && data.Sidewalk !== null) {
|
|
5673
5673
|
contents.Sidewalk = deserializeAws_restJson1SidewalkAccountList(data.Sidewalk, context);
|
|
@@ -5703,7 +5703,7 @@ const deserializeAws_restJson1ListPartnerAccountsCommandError = async (output, c
|
|
|
5703
5703
|
$fault: "client",
|
|
5704
5704
|
$metadata: deserializeMetadata(output),
|
|
5705
5705
|
});
|
|
5706
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5706
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5707
5707
|
}
|
|
5708
5708
|
};
|
|
5709
5709
|
const deserializeAws_restJson1ListQueuedMessagesCommand = async (output, context) => {
|
|
@@ -5715,12 +5715,12 @@ const deserializeAws_restJson1ListQueuedMessagesCommand = async (output, context
|
|
|
5715
5715
|
DownlinkQueueMessagesList: undefined,
|
|
5716
5716
|
NextToken: undefined,
|
|
5717
5717
|
};
|
|
5718
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5718
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5719
5719
|
if (data.DownlinkQueueMessagesList !== undefined && data.DownlinkQueueMessagesList !== null) {
|
|
5720
5720
|
contents.DownlinkQueueMessagesList = deserializeAws_restJson1DownlinkQueueMessagesList(data.DownlinkQueueMessagesList, context);
|
|
5721
5721
|
}
|
|
5722
5722
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5723
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5723
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5724
5724
|
}
|
|
5725
5725
|
return Promise.resolve(contents);
|
|
5726
5726
|
};
|
|
@@ -5756,7 +5756,7 @@ const deserializeAws_restJson1ListQueuedMessagesCommandError = async (output, co
|
|
|
5756
5756
|
$fault: "client",
|
|
5757
5757
|
$metadata: deserializeMetadata(output),
|
|
5758
5758
|
});
|
|
5759
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5759
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5760
5760
|
}
|
|
5761
5761
|
};
|
|
5762
5762
|
const deserializeAws_restJson1ListServiceProfilesCommand = async (output, context) => {
|
|
@@ -5768,9 +5768,9 @@ const deserializeAws_restJson1ListServiceProfilesCommand = async (output, contex
|
|
|
5768
5768
|
NextToken: undefined,
|
|
5769
5769
|
ServiceProfileList: undefined,
|
|
5770
5770
|
};
|
|
5771
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5771
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5772
5772
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5773
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5773
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5774
5774
|
}
|
|
5775
5775
|
if (data.ServiceProfileList !== undefined && data.ServiceProfileList !== null) {
|
|
5776
5776
|
contents.ServiceProfileList = deserializeAws_restJson1ServiceProfileList(data.ServiceProfileList, context);
|
|
@@ -5806,7 +5806,7 @@ const deserializeAws_restJson1ListServiceProfilesCommandError = async (output, c
|
|
|
5806
5806
|
$fault: "client",
|
|
5807
5807
|
$metadata: deserializeMetadata(output),
|
|
5808
5808
|
});
|
|
5809
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5809
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5810
5810
|
}
|
|
5811
5811
|
};
|
|
5812
5812
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -5817,7 +5817,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
5817
5817
|
$metadata: deserializeMetadata(output),
|
|
5818
5818
|
Tags: undefined,
|
|
5819
5819
|
};
|
|
5820
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5820
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5821
5821
|
if (data.Tags !== undefined && data.Tags !== null) {
|
|
5822
5822
|
contents.Tags = deserializeAws_restJson1TagList(data.Tags, context);
|
|
5823
5823
|
}
|
|
@@ -5855,7 +5855,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
5855
5855
|
$fault: "client",
|
|
5856
5856
|
$metadata: deserializeMetadata(output),
|
|
5857
5857
|
});
|
|
5858
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5858
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5859
5859
|
}
|
|
5860
5860
|
};
|
|
5861
5861
|
const deserializeAws_restJson1ListWirelessDevicesCommand = async (output, context) => {
|
|
@@ -5867,9 +5867,9 @@ const deserializeAws_restJson1ListWirelessDevicesCommand = async (output, contex
|
|
|
5867
5867
|
NextToken: undefined,
|
|
5868
5868
|
WirelessDeviceList: undefined,
|
|
5869
5869
|
};
|
|
5870
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5870
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5871
5871
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5872
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5872
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5873
5873
|
}
|
|
5874
5874
|
if (data.WirelessDeviceList !== undefined && data.WirelessDeviceList !== null) {
|
|
5875
5875
|
contents.WirelessDeviceList = deserializeAws_restJson1WirelessDeviceStatisticsList(data.WirelessDeviceList, context);
|
|
@@ -5905,7 +5905,7 @@ const deserializeAws_restJson1ListWirelessDevicesCommandError = async (output, c
|
|
|
5905
5905
|
$fault: "client",
|
|
5906
5906
|
$metadata: deserializeMetadata(output),
|
|
5907
5907
|
});
|
|
5908
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5908
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5909
5909
|
}
|
|
5910
5910
|
};
|
|
5911
5911
|
const deserializeAws_restJson1ListWirelessGatewaysCommand = async (output, context) => {
|
|
@@ -5917,9 +5917,9 @@ const deserializeAws_restJson1ListWirelessGatewaysCommand = async (output, conte
|
|
|
5917
5917
|
NextToken: undefined,
|
|
5918
5918
|
WirelessGatewayList: undefined,
|
|
5919
5919
|
};
|
|
5920
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5920
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5921
5921
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5922
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5922
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5923
5923
|
}
|
|
5924
5924
|
if (data.WirelessGatewayList !== undefined && data.WirelessGatewayList !== null) {
|
|
5925
5925
|
contents.WirelessGatewayList = deserializeAws_restJson1WirelessGatewayStatisticsList(data.WirelessGatewayList, context);
|
|
@@ -5955,7 +5955,7 @@ const deserializeAws_restJson1ListWirelessGatewaysCommandError = async (output,
|
|
|
5955
5955
|
$fault: "client",
|
|
5956
5956
|
$metadata: deserializeMetadata(output),
|
|
5957
5957
|
});
|
|
5958
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
5958
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
5959
5959
|
}
|
|
5960
5960
|
};
|
|
5961
5961
|
const deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = async (output, context) => {
|
|
@@ -5967,9 +5967,9 @@ const deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = async
|
|
|
5967
5967
|
NextToken: undefined,
|
|
5968
5968
|
TaskDefinitions: undefined,
|
|
5969
5969
|
};
|
|
5970
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5970
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
5971
5971
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
5972
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
5972
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
5973
5973
|
}
|
|
5974
5974
|
if (data.TaskDefinitions !== undefined && data.TaskDefinitions !== null) {
|
|
5975
5975
|
contents.TaskDefinitions = deserializeAws_restJson1WirelessGatewayTaskDefinitionList(data.TaskDefinitions, context);
|
|
@@ -6005,7 +6005,7 @@ const deserializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommandError = a
|
|
|
6005
6005
|
$fault: "client",
|
|
6006
6006
|
$metadata: deserializeMetadata(output),
|
|
6007
6007
|
});
|
|
6008
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6008
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6009
6009
|
}
|
|
6010
6010
|
};
|
|
6011
6011
|
const deserializeAws_restJson1PutResourceLogLevelCommand = async (output, context) => {
|
|
@@ -6050,7 +6050,7 @@ const deserializeAws_restJson1PutResourceLogLevelCommandError = async (output, c
|
|
|
6050
6050
|
$fault: "client",
|
|
6051
6051
|
$metadata: deserializeMetadata(output),
|
|
6052
6052
|
});
|
|
6053
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6053
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6054
6054
|
}
|
|
6055
6055
|
};
|
|
6056
6056
|
const deserializeAws_restJson1ResetAllResourceLogLevelsCommand = async (output, context) => {
|
|
@@ -6095,7 +6095,7 @@ const deserializeAws_restJson1ResetAllResourceLogLevelsCommandError = async (out
|
|
|
6095
6095
|
$fault: "client",
|
|
6096
6096
|
$metadata: deserializeMetadata(output),
|
|
6097
6097
|
});
|
|
6098
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6098
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6099
6099
|
}
|
|
6100
6100
|
};
|
|
6101
6101
|
const deserializeAws_restJson1ResetResourceLogLevelCommand = async (output, context) => {
|
|
@@ -6140,7 +6140,7 @@ const deserializeAws_restJson1ResetResourceLogLevelCommandError = async (output,
|
|
|
6140
6140
|
$fault: "client",
|
|
6141
6141
|
$metadata: deserializeMetadata(output),
|
|
6142
6142
|
});
|
|
6143
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6143
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6144
6144
|
}
|
|
6145
6145
|
};
|
|
6146
6146
|
const deserializeAws_restJson1SendDataToMulticastGroupCommand = async (output, context) => {
|
|
@@ -6151,9 +6151,9 @@ const deserializeAws_restJson1SendDataToMulticastGroupCommand = async (output, c
|
|
|
6151
6151
|
$metadata: deserializeMetadata(output),
|
|
6152
6152
|
MessageId: undefined,
|
|
6153
6153
|
};
|
|
6154
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6154
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6155
6155
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
6156
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
6156
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
6157
6157
|
}
|
|
6158
6158
|
return Promise.resolve(contents);
|
|
6159
6159
|
};
|
|
@@ -6192,7 +6192,7 @@ const deserializeAws_restJson1SendDataToMulticastGroupCommandError = async (outp
|
|
|
6192
6192
|
$fault: "client",
|
|
6193
6193
|
$metadata: deserializeMetadata(output),
|
|
6194
6194
|
});
|
|
6195
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6195
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6196
6196
|
}
|
|
6197
6197
|
};
|
|
6198
6198
|
const deserializeAws_restJson1SendDataToWirelessDeviceCommand = async (output, context) => {
|
|
@@ -6203,9 +6203,9 @@ const deserializeAws_restJson1SendDataToWirelessDeviceCommand = async (output, c
|
|
|
6203
6203
|
$metadata: deserializeMetadata(output),
|
|
6204
6204
|
MessageId: undefined,
|
|
6205
6205
|
};
|
|
6206
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6206
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6207
6207
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
6208
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
6208
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
6209
6209
|
}
|
|
6210
6210
|
return Promise.resolve(contents);
|
|
6211
6211
|
};
|
|
@@ -6238,7 +6238,7 @@ const deserializeAws_restJson1SendDataToWirelessDeviceCommandError = async (outp
|
|
|
6238
6238
|
$fault: "client",
|
|
6239
6239
|
$metadata: deserializeMetadata(output),
|
|
6240
6240
|
});
|
|
6241
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6241
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6242
6242
|
}
|
|
6243
6243
|
};
|
|
6244
6244
|
const deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroupCommand = async (output, context) => {
|
|
@@ -6283,7 +6283,7 @@ const deserializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGroup
|
|
|
6283
6283
|
$fault: "client",
|
|
6284
6284
|
$metadata: deserializeMetadata(output),
|
|
6285
6285
|
});
|
|
6286
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6286
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6287
6287
|
}
|
|
6288
6288
|
};
|
|
6289
6289
|
const deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand = async (output, context) => {
|
|
@@ -6328,7 +6328,7 @@ const deserializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticastGr
|
|
|
6328
6328
|
$fault: "client",
|
|
6329
6329
|
$metadata: deserializeMetadata(output),
|
|
6330
6330
|
});
|
|
6331
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6331
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6332
6332
|
}
|
|
6333
6333
|
};
|
|
6334
6334
|
const deserializeAws_restJson1StartFuotaTaskCommand = async (output, context) => {
|
|
@@ -6376,7 +6376,7 @@ const deserializeAws_restJson1StartFuotaTaskCommandError = async (output, contex
|
|
|
6376
6376
|
$fault: "client",
|
|
6377
6377
|
$metadata: deserializeMetadata(output),
|
|
6378
6378
|
});
|
|
6379
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6379
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6380
6380
|
}
|
|
6381
6381
|
};
|
|
6382
6382
|
const deserializeAws_restJson1StartMulticastGroupSessionCommand = async (output, context) => {
|
|
@@ -6424,7 +6424,7 @@ const deserializeAws_restJson1StartMulticastGroupSessionCommandError = async (ou
|
|
|
6424
6424
|
$fault: "client",
|
|
6425
6425
|
$metadata: deserializeMetadata(output),
|
|
6426
6426
|
});
|
|
6427
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6427
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6428
6428
|
}
|
|
6429
6429
|
};
|
|
6430
6430
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -6472,7 +6472,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
6472
6472
|
$fault: "client",
|
|
6473
6473
|
$metadata: deserializeMetadata(output),
|
|
6474
6474
|
});
|
|
6475
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6475
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6476
6476
|
}
|
|
6477
6477
|
};
|
|
6478
6478
|
const deserializeAws_restJson1TestWirelessDeviceCommand = async (output, context) => {
|
|
@@ -6483,9 +6483,9 @@ const deserializeAws_restJson1TestWirelessDeviceCommand = async (output, context
|
|
|
6483
6483
|
$metadata: deserializeMetadata(output),
|
|
6484
6484
|
Result: undefined,
|
|
6485
6485
|
};
|
|
6486
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
6486
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
6487
6487
|
if (data.Result !== undefined && data.Result !== null) {
|
|
6488
|
-
contents.Result = smithy_client_1.expectString(data.Result);
|
|
6488
|
+
contents.Result = (0, smithy_client_1.expectString)(data.Result);
|
|
6489
6489
|
}
|
|
6490
6490
|
return Promise.resolve(contents);
|
|
6491
6491
|
};
|
|
@@ -6518,7 +6518,7 @@ const deserializeAws_restJson1TestWirelessDeviceCommandError = async (output, co
|
|
|
6518
6518
|
$fault: "client",
|
|
6519
6519
|
$metadata: deserializeMetadata(output),
|
|
6520
6520
|
});
|
|
6521
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6521
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6522
6522
|
}
|
|
6523
6523
|
};
|
|
6524
6524
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -6563,7 +6563,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
6563
6563
|
$fault: "client",
|
|
6564
6564
|
$metadata: deserializeMetadata(output),
|
|
6565
6565
|
});
|
|
6566
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6566
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6567
6567
|
}
|
|
6568
6568
|
};
|
|
6569
6569
|
const deserializeAws_restJson1UpdateDestinationCommand = async (output, context) => {
|
|
@@ -6608,7 +6608,7 @@ const deserializeAws_restJson1UpdateDestinationCommandError = async (output, con
|
|
|
6608
6608
|
$fault: "client",
|
|
6609
6609
|
$metadata: deserializeMetadata(output),
|
|
6610
6610
|
});
|
|
6611
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6611
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6612
6612
|
}
|
|
6613
6613
|
};
|
|
6614
6614
|
const deserializeAws_restJson1UpdateFuotaTaskCommand = async (output, context) => {
|
|
@@ -6656,7 +6656,7 @@ const deserializeAws_restJson1UpdateFuotaTaskCommandError = async (output, conte
|
|
|
6656
6656
|
$fault: "client",
|
|
6657
6657
|
$metadata: deserializeMetadata(output),
|
|
6658
6658
|
});
|
|
6659
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6659
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6660
6660
|
}
|
|
6661
6661
|
};
|
|
6662
6662
|
const deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = async (output, context) => {
|
|
@@ -6704,7 +6704,7 @@ const deserializeAws_restJson1UpdateLogLevelsByResourceTypesCommandError = async
|
|
|
6704
6704
|
$fault: "client",
|
|
6705
6705
|
$metadata: deserializeMetadata(output),
|
|
6706
6706
|
});
|
|
6707
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6707
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6708
6708
|
}
|
|
6709
6709
|
};
|
|
6710
6710
|
const deserializeAws_restJson1UpdateMulticastGroupCommand = async (output, context) => {
|
|
@@ -6752,7 +6752,7 @@ const deserializeAws_restJson1UpdateMulticastGroupCommandError = async (output,
|
|
|
6752
6752
|
$fault: "client",
|
|
6753
6753
|
$metadata: deserializeMetadata(output),
|
|
6754
6754
|
});
|
|
6755
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6755
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6756
6756
|
}
|
|
6757
6757
|
};
|
|
6758
6758
|
const deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = async (output, context) => {
|
|
@@ -6797,7 +6797,7 @@ const deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommandError = a
|
|
|
6797
6797
|
$fault: "client",
|
|
6798
6798
|
$metadata: deserializeMetadata(output),
|
|
6799
6799
|
});
|
|
6800
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6800
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6801
6801
|
}
|
|
6802
6802
|
};
|
|
6803
6803
|
const deserializeAws_restJson1UpdatePartnerAccountCommand = async (output, context) => {
|
|
@@ -6839,7 +6839,7 @@ const deserializeAws_restJson1UpdatePartnerAccountCommandError = async (output,
|
|
|
6839
6839
|
$fault: "client",
|
|
6840
6840
|
$metadata: deserializeMetadata(output),
|
|
6841
6841
|
});
|
|
6842
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6842
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6843
6843
|
}
|
|
6844
6844
|
};
|
|
6845
6845
|
const deserializeAws_restJson1UpdateResourceEventConfigurationCommand = async (output, context) => {
|
|
@@ -6887,7 +6887,7 @@ const deserializeAws_restJson1UpdateResourceEventConfigurationCommandError = asy
|
|
|
6887
6887
|
$fault: "client",
|
|
6888
6888
|
$metadata: deserializeMetadata(output),
|
|
6889
6889
|
});
|
|
6890
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6890
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6891
6891
|
}
|
|
6892
6892
|
};
|
|
6893
6893
|
const deserializeAws_restJson1UpdateWirelessDeviceCommand = async (output, context) => {
|
|
@@ -6932,7 +6932,7 @@ const deserializeAws_restJson1UpdateWirelessDeviceCommandError = async (output,
|
|
|
6932
6932
|
$fault: "client",
|
|
6933
6933
|
$metadata: deserializeMetadata(output),
|
|
6934
6934
|
});
|
|
6935
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6935
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6936
6936
|
}
|
|
6937
6937
|
};
|
|
6938
6938
|
const deserializeAws_restJson1UpdateWirelessGatewayCommand = async (output, context) => {
|
|
@@ -6977,107 +6977,107 @@ const deserializeAws_restJson1UpdateWirelessGatewayCommandError = async (output,
|
|
|
6977
6977
|
$fault: "client",
|
|
6978
6978
|
$metadata: deserializeMetadata(output),
|
|
6979
6979
|
});
|
|
6980
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
6980
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
6981
6981
|
}
|
|
6982
6982
|
};
|
|
6983
6983
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
6984
6984
|
const contents = {};
|
|
6985
6985
|
const data = parsedOutput.body;
|
|
6986
6986
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6987
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6987
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
6988
6988
|
}
|
|
6989
6989
|
const exception = new models_0_1.AccessDeniedException({
|
|
6990
6990
|
$metadata: deserializeMetadata(parsedOutput),
|
|
6991
6991
|
...contents,
|
|
6992
6992
|
});
|
|
6993
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
6993
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
6994
6994
|
};
|
|
6995
6995
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
6996
6996
|
const contents = {};
|
|
6997
6997
|
const data = parsedOutput.body;
|
|
6998
6998
|
if (data.Message !== undefined && data.Message !== null) {
|
|
6999
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
6999
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7000
7000
|
}
|
|
7001
7001
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
7002
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
7002
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
7003
7003
|
}
|
|
7004
7004
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
7005
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
7005
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
7006
7006
|
}
|
|
7007
7007
|
const exception = new models_0_1.ConflictException({
|
|
7008
7008
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7009
7009
|
...contents,
|
|
7010
7010
|
});
|
|
7011
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7011
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7012
7012
|
};
|
|
7013
7013
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
7014
7014
|
const contents = {};
|
|
7015
7015
|
const data = parsedOutput.body;
|
|
7016
7016
|
if (data.Message !== undefined && data.Message !== null) {
|
|
7017
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
7017
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7018
7018
|
}
|
|
7019
7019
|
const exception = new models_0_1.InternalServerException({
|
|
7020
7020
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7021
7021
|
...contents,
|
|
7022
7022
|
});
|
|
7023
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7023
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7024
7024
|
};
|
|
7025
7025
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
7026
7026
|
const contents = {};
|
|
7027
7027
|
const data = parsedOutput.body;
|
|
7028
7028
|
if (data.Message !== undefined && data.Message !== null) {
|
|
7029
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
7029
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7030
7030
|
}
|
|
7031
7031
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
7032
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
7032
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
7033
7033
|
}
|
|
7034
7034
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
7035
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
7035
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
7036
7036
|
}
|
|
7037
7037
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
7038
7038
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7039
7039
|
...contents,
|
|
7040
7040
|
});
|
|
7041
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7041
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7042
7042
|
};
|
|
7043
7043
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
7044
7044
|
const contents = {};
|
|
7045
7045
|
const data = parsedOutput.body;
|
|
7046
7046
|
if (data.Message !== undefined && data.Message !== null) {
|
|
7047
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
7047
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7048
7048
|
}
|
|
7049
7049
|
const exception = new models_0_1.ThrottlingException({
|
|
7050
7050
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7051
7051
|
...contents,
|
|
7052
7052
|
});
|
|
7053
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7053
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7054
7054
|
};
|
|
7055
7055
|
const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
7056
7056
|
const contents = {};
|
|
7057
7057
|
const data = parsedOutput.body;
|
|
7058
7058
|
if (data.Message !== undefined && data.Message !== null) {
|
|
7059
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
7059
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7060
7060
|
}
|
|
7061
7061
|
if (data.ResourceName !== undefined && data.ResourceName !== null) {
|
|
7062
|
-
contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
|
|
7062
|
+
contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
|
|
7063
7063
|
}
|
|
7064
7064
|
const exception = new models_0_1.TooManyTagsException({
|
|
7065
7065
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7066
7066
|
...contents,
|
|
7067
7067
|
});
|
|
7068
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7068
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7069
7069
|
};
|
|
7070
7070
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
7071
7071
|
const contents = {};
|
|
7072
7072
|
const data = parsedOutput.body;
|
|
7073
7073
|
if (data.Message !== undefined && data.Message !== null) {
|
|
7074
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
7074
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
7075
7075
|
}
|
|
7076
7076
|
const exception = new models_0_1.ValidationException({
|
|
7077
7077
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7078
7078
|
...contents,
|
|
7079
7079
|
});
|
|
7080
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
7080
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
7081
7081
|
};
|
|
7082
7082
|
const serializeAws_restJson1AbpV1_0_x = (input, context) => {
|
|
7083
7083
|
return {
|
|
@@ -7505,7 +7505,7 @@ const serializeAws_restJson1WirelessMetadata = (input, context) => {
|
|
|
7505
7505
|
};
|
|
7506
7506
|
const deserializeAws_restJson1AbpV1_0_x = (output, context) => {
|
|
7507
7507
|
return {
|
|
7508
|
-
DevAddr: smithy_client_1.expectString(output.DevAddr),
|
|
7508
|
+
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
7509
7509
|
SessionKeys: output.SessionKeys !== undefined && output.SessionKeys !== null
|
|
7510
7510
|
? deserializeAws_restJson1SessionKeysAbpV1_0_x(output.SessionKeys, context)
|
|
7511
7511
|
: undefined,
|
|
@@ -7513,7 +7513,7 @@ const deserializeAws_restJson1AbpV1_0_x = (output, context) => {
|
|
|
7513
7513
|
};
|
|
7514
7514
|
const deserializeAws_restJson1AbpV1_1 = (output, context) => {
|
|
7515
7515
|
return {
|
|
7516
|
-
DevAddr: smithy_client_1.expectString(output.DevAddr),
|
|
7516
|
+
DevAddr: (0, smithy_client_1.expectString)(output.DevAddr),
|
|
7517
7517
|
SessionKeys: output.SessionKeys !== undefined && output.SessionKeys !== null
|
|
7518
7518
|
? deserializeAws_restJson1SessionKeysAbpV1_1(output.SessionKeys, context)
|
|
7519
7519
|
: undefined,
|
|
@@ -7521,8 +7521,8 @@ const deserializeAws_restJson1AbpV1_1 = (output, context) => {
|
|
|
7521
7521
|
};
|
|
7522
7522
|
const deserializeAws_restJson1CertificateList = (output, context) => {
|
|
7523
7523
|
return {
|
|
7524
|
-
SigningAlg: smithy_client_1.expectString(output.SigningAlg),
|
|
7525
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
7524
|
+
SigningAlg: (0, smithy_client_1.expectString)(output.SigningAlg),
|
|
7525
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
7526
7526
|
};
|
|
7527
7527
|
};
|
|
7528
7528
|
const deserializeAws_restJson1DestinationList = (output, context) => {
|
|
@@ -7538,12 +7538,12 @@ const deserializeAws_restJson1DestinationList = (output, context) => {
|
|
|
7538
7538
|
};
|
|
7539
7539
|
const deserializeAws_restJson1Destinations = (output, context) => {
|
|
7540
7540
|
return {
|
|
7541
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7542
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
7543
|
-
Expression: smithy_client_1.expectString(output.Expression),
|
|
7544
|
-
ExpressionType: smithy_client_1.expectString(output.ExpressionType),
|
|
7545
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7546
|
-
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
7541
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7542
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
7543
|
+
Expression: (0, smithy_client_1.expectString)(output.Expression),
|
|
7544
|
+
ExpressionType: (0, smithy_client_1.expectString)(output.ExpressionType),
|
|
7545
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7546
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
7547
7547
|
};
|
|
7548
7548
|
};
|
|
7549
7549
|
const deserializeAws_restJson1DeviceCertificateList = (output, context) => {
|
|
@@ -7559,9 +7559,9 @@ const deserializeAws_restJson1DeviceCertificateList = (output, context) => {
|
|
|
7559
7559
|
};
|
|
7560
7560
|
const deserializeAws_restJson1DeviceProfile = (output, context) => {
|
|
7561
7561
|
return {
|
|
7562
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7563
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7564
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7562
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7563
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7564
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7565
7565
|
};
|
|
7566
7566
|
};
|
|
7567
7567
|
const deserializeAws_restJson1DeviceProfileList = (output, context) => {
|
|
@@ -7587,9 +7587,9 @@ const deserializeAws_restJson1DownlinkQueueMessage = (output, context) => {
|
|
|
7587
7587
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
7588
7588
|
? deserializeAws_restJson1LoRaWANSendDataToDevice(output.LoRaWAN, context)
|
|
7589
7589
|
: undefined,
|
|
7590
|
-
MessageId: smithy_client_1.expectString(output.MessageId),
|
|
7591
|
-
ReceivedAt: smithy_client_1.expectString(output.ReceivedAt),
|
|
7592
|
-
TransmitMode: smithy_client_1.expectInt32(output.TransmitMode),
|
|
7590
|
+
MessageId: (0, smithy_client_1.expectString)(output.MessageId),
|
|
7591
|
+
ReceivedAt: (0, smithy_client_1.expectString)(output.ReceivedAt),
|
|
7592
|
+
TransmitMode: (0, smithy_client_1.expectInt32)(output.TransmitMode),
|
|
7593
7593
|
};
|
|
7594
7594
|
};
|
|
7595
7595
|
const deserializeAws_restJson1DownlinkQueueMessagesList = (output, context) => {
|
|
@@ -7610,22 +7610,22 @@ const deserializeAws_restJson1FactoryPresetFreqsList = (output, context) => {
|
|
|
7610
7610
|
if (entry === null) {
|
|
7611
7611
|
return null;
|
|
7612
7612
|
}
|
|
7613
|
-
return smithy_client_1.expectInt32(entry);
|
|
7613
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
7614
7614
|
});
|
|
7615
7615
|
return retVal;
|
|
7616
7616
|
};
|
|
7617
7617
|
const deserializeAws_restJson1FPorts = (output, context) => {
|
|
7618
7618
|
return {
|
|
7619
|
-
ClockSync: smithy_client_1.expectInt32(output.ClockSync),
|
|
7620
|
-
Fuota: smithy_client_1.expectInt32(output.Fuota),
|
|
7621
|
-
Multicast: smithy_client_1.expectInt32(output.Multicast),
|
|
7619
|
+
ClockSync: (0, smithy_client_1.expectInt32)(output.ClockSync),
|
|
7620
|
+
Fuota: (0, smithy_client_1.expectInt32)(output.Fuota),
|
|
7621
|
+
Multicast: (0, smithy_client_1.expectInt32)(output.Multicast),
|
|
7622
7622
|
};
|
|
7623
7623
|
};
|
|
7624
7624
|
const deserializeAws_restJson1FuotaTask = (output, context) => {
|
|
7625
7625
|
return {
|
|
7626
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7627
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7628
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7626
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7627
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7628
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7629
7629
|
};
|
|
7630
7630
|
};
|
|
7631
7631
|
const deserializeAws_restJson1FuotaTaskList = (output, context) => {
|
|
@@ -7657,7 +7657,7 @@ const deserializeAws_restJson1JoinEuiRange = (output, context) => {
|
|
|
7657
7657
|
if (entry === null) {
|
|
7658
7658
|
return null;
|
|
7659
7659
|
}
|
|
7660
|
-
return smithy_client_1.expectString(entry);
|
|
7660
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7661
7661
|
});
|
|
7662
7662
|
return retVal;
|
|
7663
7663
|
};
|
|
@@ -7669,8 +7669,8 @@ const deserializeAws_restJson1LoRaWANDevice = (output, context) => {
|
|
|
7669
7669
|
AbpV1_1: output.AbpV1_1 !== undefined && output.AbpV1_1 !== null
|
|
7670
7670
|
? deserializeAws_restJson1AbpV1_1(output.AbpV1_1, context)
|
|
7671
7671
|
: undefined,
|
|
7672
|
-
DevEui: smithy_client_1.expectString(output.DevEui),
|
|
7673
|
-
DeviceProfileId: smithy_client_1.expectString(output.DeviceProfileId),
|
|
7672
|
+
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
7673
|
+
DeviceProfileId: (0, smithy_client_1.expectString)(output.DeviceProfileId),
|
|
7674
7674
|
FPorts: output.FPorts !== undefined && output.FPorts !== null
|
|
7675
7675
|
? deserializeAws_restJson1FPorts(output.FPorts, context)
|
|
7676
7676
|
: undefined,
|
|
@@ -7680,64 +7680,64 @@ const deserializeAws_restJson1LoRaWANDevice = (output, context) => {
|
|
|
7680
7680
|
OtaaV1_1: output.OtaaV1_1 !== undefined && output.OtaaV1_1 !== null
|
|
7681
7681
|
? deserializeAws_restJson1OtaaV1_1(output.OtaaV1_1, context)
|
|
7682
7682
|
: undefined,
|
|
7683
|
-
ServiceProfileId: smithy_client_1.expectString(output.ServiceProfileId),
|
|
7683
|
+
ServiceProfileId: (0, smithy_client_1.expectString)(output.ServiceProfileId),
|
|
7684
7684
|
};
|
|
7685
7685
|
};
|
|
7686
7686
|
const deserializeAws_restJson1LoRaWANDeviceMetadata = (output, context) => {
|
|
7687
7687
|
return {
|
|
7688
|
-
DataRate: smithy_client_1.expectInt32(output.DataRate),
|
|
7689
|
-
DevEui: smithy_client_1.expectString(output.DevEui),
|
|
7690
|
-
FPort: smithy_client_1.expectInt32(output.FPort),
|
|
7691
|
-
Frequency: smithy_client_1.expectInt32(output.Frequency),
|
|
7688
|
+
DataRate: (0, smithy_client_1.expectInt32)(output.DataRate),
|
|
7689
|
+
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
7690
|
+
FPort: (0, smithy_client_1.expectInt32)(output.FPort),
|
|
7691
|
+
Frequency: (0, smithy_client_1.expectInt32)(output.Frequency),
|
|
7692
7692
|
Gateways: output.Gateways !== undefined && output.Gateways !== null
|
|
7693
7693
|
? deserializeAws_restJson1LoRaWANGatewayMetadataList(output.Gateways, context)
|
|
7694
7694
|
: undefined,
|
|
7695
|
-
Timestamp: smithy_client_1.expectString(output.Timestamp),
|
|
7695
|
+
Timestamp: (0, smithy_client_1.expectString)(output.Timestamp),
|
|
7696
7696
|
};
|
|
7697
7697
|
};
|
|
7698
7698
|
const deserializeAws_restJson1LoRaWANDeviceProfile = (output, context) => {
|
|
7699
7699
|
return {
|
|
7700
|
-
ClassBTimeout: smithy_client_1.expectInt32(output.ClassBTimeout),
|
|
7701
|
-
ClassCTimeout: smithy_client_1.expectInt32(output.ClassCTimeout),
|
|
7700
|
+
ClassBTimeout: (0, smithy_client_1.expectInt32)(output.ClassBTimeout),
|
|
7701
|
+
ClassCTimeout: (0, smithy_client_1.expectInt32)(output.ClassCTimeout),
|
|
7702
7702
|
FactoryPresetFreqsList: output.FactoryPresetFreqsList !== undefined && output.FactoryPresetFreqsList !== null
|
|
7703
7703
|
? deserializeAws_restJson1FactoryPresetFreqsList(output.FactoryPresetFreqsList, context)
|
|
7704
7704
|
: undefined,
|
|
7705
|
-
MacVersion: smithy_client_1.expectString(output.MacVersion),
|
|
7706
|
-
MaxDutyCycle: smithy_client_1.expectInt32(output.MaxDutyCycle),
|
|
7707
|
-
MaxEirp: smithy_client_1.expectInt32(output.MaxEirp),
|
|
7708
|
-
PingSlotDr: smithy_client_1.expectInt32(output.PingSlotDr),
|
|
7709
|
-
PingSlotFreq: smithy_client_1.expectInt32(output.PingSlotFreq),
|
|
7710
|
-
PingSlotPeriod: smithy_client_1.expectInt32(output.PingSlotPeriod),
|
|
7711
|
-
RegParamsRevision: smithy_client_1.expectString(output.RegParamsRevision),
|
|
7712
|
-
RfRegion: smithy_client_1.expectString(output.RfRegion),
|
|
7713
|
-
RxDataRate2: smithy_client_1.expectInt32(output.RxDataRate2),
|
|
7714
|
-
RxDelay1: smithy_client_1.expectInt32(output.RxDelay1),
|
|
7715
|
-
RxDrOffset1: smithy_client_1.expectInt32(output.RxDrOffset1),
|
|
7716
|
-
RxFreq2: smithy_client_1.expectInt32(output.RxFreq2),
|
|
7717
|
-
Supports32BitFCnt: smithy_client_1.expectBoolean(output.Supports32BitFCnt),
|
|
7718
|
-
SupportsClassB: smithy_client_1.expectBoolean(output.SupportsClassB),
|
|
7719
|
-
SupportsClassC: smithy_client_1.expectBoolean(output.SupportsClassC),
|
|
7720
|
-
SupportsJoin: smithy_client_1.expectBoolean(output.SupportsJoin),
|
|
7705
|
+
MacVersion: (0, smithy_client_1.expectString)(output.MacVersion),
|
|
7706
|
+
MaxDutyCycle: (0, smithy_client_1.expectInt32)(output.MaxDutyCycle),
|
|
7707
|
+
MaxEirp: (0, smithy_client_1.expectInt32)(output.MaxEirp),
|
|
7708
|
+
PingSlotDr: (0, smithy_client_1.expectInt32)(output.PingSlotDr),
|
|
7709
|
+
PingSlotFreq: (0, smithy_client_1.expectInt32)(output.PingSlotFreq),
|
|
7710
|
+
PingSlotPeriod: (0, smithy_client_1.expectInt32)(output.PingSlotPeriod),
|
|
7711
|
+
RegParamsRevision: (0, smithy_client_1.expectString)(output.RegParamsRevision),
|
|
7712
|
+
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
7713
|
+
RxDataRate2: (0, smithy_client_1.expectInt32)(output.RxDataRate2),
|
|
7714
|
+
RxDelay1: (0, smithy_client_1.expectInt32)(output.RxDelay1),
|
|
7715
|
+
RxDrOffset1: (0, smithy_client_1.expectInt32)(output.RxDrOffset1),
|
|
7716
|
+
RxFreq2: (0, smithy_client_1.expectInt32)(output.RxFreq2),
|
|
7717
|
+
Supports32BitFCnt: (0, smithy_client_1.expectBoolean)(output.Supports32BitFCnt),
|
|
7718
|
+
SupportsClassB: (0, smithy_client_1.expectBoolean)(output.SupportsClassB),
|
|
7719
|
+
SupportsClassC: (0, smithy_client_1.expectBoolean)(output.SupportsClassC),
|
|
7720
|
+
SupportsJoin: (0, smithy_client_1.expectBoolean)(output.SupportsJoin),
|
|
7721
7721
|
};
|
|
7722
7722
|
};
|
|
7723
7723
|
const deserializeAws_restJson1LoRaWANFuotaTaskGetInfo = (output, context) => {
|
|
7724
7724
|
return {
|
|
7725
|
-
RfRegion: smithy_client_1.expectString(output.RfRegion),
|
|
7725
|
+
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
7726
7726
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
7727
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.StartTime))
|
|
7727
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.StartTime))
|
|
7728
7728
|
: undefined,
|
|
7729
7729
|
};
|
|
7730
7730
|
};
|
|
7731
7731
|
const deserializeAws_restJson1LoRaWANGateway = (output, context) => {
|
|
7732
7732
|
return {
|
|
7733
|
-
GatewayEui: smithy_client_1.expectString(output.GatewayEui),
|
|
7733
|
+
GatewayEui: (0, smithy_client_1.expectString)(output.GatewayEui),
|
|
7734
7734
|
JoinEuiFilters: output.JoinEuiFilters !== undefined && output.JoinEuiFilters !== null
|
|
7735
7735
|
? deserializeAws_restJson1JoinEuiFilters(output.JoinEuiFilters, context)
|
|
7736
7736
|
: undefined,
|
|
7737
7737
|
NetIdFilters: output.NetIdFilters !== undefined && output.NetIdFilters !== null
|
|
7738
7738
|
? deserializeAws_restJson1NetIdFilters(output.NetIdFilters, context)
|
|
7739
7739
|
: undefined,
|
|
7740
|
-
RfRegion: smithy_client_1.expectString(output.RfRegion),
|
|
7740
|
+
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
7741
7741
|
SubBands: output.SubBands !== undefined && output.SubBands !== null
|
|
7742
7742
|
? deserializeAws_restJson1SubBands(output.SubBands, context)
|
|
7743
7743
|
: undefined,
|
|
@@ -7752,9 +7752,9 @@ const deserializeAws_restJson1LoRaWANGatewayCurrentVersion = (output, context) =
|
|
|
7752
7752
|
};
|
|
7753
7753
|
const deserializeAws_restJson1LoRaWANGatewayMetadata = (output, context) => {
|
|
7754
7754
|
return {
|
|
7755
|
-
GatewayEui: smithy_client_1.expectString(output.GatewayEui),
|
|
7756
|
-
Rssi: smithy_client_1.limitedParseDouble(output.Rssi),
|
|
7757
|
-
Snr: smithy_client_1.limitedParseDouble(output.Snr),
|
|
7755
|
+
GatewayEui: (0, smithy_client_1.expectString)(output.GatewayEui),
|
|
7756
|
+
Rssi: (0, smithy_client_1.limitedParseDouble)(output.Rssi),
|
|
7757
|
+
Snr: (0, smithy_client_1.limitedParseDouble)(output.Snr),
|
|
7758
7758
|
};
|
|
7759
7759
|
};
|
|
7760
7760
|
const deserializeAws_restJson1LoRaWANGatewayMetadataList = (output, context) => {
|
|
@@ -7770,60 +7770,60 @@ const deserializeAws_restJson1LoRaWANGatewayMetadataList = (output, context) =>
|
|
|
7770
7770
|
};
|
|
7771
7771
|
const deserializeAws_restJson1LoRaWANGatewayVersion = (output, context) => {
|
|
7772
7772
|
return {
|
|
7773
|
-
Model: smithy_client_1.expectString(output.Model),
|
|
7774
|
-
PackageVersion: smithy_client_1.expectString(output.PackageVersion),
|
|
7775
|
-
Station: smithy_client_1.expectString(output.Station),
|
|
7773
|
+
Model: (0, smithy_client_1.expectString)(output.Model),
|
|
7774
|
+
PackageVersion: (0, smithy_client_1.expectString)(output.PackageVersion),
|
|
7775
|
+
Station: (0, smithy_client_1.expectString)(output.Station),
|
|
7776
7776
|
};
|
|
7777
7777
|
};
|
|
7778
7778
|
const deserializeAws_restJson1LoRaWANGetServiceProfileInfo = (output, context) => {
|
|
7779
7779
|
return {
|
|
7780
|
-
AddGwMetadata: smithy_client_1.expectBoolean(output.AddGwMetadata),
|
|
7781
|
-
ChannelMask: smithy_client_1.expectString(output.ChannelMask),
|
|
7782
|
-
DevStatusReqFreq: smithy_client_1.expectInt32(output.DevStatusReqFreq),
|
|
7783
|
-
DlBucketSize: smithy_client_1.expectInt32(output.DlBucketSize),
|
|
7784
|
-
DlRate: smithy_client_1.expectInt32(output.DlRate),
|
|
7785
|
-
DlRatePolicy: smithy_client_1.expectString(output.DlRatePolicy),
|
|
7786
|
-
DrMax: smithy_client_1.expectInt32(output.DrMax),
|
|
7787
|
-
DrMin: smithy_client_1.expectInt32(output.DrMin),
|
|
7788
|
-
HrAllowed: smithy_client_1.expectBoolean(output.HrAllowed),
|
|
7789
|
-
MinGwDiversity: smithy_client_1.expectInt32(output.MinGwDiversity),
|
|
7790
|
-
NwkGeoLoc: smithy_client_1.expectBoolean(output.NwkGeoLoc),
|
|
7791
|
-
PrAllowed: smithy_client_1.expectBoolean(output.PrAllowed),
|
|
7792
|
-
RaAllowed: smithy_client_1.expectBoolean(output.RaAllowed),
|
|
7793
|
-
ReportDevStatusBattery: smithy_client_1.expectBoolean(output.ReportDevStatusBattery),
|
|
7794
|
-
ReportDevStatusMargin: smithy_client_1.expectBoolean(output.ReportDevStatusMargin),
|
|
7795
|
-
TargetPer: smithy_client_1.expectInt32(output.TargetPer),
|
|
7796
|
-
UlBucketSize: smithy_client_1.expectInt32(output.UlBucketSize),
|
|
7797
|
-
UlRate: smithy_client_1.expectInt32(output.UlRate),
|
|
7798
|
-
UlRatePolicy: smithy_client_1.expectString(output.UlRatePolicy),
|
|
7780
|
+
AddGwMetadata: (0, smithy_client_1.expectBoolean)(output.AddGwMetadata),
|
|
7781
|
+
ChannelMask: (0, smithy_client_1.expectString)(output.ChannelMask),
|
|
7782
|
+
DevStatusReqFreq: (0, smithy_client_1.expectInt32)(output.DevStatusReqFreq),
|
|
7783
|
+
DlBucketSize: (0, smithy_client_1.expectInt32)(output.DlBucketSize),
|
|
7784
|
+
DlRate: (0, smithy_client_1.expectInt32)(output.DlRate),
|
|
7785
|
+
DlRatePolicy: (0, smithy_client_1.expectString)(output.DlRatePolicy),
|
|
7786
|
+
DrMax: (0, smithy_client_1.expectInt32)(output.DrMax),
|
|
7787
|
+
DrMin: (0, smithy_client_1.expectInt32)(output.DrMin),
|
|
7788
|
+
HrAllowed: (0, smithy_client_1.expectBoolean)(output.HrAllowed),
|
|
7789
|
+
MinGwDiversity: (0, smithy_client_1.expectInt32)(output.MinGwDiversity),
|
|
7790
|
+
NwkGeoLoc: (0, smithy_client_1.expectBoolean)(output.NwkGeoLoc),
|
|
7791
|
+
PrAllowed: (0, smithy_client_1.expectBoolean)(output.PrAllowed),
|
|
7792
|
+
RaAllowed: (0, smithy_client_1.expectBoolean)(output.RaAllowed),
|
|
7793
|
+
ReportDevStatusBattery: (0, smithy_client_1.expectBoolean)(output.ReportDevStatusBattery),
|
|
7794
|
+
ReportDevStatusMargin: (0, smithy_client_1.expectBoolean)(output.ReportDevStatusMargin),
|
|
7795
|
+
TargetPer: (0, smithy_client_1.expectInt32)(output.TargetPer),
|
|
7796
|
+
UlBucketSize: (0, smithy_client_1.expectInt32)(output.UlBucketSize),
|
|
7797
|
+
UlRate: (0, smithy_client_1.expectInt32)(output.UlRate),
|
|
7798
|
+
UlRatePolicy: (0, smithy_client_1.expectString)(output.UlRatePolicy),
|
|
7799
7799
|
};
|
|
7800
7800
|
};
|
|
7801
7801
|
const deserializeAws_restJson1LoRaWANListDevice = (output, context) => {
|
|
7802
7802
|
return {
|
|
7803
|
-
DevEui: smithy_client_1.expectString(output.DevEui),
|
|
7803
|
+
DevEui: (0, smithy_client_1.expectString)(output.DevEui),
|
|
7804
7804
|
};
|
|
7805
7805
|
};
|
|
7806
7806
|
const deserializeAws_restJson1LoRaWANMulticastGet = (output, context) => {
|
|
7807
7807
|
return {
|
|
7808
|
-
DlClass: smithy_client_1.expectString(output.DlClass),
|
|
7809
|
-
NumberOfDevicesInGroup: smithy_client_1.expectInt32(output.NumberOfDevicesInGroup),
|
|
7810
|
-
NumberOfDevicesRequested: smithy_client_1.expectInt32(output.NumberOfDevicesRequested),
|
|
7811
|
-
RfRegion: smithy_client_1.expectString(output.RfRegion),
|
|
7808
|
+
DlClass: (0, smithy_client_1.expectString)(output.DlClass),
|
|
7809
|
+
NumberOfDevicesInGroup: (0, smithy_client_1.expectInt32)(output.NumberOfDevicesInGroup),
|
|
7810
|
+
NumberOfDevicesRequested: (0, smithy_client_1.expectInt32)(output.NumberOfDevicesRequested),
|
|
7811
|
+
RfRegion: (0, smithy_client_1.expectString)(output.RfRegion),
|
|
7812
7812
|
};
|
|
7813
7813
|
};
|
|
7814
7814
|
const deserializeAws_restJson1LoRaWANMulticastSession = (output, context) => {
|
|
7815
7815
|
return {
|
|
7816
|
-
DlDr: smithy_client_1.expectInt32(output.DlDr),
|
|
7817
|
-
DlFreq: smithy_client_1.expectInt32(output.DlFreq),
|
|
7816
|
+
DlDr: (0, smithy_client_1.expectInt32)(output.DlDr),
|
|
7817
|
+
DlFreq: (0, smithy_client_1.expectInt32)(output.DlFreq),
|
|
7818
7818
|
SessionStartTime: output.SessionStartTime !== undefined && output.SessionStartTime !== null
|
|
7819
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.SessionStartTime))
|
|
7819
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.SessionStartTime))
|
|
7820
7820
|
: undefined,
|
|
7821
|
-
SessionTimeout: smithy_client_1.expectInt32(output.SessionTimeout),
|
|
7821
|
+
SessionTimeout: (0, smithy_client_1.expectInt32)(output.SessionTimeout),
|
|
7822
7822
|
};
|
|
7823
7823
|
};
|
|
7824
7824
|
const deserializeAws_restJson1LoRaWANSendDataToDevice = (output, context) => {
|
|
7825
7825
|
return {
|
|
7826
|
-
FPort: smithy_client_1.expectInt32(output.FPort),
|
|
7826
|
+
FPort: (0, smithy_client_1.expectInt32)(output.FPort),
|
|
7827
7827
|
};
|
|
7828
7828
|
};
|
|
7829
7829
|
const deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = (output, context) => {
|
|
@@ -7831,8 +7831,8 @@ const deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = (output, context)
|
|
|
7831
7831
|
CurrentVersion: output.CurrentVersion !== undefined && output.CurrentVersion !== null
|
|
7832
7832
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.CurrentVersion, context)
|
|
7833
7833
|
: undefined,
|
|
7834
|
-
SigKeyCrc: smithy_client_1.expectLong(output.SigKeyCrc),
|
|
7835
|
-
UpdateSignature: smithy_client_1.expectString(output.UpdateSignature),
|
|
7834
|
+
SigKeyCrc: (0, smithy_client_1.expectLong)(output.SigKeyCrc),
|
|
7835
|
+
UpdateSignature: (0, smithy_client_1.expectString)(output.UpdateSignature),
|
|
7836
7836
|
UpdateVersion: output.UpdateVersion !== undefined && output.UpdateVersion !== null
|
|
7837
7837
|
? deserializeAws_restJson1LoRaWANGatewayVersion(output.UpdateVersion, context)
|
|
7838
7838
|
: undefined,
|
|
@@ -7850,14 +7850,14 @@ const deserializeAws_restJson1LoRaWANUpdateGatewayTaskEntry = (output, context)
|
|
|
7850
7850
|
};
|
|
7851
7851
|
const deserializeAws_restJson1MulticastGroup = (output, context) => {
|
|
7852
7852
|
return {
|
|
7853
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7854
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7855
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7853
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7854
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7855
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7856
7856
|
};
|
|
7857
7857
|
};
|
|
7858
7858
|
const deserializeAws_restJson1MulticastGroupByFuotaTask = (output, context) => {
|
|
7859
7859
|
return {
|
|
7860
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7860
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7861
7861
|
};
|
|
7862
7862
|
};
|
|
7863
7863
|
const deserializeAws_restJson1MulticastGroupList = (output, context) => {
|
|
@@ -7889,22 +7889,22 @@ const deserializeAws_restJson1NetIdFilters = (output, context) => {
|
|
|
7889
7889
|
if (entry === null) {
|
|
7890
7890
|
return null;
|
|
7891
7891
|
}
|
|
7892
|
-
return smithy_client_1.expectString(entry);
|
|
7892
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
7893
7893
|
});
|
|
7894
7894
|
return retVal;
|
|
7895
7895
|
};
|
|
7896
7896
|
const deserializeAws_restJson1OtaaV1_0_x = (output, context) => {
|
|
7897
7897
|
return {
|
|
7898
|
-
AppEui: smithy_client_1.expectString(output.AppEui),
|
|
7899
|
-
AppKey: smithy_client_1.expectString(output.AppKey),
|
|
7900
|
-
GenAppKey: smithy_client_1.expectString(output.GenAppKey),
|
|
7898
|
+
AppEui: (0, smithy_client_1.expectString)(output.AppEui),
|
|
7899
|
+
AppKey: (0, smithy_client_1.expectString)(output.AppKey),
|
|
7900
|
+
GenAppKey: (0, smithy_client_1.expectString)(output.GenAppKey),
|
|
7901
7901
|
};
|
|
7902
7902
|
};
|
|
7903
7903
|
const deserializeAws_restJson1OtaaV1_1 = (output, context) => {
|
|
7904
7904
|
return {
|
|
7905
|
-
AppKey: smithy_client_1.expectString(output.AppKey),
|
|
7906
|
-
JoinEui: smithy_client_1.expectString(output.JoinEui),
|
|
7907
|
-
NwkKey: smithy_client_1.expectString(output.NwkKey),
|
|
7905
|
+
AppKey: (0, smithy_client_1.expectString)(output.AppKey),
|
|
7906
|
+
JoinEui: (0, smithy_client_1.expectString)(output.JoinEui),
|
|
7907
|
+
NwkKey: (0, smithy_client_1.expectString)(output.NwkKey),
|
|
7908
7908
|
};
|
|
7909
7909
|
};
|
|
7910
7910
|
const deserializeAws_restJson1ProximityEventConfiguration = (output, context) => {
|
|
@@ -7916,9 +7916,9 @@ const deserializeAws_restJson1ProximityEventConfiguration = (output, context) =>
|
|
|
7916
7916
|
};
|
|
7917
7917
|
const deserializeAws_restJson1ServiceProfile = (output, context) => {
|
|
7918
7918
|
return {
|
|
7919
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7920
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
7921
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
7919
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7920
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
7921
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
7922
7922
|
};
|
|
7923
7923
|
};
|
|
7924
7924
|
const deserializeAws_restJson1ServiceProfileList = (output, context) => {
|
|
@@ -7934,29 +7934,29 @@ const deserializeAws_restJson1ServiceProfileList = (output, context) => {
|
|
|
7934
7934
|
};
|
|
7935
7935
|
const deserializeAws_restJson1SessionKeysAbpV1_0_x = (output, context) => {
|
|
7936
7936
|
return {
|
|
7937
|
-
AppSKey: smithy_client_1.expectString(output.AppSKey),
|
|
7938
|
-
NwkSKey: smithy_client_1.expectString(output.NwkSKey),
|
|
7937
|
+
AppSKey: (0, smithy_client_1.expectString)(output.AppSKey),
|
|
7938
|
+
NwkSKey: (0, smithy_client_1.expectString)(output.NwkSKey),
|
|
7939
7939
|
};
|
|
7940
7940
|
};
|
|
7941
7941
|
const deserializeAws_restJson1SessionKeysAbpV1_1 = (output, context) => {
|
|
7942
7942
|
return {
|
|
7943
|
-
AppSKey: smithy_client_1.expectString(output.AppSKey),
|
|
7944
|
-
FNwkSIntKey: smithy_client_1.expectString(output.FNwkSIntKey),
|
|
7945
|
-
NwkSEncKey: smithy_client_1.expectString(output.NwkSEncKey),
|
|
7946
|
-
SNwkSIntKey: smithy_client_1.expectString(output.SNwkSIntKey),
|
|
7943
|
+
AppSKey: (0, smithy_client_1.expectString)(output.AppSKey),
|
|
7944
|
+
FNwkSIntKey: (0, smithy_client_1.expectString)(output.FNwkSIntKey),
|
|
7945
|
+
NwkSEncKey: (0, smithy_client_1.expectString)(output.NwkSEncKey),
|
|
7946
|
+
SNwkSIntKey: (0, smithy_client_1.expectString)(output.SNwkSIntKey),
|
|
7947
7947
|
};
|
|
7948
7948
|
};
|
|
7949
7949
|
const deserializeAws_restJson1SidewalkAccountInfo = (output, context) => {
|
|
7950
7950
|
return {
|
|
7951
|
-
AmazonId: smithy_client_1.expectString(output.AmazonId),
|
|
7952
|
-
AppServerPrivateKey: smithy_client_1.expectString(output.AppServerPrivateKey),
|
|
7951
|
+
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
7952
|
+
AppServerPrivateKey: (0, smithy_client_1.expectString)(output.AppServerPrivateKey),
|
|
7953
7953
|
};
|
|
7954
7954
|
};
|
|
7955
7955
|
const deserializeAws_restJson1SidewalkAccountInfoWithFingerprint = (output, context) => {
|
|
7956
7956
|
return {
|
|
7957
|
-
AmazonId: smithy_client_1.expectString(output.AmazonId),
|
|
7958
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
7959
|
-
Fingerprint: smithy_client_1.expectString(output.Fingerprint),
|
|
7957
|
+
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
7958
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
7959
|
+
Fingerprint: (0, smithy_client_1.expectString)(output.Fingerprint),
|
|
7960
7960
|
};
|
|
7961
7961
|
};
|
|
7962
7962
|
const deserializeAws_restJson1SidewalkAccountList = (output, context) => {
|
|
@@ -7972,35 +7972,35 @@ const deserializeAws_restJson1SidewalkAccountList = (output, context) => {
|
|
|
7972
7972
|
};
|
|
7973
7973
|
const deserializeAws_restJson1SidewalkDevice = (output, context) => {
|
|
7974
7974
|
return {
|
|
7975
|
-
AmazonId: smithy_client_1.expectString(output.AmazonId),
|
|
7975
|
+
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
7976
7976
|
DeviceCertificates: output.DeviceCertificates !== undefined && output.DeviceCertificates !== null
|
|
7977
7977
|
? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
|
|
7978
7978
|
: undefined,
|
|
7979
|
-
SidewalkId: smithy_client_1.expectString(output.SidewalkId),
|
|
7980
|
-
SidewalkManufacturingSn: smithy_client_1.expectString(output.SidewalkManufacturingSn),
|
|
7979
|
+
SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
|
|
7980
|
+
SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
|
|
7981
7981
|
};
|
|
7982
7982
|
};
|
|
7983
7983
|
const deserializeAws_restJson1SidewalkDeviceMetadata = (output, context) => {
|
|
7984
7984
|
return {
|
|
7985
|
-
BatteryLevel: smithy_client_1.expectString(output.BatteryLevel),
|
|
7986
|
-
DeviceState: smithy_client_1.expectString(output.DeviceState),
|
|
7987
|
-
Event: smithy_client_1.expectString(output.Event),
|
|
7988
|
-
Rssi: smithy_client_1.expectInt32(output.Rssi),
|
|
7985
|
+
BatteryLevel: (0, smithy_client_1.expectString)(output.BatteryLevel),
|
|
7986
|
+
DeviceState: (0, smithy_client_1.expectString)(output.DeviceState),
|
|
7987
|
+
Event: (0, smithy_client_1.expectString)(output.Event),
|
|
7988
|
+
Rssi: (0, smithy_client_1.expectInt32)(output.Rssi),
|
|
7989
7989
|
};
|
|
7990
7990
|
};
|
|
7991
7991
|
const deserializeAws_restJson1SidewalkEventNotificationConfigurations = (output, context) => {
|
|
7992
7992
|
return {
|
|
7993
|
-
AmazonIdEventTopic: smithy_client_1.expectString(output.AmazonIdEventTopic),
|
|
7993
|
+
AmazonIdEventTopic: (0, smithy_client_1.expectString)(output.AmazonIdEventTopic),
|
|
7994
7994
|
};
|
|
7995
7995
|
};
|
|
7996
7996
|
const deserializeAws_restJson1SidewalkListDevice = (output, context) => {
|
|
7997
7997
|
return {
|
|
7998
|
-
AmazonId: smithy_client_1.expectString(output.AmazonId),
|
|
7998
|
+
AmazonId: (0, smithy_client_1.expectString)(output.AmazonId),
|
|
7999
7999
|
DeviceCertificates: output.DeviceCertificates !== undefined && output.DeviceCertificates !== null
|
|
8000
8000
|
? deserializeAws_restJson1DeviceCertificateList(output.DeviceCertificates, context)
|
|
8001
8001
|
: undefined,
|
|
8002
|
-
SidewalkId: smithy_client_1.expectString(output.SidewalkId),
|
|
8003
|
-
SidewalkManufacturingSn: smithy_client_1.expectString(output.SidewalkManufacturingSn),
|
|
8002
|
+
SidewalkId: (0, smithy_client_1.expectString)(output.SidewalkId),
|
|
8003
|
+
SidewalkManufacturingSn: (0, smithy_client_1.expectString)(output.SidewalkManufacturingSn),
|
|
8004
8004
|
};
|
|
8005
8005
|
};
|
|
8006
8006
|
const deserializeAws_restJson1SubBands = (output, context) => {
|
|
@@ -8010,14 +8010,14 @@ const deserializeAws_restJson1SubBands = (output, context) => {
|
|
|
8010
8010
|
if (entry === null) {
|
|
8011
8011
|
return null;
|
|
8012
8012
|
}
|
|
8013
|
-
return smithy_client_1.expectInt32(entry);
|
|
8013
|
+
return (0, smithy_client_1.expectInt32)(entry);
|
|
8014
8014
|
});
|
|
8015
8015
|
return retVal;
|
|
8016
8016
|
};
|
|
8017
8017
|
const deserializeAws_restJson1Tag = (output, context) => {
|
|
8018
8018
|
return {
|
|
8019
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
8020
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
8019
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
8020
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
8021
8021
|
};
|
|
8022
8022
|
};
|
|
8023
8023
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
@@ -8033,8 +8033,8 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
8033
8033
|
};
|
|
8034
8034
|
const deserializeAws_restJson1TraceContent = (output, context) => {
|
|
8035
8035
|
return {
|
|
8036
|
-
LogLevel: smithy_client_1.expectString(output.LogLevel),
|
|
8037
|
-
WirelessDeviceFrameInfo: smithy_client_1.expectString(output.WirelessDeviceFrameInfo),
|
|
8036
|
+
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
8037
|
+
WirelessDeviceFrameInfo: (0, smithy_client_1.expectString)(output.WirelessDeviceFrameInfo),
|
|
8038
8038
|
};
|
|
8039
8039
|
};
|
|
8040
8040
|
const deserializeAws_restJson1UpdateWirelessGatewayTaskCreate = (output, context) => {
|
|
@@ -8042,14 +8042,14 @@ const deserializeAws_restJson1UpdateWirelessGatewayTaskCreate = (output, context
|
|
|
8042
8042
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8043
8043
|
? deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate(output.LoRaWAN, context)
|
|
8044
8044
|
: undefined,
|
|
8045
|
-
UpdateDataRole: smithy_client_1.expectString(output.UpdateDataRole),
|
|
8046
|
-
UpdateDataSource: smithy_client_1.expectString(output.UpdateDataSource),
|
|
8045
|
+
UpdateDataRole: (0, smithy_client_1.expectString)(output.UpdateDataRole),
|
|
8046
|
+
UpdateDataSource: (0, smithy_client_1.expectString)(output.UpdateDataSource),
|
|
8047
8047
|
};
|
|
8048
8048
|
};
|
|
8049
8049
|
const deserializeAws_restJson1UpdateWirelessGatewayTaskEntry = (output, context) => {
|
|
8050
8050
|
return {
|
|
8051
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
8052
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
8051
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
8052
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8053
8053
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8054
8054
|
? deserializeAws_restJson1LoRaWANUpdateGatewayTaskEntry(output.LoRaWAN, context)
|
|
8055
8055
|
: undefined,
|
|
@@ -8057,8 +8057,8 @@ const deserializeAws_restJson1UpdateWirelessGatewayTaskEntry = (output, context)
|
|
|
8057
8057
|
};
|
|
8058
8058
|
const deserializeAws_restJson1WirelessDeviceEventLogOption = (output, context) => {
|
|
8059
8059
|
return {
|
|
8060
|
-
Event: smithy_client_1.expectString(output.Event),
|
|
8061
|
-
LogLevel: smithy_client_1.expectString(output.LogLevel),
|
|
8060
|
+
Event: (0, smithy_client_1.expectString)(output.Event),
|
|
8061
|
+
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
8062
8062
|
};
|
|
8063
8063
|
};
|
|
8064
8064
|
const deserializeAws_restJson1WirelessDeviceEventLogOptionList = (output, context) => {
|
|
@@ -8079,7 +8079,7 @@ const deserializeAws_restJson1WirelessDeviceList = (output, context) => {
|
|
|
8079
8079
|
if (entry === null) {
|
|
8080
8080
|
return null;
|
|
8081
8081
|
}
|
|
8082
|
-
return smithy_client_1.expectString(entry);
|
|
8082
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8083
8083
|
});
|
|
8084
8084
|
return retVal;
|
|
8085
8085
|
};
|
|
@@ -8088,8 +8088,8 @@ const deserializeAws_restJson1WirelessDeviceLogOption = (output, context) => {
|
|
|
8088
8088
|
Events: output.Events !== undefined && output.Events !== null
|
|
8089
8089
|
? deserializeAws_restJson1WirelessDeviceEventLogOptionList(output.Events, context)
|
|
8090
8090
|
: undefined,
|
|
8091
|
-
LogLevel: smithy_client_1.expectString(output.LogLevel),
|
|
8092
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
8091
|
+
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
8092
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
8093
8093
|
};
|
|
8094
8094
|
};
|
|
8095
8095
|
const deserializeAws_restJson1WirelessDeviceLogOptionList = (output, context) => {
|
|
@@ -8105,21 +8105,21 @@ const deserializeAws_restJson1WirelessDeviceLogOptionList = (output, context) =>
|
|
|
8105
8105
|
};
|
|
8106
8106
|
const deserializeAws_restJson1WirelessDeviceStatistics = (output, context) => {
|
|
8107
8107
|
return {
|
|
8108
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
8109
|
-
DestinationName: smithy_client_1.expectString(output.DestinationName),
|
|
8110
|
-
FuotaDeviceStatus: smithy_client_1.expectString(output.FuotaDeviceStatus),
|
|
8111
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
8112
|
-
LastUplinkReceivedAt: smithy_client_1.expectString(output.LastUplinkReceivedAt),
|
|
8108
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
8109
|
+
DestinationName: (0, smithy_client_1.expectString)(output.DestinationName),
|
|
8110
|
+
FuotaDeviceStatus: (0, smithy_client_1.expectString)(output.FuotaDeviceStatus),
|
|
8111
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8112
|
+
LastUplinkReceivedAt: (0, smithy_client_1.expectString)(output.LastUplinkReceivedAt),
|
|
8113
8113
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8114
8114
|
? deserializeAws_restJson1LoRaWANListDevice(output.LoRaWAN, context)
|
|
8115
8115
|
: undefined,
|
|
8116
|
-
McGroupId: smithy_client_1.expectInt32(output.McGroupId),
|
|
8117
|
-
MulticastDeviceStatus: smithy_client_1.expectString(output.MulticastDeviceStatus),
|
|
8118
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
8116
|
+
McGroupId: (0, smithy_client_1.expectInt32)(output.McGroupId),
|
|
8117
|
+
MulticastDeviceStatus: (0, smithy_client_1.expectString)(output.MulticastDeviceStatus),
|
|
8118
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
8119
8119
|
Sidewalk: output.Sidewalk !== undefined && output.Sidewalk !== null
|
|
8120
8120
|
? deserializeAws_restJson1SidewalkListDevice(output.Sidewalk, context)
|
|
8121
8121
|
: undefined,
|
|
8122
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
8122
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
8123
8123
|
};
|
|
8124
8124
|
};
|
|
8125
8125
|
const deserializeAws_restJson1WirelessDeviceStatisticsList = (output, context) => {
|
|
@@ -8135,8 +8135,8 @@ const deserializeAws_restJson1WirelessDeviceStatisticsList = (output, context) =
|
|
|
8135
8135
|
};
|
|
8136
8136
|
const deserializeAws_restJson1WirelessGatewayEventLogOption = (output, context) => {
|
|
8137
8137
|
return {
|
|
8138
|
-
Event: smithy_client_1.expectString(output.Event),
|
|
8139
|
-
LogLevel: smithy_client_1.expectString(output.LogLevel),
|
|
8138
|
+
Event: (0, smithy_client_1.expectString)(output.Event),
|
|
8139
|
+
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
8140
8140
|
};
|
|
8141
8141
|
};
|
|
8142
8142
|
const deserializeAws_restJson1WirelessGatewayEventLogOptionList = (output, context) => {
|
|
@@ -8157,7 +8157,7 @@ const deserializeAws_restJson1WirelessGatewayList = (output, context) => {
|
|
|
8157
8157
|
if (entry === null) {
|
|
8158
8158
|
return null;
|
|
8159
8159
|
}
|
|
8160
|
-
return smithy_client_1.expectString(entry);
|
|
8160
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
8161
8161
|
});
|
|
8162
8162
|
return retVal;
|
|
8163
8163
|
};
|
|
@@ -8166,8 +8166,8 @@ const deserializeAws_restJson1WirelessGatewayLogOption = (output, context) => {
|
|
|
8166
8166
|
Events: output.Events !== undefined && output.Events !== null
|
|
8167
8167
|
? deserializeAws_restJson1WirelessGatewayEventLogOptionList(output.Events, context)
|
|
8168
8168
|
: undefined,
|
|
8169
|
-
LogLevel: smithy_client_1.expectString(output.LogLevel),
|
|
8170
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
8169
|
+
LogLevel: (0, smithy_client_1.expectString)(output.LogLevel),
|
|
8170
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
8171
8171
|
};
|
|
8172
8172
|
};
|
|
8173
8173
|
const deserializeAws_restJson1WirelessGatewayLogOptionList = (output, context) => {
|
|
@@ -8183,14 +8183,14 @@ const deserializeAws_restJson1WirelessGatewayLogOptionList = (output, context) =
|
|
|
8183
8183
|
};
|
|
8184
8184
|
const deserializeAws_restJson1WirelessGatewayStatistics = (output, context) => {
|
|
8185
8185
|
return {
|
|
8186
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
8187
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
8188
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
8189
|
-
LastUplinkReceivedAt: smithy_client_1.expectString(output.LastUplinkReceivedAt),
|
|
8186
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
8187
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
8188
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
8189
|
+
LastUplinkReceivedAt: (0, smithy_client_1.expectString)(output.LastUplinkReceivedAt),
|
|
8190
8190
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
8191
8191
|
? deserializeAws_restJson1LoRaWANGateway(output.LoRaWAN, context)
|
|
8192
8192
|
: undefined,
|
|
8193
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
8193
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
8194
8194
|
};
|
|
8195
8195
|
};
|
|
8196
8196
|
const deserializeAws_restJson1WirelessGatewayStatisticsList = (output, context) => {
|