@aws-sdk/client-iot-wireless 3.53.0 → 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 +24 -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/IoTWirelessClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -15,7 +15,7 @@ export var serializeAws_restJson1AssociateAwsAccountWithPartnerAccountCommand =
|
|
|
15
15
|
headers = {
|
|
16
16
|
"content-type": "application/json",
|
|
17
17
|
};
|
|
18
|
-
resolvedPath = ""
|
|
18
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/partner-accounts";
|
|
19
19
|
body = JSON.stringify(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Sidewalk !== undefined &&
|
|
20
20
|
input.Sidewalk !== null && { Sidewalk: serializeAws_restJson1SidewalkAccountInfo(input.Sidewalk, context) })), (input.Tags !== undefined &&
|
|
21
21
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -41,7 +41,7 @@ export var serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand = f
|
|
|
41
41
|
headers = {
|
|
42
42
|
"content-type": "application/json",
|
|
43
43
|
};
|
|
44
|
-
resolvedPath = ""
|
|
44
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}/multicast-group";
|
|
45
45
|
if (input.Id !== undefined) {
|
|
46
46
|
labelValue = input.Id;
|
|
47
47
|
if (labelValue.length <= 0) {
|
|
@@ -76,7 +76,7 @@ export var serializeAws_restJson1AssociateWirelessDeviceWithFuotaTaskCommand = f
|
|
|
76
76
|
headers = {
|
|
77
77
|
"content-type": "application/json",
|
|
78
78
|
};
|
|
79
|
-
resolvedPath = ""
|
|
79
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}/wireless-device";
|
|
80
80
|
if (input.Id !== undefined) {
|
|
81
81
|
labelValue = input.Id;
|
|
82
82
|
if (labelValue.length <= 0) {
|
|
@@ -111,7 +111,7 @@ export var serializeAws_restJson1AssociateWirelessDeviceWithMulticastGroupComman
|
|
|
111
111
|
headers = {
|
|
112
112
|
"content-type": "application/json",
|
|
113
113
|
};
|
|
114
|
-
resolvedPath = ""
|
|
114
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/wireless-device";
|
|
115
115
|
if (input.Id !== undefined) {
|
|
116
116
|
labelValue = input.Id;
|
|
117
117
|
if (labelValue.length <= 0) {
|
|
@@ -146,7 +146,7 @@ export var serializeAws_restJson1AssociateWirelessDeviceWithThingCommand = funct
|
|
|
146
146
|
headers = {
|
|
147
147
|
"content-type": "application/json",
|
|
148
148
|
};
|
|
149
|
-
resolvedPath = ""
|
|
149
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/thing";
|
|
150
150
|
if (input.Id !== undefined) {
|
|
151
151
|
labelValue = input.Id;
|
|
152
152
|
if (labelValue.length <= 0) {
|
|
@@ -180,7 +180,7 @@ export var serializeAws_restJson1AssociateWirelessGatewayWithCertificateCommand
|
|
|
180
180
|
headers = {
|
|
181
181
|
"content-type": "application/json",
|
|
182
182
|
};
|
|
183
|
-
resolvedPath = ""
|
|
183
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/certificate";
|
|
184
184
|
if (input.Id !== undefined) {
|
|
185
185
|
labelValue = input.Id;
|
|
186
186
|
if (labelValue.length <= 0) {
|
|
@@ -215,7 +215,7 @@ export var serializeAws_restJson1AssociateWirelessGatewayWithThingCommand = func
|
|
|
215
215
|
headers = {
|
|
216
216
|
"content-type": "application/json",
|
|
217
217
|
};
|
|
218
|
-
resolvedPath = ""
|
|
218
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/thing";
|
|
219
219
|
if (input.Id !== undefined) {
|
|
220
220
|
labelValue = input.Id;
|
|
221
221
|
if (labelValue.length <= 0) {
|
|
@@ -247,7 +247,7 @@ export var serializeAws_restJson1CancelMulticastGroupSessionCommand = function (
|
|
|
247
247
|
case 1:
|
|
248
248
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
249
249
|
headers = {};
|
|
250
|
-
resolvedPath = ""
|
|
250
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/session";
|
|
251
251
|
if (input.Id !== undefined) {
|
|
252
252
|
labelValue = input.Id;
|
|
253
253
|
if (labelValue.length <= 0) {
|
|
@@ -281,7 +281,7 @@ export var serializeAws_restJson1CreateDestinationCommand = function (input, con
|
|
|
281
281
|
headers = {
|
|
282
282
|
"content-type": "application/json",
|
|
283
283
|
};
|
|
284
|
-
resolvedPath = ""
|
|
284
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/destinations";
|
|
285
285
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Expression !== undefined && input.Expression !== null && { Expression: input.Expression })), (input.ExpressionType !== undefined &&
|
|
286
286
|
input.ExpressionType !== null && { ExpressionType: input.ExpressionType })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined &&
|
|
287
287
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -308,7 +308,7 @@ export var serializeAws_restJson1CreateDeviceProfileCommand = function (input, c
|
|
|
308
308
|
headers = {
|
|
309
309
|
"content-type": "application/json",
|
|
310
310
|
};
|
|
311
|
-
resolvedPath = ""
|
|
311
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/device-profiles";
|
|
312
312
|
body = JSON.stringify(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.LoRaWAN !== undefined &&
|
|
313
313
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANDeviceProfile(input.LoRaWAN, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
314
314
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -335,7 +335,7 @@ export var serializeAws_restJson1CreateFuotaTaskCommand = function (input, conte
|
|
|
335
335
|
headers = {
|
|
336
336
|
"content-type": "application/json",
|
|
337
337
|
};
|
|
338
|
-
resolvedPath = ""
|
|
338
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks";
|
|
339
339
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.FirmwareUpdateImage !== undefined &&
|
|
340
340
|
input.FirmwareUpdateImage !== null && { FirmwareUpdateImage: input.FirmwareUpdateImage })), (input.FirmwareUpdateRole !== undefined &&
|
|
341
341
|
input.FirmwareUpdateRole !== null && { FirmwareUpdateRole: input.FirmwareUpdateRole })), (input.LoRaWAN !== undefined &&
|
|
@@ -364,7 +364,7 @@ export var serializeAws_restJson1CreateMulticastGroupCommand = function (input,
|
|
|
364
364
|
headers = {
|
|
365
365
|
"content-type": "application/json",
|
|
366
366
|
};
|
|
367
|
-
resolvedPath = ""
|
|
367
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups";
|
|
368
368
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LoRaWAN !== undefined &&
|
|
369
369
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANMulticast(input.LoRaWAN, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
370
370
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -391,7 +391,7 @@ export var serializeAws_restJson1CreateServiceProfileCommand = function (input,
|
|
|
391
391
|
headers = {
|
|
392
392
|
"content-type": "application/json",
|
|
393
393
|
};
|
|
394
|
-
resolvedPath = ""
|
|
394
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-profiles";
|
|
395
395
|
body = JSON.stringify(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.LoRaWAN !== undefined &&
|
|
396
396
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANServiceProfile(input.LoRaWAN, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
397
397
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -418,7 +418,7 @@ export var serializeAws_restJson1CreateWirelessDeviceCommand = function (input,
|
|
|
418
418
|
headers = {
|
|
419
419
|
"content-type": "application/json",
|
|
420
420
|
};
|
|
421
|
-
resolvedPath = ""
|
|
421
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices";
|
|
422
422
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DestinationName !== undefined &&
|
|
423
423
|
input.DestinationName !== null && { DestinationName: input.DestinationName })), (input.LoRaWAN !== undefined &&
|
|
424
424
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANDevice(input.LoRaWAN, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
@@ -446,7 +446,7 @@ export var serializeAws_restJson1CreateWirelessGatewayCommand = function (input,
|
|
|
446
446
|
headers = {
|
|
447
447
|
"content-type": "application/json",
|
|
448
448
|
};
|
|
449
|
-
resolvedPath = ""
|
|
449
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways";
|
|
450
450
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.LoRaWAN !== undefined &&
|
|
451
451
|
input.LoRaWAN !== null && { LoRaWAN: serializeAws_restJson1LoRaWANGateway(input.LoRaWAN, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
452
452
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -472,7 +472,7 @@ export var serializeAws_restJson1CreateWirelessGatewayTaskCommand = function (in
|
|
|
472
472
|
headers = {
|
|
473
473
|
"content-type": "application/json",
|
|
474
474
|
};
|
|
475
|
-
resolvedPath = ""
|
|
475
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/tasks";
|
|
476
476
|
if (input.Id !== undefined) {
|
|
477
477
|
labelValue = input.Id;
|
|
478
478
|
if (labelValue.length <= 0) {
|
|
@@ -510,7 +510,7 @@ export var serializeAws_restJson1CreateWirelessGatewayTaskDefinitionCommand = fu
|
|
|
510
510
|
headers = {
|
|
511
511
|
"content-type": "application/json",
|
|
512
512
|
};
|
|
513
|
-
resolvedPath = ""
|
|
513
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateway-task-definitions";
|
|
514
514
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.AutoCreateTasks !== undefined &&
|
|
515
515
|
input.AutoCreateTasks !== null && { AutoCreateTasks: input.AutoCreateTasks })), { ClientRequestToken: (_c = input.ClientRequestToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined &&
|
|
516
516
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })), (input.Update !== undefined &&
|
|
@@ -537,7 +537,7 @@ export var serializeAws_restJson1DeleteDestinationCommand = function (input, con
|
|
|
537
537
|
case 1:
|
|
538
538
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
539
539
|
headers = {};
|
|
540
|
-
resolvedPath = ""
|
|
540
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/destinations/{Name}";
|
|
541
541
|
if (input.Name !== undefined) {
|
|
542
542
|
labelValue = input.Name;
|
|
543
543
|
if (labelValue.length <= 0) {
|
|
@@ -568,7 +568,7 @@ export var serializeAws_restJson1DeleteDeviceProfileCommand = function (input, c
|
|
|
568
568
|
case 1:
|
|
569
569
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
570
570
|
headers = {};
|
|
571
|
-
resolvedPath = ""
|
|
571
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/device-profiles/{Id}";
|
|
572
572
|
if (input.Id !== undefined) {
|
|
573
573
|
labelValue = input.Id;
|
|
574
574
|
if (labelValue.length <= 0) {
|
|
@@ -599,7 +599,7 @@ export var serializeAws_restJson1DeleteFuotaTaskCommand = function (input, conte
|
|
|
599
599
|
case 1:
|
|
600
600
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
601
601
|
headers = {};
|
|
602
|
-
resolvedPath = ""
|
|
602
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}";
|
|
603
603
|
if (input.Id !== undefined) {
|
|
604
604
|
labelValue = input.Id;
|
|
605
605
|
if (labelValue.length <= 0) {
|
|
@@ -630,7 +630,7 @@ export var serializeAws_restJson1DeleteMulticastGroupCommand = function (input,
|
|
|
630
630
|
case 1:
|
|
631
631
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
632
632
|
headers = {};
|
|
633
|
-
resolvedPath = ""
|
|
633
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}";
|
|
634
634
|
if (input.Id !== undefined) {
|
|
635
635
|
labelValue = input.Id;
|
|
636
636
|
if (labelValue.length <= 0) {
|
|
@@ -661,7 +661,7 @@ export var serializeAws_restJson1DeleteQueuedMessagesCommand = function (input,
|
|
|
661
661
|
case 1:
|
|
662
662
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
663
663
|
headers = {};
|
|
664
|
-
resolvedPath = ""
|
|
664
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/data";
|
|
665
665
|
if (input.Id !== undefined) {
|
|
666
666
|
labelValue = input.Id;
|
|
667
667
|
if (labelValue.length <= 0) {
|
|
@@ -694,7 +694,7 @@ export var serializeAws_restJson1DeleteServiceProfileCommand = function (input,
|
|
|
694
694
|
case 1:
|
|
695
695
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
696
696
|
headers = {};
|
|
697
|
-
resolvedPath = ""
|
|
697
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-profiles/{Id}";
|
|
698
698
|
if (input.Id !== undefined) {
|
|
699
699
|
labelValue = input.Id;
|
|
700
700
|
if (labelValue.length <= 0) {
|
|
@@ -725,7 +725,7 @@ export var serializeAws_restJson1DeleteWirelessDeviceCommand = function (input,
|
|
|
725
725
|
case 1:
|
|
726
726
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
727
727
|
headers = {};
|
|
728
|
-
resolvedPath = ""
|
|
728
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}";
|
|
729
729
|
if (input.Id !== undefined) {
|
|
730
730
|
labelValue = input.Id;
|
|
731
731
|
if (labelValue.length <= 0) {
|
|
@@ -756,7 +756,7 @@ export var serializeAws_restJson1DeleteWirelessGatewayCommand = function (input,
|
|
|
756
756
|
case 1:
|
|
757
757
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
758
758
|
headers = {};
|
|
759
|
-
resolvedPath = ""
|
|
759
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}";
|
|
760
760
|
if (input.Id !== undefined) {
|
|
761
761
|
labelValue = input.Id;
|
|
762
762
|
if (labelValue.length <= 0) {
|
|
@@ -787,7 +787,7 @@ export var serializeAws_restJson1DeleteWirelessGatewayTaskCommand = function (in
|
|
|
787
787
|
case 1:
|
|
788
788
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
789
789
|
headers = {};
|
|
790
|
-
resolvedPath = ""
|
|
790
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/tasks";
|
|
791
791
|
if (input.Id !== undefined) {
|
|
792
792
|
labelValue = input.Id;
|
|
793
793
|
if (labelValue.length <= 0) {
|
|
@@ -818,7 +818,7 @@ export var serializeAws_restJson1DeleteWirelessGatewayTaskDefinitionCommand = fu
|
|
|
818
818
|
case 1:
|
|
819
819
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
820
820
|
headers = {};
|
|
821
|
-
resolvedPath = ""
|
|
821
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateway-task-definitions/{Id}";
|
|
822
822
|
if (input.Id !== undefined) {
|
|
823
823
|
labelValue = input.Id;
|
|
824
824
|
if (labelValue.length <= 0) {
|
|
@@ -849,7 +849,7 @@ export var serializeAws_restJson1DisassociateAwsAccountFromPartnerAccountCommand
|
|
|
849
849
|
case 1:
|
|
850
850
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
851
851
|
headers = {};
|
|
852
|
-
resolvedPath = ""
|
|
852
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/partner-accounts/{PartnerAccountId}";
|
|
853
853
|
if (input.PartnerAccountId !== undefined) {
|
|
854
854
|
labelValue = input.PartnerAccountId;
|
|
855
855
|
if (labelValue.length <= 0) {
|
|
@@ -882,7 +882,7 @@ export var serializeAws_restJson1DisassociateMulticastGroupFromFuotaTaskCommand
|
|
|
882
882
|
case 1:
|
|
883
883
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
884
884
|
headers = {};
|
|
885
|
-
resolvedPath = ""
|
|
885
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
886
886
|
"/fuota-tasks/{Id}/multicast-groups/{MulticastGroupId}";
|
|
887
887
|
if (input.Id !== undefined) {
|
|
888
888
|
labelValue = input.Id;
|
|
@@ -924,7 +924,7 @@ export var serializeAws_restJson1DisassociateWirelessDeviceFromFuotaTaskCommand
|
|
|
924
924
|
case 1:
|
|
925
925
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
926
926
|
headers = {};
|
|
927
|
-
resolvedPath = ""
|
|
927
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
928
928
|
"/fuota-tasks/{Id}/wireless-devices/{WirelessDeviceId}";
|
|
929
929
|
if (input.Id !== undefined) {
|
|
930
930
|
labelValue = input.Id;
|
|
@@ -966,7 +966,7 @@ export var serializeAws_restJson1DisassociateWirelessDeviceFromMulticastGroupCom
|
|
|
966
966
|
case 1:
|
|
967
967
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
968
968
|
headers = {};
|
|
969
|
-
resolvedPath = ""
|
|
969
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
970
970
|
"/multicast-groups/{Id}/wireless-devices/{WirelessDeviceId}";
|
|
971
971
|
if (input.Id !== undefined) {
|
|
972
972
|
labelValue = input.Id;
|
|
@@ -1008,7 +1008,7 @@ export var serializeAws_restJson1DisassociateWirelessDeviceFromThingCommand = fu
|
|
|
1008
1008
|
case 1:
|
|
1009
1009
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1010
1010
|
headers = {};
|
|
1011
|
-
resolvedPath = ""
|
|
1011
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/thing";
|
|
1012
1012
|
if (input.Id !== undefined) {
|
|
1013
1013
|
labelValue = input.Id;
|
|
1014
1014
|
if (labelValue.length <= 0) {
|
|
@@ -1039,7 +1039,7 @@ export var serializeAws_restJson1DisassociateWirelessGatewayFromCertificateComma
|
|
|
1039
1039
|
case 1:
|
|
1040
1040
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1041
1041
|
headers = {};
|
|
1042
|
-
resolvedPath = ""
|
|
1042
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/certificate";
|
|
1043
1043
|
if (input.Id !== undefined) {
|
|
1044
1044
|
labelValue = input.Id;
|
|
1045
1045
|
if (labelValue.length <= 0) {
|
|
@@ -1070,7 +1070,7 @@ export var serializeAws_restJson1DisassociateWirelessGatewayFromThingCommand = f
|
|
|
1070
1070
|
case 1:
|
|
1071
1071
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1072
1072
|
headers = {};
|
|
1073
|
-
resolvedPath = ""
|
|
1073
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/thing";
|
|
1074
1074
|
if (input.Id !== undefined) {
|
|
1075
1075
|
labelValue = input.Id;
|
|
1076
1076
|
if (labelValue.length <= 0) {
|
|
@@ -1101,7 +1101,7 @@ export var serializeAws_restJson1GetDestinationCommand = function (input, contex
|
|
|
1101
1101
|
case 1:
|
|
1102
1102
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1103
1103
|
headers = {};
|
|
1104
|
-
resolvedPath = ""
|
|
1104
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/destinations/{Name}";
|
|
1105
1105
|
if (input.Name !== undefined) {
|
|
1106
1106
|
labelValue = input.Name;
|
|
1107
1107
|
if (labelValue.length <= 0) {
|
|
@@ -1132,7 +1132,7 @@ export var serializeAws_restJson1GetDeviceProfileCommand = function (input, cont
|
|
|
1132
1132
|
case 1:
|
|
1133
1133
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1134
1134
|
headers = {};
|
|
1135
|
-
resolvedPath = ""
|
|
1135
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/device-profiles/{Id}";
|
|
1136
1136
|
if (input.Id !== undefined) {
|
|
1137
1137
|
labelValue = input.Id;
|
|
1138
1138
|
if (labelValue.length <= 0) {
|
|
@@ -1163,7 +1163,7 @@ export var serializeAws_restJson1GetFuotaTaskCommand = function (input, context)
|
|
|
1163
1163
|
case 1:
|
|
1164
1164
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1165
1165
|
headers = {};
|
|
1166
|
-
resolvedPath = ""
|
|
1166
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}";
|
|
1167
1167
|
if (input.Id !== undefined) {
|
|
1168
1168
|
labelValue = input.Id;
|
|
1169
1169
|
if (labelValue.length <= 0) {
|
|
@@ -1196,7 +1196,7 @@ export var serializeAws_restJson1GetLogLevelsByResourceTypesCommand = function (
|
|
|
1196
1196
|
headers = {
|
|
1197
1197
|
"content-type": "application/json",
|
|
1198
1198
|
};
|
|
1199
|
-
resolvedPath = ""
|
|
1199
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels";
|
|
1200
1200
|
body = "";
|
|
1201
1201
|
return [2, new __HttpRequest({
|
|
1202
1202
|
protocol: protocol,
|
|
@@ -1218,7 +1218,7 @@ export var serializeAws_restJson1GetMulticastGroupCommand = function (input, con
|
|
|
1218
1218
|
case 1:
|
|
1219
1219
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1220
1220
|
headers = {};
|
|
1221
|
-
resolvedPath = ""
|
|
1221
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}";
|
|
1222
1222
|
if (input.Id !== undefined) {
|
|
1223
1223
|
labelValue = input.Id;
|
|
1224
1224
|
if (labelValue.length <= 0) {
|
|
@@ -1249,7 +1249,7 @@ export var serializeAws_restJson1GetMulticastGroupSessionCommand = function (inp
|
|
|
1249
1249
|
case 1:
|
|
1250
1250
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1251
1251
|
headers = {};
|
|
1252
|
-
resolvedPath = ""
|
|
1252
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/session";
|
|
1253
1253
|
if (input.Id !== undefined) {
|
|
1254
1254
|
labelValue = input.Id;
|
|
1255
1255
|
if (labelValue.length <= 0) {
|
|
@@ -1280,7 +1280,7 @@ export var serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = functi
|
|
|
1280
1280
|
case 1:
|
|
1281
1281
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1282
1282
|
headers = {};
|
|
1283
|
-
resolvedPath = ""
|
|
1283
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1284
1284
|
"/network-analyzer-configurations/{ConfigurationName}";
|
|
1285
1285
|
if (input.ConfigurationName !== undefined) {
|
|
1286
1286
|
labelValue = input.ConfigurationName;
|
|
@@ -1312,7 +1312,7 @@ export var serializeAws_restJson1GetPartnerAccountCommand = function (input, con
|
|
|
1312
1312
|
case 1:
|
|
1313
1313
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1314
1314
|
headers = {};
|
|
1315
|
-
resolvedPath = ""
|
|
1315
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/partner-accounts/{PartnerAccountId}";
|
|
1316
1316
|
if (input.PartnerAccountId !== undefined) {
|
|
1317
1317
|
labelValue = input.PartnerAccountId;
|
|
1318
1318
|
if (labelValue.length <= 0) {
|
|
@@ -1345,7 +1345,7 @@ export var serializeAws_restJson1GetResourceEventConfigurationCommand = function
|
|
|
1345
1345
|
case 1:
|
|
1346
1346
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1347
1347
|
headers = {};
|
|
1348
|
-
resolvedPath = ""
|
|
1348
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-configurations/{Identifier}";
|
|
1349
1349
|
if (input.Identifier !== undefined) {
|
|
1350
1350
|
labelValue = input.Identifier;
|
|
1351
1351
|
if (labelValue.length <= 0) {
|
|
@@ -1378,7 +1378,7 @@ export var serializeAws_restJson1GetResourceLogLevelCommand = function (input, c
|
|
|
1378
1378
|
case 1:
|
|
1379
1379
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1380
1380
|
headers = {};
|
|
1381
|
-
resolvedPath = ""
|
|
1381
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels/{ResourceIdentifier}";
|
|
1382
1382
|
if (input.ResourceIdentifier !== undefined) {
|
|
1383
1383
|
labelValue = input.ResourceIdentifier;
|
|
1384
1384
|
if (labelValue.length <= 0) {
|
|
@@ -1411,7 +1411,7 @@ export var serializeAws_restJson1GetServiceEndpointCommand = function (input, co
|
|
|
1411
1411
|
case 1:
|
|
1412
1412
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1413
1413
|
headers = {};
|
|
1414
|
-
resolvedPath = ""
|
|
1414
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-endpoint";
|
|
1415
1415
|
query = __assign({}, (input.ServiceType !== undefined && { serviceType: input.ServiceType }));
|
|
1416
1416
|
return [2, new __HttpRequest({
|
|
1417
1417
|
protocol: protocol,
|
|
@@ -1434,7 +1434,7 @@ export var serializeAws_restJson1GetServiceProfileCommand = function (input, con
|
|
|
1434
1434
|
case 1:
|
|
1435
1435
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1436
1436
|
headers = {};
|
|
1437
|
-
resolvedPath = ""
|
|
1437
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-profiles/{Id}";
|
|
1438
1438
|
if (input.Id !== undefined) {
|
|
1439
1439
|
labelValue = input.Id;
|
|
1440
1440
|
if (labelValue.length <= 0) {
|
|
@@ -1465,7 +1465,7 @@ export var serializeAws_restJson1GetWirelessDeviceCommand = function (input, con
|
|
|
1465
1465
|
case 1:
|
|
1466
1466
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1467
1467
|
headers = {};
|
|
1468
|
-
resolvedPath = ""
|
|
1468
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Identifier}";
|
|
1469
1469
|
if (input.Identifier !== undefined) {
|
|
1470
1470
|
labelValue = input.Identifier;
|
|
1471
1471
|
if (labelValue.length <= 0) {
|
|
@@ -1498,7 +1498,7 @@ export var serializeAws_restJson1GetWirelessDeviceStatisticsCommand = function (
|
|
|
1498
1498
|
case 1:
|
|
1499
1499
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1500
1500
|
headers = {};
|
|
1501
|
-
resolvedPath = ""
|
|
1501
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1502
1502
|
"/wireless-devices/{WirelessDeviceId}/statistics";
|
|
1503
1503
|
if (input.WirelessDeviceId !== undefined) {
|
|
1504
1504
|
labelValue = input.WirelessDeviceId;
|
|
@@ -1530,7 +1530,7 @@ export var serializeAws_restJson1GetWirelessGatewayCommand = function (input, co
|
|
|
1530
1530
|
case 1:
|
|
1531
1531
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1532
1532
|
headers = {};
|
|
1533
|
-
resolvedPath = ""
|
|
1533
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Identifier}";
|
|
1534
1534
|
if (input.Identifier !== undefined) {
|
|
1535
1535
|
labelValue = input.Identifier;
|
|
1536
1536
|
if (labelValue.length <= 0) {
|
|
@@ -1563,7 +1563,7 @@ export var serializeAws_restJson1GetWirelessGatewayCertificateCommand = function
|
|
|
1563
1563
|
case 1:
|
|
1564
1564
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1565
1565
|
headers = {};
|
|
1566
|
-
resolvedPath = ""
|
|
1566
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/certificate";
|
|
1567
1567
|
if (input.Id !== undefined) {
|
|
1568
1568
|
labelValue = input.Id;
|
|
1569
1569
|
if (labelValue.length <= 0) {
|
|
@@ -1594,7 +1594,7 @@ export var serializeAws_restJson1GetWirelessGatewayFirmwareInformationCommand =
|
|
|
1594
1594
|
case 1:
|
|
1595
1595
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1596
1596
|
headers = {};
|
|
1597
|
-
resolvedPath = ""
|
|
1597
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1598
1598
|
"/wireless-gateways/{Id}/firmware-information";
|
|
1599
1599
|
if (input.Id !== undefined) {
|
|
1600
1600
|
labelValue = input.Id;
|
|
@@ -1626,7 +1626,7 @@ export var serializeAws_restJson1GetWirelessGatewayStatisticsCommand = function
|
|
|
1626
1626
|
case 1:
|
|
1627
1627
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1628
1628
|
headers = {};
|
|
1629
|
-
resolvedPath = ""
|
|
1629
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1630
1630
|
"/wireless-gateways/{WirelessGatewayId}/statistics";
|
|
1631
1631
|
if (input.WirelessGatewayId !== undefined) {
|
|
1632
1632
|
labelValue = input.WirelessGatewayId;
|
|
@@ -1658,7 +1658,7 @@ export var serializeAws_restJson1GetWirelessGatewayTaskCommand = function (input
|
|
|
1658
1658
|
case 1:
|
|
1659
1659
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1660
1660
|
headers = {};
|
|
1661
|
-
resolvedPath = ""
|
|
1661
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}/tasks";
|
|
1662
1662
|
if (input.Id !== undefined) {
|
|
1663
1663
|
labelValue = input.Id;
|
|
1664
1664
|
if (labelValue.length <= 0) {
|
|
@@ -1689,7 +1689,7 @@ export var serializeAws_restJson1GetWirelessGatewayTaskDefinitionCommand = funct
|
|
|
1689
1689
|
case 1:
|
|
1690
1690
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1691
1691
|
headers = {};
|
|
1692
|
-
resolvedPath = ""
|
|
1692
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateway-task-definitions/{Id}";
|
|
1693
1693
|
if (input.Id !== undefined) {
|
|
1694
1694
|
labelValue = input.Id;
|
|
1695
1695
|
if (labelValue.length <= 0) {
|
|
@@ -1720,7 +1720,7 @@ export var serializeAws_restJson1ListDestinationsCommand = function (input, cont
|
|
|
1720
1720
|
case 1:
|
|
1721
1721
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1722
1722
|
headers = {};
|
|
1723
|
-
resolvedPath = ""
|
|
1723
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/destinations";
|
|
1724
1724
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
1725
1725
|
return [2, new __HttpRequest({
|
|
1726
1726
|
protocol: protocol,
|
|
@@ -1743,7 +1743,7 @@ export var serializeAws_restJson1ListDeviceProfilesCommand = function (input, co
|
|
|
1743
1743
|
case 1:
|
|
1744
1744
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1745
1745
|
headers = {};
|
|
1746
|
-
resolvedPath = ""
|
|
1746
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/device-profiles";
|
|
1747
1747
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1748
1748
|
return [2, new __HttpRequest({
|
|
1749
1749
|
protocol: protocol,
|
|
@@ -1766,7 +1766,7 @@ export var serializeAws_restJson1ListFuotaTasksCommand = function (input, contex
|
|
|
1766
1766
|
case 1:
|
|
1767
1767
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1768
1768
|
headers = {};
|
|
1769
|
-
resolvedPath = ""
|
|
1769
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks";
|
|
1770
1770
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1771
1771
|
return [2, new __HttpRequest({
|
|
1772
1772
|
protocol: protocol,
|
|
@@ -1789,7 +1789,7 @@ export var serializeAws_restJson1ListMulticastGroupsCommand = function (input, c
|
|
|
1789
1789
|
case 1:
|
|
1790
1790
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1791
1791
|
headers = {};
|
|
1792
|
-
resolvedPath = ""
|
|
1792
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups";
|
|
1793
1793
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1794
1794
|
return [2, new __HttpRequest({
|
|
1795
1795
|
protocol: protocol,
|
|
@@ -1812,7 +1812,7 @@ export var serializeAws_restJson1ListMulticastGroupsByFuotaTaskCommand = functio
|
|
|
1812
1812
|
case 1:
|
|
1813
1813
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1814
1814
|
headers = {};
|
|
1815
|
-
resolvedPath = ""
|
|
1815
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}/multicast-groups";
|
|
1816
1816
|
if (input.Id !== undefined) {
|
|
1817
1817
|
labelValue = input.Id;
|
|
1818
1818
|
if (labelValue.length <= 0) {
|
|
@@ -1845,7 +1845,7 @@ export var serializeAws_restJson1ListPartnerAccountsCommand = function (input, c
|
|
|
1845
1845
|
case 1:
|
|
1846
1846
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1847
1847
|
headers = {};
|
|
1848
|
-
resolvedPath = ""
|
|
1848
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/partner-accounts";
|
|
1849
1849
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1850
1850
|
return [2, new __HttpRequest({
|
|
1851
1851
|
protocol: protocol,
|
|
@@ -1868,7 +1868,7 @@ export var serializeAws_restJson1ListQueuedMessagesCommand = function (input, co
|
|
|
1868
1868
|
case 1:
|
|
1869
1869
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1870
1870
|
headers = {};
|
|
1871
|
-
resolvedPath = ""
|
|
1871
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/data";
|
|
1872
1872
|
if (input.Id !== undefined) {
|
|
1873
1873
|
labelValue = input.Id;
|
|
1874
1874
|
if (labelValue.length <= 0) {
|
|
@@ -1901,7 +1901,7 @@ export var serializeAws_restJson1ListServiceProfilesCommand = function (input, c
|
|
|
1901
1901
|
case 1:
|
|
1902
1902
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1903
1903
|
headers = {};
|
|
1904
|
-
resolvedPath = ""
|
|
1904
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/service-profiles";
|
|
1905
1905
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1906
1906
|
return [2, new __HttpRequest({
|
|
1907
1907
|
protocol: protocol,
|
|
@@ -1924,7 +1924,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1924
1924
|
case 1:
|
|
1925
1925
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1926
1926
|
headers = {};
|
|
1927
|
-
resolvedPath = ""
|
|
1927
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
1928
1928
|
query = __assign({}, (input.ResourceArn !== undefined && { resourceArn: input.ResourceArn }));
|
|
1929
1929
|
return [2, new __HttpRequest({
|
|
1930
1930
|
protocol: protocol,
|
|
@@ -1947,7 +1947,7 @@ export var serializeAws_restJson1ListWirelessDevicesCommand = function (input, c
|
|
|
1947
1947
|
case 1:
|
|
1948
1948
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1949
1949
|
headers = {};
|
|
1950
|
-
resolvedPath = ""
|
|
1950
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices";
|
|
1951
1951
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.DestinationName !== undefined && { destinationName: input.DestinationName })), (input.DeviceProfileId !== undefined && { deviceProfileId: input.DeviceProfileId })), (input.ServiceProfileId !== undefined && { serviceProfileId: input.ServiceProfileId })), (input.WirelessDeviceType !== undefined && { wirelessDeviceType: input.WirelessDeviceType })), (input.FuotaTaskId !== undefined && { fuotaTaskId: input.FuotaTaskId })), (input.MulticastGroupId !== undefined && { multicastGroupId: input.MulticastGroupId }));
|
|
1952
1952
|
return [2, new __HttpRequest({
|
|
1953
1953
|
protocol: protocol,
|
|
@@ -1970,7 +1970,7 @@ export var serializeAws_restJson1ListWirelessGatewaysCommand = function (input,
|
|
|
1970
1970
|
case 1:
|
|
1971
1971
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1972
1972
|
headers = {};
|
|
1973
|
-
resolvedPath = ""
|
|
1973
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways";
|
|
1974
1974
|
query = __assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }));
|
|
1975
1975
|
return [2, new __HttpRequest({
|
|
1976
1976
|
protocol: protocol,
|
|
@@ -1993,7 +1993,7 @@ export var serializeAws_restJson1ListWirelessGatewayTaskDefinitionsCommand = fun
|
|
|
1993
1993
|
case 1:
|
|
1994
1994
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1995
1995
|
headers = {};
|
|
1996
|
-
resolvedPath = ""
|
|
1996
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateway-task-definitions";
|
|
1997
1997
|
query = __assign(__assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.TaskDefinitionType !== undefined && { taskDefinitionType: input.TaskDefinitionType }));
|
|
1998
1998
|
return [2, new __HttpRequest({
|
|
1999
1999
|
protocol: protocol,
|
|
@@ -2018,7 +2018,7 @@ export var serializeAws_restJson1PutResourceLogLevelCommand = function (input, c
|
|
|
2018
2018
|
headers = {
|
|
2019
2019
|
"content-type": "application/json",
|
|
2020
2020
|
};
|
|
2021
|
-
resolvedPath = ""
|
|
2021
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels/{ResourceIdentifier}";
|
|
2022
2022
|
if (input.ResourceIdentifier !== undefined) {
|
|
2023
2023
|
labelValue = input.ResourceIdentifier;
|
|
2024
2024
|
if (labelValue.length <= 0) {
|
|
@@ -2054,7 +2054,7 @@ export var serializeAws_restJson1ResetAllResourceLogLevelsCommand = function (in
|
|
|
2054
2054
|
headers = {
|
|
2055
2055
|
"content-type": "application/json",
|
|
2056
2056
|
};
|
|
2057
|
-
resolvedPath = ""
|
|
2057
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels";
|
|
2058
2058
|
body = "";
|
|
2059
2059
|
return [2, new __HttpRequest({
|
|
2060
2060
|
protocol: protocol,
|
|
@@ -2076,7 +2076,7 @@ export var serializeAws_restJson1ResetResourceLogLevelCommand = function (input,
|
|
|
2076
2076
|
case 1:
|
|
2077
2077
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2078
2078
|
headers = {};
|
|
2079
|
-
resolvedPath = ""
|
|
2079
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels/{ResourceIdentifier}";
|
|
2080
2080
|
if (input.ResourceIdentifier !== undefined) {
|
|
2081
2081
|
labelValue = input.ResourceIdentifier;
|
|
2082
2082
|
if (labelValue.length <= 0) {
|
|
@@ -2111,7 +2111,7 @@ export var serializeAws_restJson1SendDataToMulticastGroupCommand = function (inp
|
|
|
2111
2111
|
headers = {
|
|
2112
2112
|
"content-type": "application/json",
|
|
2113
2113
|
};
|
|
2114
|
-
resolvedPath = ""
|
|
2114
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/data";
|
|
2115
2115
|
if (input.Id !== undefined) {
|
|
2116
2116
|
labelValue = input.Id;
|
|
2117
2117
|
if (labelValue.length <= 0) {
|
|
@@ -2148,7 +2148,7 @@ export var serializeAws_restJson1SendDataToWirelessDeviceCommand = function (inp
|
|
|
2148
2148
|
headers = {
|
|
2149
2149
|
"content-type": "application/json",
|
|
2150
2150
|
};
|
|
2151
|
-
resolvedPath = ""
|
|
2151
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/data";
|
|
2152
2152
|
if (input.Id !== undefined) {
|
|
2153
2153
|
labelValue = input.Id;
|
|
2154
2154
|
if (labelValue.length <= 0) {
|
|
@@ -2185,7 +2185,7 @@ export var serializeAws_restJson1StartBulkAssociateWirelessDeviceWithMulticastGr
|
|
|
2185
2185
|
headers = {
|
|
2186
2186
|
"content-type": "application/json",
|
|
2187
2187
|
};
|
|
2188
|
-
resolvedPath = ""
|
|
2188
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/bulk";
|
|
2189
2189
|
if (input.Id !== undefined) {
|
|
2190
2190
|
labelValue = input.Id;
|
|
2191
2191
|
if (labelValue.length <= 0) {
|
|
@@ -2220,7 +2220,7 @@ export var serializeAws_restJson1StartBulkDisassociateWirelessDeviceFromMulticas
|
|
|
2220
2220
|
headers = {
|
|
2221
2221
|
"content-type": "application/json",
|
|
2222
2222
|
};
|
|
2223
|
-
resolvedPath = ""
|
|
2223
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/bulk";
|
|
2224
2224
|
if (input.Id !== undefined) {
|
|
2225
2225
|
labelValue = input.Id;
|
|
2226
2226
|
if (labelValue.length <= 0) {
|
|
@@ -2255,7 +2255,7 @@ export var serializeAws_restJson1StartFuotaTaskCommand = function (input, contex
|
|
|
2255
2255
|
headers = {
|
|
2256
2256
|
"content-type": "application/json",
|
|
2257
2257
|
};
|
|
2258
|
-
resolvedPath = ""
|
|
2258
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}";
|
|
2259
2259
|
if (input.Id !== undefined) {
|
|
2260
2260
|
labelValue = input.Id;
|
|
2261
2261
|
if (labelValue.length <= 0) {
|
|
@@ -2290,7 +2290,7 @@ export var serializeAws_restJson1StartMulticastGroupSessionCommand = function (i
|
|
|
2290
2290
|
headers = {
|
|
2291
2291
|
"content-type": "application/json",
|
|
2292
2292
|
};
|
|
2293
|
-
resolvedPath = ""
|
|
2293
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}/session";
|
|
2294
2294
|
if (input.Id !== undefined) {
|
|
2295
2295
|
labelValue = input.Id;
|
|
2296
2296
|
if (labelValue.length <= 0) {
|
|
@@ -2325,7 +2325,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
2325
2325
|
headers = {
|
|
2326
2326
|
"content-type": "application/json",
|
|
2327
2327
|
};
|
|
2328
|
-
resolvedPath = ""
|
|
2328
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
2329
2329
|
query = __assign({}, (input.ResourceArn !== undefined && { resourceArn: input.ResourceArn }));
|
|
2330
2330
|
body = JSON.stringify(__assign({}, (input.Tags !== undefined &&
|
|
2331
2331
|
input.Tags !== null && { Tags: serializeAws_restJson1TagList(input.Tags, context) })));
|
|
@@ -2350,7 +2350,7 @@ export var serializeAws_restJson1TestWirelessDeviceCommand = function (input, co
|
|
|
2350
2350
|
case 1:
|
|
2351
2351
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2352
2352
|
headers = {};
|
|
2353
|
-
resolvedPath = ""
|
|
2353
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/test";
|
|
2354
2354
|
if (input.Id !== undefined) {
|
|
2355
2355
|
labelValue = input.Id;
|
|
2356
2356
|
if (labelValue.length <= 0) {
|
|
@@ -2381,7 +2381,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
2381
2381
|
case 1:
|
|
2382
2382
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2383
2383
|
headers = {};
|
|
2384
|
-
resolvedPath = ""
|
|
2384
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags";
|
|
2385
2385
|
query = __assign(__assign({}, (input.ResourceArn !== undefined && { resourceArn: input.ResourceArn })), (input.TagKeys !== undefined && { tagKeys: (input.TagKeys || []).map(function (_entry) { return _entry; }) }));
|
|
2386
2386
|
return [2, new __HttpRequest({
|
|
2387
2387
|
protocol: protocol,
|
|
@@ -2406,7 +2406,7 @@ export var serializeAws_restJson1UpdateDestinationCommand = function (input, con
|
|
|
2406
2406
|
headers = {
|
|
2407
2407
|
"content-type": "application/json",
|
|
2408
2408
|
};
|
|
2409
|
-
resolvedPath = ""
|
|
2409
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/destinations/{Name}";
|
|
2410
2410
|
if (input.Name !== undefined) {
|
|
2411
2411
|
labelValue = input.Name;
|
|
2412
2412
|
if (labelValue.length <= 0) {
|
|
@@ -2441,7 +2441,7 @@ export var serializeAws_restJson1UpdateFuotaTaskCommand = function (input, conte
|
|
|
2441
2441
|
headers = {
|
|
2442
2442
|
"content-type": "application/json",
|
|
2443
2443
|
};
|
|
2444
|
-
resolvedPath = ""
|
|
2444
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/fuota-tasks/{Id}";
|
|
2445
2445
|
if (input.Id !== undefined) {
|
|
2446
2446
|
labelValue = input.Id;
|
|
2447
2447
|
if (labelValue.length <= 0) {
|
|
@@ -2478,7 +2478,7 @@ export var serializeAws_restJson1UpdateLogLevelsByResourceTypesCommand = functio
|
|
|
2478
2478
|
headers = {
|
|
2479
2479
|
"content-type": "application/json",
|
|
2480
2480
|
};
|
|
2481
|
-
resolvedPath = ""
|
|
2481
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/log-levels";
|
|
2482
2482
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.DefaultLogLevel !== undefined &&
|
|
2483
2483
|
input.DefaultLogLevel !== null && { DefaultLogLevel: input.DefaultLogLevel })), (input.WirelessDeviceLogOptions !== undefined &&
|
|
2484
2484
|
input.WirelessDeviceLogOptions !== null && {
|
|
@@ -2509,7 +2509,7 @@ export var serializeAws_restJson1UpdateMulticastGroupCommand = function (input,
|
|
|
2509
2509
|
headers = {
|
|
2510
2510
|
"content-type": "application/json",
|
|
2511
2511
|
};
|
|
2512
|
-
resolvedPath = ""
|
|
2512
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/multicast-groups/{Id}";
|
|
2513
2513
|
if (input.Id !== undefined) {
|
|
2514
2514
|
labelValue = input.Id;
|
|
2515
2515
|
if (labelValue.length <= 0) {
|
|
@@ -2544,7 +2544,7 @@ export var serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = fun
|
|
|
2544
2544
|
headers = {
|
|
2545
2545
|
"content-type": "application/json",
|
|
2546
2546
|
};
|
|
2547
|
-
resolvedPath = ""
|
|
2547
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2548
2548
|
"/network-analyzer-configurations/{ConfigurationName}";
|
|
2549
2549
|
if (input.ConfigurationName !== undefined) {
|
|
2550
2550
|
labelValue = input.ConfigurationName;
|
|
@@ -2592,7 +2592,7 @@ export var serializeAws_restJson1UpdatePartnerAccountCommand = function (input,
|
|
|
2592
2592
|
headers = {
|
|
2593
2593
|
"content-type": "application/json",
|
|
2594
2594
|
};
|
|
2595
|
-
resolvedPath = ""
|
|
2595
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/partner-accounts/{PartnerAccountId}";
|
|
2596
2596
|
if (input.PartnerAccountId !== undefined) {
|
|
2597
2597
|
labelValue = input.PartnerAccountId;
|
|
2598
2598
|
if (labelValue.length <= 0) {
|
|
@@ -2629,7 +2629,7 @@ export var serializeAws_restJson1UpdateResourceEventConfigurationCommand = funct
|
|
|
2629
2629
|
headers = {
|
|
2630
2630
|
"content-type": "application/json",
|
|
2631
2631
|
};
|
|
2632
|
-
resolvedPath = ""
|
|
2632
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/event-configurations/{Identifier}";
|
|
2633
2633
|
if (input.Identifier !== undefined) {
|
|
2634
2634
|
labelValue = input.Identifier;
|
|
2635
2635
|
if (labelValue.length <= 0) {
|
|
@@ -2671,7 +2671,7 @@ export var serializeAws_restJson1UpdateWirelessDeviceCommand = function (input,
|
|
|
2671
2671
|
headers = {
|
|
2672
2672
|
"content-type": "application/json",
|
|
2673
2673
|
};
|
|
2674
|
-
resolvedPath = ""
|
|
2674
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}";
|
|
2675
2675
|
if (input.Id !== undefined) {
|
|
2676
2676
|
labelValue = input.Id;
|
|
2677
2677
|
if (labelValue.length <= 0) {
|
|
@@ -2707,7 +2707,7 @@ export var serializeAws_restJson1UpdateWirelessGatewayCommand = function (input,
|
|
|
2707
2707
|
headers = {
|
|
2708
2708
|
"content-type": "application/json",
|
|
2709
2709
|
};
|
|
2710
|
-
resolvedPath = ""
|
|
2710
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-gateways/{Id}";
|
|
2711
2711
|
if (input.Id !== undefined) {
|
|
2712
2712
|
labelValue = input.Id;
|
|
2713
2713
|
if (labelValue.length <= 0) {
|