@aws-sdk/client-iot-wireless 3.41.0 → 3.46.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 +48 -0
- package/README.md +11 -1
- package/dist-cjs/IoTWireless.js +60 -0
- package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +48 -1
- package/dist-cjs/models/models_0.js +76 -11
- package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +545 -4
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/IoTWireless.js +60 -0
- package/dist-es/commands/DeleteQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/ListQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +48 -1
- package/dist-es/models/models_0.js +49 -4
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +629 -32
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/IoTWireless.d.ts +39 -1
- package/dist-types/IoTWirelessClient.d.ts +17 -3
- package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +205 -15
- package/dist-types/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +20 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/DeleteQueuedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +125 -9
- package/dist-types/ts3.4/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +36 -43
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/IoTWireless.js
CHANGED
|
@@ -20,6 +20,7 @@ import { DeleteDestinationCommand, } from "./commands/DeleteDestinationCommand";
|
|
|
20
20
|
import { DeleteDeviceProfileCommand, } from "./commands/DeleteDeviceProfileCommand";
|
|
21
21
|
import { DeleteFuotaTaskCommand, } from "./commands/DeleteFuotaTaskCommand";
|
|
22
22
|
import { DeleteMulticastGroupCommand, } from "./commands/DeleteMulticastGroupCommand";
|
|
23
|
+
import { DeleteQueuedMessagesCommand, } from "./commands/DeleteQueuedMessagesCommand";
|
|
23
24
|
import { DeleteServiceProfileCommand, } from "./commands/DeleteServiceProfileCommand";
|
|
24
25
|
import { DeleteWirelessDeviceCommand, } from "./commands/DeleteWirelessDeviceCommand";
|
|
25
26
|
import { DeleteWirelessGatewayCommand, } from "./commands/DeleteWirelessGatewayCommand";
|
|
@@ -38,6 +39,7 @@ import { GetFuotaTaskCommand, } from "./commands/GetFuotaTaskCommand";
|
|
|
38
39
|
import { GetLogLevelsByResourceTypesCommand, } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
39
40
|
import { GetMulticastGroupCommand, } from "./commands/GetMulticastGroupCommand";
|
|
40
41
|
import { GetMulticastGroupSessionCommand, } from "./commands/GetMulticastGroupSessionCommand";
|
|
42
|
+
import { GetNetworkAnalyzerConfigurationCommand, } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
41
43
|
import { GetPartnerAccountCommand, } from "./commands/GetPartnerAccountCommand";
|
|
42
44
|
import { GetResourceEventConfigurationCommand, } from "./commands/GetResourceEventConfigurationCommand";
|
|
43
45
|
import { GetResourceLogLevelCommand, } from "./commands/GetResourceLogLevelCommand";
|
|
@@ -57,6 +59,7 @@ import { ListFuotaTasksCommand, } from "./commands/ListFuotaTasksCommand";
|
|
|
57
59
|
import { ListMulticastGroupsByFuotaTaskCommand, } from "./commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
58
60
|
import { ListMulticastGroupsCommand, } from "./commands/ListMulticastGroupsCommand";
|
|
59
61
|
import { ListPartnerAccountsCommand, } from "./commands/ListPartnerAccountsCommand";
|
|
62
|
+
import { ListQueuedMessagesCommand, } from "./commands/ListQueuedMessagesCommand";
|
|
60
63
|
import { ListServiceProfilesCommand, } from "./commands/ListServiceProfilesCommand";
|
|
61
64
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
62
65
|
import { ListWirelessDevicesCommand, } from "./commands/ListWirelessDevicesCommand";
|
|
@@ -78,6 +81,7 @@ import { UpdateDestinationCommand, } from "./commands/UpdateDestinationCommand";
|
|
|
78
81
|
import { UpdateFuotaTaskCommand, } from "./commands/UpdateFuotaTaskCommand";
|
|
79
82
|
import { UpdateLogLevelsByResourceTypesCommand, } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
80
83
|
import { UpdateMulticastGroupCommand, } from "./commands/UpdateMulticastGroupCommand";
|
|
84
|
+
import { UpdateNetworkAnalyzerConfigurationCommand, } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
81
85
|
import { UpdatePartnerAccountCommand, } from "./commands/UpdatePartnerAccountCommand";
|
|
82
86
|
import { UpdateResourceEventConfigurationCommand, } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
83
87
|
import { UpdateWirelessDeviceCommand, } from "./commands/UpdateWirelessDeviceCommand";
|
|
@@ -382,6 +386,20 @@ var IoTWireless = (function (_super) {
|
|
|
382
386
|
return this.send(command, optionsOrCb);
|
|
383
387
|
}
|
|
384
388
|
};
|
|
389
|
+
IoTWireless.prototype.deleteQueuedMessages = function (args, optionsOrCb, cb) {
|
|
390
|
+
var command = new DeleteQueuedMessagesCommand(args);
|
|
391
|
+
if (typeof optionsOrCb === "function") {
|
|
392
|
+
this.send(command, optionsOrCb);
|
|
393
|
+
}
|
|
394
|
+
else if (typeof cb === "function") {
|
|
395
|
+
if (typeof optionsOrCb !== "object")
|
|
396
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
397
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
398
|
+
}
|
|
399
|
+
else {
|
|
400
|
+
return this.send(command, optionsOrCb);
|
|
401
|
+
}
|
|
402
|
+
};
|
|
385
403
|
IoTWireless.prototype.deleteServiceProfile = function (args, optionsOrCb, cb) {
|
|
386
404
|
var command = new DeleteServiceProfileCommand(args);
|
|
387
405
|
if (typeof optionsOrCb === "function") {
|
|
@@ -634,6 +652,20 @@ var IoTWireless = (function (_super) {
|
|
|
634
652
|
return this.send(command, optionsOrCb);
|
|
635
653
|
}
|
|
636
654
|
};
|
|
655
|
+
IoTWireless.prototype.getNetworkAnalyzerConfiguration = function (args, optionsOrCb, cb) {
|
|
656
|
+
var command = new GetNetworkAnalyzerConfigurationCommand(args);
|
|
657
|
+
if (typeof optionsOrCb === "function") {
|
|
658
|
+
this.send(command, optionsOrCb);
|
|
659
|
+
}
|
|
660
|
+
else if (typeof cb === "function") {
|
|
661
|
+
if (typeof optionsOrCb !== "object")
|
|
662
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
663
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
664
|
+
}
|
|
665
|
+
else {
|
|
666
|
+
return this.send(command, optionsOrCb);
|
|
667
|
+
}
|
|
668
|
+
};
|
|
637
669
|
IoTWireless.prototype.getPartnerAccount = function (args, optionsOrCb, cb) {
|
|
638
670
|
var command = new GetPartnerAccountCommand(args);
|
|
639
671
|
if (typeof optionsOrCb === "function") {
|
|
@@ -900,6 +932,20 @@ var IoTWireless = (function (_super) {
|
|
|
900
932
|
return this.send(command, optionsOrCb);
|
|
901
933
|
}
|
|
902
934
|
};
|
|
935
|
+
IoTWireless.prototype.listQueuedMessages = function (args, optionsOrCb, cb) {
|
|
936
|
+
var command = new ListQueuedMessagesCommand(args);
|
|
937
|
+
if (typeof optionsOrCb === "function") {
|
|
938
|
+
this.send(command, optionsOrCb);
|
|
939
|
+
}
|
|
940
|
+
else if (typeof cb === "function") {
|
|
941
|
+
if (typeof optionsOrCb !== "object")
|
|
942
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
943
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
944
|
+
}
|
|
945
|
+
else {
|
|
946
|
+
return this.send(command, optionsOrCb);
|
|
947
|
+
}
|
|
948
|
+
};
|
|
903
949
|
IoTWireless.prototype.listServiceProfiles = function (args, optionsOrCb, cb) {
|
|
904
950
|
var command = new ListServiceProfilesCommand(args);
|
|
905
951
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1194,6 +1240,20 @@ var IoTWireless = (function (_super) {
|
|
|
1194
1240
|
return this.send(command, optionsOrCb);
|
|
1195
1241
|
}
|
|
1196
1242
|
};
|
|
1243
|
+
IoTWireless.prototype.updateNetworkAnalyzerConfiguration = function (args, optionsOrCb, cb) {
|
|
1244
|
+
var command = new UpdateNetworkAnalyzerConfigurationCommand(args);
|
|
1245
|
+
if (typeof optionsOrCb === "function") {
|
|
1246
|
+
this.send(command, optionsOrCb);
|
|
1247
|
+
}
|
|
1248
|
+
else if (typeof cb === "function") {
|
|
1249
|
+
if (typeof optionsOrCb !== "object")
|
|
1250
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1251
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1252
|
+
}
|
|
1253
|
+
else {
|
|
1254
|
+
return this.send(command, optionsOrCb);
|
|
1255
|
+
}
|
|
1256
|
+
};
|
|
1197
1257
|
IoTWireless.prototype.updatePartnerAccount = function (args, optionsOrCb, cb) {
|
|
1198
1258
|
var command = new UpdatePartnerAccountCommand(args);
|
|
1199
1259
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteQueuedMessagesRequest, DeleteQueuedMessagesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteQueuedMessagesCommand, serializeAws_restJson1DeleteQueuedMessagesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteQueuedMessagesCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteQueuedMessagesCommand, _super);
|
|
8
|
+
function DeleteQueuedMessagesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteQueuedMessagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTWirelessClient";
|
|
18
|
+
var commandName = "DeleteQueuedMessagesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteQueuedMessagesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteQueuedMessagesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteQueuedMessagesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteQueuedMessagesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteQueuedMessagesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteQueuedMessagesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteQueuedMessagesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteQueuedMessagesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetNetworkAnalyzerConfigurationRequest, GetNetworkAnalyzerConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand, serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetNetworkAnalyzerConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetNetworkAnalyzerConfigurationCommand, _super);
|
|
8
|
+
function GetNetworkAnalyzerConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetNetworkAnalyzerConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTWirelessClient";
|
|
18
|
+
var commandName = "GetNetworkAnalyzerConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetNetworkAnalyzerConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetNetworkAnalyzerConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetNetworkAnalyzerConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetNetworkAnalyzerConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetNetworkAnalyzerConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetNetworkAnalyzerConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetNetworkAnalyzerConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetNetworkAnalyzerConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListQueuedMessagesRequest, ListQueuedMessagesResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListQueuedMessagesCommand, serializeAws_restJson1ListQueuedMessagesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListQueuedMessagesCommand = (function (_super) {
|
|
7
|
+
__extends(ListQueuedMessagesCommand, _super);
|
|
8
|
+
function ListQueuedMessagesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListQueuedMessagesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTWirelessClient";
|
|
18
|
+
var commandName = "ListQueuedMessagesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListQueuedMessagesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListQueuedMessagesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListQueuedMessagesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListQueuedMessagesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListQueuedMessagesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListQueuedMessagesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListQueuedMessagesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListQueuedMessagesCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateNetworkAnalyzerConfigurationRequest, UpdateNetworkAnalyzerConfigurationResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand, serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateNetworkAnalyzerConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateNetworkAnalyzerConfigurationCommand, _super);
|
|
8
|
+
function UpdateNetworkAnalyzerConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateNetworkAnalyzerConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTWirelessClient";
|
|
18
|
+
var commandName = "UpdateNetworkAnalyzerConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateNetworkAnalyzerConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateNetworkAnalyzerConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateNetworkAnalyzerConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateNetworkAnalyzerConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateNetworkAnalyzerConfigurationCommand };
|
|
@@ -19,6 +19,7 @@ export * from "./DeleteDestinationCommand";
|
|
|
19
19
|
export * from "./DeleteDeviceProfileCommand";
|
|
20
20
|
export * from "./DeleteFuotaTaskCommand";
|
|
21
21
|
export * from "./DeleteMulticastGroupCommand";
|
|
22
|
+
export * from "./DeleteQueuedMessagesCommand";
|
|
22
23
|
export * from "./DeleteServiceProfileCommand";
|
|
23
24
|
export * from "./DeleteWirelessDeviceCommand";
|
|
24
25
|
export * from "./DeleteWirelessGatewayCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./GetFuotaTaskCommand";
|
|
|
37
38
|
export * from "./GetLogLevelsByResourceTypesCommand";
|
|
38
39
|
export * from "./GetMulticastGroupCommand";
|
|
39
40
|
export * from "./GetMulticastGroupSessionCommand";
|
|
41
|
+
export * from "./GetNetworkAnalyzerConfigurationCommand";
|
|
40
42
|
export * from "./GetPartnerAccountCommand";
|
|
41
43
|
export * from "./GetResourceEventConfigurationCommand";
|
|
42
44
|
export * from "./GetResourceLogLevelCommand";
|
|
@@ -56,6 +58,7 @@ export * from "./ListFuotaTasksCommand";
|
|
|
56
58
|
export * from "./ListMulticastGroupsByFuotaTaskCommand";
|
|
57
59
|
export * from "./ListMulticastGroupsCommand";
|
|
58
60
|
export * from "./ListPartnerAccountsCommand";
|
|
61
|
+
export * from "./ListQueuedMessagesCommand";
|
|
59
62
|
export * from "./ListServiceProfilesCommand";
|
|
60
63
|
export * from "./ListTagsForResourceCommand";
|
|
61
64
|
export * from "./ListWirelessDevicesCommand";
|
|
@@ -77,6 +80,7 @@ export * from "./UpdateDestinationCommand";
|
|
|
77
80
|
export * from "./UpdateFuotaTaskCommand";
|
|
78
81
|
export * from "./UpdateLogLevelsByResourceTypesCommand";
|
|
79
82
|
export * from "./UpdateMulticastGroupCommand";
|
|
83
|
+
export * from "./UpdateNetworkAnalyzerConfigurationCommand";
|
|
80
84
|
export * from "./UpdatePartnerAccountCommand";
|
|
81
85
|
export * from "./UpdateResourceEventConfigurationCommand";
|
|
82
86
|
export * from "./UpdateWirelessDeviceCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
var regionHash = {
|
|
3
|
+
var regionHash = {
|
|
4
|
+
"ap-northeast-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "api.iotwireless.ap-northeast-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
signingRegion: "ap-northeast-1",
|
|
12
|
+
},
|
|
13
|
+
"ap-southeast-2": {
|
|
14
|
+
variants: [
|
|
15
|
+
{
|
|
16
|
+
hostname: "api.iotwireless.ap-southeast-2.amazonaws.com",
|
|
17
|
+
tags: [],
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
signingRegion: "ap-southeast-2",
|
|
21
|
+
},
|
|
22
|
+
"eu-west-1": {
|
|
23
|
+
variants: [
|
|
24
|
+
{
|
|
25
|
+
hostname: "api.iotwireless.eu-west-1.amazonaws.com",
|
|
26
|
+
tags: [],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
signingRegion: "eu-west-1",
|
|
30
|
+
},
|
|
31
|
+
"us-east-1": {
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
hostname: "api.iotwireless.us-east-1.amazonaws.com",
|
|
35
|
+
tags: [],
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
signingRegion: "us-east-1",
|
|
39
|
+
},
|
|
40
|
+
"us-west-2": {
|
|
41
|
+
variants: [
|
|
42
|
+
{
|
|
43
|
+
hostname: "api.iotwireless.us-west-2.amazonaws.com",
|
|
44
|
+
tags: [],
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
signingRegion: "us-west-2",
|
|
48
|
+
},
|
|
49
|
+
};
|
|
4
50
|
var partitionHash = {
|
|
5
51
|
aws: {
|
|
6
52
|
regions: [
|
|
@@ -12,6 +58,7 @@ var partitionHash = {
|
|
|
12
58
|
"ap-south-1",
|
|
13
59
|
"ap-southeast-1",
|
|
14
60
|
"ap-southeast-2",
|
|
61
|
+
"ap-southeast-3",
|
|
15
62
|
"ca-central-1",
|
|
16
63
|
"eu-central-1",
|
|
17
64
|
"eu-north-1",
|
|
@@ -315,6 +315,14 @@ export var DeleteMulticastGroupResponse;
|
|
|
315
315
|
(function (DeleteMulticastGroupResponse) {
|
|
316
316
|
DeleteMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
317
|
})(DeleteMulticastGroupResponse || (DeleteMulticastGroupResponse = {}));
|
|
318
|
+
export var DeleteQueuedMessagesRequest;
|
|
319
|
+
(function (DeleteQueuedMessagesRequest) {
|
|
320
|
+
DeleteQueuedMessagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
321
|
+
})(DeleteQueuedMessagesRequest || (DeleteQueuedMessagesRequest = {}));
|
|
322
|
+
export var DeleteQueuedMessagesResponse;
|
|
323
|
+
(function (DeleteQueuedMessagesResponse) {
|
|
324
|
+
DeleteQueuedMessagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
|
+
})(DeleteQueuedMessagesResponse || (DeleteQueuedMessagesResponse = {}));
|
|
318
326
|
export var DeleteServiceProfileRequest;
|
|
319
327
|
(function (DeleteServiceProfileRequest) {
|
|
320
328
|
DeleteServiceProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -443,6 +451,14 @@ export var DisassociateWirelessGatewayFromThingResponse;
|
|
|
443
451
|
(function (DisassociateWirelessGatewayFromThingResponse) {
|
|
444
452
|
DisassociateWirelessGatewayFromThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
453
|
})(DisassociateWirelessGatewayFromThingResponse || (DisassociateWirelessGatewayFromThingResponse = {}));
|
|
454
|
+
export var LoRaWANSendDataToDevice;
|
|
455
|
+
(function (LoRaWANSendDataToDevice) {
|
|
456
|
+
LoRaWANSendDataToDevice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
457
|
+
})(LoRaWANSendDataToDevice || (LoRaWANSendDataToDevice = {}));
|
|
458
|
+
export var DownlinkQueueMessage;
|
|
459
|
+
(function (DownlinkQueueMessage) {
|
|
460
|
+
DownlinkQueueMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
+
})(DownlinkQueueMessage || (DownlinkQueueMessage = {}));
|
|
446
462
|
export var Event;
|
|
447
463
|
(function (Event) {
|
|
448
464
|
Event["ACK"] = "ack";
|
|
@@ -580,6 +596,23 @@ export var GetMulticastGroupSessionResponse;
|
|
|
580
596
|
(function (GetMulticastGroupSessionResponse) {
|
|
581
597
|
GetMulticastGroupSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
582
598
|
})(GetMulticastGroupSessionResponse || (GetMulticastGroupSessionResponse = {}));
|
|
599
|
+
export var GetNetworkAnalyzerConfigurationRequest;
|
|
600
|
+
(function (GetNetworkAnalyzerConfigurationRequest) {
|
|
601
|
+
GetNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
602
|
+
})(GetNetworkAnalyzerConfigurationRequest || (GetNetworkAnalyzerConfigurationRequest = {}));
|
|
603
|
+
export var WirelessDeviceFrameInfo;
|
|
604
|
+
(function (WirelessDeviceFrameInfo) {
|
|
605
|
+
WirelessDeviceFrameInfo["DISABLED"] = "DISABLED";
|
|
606
|
+
WirelessDeviceFrameInfo["ENABLED"] = "ENABLED";
|
|
607
|
+
})(WirelessDeviceFrameInfo || (WirelessDeviceFrameInfo = {}));
|
|
608
|
+
export var TraceContent;
|
|
609
|
+
(function (TraceContent) {
|
|
610
|
+
TraceContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
611
|
+
})(TraceContent || (TraceContent = {}));
|
|
612
|
+
export var GetNetworkAnalyzerConfigurationResponse;
|
|
613
|
+
(function (GetNetworkAnalyzerConfigurationResponse) {
|
|
614
|
+
GetNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
615
|
+
})(GetNetworkAnalyzerConfigurationResponse || (GetNetworkAnalyzerConfigurationResponse = {}));
|
|
583
616
|
export var GetPartnerAccountRequest;
|
|
584
617
|
(function (GetPartnerAccountRequest) {
|
|
585
618
|
GetPartnerAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -796,6 +829,14 @@ export var ListPartnerAccountsResponse;
|
|
|
796
829
|
Sidewalk: obj.Sidewalk.map(function (item) { return SidewalkAccountInfoWithFingerprint.filterSensitiveLog(item); }),
|
|
797
830
|
}))); };
|
|
798
831
|
})(ListPartnerAccountsResponse || (ListPartnerAccountsResponse = {}));
|
|
832
|
+
export var ListQueuedMessagesRequest;
|
|
833
|
+
(function (ListQueuedMessagesRequest) {
|
|
834
|
+
ListQueuedMessagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
835
|
+
})(ListQueuedMessagesRequest || (ListQueuedMessagesRequest = {}));
|
|
836
|
+
export var ListQueuedMessagesResponse;
|
|
837
|
+
(function (ListQueuedMessagesResponse) {
|
|
838
|
+
ListQueuedMessagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
839
|
+
})(ListQueuedMessagesResponse || (ListQueuedMessagesResponse = {}));
|
|
799
840
|
export var ListServiceProfilesRequest;
|
|
800
841
|
(function (ListServiceProfilesRequest) {
|
|
801
842
|
ListServiceProfilesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -908,10 +949,6 @@ export var SendDataToMulticastGroupResponse;
|
|
|
908
949
|
(function (SendDataToMulticastGroupResponse) {
|
|
909
950
|
SendDataToMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
910
951
|
})(SendDataToMulticastGroupResponse || (SendDataToMulticastGroupResponse = {}));
|
|
911
|
-
export var LoRaWANSendDataToDevice;
|
|
912
|
-
(function (LoRaWANSendDataToDevice) {
|
|
913
|
-
LoRaWANSendDataToDevice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
914
|
-
})(LoRaWANSendDataToDevice || (LoRaWANSendDataToDevice = {}));
|
|
915
952
|
export var MessageType;
|
|
916
953
|
(function (MessageType) {
|
|
917
954
|
MessageType["CUSTOM_COMMAND_ID_GET"] = "CUSTOM_COMMAND_ID_GET";
|
|
@@ -1031,6 +1068,14 @@ export var UpdateMulticastGroupResponse;
|
|
|
1031
1068
|
(function (UpdateMulticastGroupResponse) {
|
|
1032
1069
|
UpdateMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1033
1070
|
})(UpdateMulticastGroupResponse || (UpdateMulticastGroupResponse = {}));
|
|
1071
|
+
export var UpdateNetworkAnalyzerConfigurationRequest;
|
|
1072
|
+
(function (UpdateNetworkAnalyzerConfigurationRequest) {
|
|
1073
|
+
UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1074
|
+
})(UpdateNetworkAnalyzerConfigurationRequest || (UpdateNetworkAnalyzerConfigurationRequest = {}));
|
|
1075
|
+
export var UpdateNetworkAnalyzerConfigurationResponse;
|
|
1076
|
+
(function (UpdateNetworkAnalyzerConfigurationResponse) {
|
|
1077
|
+
UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1078
|
+
})(UpdateNetworkAnalyzerConfigurationResponse || (UpdateNetworkAnalyzerConfigurationResponse = {}));
|
|
1034
1079
|
export var SidewalkUpdateAccount;
|
|
1035
1080
|
(function (SidewalkUpdateAccount) {
|
|
1036
1081
|
SidewalkUpdateAccount.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AppServerPrivateKey && { AppServerPrivateKey: SENSITIVE_STRING }))); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListQueuedMessagesCommand, } from "../commands/ListQueuedMessagesCommand";
|
|
3
|
+
import { IoTWireless } from "../IoTWireless";
|
|
4
|
+
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListQueuedMessagesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listQueuedMessages.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListQueuedMessages(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListQueuedMessages_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof IoTWireless)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof IoTWirelessClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./ListDeviceProfilesPaginator";
|
|
|
4
4
|
export * from "./ListFuotaTasksPaginator";
|
|
5
5
|
export * from "./ListMulticastGroupsByFuotaTaskPaginator";
|
|
6
6
|
export * from "./ListMulticastGroupsPaginator";
|
|
7
|
+
export * from "./ListQueuedMessagesPaginator";
|
|
7
8
|
export * from "./ListServiceProfilesPaginator";
|
|
8
9
|
export * from "./ListWirelessDevicesPaginator";
|
|
9
10
|
export * from "./ListWirelessGatewaysPaginator";
|