@aws-sdk/client-iot-wireless 3.42.0 → 3.43.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 +11 -0
- package/dist-cjs/IoTWireless.js +30 -0
- package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +47 -1
- package/dist-cjs/models/models_0.js +39 -4
- package/dist-cjs/protocols/Aws_restJson1.js +297 -4
- package/dist-es/IoTWireless.js +30 -0
- package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +47 -1
- package/dist-es/models/models_0.js +25 -0
- package/dist-es/protocols/Aws_restJson1.js +320 -0
- package/dist-types/IoTWireless.d.ts +14 -0
- package/dist-types/IoTWirelessClient.d.ts +4 -2
- package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +95 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +10 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +59 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +2 -2
|
@@ -580,6 +580,23 @@ export var GetMulticastGroupSessionResponse;
|
|
|
580
580
|
(function (GetMulticastGroupSessionResponse) {
|
|
581
581
|
GetMulticastGroupSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
582
582
|
})(GetMulticastGroupSessionResponse || (GetMulticastGroupSessionResponse = {}));
|
|
583
|
+
export var GetNetworkAnalyzerConfigurationRequest;
|
|
584
|
+
(function (GetNetworkAnalyzerConfigurationRequest) {
|
|
585
|
+
GetNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
586
|
+
})(GetNetworkAnalyzerConfigurationRequest || (GetNetworkAnalyzerConfigurationRequest = {}));
|
|
587
|
+
export var WirelessDeviceFrameInfo;
|
|
588
|
+
(function (WirelessDeviceFrameInfo) {
|
|
589
|
+
WirelessDeviceFrameInfo["DISABLED"] = "DISABLED";
|
|
590
|
+
WirelessDeviceFrameInfo["ENABLED"] = "ENABLED";
|
|
591
|
+
})(WirelessDeviceFrameInfo || (WirelessDeviceFrameInfo = {}));
|
|
592
|
+
export var TraceContent;
|
|
593
|
+
(function (TraceContent) {
|
|
594
|
+
TraceContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
595
|
+
})(TraceContent || (TraceContent = {}));
|
|
596
|
+
export var GetNetworkAnalyzerConfigurationResponse;
|
|
597
|
+
(function (GetNetworkAnalyzerConfigurationResponse) {
|
|
598
|
+
GetNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
599
|
+
})(GetNetworkAnalyzerConfigurationResponse || (GetNetworkAnalyzerConfigurationResponse = {}));
|
|
583
600
|
export var GetPartnerAccountRequest;
|
|
584
601
|
(function (GetPartnerAccountRequest) {
|
|
585
602
|
GetPartnerAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1031,6 +1048,14 @@ export var UpdateMulticastGroupResponse;
|
|
|
1031
1048
|
(function (UpdateMulticastGroupResponse) {
|
|
1032
1049
|
UpdateMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1033
1050
|
})(UpdateMulticastGroupResponse || (UpdateMulticastGroupResponse = {}));
|
|
1051
|
+
export var UpdateNetworkAnalyzerConfigurationRequest;
|
|
1052
|
+
(function (UpdateNetworkAnalyzerConfigurationRequest) {
|
|
1053
|
+
UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1054
|
+
})(UpdateNetworkAnalyzerConfigurationRequest || (UpdateNetworkAnalyzerConfigurationRequest = {}));
|
|
1055
|
+
export var UpdateNetworkAnalyzerConfigurationResponse;
|
|
1056
|
+
(function (UpdateNetworkAnalyzerConfigurationResponse) {
|
|
1057
|
+
UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1058
|
+
})(UpdateNetworkAnalyzerConfigurationResponse || (UpdateNetworkAnalyzerConfigurationResponse = {}));
|
|
1034
1059
|
export var SidewalkUpdateAccount;
|
|
1035
1060
|
(function (SidewalkUpdateAccount) {
|
|
1036
1061
|
SidewalkUpdateAccount.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AppServerPrivateKey && { AppServerPrivateKey: SENSITIVE_STRING }))); };
|
|
@@ -1237,6 +1237,38 @@ export var serializeAws_restJson1GetMulticastGroupSessionCommand = function (inp
|
|
|
1237
1237
|
}
|
|
1238
1238
|
});
|
|
1239
1239
|
}); };
|
|
1240
|
+
export var serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1241
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
1242
|
+
return __generator(this, function (_c) {
|
|
1243
|
+
switch (_c.label) {
|
|
1244
|
+
case 0: return [4, context.endpoint()];
|
|
1245
|
+
case 1:
|
|
1246
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1247
|
+
headers = {};
|
|
1248
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1249
|
+
"/network-analyzer-configurations/{ConfigurationName}";
|
|
1250
|
+
if (input.ConfigurationName !== undefined) {
|
|
1251
|
+
labelValue = input.ConfigurationName;
|
|
1252
|
+
if (labelValue.length <= 0) {
|
|
1253
|
+
throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
|
|
1254
|
+
}
|
|
1255
|
+
resolvedPath = resolvedPath.replace("{ConfigurationName}", __extendedEncodeURIComponent(labelValue));
|
|
1256
|
+
}
|
|
1257
|
+
else {
|
|
1258
|
+
throw new Error("No value provided for input HTTP label: ConfigurationName.");
|
|
1259
|
+
}
|
|
1260
|
+
return [2, new __HttpRequest({
|
|
1261
|
+
protocol: protocol,
|
|
1262
|
+
hostname: hostname,
|
|
1263
|
+
port: port,
|
|
1264
|
+
method: "GET",
|
|
1265
|
+
headers: headers,
|
|
1266
|
+
path: resolvedPath,
|
|
1267
|
+
body: body,
|
|
1268
|
+
})];
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
}); };
|
|
1240
1272
|
export var serializeAws_restJson1GetPartnerAccountCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1241
1273
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
1242
1274
|
return __generator(this, function (_c) {
|
|
@@ -2434,6 +2466,54 @@ export var serializeAws_restJson1UpdateMulticastGroupCommand = function (input,
|
|
|
2434
2466
|
}
|
|
2435
2467
|
});
|
|
2436
2468
|
}); };
|
|
2469
|
+
export var serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2470
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
2471
|
+
return __generator(this, function (_c) {
|
|
2472
|
+
switch (_c.label) {
|
|
2473
|
+
case 0: return [4, context.endpoint()];
|
|
2474
|
+
case 1:
|
|
2475
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2476
|
+
headers = {
|
|
2477
|
+
"content-type": "application/json",
|
|
2478
|
+
};
|
|
2479
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2480
|
+
"/network-analyzer-configurations/{ConfigurationName}";
|
|
2481
|
+
if (input.ConfigurationName !== undefined) {
|
|
2482
|
+
labelValue = input.ConfigurationName;
|
|
2483
|
+
if (labelValue.length <= 0) {
|
|
2484
|
+
throw new Error("Empty value provided for input HTTP label: ConfigurationName.");
|
|
2485
|
+
}
|
|
2486
|
+
resolvedPath = resolvedPath.replace("{ConfigurationName}", __extendedEncodeURIComponent(labelValue));
|
|
2487
|
+
}
|
|
2488
|
+
else {
|
|
2489
|
+
throw new Error("No value provided for input HTTP label: ConfigurationName.");
|
|
2490
|
+
}
|
|
2491
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.TraceContent !== undefined &&
|
|
2492
|
+
input.TraceContent !== null && { TraceContent: serializeAws_restJson1TraceContent(input.TraceContent, context) })), (input.WirelessDevicesToAdd !== undefined &&
|
|
2493
|
+
input.WirelessDevicesToAdd !== null && {
|
|
2494
|
+
WirelessDevicesToAdd: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToAdd, context),
|
|
2495
|
+
})), (input.WirelessDevicesToRemove !== undefined &&
|
|
2496
|
+
input.WirelessDevicesToRemove !== null && {
|
|
2497
|
+
WirelessDevicesToRemove: serializeAws_restJson1WirelessDeviceList(input.WirelessDevicesToRemove, context),
|
|
2498
|
+
})), (input.WirelessGatewaysToAdd !== undefined &&
|
|
2499
|
+
input.WirelessGatewaysToAdd !== null && {
|
|
2500
|
+
WirelessGatewaysToAdd: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToAdd, context),
|
|
2501
|
+
})), (input.WirelessGatewaysToRemove !== undefined &&
|
|
2502
|
+
input.WirelessGatewaysToRemove !== null && {
|
|
2503
|
+
WirelessGatewaysToRemove: serializeAws_restJson1WirelessGatewayList(input.WirelessGatewaysToRemove, context),
|
|
2504
|
+
})));
|
|
2505
|
+
return [2, new __HttpRequest({
|
|
2506
|
+
protocol: protocol,
|
|
2507
|
+
hostname: hostname,
|
|
2508
|
+
port: port,
|
|
2509
|
+
method: "PATCH",
|
|
2510
|
+
headers: headers,
|
|
2511
|
+
path: resolvedPath,
|
|
2512
|
+
body: body,
|
|
2513
|
+
})];
|
|
2514
|
+
}
|
|
2515
|
+
});
|
|
2516
|
+
}); };
|
|
2437
2517
|
export var serializeAws_restJson1UpdatePartnerAccountCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2438
2518
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
2439
2519
|
return __generator(this, function (_c) {
|
|
@@ -6417,6 +6497,108 @@ var deserializeAws_restJson1GetMulticastGroupSessionCommandError = function (out
|
|
|
6417
6497
|
}
|
|
6418
6498
|
});
|
|
6419
6499
|
}); };
|
|
6500
|
+
export var deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6501
|
+
var contents, data, _a, _b;
|
|
6502
|
+
return __generator(this, function (_c) {
|
|
6503
|
+
switch (_c.label) {
|
|
6504
|
+
case 0:
|
|
6505
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
6506
|
+
return [2, deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommandError(output, context)];
|
|
6507
|
+
}
|
|
6508
|
+
contents = {
|
|
6509
|
+
$metadata: deserializeMetadata(output),
|
|
6510
|
+
TraceContent: undefined,
|
|
6511
|
+
WirelessDevices: undefined,
|
|
6512
|
+
WirelessGateways: undefined,
|
|
6513
|
+
};
|
|
6514
|
+
_a = __expectNonNull;
|
|
6515
|
+
_b = __expectObject;
|
|
6516
|
+
return [4, parseBody(output.body, context)];
|
|
6517
|
+
case 1:
|
|
6518
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
6519
|
+
if (data.TraceContent !== undefined && data.TraceContent !== null) {
|
|
6520
|
+
contents.TraceContent = deserializeAws_restJson1TraceContent(data.TraceContent, context);
|
|
6521
|
+
}
|
|
6522
|
+
if (data.WirelessDevices !== undefined && data.WirelessDevices !== null) {
|
|
6523
|
+
contents.WirelessDevices = deserializeAws_restJson1WirelessDeviceList(data.WirelessDevices, context);
|
|
6524
|
+
}
|
|
6525
|
+
if (data.WirelessGateways !== undefined && data.WirelessGateways !== null) {
|
|
6526
|
+
contents.WirelessGateways = deserializeAws_restJson1WirelessGatewayList(data.WirelessGateways, context);
|
|
6527
|
+
}
|
|
6528
|
+
return [2, Promise.resolve(contents)];
|
|
6529
|
+
}
|
|
6530
|
+
});
|
|
6531
|
+
}); };
|
|
6532
|
+
var deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6533
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
6534
|
+
var _h;
|
|
6535
|
+
return __generator(this, function (_j) {
|
|
6536
|
+
switch (_j.label) {
|
|
6537
|
+
case 0:
|
|
6538
|
+
_a = [__assign({}, output)];
|
|
6539
|
+
_h = {};
|
|
6540
|
+
return [4, parseBody(output.body, context)];
|
|
6541
|
+
case 1:
|
|
6542
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
6543
|
+
errorCode = "UnknownError";
|
|
6544
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6545
|
+
_b = errorCode;
|
|
6546
|
+
switch (_b) {
|
|
6547
|
+
case "AccessDeniedException": return [3, 2];
|
|
6548
|
+
case "com.amazonaws.iotwireless#AccessDeniedException": return [3, 2];
|
|
6549
|
+
case "InternalServerException": return [3, 4];
|
|
6550
|
+
case "com.amazonaws.iotwireless#InternalServerException": return [3, 4];
|
|
6551
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
6552
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException": return [3, 6];
|
|
6553
|
+
case "ThrottlingException": return [3, 8];
|
|
6554
|
+
case "com.amazonaws.iotwireless#ThrottlingException": return [3, 8];
|
|
6555
|
+
case "ValidationException": return [3, 10];
|
|
6556
|
+
case "com.amazonaws.iotwireless#ValidationException": return [3, 10];
|
|
6557
|
+
}
|
|
6558
|
+
return [3, 12];
|
|
6559
|
+
case 2:
|
|
6560
|
+
_c = [{}];
|
|
6561
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
6562
|
+
case 3:
|
|
6563
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6564
|
+
return [3, 13];
|
|
6565
|
+
case 4:
|
|
6566
|
+
_d = [{}];
|
|
6567
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
6568
|
+
case 5:
|
|
6569
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6570
|
+
return [3, 13];
|
|
6571
|
+
case 6:
|
|
6572
|
+
_e = [{}];
|
|
6573
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
6574
|
+
case 7:
|
|
6575
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6576
|
+
return [3, 13];
|
|
6577
|
+
case 8:
|
|
6578
|
+
_f = [{}];
|
|
6579
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
6580
|
+
case 9:
|
|
6581
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6582
|
+
return [3, 13];
|
|
6583
|
+
case 10:
|
|
6584
|
+
_g = [{}];
|
|
6585
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
6586
|
+
case 11:
|
|
6587
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
6588
|
+
return [3, 13];
|
|
6589
|
+
case 12:
|
|
6590
|
+
parsedBody = parsedOutput.body;
|
|
6591
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
6592
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
6593
|
+
_j.label = 13;
|
|
6594
|
+
case 13:
|
|
6595
|
+
message = response.message || response.Message || errorCode;
|
|
6596
|
+
response.message = message;
|
|
6597
|
+
delete response.Message;
|
|
6598
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
6599
|
+
}
|
|
6600
|
+
});
|
|
6601
|
+
}); };
|
|
6420
6602
|
export var deserializeAws_restJson1GetPartnerAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6421
6603
|
var contents, data, _a, _b;
|
|
6422
6604
|
return __generator(this, function (_c) {
|
|
@@ -10231,6 +10413,94 @@ var deserializeAws_restJson1UpdateMulticastGroupCommandError = function (output,
|
|
|
10231
10413
|
}
|
|
10232
10414
|
});
|
|
10233
10415
|
}); };
|
|
10416
|
+
export var deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10417
|
+
var contents;
|
|
10418
|
+
return __generator(this, function (_a) {
|
|
10419
|
+
switch (_a.label) {
|
|
10420
|
+
case 0:
|
|
10421
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
10422
|
+
return [2, deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommandError(output, context)];
|
|
10423
|
+
}
|
|
10424
|
+
contents = {
|
|
10425
|
+
$metadata: deserializeMetadata(output),
|
|
10426
|
+
};
|
|
10427
|
+
return [4, collectBody(output.body, context)];
|
|
10428
|
+
case 1:
|
|
10429
|
+
_a.sent();
|
|
10430
|
+
return [2, Promise.resolve(contents)];
|
|
10431
|
+
}
|
|
10432
|
+
});
|
|
10433
|
+
}); };
|
|
10434
|
+
var deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10435
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
10436
|
+
var _h;
|
|
10437
|
+
return __generator(this, function (_j) {
|
|
10438
|
+
switch (_j.label) {
|
|
10439
|
+
case 0:
|
|
10440
|
+
_a = [__assign({}, output)];
|
|
10441
|
+
_h = {};
|
|
10442
|
+
return [4, parseBody(output.body, context)];
|
|
10443
|
+
case 1:
|
|
10444
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
10445
|
+
errorCode = "UnknownError";
|
|
10446
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10447
|
+
_b = errorCode;
|
|
10448
|
+
switch (_b) {
|
|
10449
|
+
case "AccessDeniedException": return [3, 2];
|
|
10450
|
+
case "com.amazonaws.iotwireless#AccessDeniedException": return [3, 2];
|
|
10451
|
+
case "InternalServerException": return [3, 4];
|
|
10452
|
+
case "com.amazonaws.iotwireless#InternalServerException": return [3, 4];
|
|
10453
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
10454
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException": return [3, 6];
|
|
10455
|
+
case "ThrottlingException": return [3, 8];
|
|
10456
|
+
case "com.amazonaws.iotwireless#ThrottlingException": return [3, 8];
|
|
10457
|
+
case "ValidationException": return [3, 10];
|
|
10458
|
+
case "com.amazonaws.iotwireless#ValidationException": return [3, 10];
|
|
10459
|
+
}
|
|
10460
|
+
return [3, 12];
|
|
10461
|
+
case 2:
|
|
10462
|
+
_c = [{}];
|
|
10463
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
10464
|
+
case 3:
|
|
10465
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10466
|
+
return [3, 13];
|
|
10467
|
+
case 4:
|
|
10468
|
+
_d = [{}];
|
|
10469
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
10470
|
+
case 5:
|
|
10471
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10472
|
+
return [3, 13];
|
|
10473
|
+
case 6:
|
|
10474
|
+
_e = [{}];
|
|
10475
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
10476
|
+
case 7:
|
|
10477
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10478
|
+
return [3, 13];
|
|
10479
|
+
case 8:
|
|
10480
|
+
_f = [{}];
|
|
10481
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
10482
|
+
case 9:
|
|
10483
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10484
|
+
return [3, 13];
|
|
10485
|
+
case 10:
|
|
10486
|
+
_g = [{}];
|
|
10487
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
10488
|
+
case 11:
|
|
10489
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10490
|
+
return [3, 13];
|
|
10491
|
+
case 12:
|
|
10492
|
+
parsedBody = parsedOutput.body;
|
|
10493
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10494
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10495
|
+
_j.label = 13;
|
|
10496
|
+
case 13:
|
|
10497
|
+
message = response.message || response.Message || errorCode;
|
|
10498
|
+
response.message = message;
|
|
10499
|
+
delete response.Message;
|
|
10500
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10501
|
+
}
|
|
10502
|
+
});
|
|
10503
|
+
}); };
|
|
10234
10504
|
export var deserializeAws_restJson1UpdatePartnerAccountCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10235
10505
|
var contents;
|
|
10236
10506
|
return __generator(this, function (_a) {
|
|
@@ -10910,6 +11180,10 @@ var serializeAws_restJson1TagList = function (input, context) {
|
|
|
10910
11180
|
return serializeAws_restJson1Tag(entry, context);
|
|
10911
11181
|
});
|
|
10912
11182
|
};
|
|
11183
|
+
var serializeAws_restJson1TraceContent = function (input, context) {
|
|
11184
|
+
return __assign(__assign({}, (input.LogLevel !== undefined && input.LogLevel !== null && { LogLevel: input.LogLevel })), (input.WirelessDeviceFrameInfo !== undefined &&
|
|
11185
|
+
input.WirelessDeviceFrameInfo !== null && { WirelessDeviceFrameInfo: input.WirelessDeviceFrameInfo }));
|
|
11186
|
+
};
|
|
10913
11187
|
var serializeAws_restJson1UpdateWirelessGatewayTaskCreate = function (input, context) {
|
|
10914
11188
|
return __assign(__assign(__assign({}, (input.LoRaWAN !== undefined &&
|
|
10915
11189
|
input.LoRaWAN !== null && {
|
|
@@ -10931,6 +11205,16 @@ var serializeAws_restJson1WirelessDeviceEventLogOptionList = function (input, co
|
|
|
10931
11205
|
return serializeAws_restJson1WirelessDeviceEventLogOption(entry, context);
|
|
10932
11206
|
});
|
|
10933
11207
|
};
|
|
11208
|
+
var serializeAws_restJson1WirelessDeviceList = function (input, context) {
|
|
11209
|
+
return input
|
|
11210
|
+
.filter(function (e) { return e != null; })
|
|
11211
|
+
.map(function (entry) {
|
|
11212
|
+
if (entry === null) {
|
|
11213
|
+
return null;
|
|
11214
|
+
}
|
|
11215
|
+
return entry;
|
|
11216
|
+
});
|
|
11217
|
+
};
|
|
10934
11218
|
var serializeAws_restJson1WirelessDeviceLogOption = function (input, context) {
|
|
10935
11219
|
return __assign(__assign(__assign({}, (input.Events !== undefined &&
|
|
10936
11220
|
input.Events !== null && {
|
|
@@ -10960,6 +11244,16 @@ var serializeAws_restJson1WirelessGatewayEventLogOptionList = function (input, c
|
|
|
10960
11244
|
return serializeAws_restJson1WirelessGatewayEventLogOption(entry, context);
|
|
10961
11245
|
});
|
|
10962
11246
|
};
|
|
11247
|
+
var serializeAws_restJson1WirelessGatewayList = function (input, context) {
|
|
11248
|
+
return input
|
|
11249
|
+
.filter(function (e) { return e != null; })
|
|
11250
|
+
.map(function (entry) {
|
|
11251
|
+
if (entry === null) {
|
|
11252
|
+
return null;
|
|
11253
|
+
}
|
|
11254
|
+
return entry;
|
|
11255
|
+
});
|
|
11256
|
+
};
|
|
10963
11257
|
var serializeAws_restJson1WirelessGatewayLogOption = function (input, context) {
|
|
10964
11258
|
return __assign(__assign(__assign({}, (input.Events !== undefined &&
|
|
10965
11259
|
input.Events !== null && {
|
|
@@ -11468,6 +11762,12 @@ var deserializeAws_restJson1TagList = function (output, context) {
|
|
|
11468
11762
|
return deserializeAws_restJson1Tag(entry, context);
|
|
11469
11763
|
});
|
|
11470
11764
|
};
|
|
11765
|
+
var deserializeAws_restJson1TraceContent = function (output, context) {
|
|
11766
|
+
return {
|
|
11767
|
+
LogLevel: __expectString(output.LogLevel),
|
|
11768
|
+
WirelessDeviceFrameInfo: __expectString(output.WirelessDeviceFrameInfo),
|
|
11769
|
+
};
|
|
11770
|
+
};
|
|
11471
11771
|
var deserializeAws_restJson1UpdateWirelessGatewayTaskCreate = function (output, context) {
|
|
11472
11772
|
return {
|
|
11473
11773
|
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
@@ -11502,6 +11802,16 @@ var deserializeAws_restJson1WirelessDeviceEventLogOptionList = function (output,
|
|
|
11502
11802
|
return deserializeAws_restJson1WirelessDeviceEventLogOption(entry, context);
|
|
11503
11803
|
});
|
|
11504
11804
|
};
|
|
11805
|
+
var deserializeAws_restJson1WirelessDeviceList = function (output, context) {
|
|
11806
|
+
return (output || [])
|
|
11807
|
+
.filter(function (e) { return e != null; })
|
|
11808
|
+
.map(function (entry) {
|
|
11809
|
+
if (entry === null) {
|
|
11810
|
+
return null;
|
|
11811
|
+
}
|
|
11812
|
+
return __expectString(entry);
|
|
11813
|
+
});
|
|
11814
|
+
};
|
|
11505
11815
|
var deserializeAws_restJson1WirelessDeviceLogOption = function (output, context) {
|
|
11506
11816
|
return {
|
|
11507
11817
|
Events: output.Events !== undefined && output.Events !== null
|
|
@@ -11566,6 +11876,16 @@ var deserializeAws_restJson1WirelessGatewayEventLogOptionList = function (output
|
|
|
11566
11876
|
return deserializeAws_restJson1WirelessGatewayEventLogOption(entry, context);
|
|
11567
11877
|
});
|
|
11568
11878
|
};
|
|
11879
|
+
var deserializeAws_restJson1WirelessGatewayList = function (output, context) {
|
|
11880
|
+
return (output || [])
|
|
11881
|
+
.filter(function (e) { return e != null; })
|
|
11882
|
+
.map(function (entry) {
|
|
11883
|
+
if (entry === null) {
|
|
11884
|
+
return null;
|
|
11885
|
+
}
|
|
11886
|
+
return __expectString(entry);
|
|
11887
|
+
});
|
|
11888
|
+
};
|
|
11569
11889
|
var deserializeAws_restJson1WirelessGatewayLogOption = function (output, context) {
|
|
11570
11890
|
return {
|
|
11571
11891
|
Events: output.Events !== undefined && output.Events !== null
|
|
@@ -38,6 +38,7 @@ import { GetFuotaTaskCommandInput, GetFuotaTaskCommandOutput } from "./commands/
|
|
|
38
38
|
import { GetLogLevelsByResourceTypesCommandInput, GetLogLevelsByResourceTypesCommandOutput } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
39
39
|
import { GetMulticastGroupCommandInput, GetMulticastGroupCommandOutput } from "./commands/GetMulticastGroupCommand";
|
|
40
40
|
import { GetMulticastGroupSessionCommandInput, GetMulticastGroupSessionCommandOutput } from "./commands/GetMulticastGroupSessionCommand";
|
|
41
|
+
import { GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
41
42
|
import { GetPartnerAccountCommandInput, GetPartnerAccountCommandOutput } from "./commands/GetPartnerAccountCommand";
|
|
42
43
|
import { GetResourceEventConfigurationCommandInput, GetResourceEventConfigurationCommandOutput } from "./commands/GetResourceEventConfigurationCommand";
|
|
43
44
|
import { GetResourceLogLevelCommandInput, GetResourceLogLevelCommandOutput } from "./commands/GetResourceLogLevelCommand";
|
|
@@ -78,6 +79,7 @@ import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from ".
|
|
|
78
79
|
import { UpdateFuotaTaskCommandInput, UpdateFuotaTaskCommandOutput } from "./commands/UpdateFuotaTaskCommand";
|
|
79
80
|
import { UpdateLogLevelsByResourceTypesCommandInput, UpdateLogLevelsByResourceTypesCommandOutput } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
80
81
|
import { UpdateMulticastGroupCommandInput, UpdateMulticastGroupCommandOutput } from "./commands/UpdateMulticastGroupCommand";
|
|
82
|
+
import { UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
81
83
|
import { UpdatePartnerAccountCommandInput, UpdatePartnerAccountCommandOutput } from "./commands/UpdatePartnerAccountCommand";
|
|
82
84
|
import { UpdateResourceEventConfigurationCommandInput, UpdateResourceEventConfigurationCommandOutput } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
83
85
|
import { UpdateWirelessDeviceCommandInput, UpdateWirelessDeviceCommandOutput } from "./commands/UpdateWirelessDeviceCommand";
|
|
@@ -322,6 +324,12 @@ export declare class IoTWireless extends IoTWirelessClient {
|
|
|
322
324
|
getMulticastGroupSession(args: GetMulticastGroupSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetMulticastGroupSessionCommandOutput>;
|
|
323
325
|
getMulticastGroupSession(args: GetMulticastGroupSessionCommandInput, cb: (err: any, data?: GetMulticastGroupSessionCommandOutput) => void): void;
|
|
324
326
|
getMulticastGroupSession(args: GetMulticastGroupSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMulticastGroupSessionCommandOutput) => void): void;
|
|
327
|
+
/**
|
|
328
|
+
* <p>Get NetworkAnalyzer configuration.</p>
|
|
329
|
+
*/
|
|
330
|
+
getNetworkAnalyzerConfiguration(args: GetNetworkAnalyzerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetNetworkAnalyzerConfigurationCommandOutput>;
|
|
331
|
+
getNetworkAnalyzerConfiguration(args: GetNetworkAnalyzerConfigurationCommandInput, cb: (err: any, data?: GetNetworkAnalyzerConfigurationCommandOutput) => void): void;
|
|
332
|
+
getNetworkAnalyzerConfiguration(args: GetNetworkAnalyzerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNetworkAnalyzerConfigurationCommandOutput) => void): void;
|
|
325
333
|
/**
|
|
326
334
|
* <p>Gets information about a partner account. If <code>PartnerAccountId</code> and <code>PartnerType</code> are <code>null</code>, returns all partner accounts.</p>
|
|
327
335
|
*/
|
|
@@ -566,6 +574,12 @@ export declare class IoTWireless extends IoTWirelessClient {
|
|
|
566
574
|
updateMulticastGroup(args: UpdateMulticastGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMulticastGroupCommandOutput>;
|
|
567
575
|
updateMulticastGroup(args: UpdateMulticastGroupCommandInput, cb: (err: any, data?: UpdateMulticastGroupCommandOutput) => void): void;
|
|
568
576
|
updateMulticastGroup(args: UpdateMulticastGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMulticastGroupCommandOutput) => void): void;
|
|
577
|
+
/**
|
|
578
|
+
* <p>Update NetworkAnalyzer configuration.</p>
|
|
579
|
+
*/
|
|
580
|
+
updateNetworkAnalyzerConfiguration(args: UpdateNetworkAnalyzerConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNetworkAnalyzerConfigurationCommandOutput>;
|
|
581
|
+
updateNetworkAnalyzerConfiguration(args: UpdateNetworkAnalyzerConfigurationCommandInput, cb: (err: any, data?: UpdateNetworkAnalyzerConfigurationCommandOutput) => void): void;
|
|
582
|
+
updateNetworkAnalyzerConfiguration(args: UpdateNetworkAnalyzerConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNetworkAnalyzerConfigurationCommandOutput) => void): void;
|
|
569
583
|
/**
|
|
570
584
|
* <p>Updates properties of a partner account.</p>
|
|
571
585
|
*/
|
|
@@ -45,6 +45,7 @@ import { GetFuotaTaskCommandInput, GetFuotaTaskCommandOutput } from "./commands/
|
|
|
45
45
|
import { GetLogLevelsByResourceTypesCommandInput, GetLogLevelsByResourceTypesCommandOutput } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
46
46
|
import { GetMulticastGroupCommandInput, GetMulticastGroupCommandOutput } from "./commands/GetMulticastGroupCommand";
|
|
47
47
|
import { GetMulticastGroupSessionCommandInput, GetMulticastGroupSessionCommandOutput } from "./commands/GetMulticastGroupSessionCommand";
|
|
48
|
+
import { GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
48
49
|
import { GetPartnerAccountCommandInput, GetPartnerAccountCommandOutput } from "./commands/GetPartnerAccountCommand";
|
|
49
50
|
import { GetResourceEventConfigurationCommandInput, GetResourceEventConfigurationCommandOutput } from "./commands/GetResourceEventConfigurationCommand";
|
|
50
51
|
import { GetResourceLogLevelCommandInput, GetResourceLogLevelCommandOutput } from "./commands/GetResourceLogLevelCommand";
|
|
@@ -85,12 +86,13 @@ import { UpdateDestinationCommandInput, UpdateDestinationCommandOutput } from ".
|
|
|
85
86
|
import { UpdateFuotaTaskCommandInput, UpdateFuotaTaskCommandOutput } from "./commands/UpdateFuotaTaskCommand";
|
|
86
87
|
import { UpdateLogLevelsByResourceTypesCommandInput, UpdateLogLevelsByResourceTypesCommandOutput } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
87
88
|
import { UpdateMulticastGroupCommandInput, UpdateMulticastGroupCommandOutput } from "./commands/UpdateMulticastGroupCommand";
|
|
89
|
+
import { UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
88
90
|
import { UpdatePartnerAccountCommandInput, UpdatePartnerAccountCommandOutput } from "./commands/UpdatePartnerAccountCommand";
|
|
89
91
|
import { UpdateResourceEventConfigurationCommandInput, UpdateResourceEventConfigurationCommandOutput } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
90
92
|
import { UpdateWirelessDeviceCommandInput, UpdateWirelessDeviceCommandOutput } from "./commands/UpdateWirelessDeviceCommand";
|
|
91
93
|
import { UpdateWirelessGatewayCommandInput, UpdateWirelessGatewayCommandOutput } from "./commands/UpdateWirelessGatewayCommand";
|
|
92
|
-
export declare type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetPartnerAccountCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListPartnerAccountsCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMulticastGroupCommandInput | UpdatePartnerAccountCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessGatewayCommandInput;
|
|
93
|
-
export declare type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetPartnerAccountCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListPartnerAccountsCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMulticastGroupCommandOutput | UpdatePartnerAccountCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
94
|
+
export declare type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetNetworkAnalyzerConfigurationCommandInput | GetPartnerAccountCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListPartnerAccountsCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMulticastGroupCommandInput | UpdateNetworkAnalyzerConfigurationCommandInput | UpdatePartnerAccountCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessGatewayCommandInput;
|
|
95
|
+
export declare type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetNetworkAnalyzerConfigurationCommandOutput | GetPartnerAccountCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListPartnerAccountsCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMulticastGroupCommandOutput | UpdateNetworkAnalyzerConfigurationCommandOutput | UpdatePartnerAccountCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
94
96
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
95
97
|
/**
|
|
96
98
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
+
import { GetNetworkAnalyzerConfigurationRequest, GetNetworkAnalyzerConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface GetNetworkAnalyzerConfigurationCommandInput extends GetNetworkAnalyzerConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetNetworkAnalyzerConfigurationCommandOutput extends GetNetworkAnalyzerConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Get NetworkAnalyzer configuration.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IoTWirelessClient, GetNetworkAnalyzerConfigurationCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
15
|
+
* // const { IoTWirelessClient, GetNetworkAnalyzerConfigurationCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
16
|
+
* const client = new IoTWirelessClient(config);
|
|
17
|
+
* const command = new GetNetworkAnalyzerConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetNetworkAnalyzerConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetNetworkAnalyzerConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetNetworkAnalyzerConfigurationCommand extends $Command<GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput, IoTWirelessClientResolvedConfig> {
|
|
27
|
+
readonly input: GetNetworkAnalyzerConfigurationCommandInput;
|
|
28
|
+
constructor(input: GetNetworkAnalyzerConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTWirelessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetNetworkAnalyzerConfigurationCommandInput, GetNetworkAnalyzerConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
+
import { UpdateNetworkAnalyzerConfigurationRequest, UpdateNetworkAnalyzerConfigurationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateNetworkAnalyzerConfigurationCommandInput extends UpdateNetworkAnalyzerConfigurationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateNetworkAnalyzerConfigurationCommandOutput extends UpdateNetworkAnalyzerConfigurationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Update NetworkAnalyzer configuration.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IoTWirelessClient, UpdateNetworkAnalyzerConfigurationCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
15
|
+
* // const { IoTWirelessClient, UpdateNetworkAnalyzerConfigurationCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
16
|
+
* const client = new IoTWirelessClient(config);
|
|
17
|
+
* const command = new UpdateNetworkAnalyzerConfigurationCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateNetworkAnalyzerConfigurationCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateNetworkAnalyzerConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateNetworkAnalyzerConfigurationCommand extends $Command<UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput, IoTWirelessClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateNetworkAnalyzerConfigurationCommandInput;
|
|
28
|
+
constructor(input: UpdateNetworkAnalyzerConfigurationCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTWirelessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNetworkAnalyzerConfigurationCommandInput, UpdateNetworkAnalyzerConfigurationCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -37,6 +37,7 @@ export * from "./GetFuotaTaskCommand";
|
|
|
37
37
|
export * from "./GetLogLevelsByResourceTypesCommand";
|
|
38
38
|
export * from "./GetMulticastGroupCommand";
|
|
39
39
|
export * from "./GetMulticastGroupSessionCommand";
|
|
40
|
+
export * from "./GetNetworkAnalyzerConfigurationCommand";
|
|
40
41
|
export * from "./GetPartnerAccountCommand";
|
|
41
42
|
export * from "./GetResourceEventConfigurationCommand";
|
|
42
43
|
export * from "./GetResourceLogLevelCommand";
|
|
@@ -77,6 +78,7 @@ export * from "./UpdateDestinationCommand";
|
|
|
77
78
|
export * from "./UpdateFuotaTaskCommand";
|
|
78
79
|
export * from "./UpdateLogLevelsByResourceTypesCommand";
|
|
79
80
|
export * from "./UpdateMulticastGroupCommand";
|
|
81
|
+
export * from "./UpdateNetworkAnalyzerConfigurationCommand";
|
|
80
82
|
export * from "./UpdatePartnerAccountCommand";
|
|
81
83
|
export * from "./UpdateResourceEventConfigurationCommand";
|
|
82
84
|
export * from "./UpdateWirelessDeviceCommand";
|