@aws-sdk/client-iot-wireless 3.42.0 → 3.47.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 +51 -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 +77 -54
- 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.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 -32
- 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.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/IoTWireless.d.ts +39 -1
- package/dist-types/IoTWirelessClient.d.ts +22 -4
- 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 -57
- 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/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +20 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +9 -3
- 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 -37
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ 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
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
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",
|
|
@@ -16,10 +16,6 @@ export var AbpV1_1;
|
|
|
16
16
|
(function (AbpV1_1) {
|
|
17
17
|
AbpV1_1.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
18
|
})(AbpV1_1 || (AbpV1_1 = {}));
|
|
19
|
-
export var AccessDeniedException;
|
|
20
|
-
(function (AccessDeniedException) {
|
|
21
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
23
19
|
export var SidewalkAccountInfo;
|
|
24
20
|
(function (SidewalkAccountInfo) {
|
|
25
21
|
SidewalkAccountInfo.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AppServerPrivateKey && { AppServerPrivateKey: SENSITIVE_STRING }))); };
|
|
@@ -36,26 +32,6 @@ export var AssociateAwsAccountWithPartnerAccountResponse;
|
|
|
36
32
|
(function (AssociateAwsAccountWithPartnerAccountResponse) {
|
|
37
33
|
AssociateAwsAccountWithPartnerAccountResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Sidewalk && { Sidewalk: SidewalkAccountInfo.filterSensitiveLog(obj.Sidewalk) }))); };
|
|
38
34
|
})(AssociateAwsAccountWithPartnerAccountResponse || (AssociateAwsAccountWithPartnerAccountResponse = {}));
|
|
39
|
-
export var ConflictException;
|
|
40
|
-
(function (ConflictException) {
|
|
41
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
-
})(ConflictException || (ConflictException = {}));
|
|
43
|
-
export var InternalServerException;
|
|
44
|
-
(function (InternalServerException) {
|
|
45
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
47
|
-
export var ResourceNotFoundException;
|
|
48
|
-
(function (ResourceNotFoundException) {
|
|
49
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
51
|
-
export var ThrottlingException;
|
|
52
|
-
(function (ThrottlingException) {
|
|
53
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
54
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
55
|
-
export var ValidationException;
|
|
56
|
-
(function (ValidationException) {
|
|
57
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
58
|
-
})(ValidationException || (ValidationException = {}));
|
|
59
35
|
export var AssociateMulticastGroupWithFuotaTaskRequest;
|
|
60
36
|
(function (AssociateMulticastGroupWithFuotaTaskRequest) {
|
|
61
37
|
AssociateMulticastGroupWithFuotaTaskRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -315,6 +291,14 @@ export var DeleteMulticastGroupResponse;
|
|
|
315
291
|
(function (DeleteMulticastGroupResponse) {
|
|
316
292
|
DeleteMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
293
|
})(DeleteMulticastGroupResponse || (DeleteMulticastGroupResponse = {}));
|
|
294
|
+
export var DeleteQueuedMessagesRequest;
|
|
295
|
+
(function (DeleteQueuedMessagesRequest) {
|
|
296
|
+
DeleteQueuedMessagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
})(DeleteQueuedMessagesRequest || (DeleteQueuedMessagesRequest = {}));
|
|
298
|
+
export var DeleteQueuedMessagesResponse;
|
|
299
|
+
(function (DeleteQueuedMessagesResponse) {
|
|
300
|
+
DeleteQueuedMessagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
})(DeleteQueuedMessagesResponse || (DeleteQueuedMessagesResponse = {}));
|
|
318
302
|
export var DeleteServiceProfileRequest;
|
|
319
303
|
(function (DeleteServiceProfileRequest) {
|
|
320
304
|
DeleteServiceProfileRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -443,6 +427,14 @@ export var DisassociateWirelessGatewayFromThingResponse;
|
|
|
443
427
|
(function (DisassociateWirelessGatewayFromThingResponse) {
|
|
444
428
|
DisassociateWirelessGatewayFromThingResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
445
429
|
})(DisassociateWirelessGatewayFromThingResponse || (DisassociateWirelessGatewayFromThingResponse = {}));
|
|
430
|
+
export var LoRaWANSendDataToDevice;
|
|
431
|
+
(function (LoRaWANSendDataToDevice) {
|
|
432
|
+
LoRaWANSendDataToDevice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
433
|
+
})(LoRaWANSendDataToDevice || (LoRaWANSendDataToDevice = {}));
|
|
434
|
+
export var DownlinkQueueMessage;
|
|
435
|
+
(function (DownlinkQueueMessage) {
|
|
436
|
+
DownlinkQueueMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
437
|
+
})(DownlinkQueueMessage || (DownlinkQueueMessage = {}));
|
|
446
438
|
export var Event;
|
|
447
439
|
(function (Event) {
|
|
448
440
|
Event["ACK"] = "ack";
|
|
@@ -580,6 +572,23 @@ export var GetMulticastGroupSessionResponse;
|
|
|
580
572
|
(function (GetMulticastGroupSessionResponse) {
|
|
581
573
|
GetMulticastGroupSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
582
574
|
})(GetMulticastGroupSessionResponse || (GetMulticastGroupSessionResponse = {}));
|
|
575
|
+
export var GetNetworkAnalyzerConfigurationRequest;
|
|
576
|
+
(function (GetNetworkAnalyzerConfigurationRequest) {
|
|
577
|
+
GetNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
578
|
+
})(GetNetworkAnalyzerConfigurationRequest || (GetNetworkAnalyzerConfigurationRequest = {}));
|
|
579
|
+
export var WirelessDeviceFrameInfo;
|
|
580
|
+
(function (WirelessDeviceFrameInfo) {
|
|
581
|
+
WirelessDeviceFrameInfo["DISABLED"] = "DISABLED";
|
|
582
|
+
WirelessDeviceFrameInfo["ENABLED"] = "ENABLED";
|
|
583
|
+
})(WirelessDeviceFrameInfo || (WirelessDeviceFrameInfo = {}));
|
|
584
|
+
export var TraceContent;
|
|
585
|
+
(function (TraceContent) {
|
|
586
|
+
TraceContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
587
|
+
})(TraceContent || (TraceContent = {}));
|
|
588
|
+
export var GetNetworkAnalyzerConfigurationResponse;
|
|
589
|
+
(function (GetNetworkAnalyzerConfigurationResponse) {
|
|
590
|
+
GetNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
591
|
+
})(GetNetworkAnalyzerConfigurationResponse || (GetNetworkAnalyzerConfigurationResponse = {}));
|
|
583
592
|
export var GetPartnerAccountRequest;
|
|
584
593
|
(function (GetPartnerAccountRequest) {
|
|
585
594
|
GetPartnerAccountRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -796,6 +805,14 @@ export var ListPartnerAccountsResponse;
|
|
|
796
805
|
Sidewalk: obj.Sidewalk.map(function (item) { return SidewalkAccountInfoWithFingerprint.filterSensitiveLog(item); }),
|
|
797
806
|
}))); };
|
|
798
807
|
})(ListPartnerAccountsResponse || (ListPartnerAccountsResponse = {}));
|
|
808
|
+
export var ListQueuedMessagesRequest;
|
|
809
|
+
(function (ListQueuedMessagesRequest) {
|
|
810
|
+
ListQueuedMessagesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
811
|
+
})(ListQueuedMessagesRequest || (ListQueuedMessagesRequest = {}));
|
|
812
|
+
export var ListQueuedMessagesResponse;
|
|
813
|
+
(function (ListQueuedMessagesResponse) {
|
|
814
|
+
ListQueuedMessagesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
815
|
+
})(ListQueuedMessagesResponse || (ListQueuedMessagesResponse = {}));
|
|
799
816
|
export var ListServiceProfilesRequest;
|
|
800
817
|
(function (ListServiceProfilesRequest) {
|
|
801
818
|
ListServiceProfilesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -908,10 +925,6 @@ export var SendDataToMulticastGroupResponse;
|
|
|
908
925
|
(function (SendDataToMulticastGroupResponse) {
|
|
909
926
|
SendDataToMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
910
927
|
})(SendDataToMulticastGroupResponse || (SendDataToMulticastGroupResponse = {}));
|
|
911
|
-
export var LoRaWANSendDataToDevice;
|
|
912
|
-
(function (LoRaWANSendDataToDevice) {
|
|
913
|
-
LoRaWANSendDataToDevice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
914
|
-
})(LoRaWANSendDataToDevice || (LoRaWANSendDataToDevice = {}));
|
|
915
928
|
export var MessageType;
|
|
916
929
|
(function (MessageType) {
|
|
917
930
|
MessageType["CUSTOM_COMMAND_ID_GET"] = "CUSTOM_COMMAND_ID_GET";
|
|
@@ -979,10 +992,6 @@ export var TagResourceResponse;
|
|
|
979
992
|
(function (TagResourceResponse) {
|
|
980
993
|
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
981
994
|
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
982
|
-
export var TooManyTagsException;
|
|
983
|
-
(function (TooManyTagsException) {
|
|
984
|
-
TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
985
|
-
})(TooManyTagsException || (TooManyTagsException = {}));
|
|
986
995
|
export var TestWirelessDeviceRequest;
|
|
987
996
|
(function (TestWirelessDeviceRequest) {
|
|
988
997
|
TestWirelessDeviceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1031,6 +1040,14 @@ export var UpdateMulticastGroupResponse;
|
|
|
1031
1040
|
(function (UpdateMulticastGroupResponse) {
|
|
1032
1041
|
UpdateMulticastGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1033
1042
|
})(UpdateMulticastGroupResponse || (UpdateMulticastGroupResponse = {}));
|
|
1043
|
+
export var UpdateNetworkAnalyzerConfigurationRequest;
|
|
1044
|
+
(function (UpdateNetworkAnalyzerConfigurationRequest) {
|
|
1045
|
+
UpdateNetworkAnalyzerConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1046
|
+
})(UpdateNetworkAnalyzerConfigurationRequest || (UpdateNetworkAnalyzerConfigurationRequest = {}));
|
|
1047
|
+
export var UpdateNetworkAnalyzerConfigurationResponse;
|
|
1048
|
+
(function (UpdateNetworkAnalyzerConfigurationResponse) {
|
|
1049
|
+
UpdateNetworkAnalyzerConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1050
|
+
})(UpdateNetworkAnalyzerConfigurationResponse || (UpdateNetworkAnalyzerConfigurationResponse = {}));
|
|
1034
1051
|
export var SidewalkUpdateAccount;
|
|
1035
1052
|
(function (SidewalkUpdateAccount) {
|
|
1036
1053
|
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
|
+
}
|