@aws-sdk/client-iot-wireless 3.45.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 +18 -0
- package/README.md +11 -1
- package/dist-cjs/IoTWireless.js +30 -0
- package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/ListQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +41 -11
- package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +252 -4
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/IoTWireless.js +30 -0
- package/dist-es/commands/DeleteQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/ListQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +24 -4
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +277 -0
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/IoTWireless.d.ts +25 -1
- package/dist-types/IoTWirelessClient.d.ts +15 -3
- package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +110 -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 +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/DeleteQueuedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.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 +66 -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 +6 -0
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
25
|
|
|
8
26
|
|
package/README.md
CHANGED
|
@@ -7,7 +7,17 @@
|
|
|
7
7
|
|
|
8
8
|
AWS SDK for JavaScript IoTWireless Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
|
-
<p>AWS IoT Wireless
|
|
10
|
+
<p>AWS IoT Wireless provides bi-directional communication between internet-connected wireless
|
|
11
|
+
devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the
|
|
12
|
+
IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN)
|
|
13
|
+
communication protocol to communicate with AWS IoT.</p>
|
|
14
|
+
<p>Using the API, you can perform create, read, update, and delete operations for your wireless
|
|
15
|
+
devices, gateways, destinations, and profiles. After onboarding your devices, you
|
|
16
|
+
can use the API operations to set log levels and monitor your devices with CloudWatch.</p>
|
|
17
|
+
<p>You can also use the API operations to create multicast groups and schedule a multicast session for
|
|
18
|
+
sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air
|
|
19
|
+
(FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware
|
|
20
|
+
of individual devices or an entire group of devices in a multicast group.</p>
|
|
11
21
|
|
|
12
22
|
## Installing
|
|
13
23
|
|
package/dist-cjs/IoTWireless.js
CHANGED
|
@@ -22,6 +22,7 @@ const DeleteDestinationCommand_1 = require("./commands/DeleteDestinationCommand"
|
|
|
22
22
|
const DeleteDeviceProfileCommand_1 = require("./commands/DeleteDeviceProfileCommand");
|
|
23
23
|
const DeleteFuotaTaskCommand_1 = require("./commands/DeleteFuotaTaskCommand");
|
|
24
24
|
const DeleteMulticastGroupCommand_1 = require("./commands/DeleteMulticastGroupCommand");
|
|
25
|
+
const DeleteQueuedMessagesCommand_1 = require("./commands/DeleteQueuedMessagesCommand");
|
|
25
26
|
const DeleteServiceProfileCommand_1 = require("./commands/DeleteServiceProfileCommand");
|
|
26
27
|
const DeleteWirelessDeviceCommand_1 = require("./commands/DeleteWirelessDeviceCommand");
|
|
27
28
|
const DeleteWirelessGatewayCommand_1 = require("./commands/DeleteWirelessGatewayCommand");
|
|
@@ -60,6 +61,7 @@ const ListFuotaTasksCommand_1 = require("./commands/ListFuotaTasksCommand");
|
|
|
60
61
|
const ListMulticastGroupsByFuotaTaskCommand_1 = require("./commands/ListMulticastGroupsByFuotaTaskCommand");
|
|
61
62
|
const ListMulticastGroupsCommand_1 = require("./commands/ListMulticastGroupsCommand");
|
|
62
63
|
const ListPartnerAccountsCommand_1 = require("./commands/ListPartnerAccountsCommand");
|
|
64
|
+
const ListQueuedMessagesCommand_1 = require("./commands/ListQueuedMessagesCommand");
|
|
63
65
|
const ListServiceProfilesCommand_1 = require("./commands/ListServiceProfilesCommand");
|
|
64
66
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
65
67
|
const ListWirelessDevicesCommand_1 = require("./commands/ListWirelessDevicesCommand");
|
|
@@ -382,6 +384,20 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
|
|
|
382
384
|
return this.send(command, optionsOrCb);
|
|
383
385
|
}
|
|
384
386
|
}
|
|
387
|
+
deleteQueuedMessages(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new DeleteQueuedMessagesCommand_1.DeleteQueuedMessagesCommand(args);
|
|
389
|
+
if (typeof optionsOrCb === "function") {
|
|
390
|
+
this.send(command, optionsOrCb);
|
|
391
|
+
}
|
|
392
|
+
else if (typeof cb === "function") {
|
|
393
|
+
if (typeof optionsOrCb !== "object")
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
return this.send(command, optionsOrCb);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
385
401
|
deleteServiceProfile(args, optionsOrCb, cb) {
|
|
386
402
|
const command = new DeleteServiceProfileCommand_1.DeleteServiceProfileCommand(args);
|
|
387
403
|
if (typeof optionsOrCb === "function") {
|
|
@@ -914,6 +930,20 @@ class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
|
|
|
914
930
|
return this.send(command, optionsOrCb);
|
|
915
931
|
}
|
|
916
932
|
}
|
|
933
|
+
listQueuedMessages(args, optionsOrCb, cb) {
|
|
934
|
+
const command = new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(args);
|
|
935
|
+
if (typeof optionsOrCb === "function") {
|
|
936
|
+
this.send(command, optionsOrCb);
|
|
937
|
+
}
|
|
938
|
+
else if (typeof cb === "function") {
|
|
939
|
+
if (typeof optionsOrCb !== "object")
|
|
940
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
941
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
942
|
+
}
|
|
943
|
+
else {
|
|
944
|
+
return this.send(command, optionsOrCb);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
917
947
|
listServiceProfiles(args, optionsOrCb, cb) {
|
|
918
948
|
const command = new ListServiceProfilesCommand_1.ListServiceProfilesCommand(args);
|
|
919
949
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteQueuedMessagesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteQueuedMessagesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTWirelessClient";
|
|
18
|
+
const commandName = "DeleteQueuedMessagesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteQueuedMessagesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteQueuedMessagesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteQueuedMessagesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteQueuedMessagesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteQueuedMessagesCommand = DeleteQueuedMessagesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListQueuedMessagesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListQueuedMessagesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTWirelessClient";
|
|
18
|
+
const commandName = "ListQueuedMessagesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListQueuedMessagesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListQueuedMessagesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListQueuedMessagesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListQueuedMessagesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListQueuedMessagesCommand = ListQueuedMessagesCommand;
|
|
@@ -22,6 +22,7 @@ tslib_1.__exportStar(require("./DeleteDestinationCommand"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./DeleteDeviceProfileCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./DeleteFuotaTaskCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./DeleteMulticastGroupCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DeleteQueuedMessagesCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./DeleteServiceProfileCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./DeleteWirelessDeviceCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./DeleteWirelessGatewayCommand"), exports);
|
|
@@ -60,6 +61,7 @@ tslib_1.__exportStar(require("./ListFuotaTasksCommand"), exports);
|
|
|
60
61
|
tslib_1.__exportStar(require("./ListMulticastGroupsByFuotaTaskCommand"), exports);
|
|
61
62
|
tslib_1.__exportStar(require("./ListMulticastGroupsCommand"), exports);
|
|
62
63
|
tslib_1.__exportStar(require("./ListPartnerAccountsCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./ListQueuedMessagesCommand"), exports);
|
|
63
65
|
tslib_1.__exportStar(require("./ListServiceProfilesCommand"), exports);
|
|
64
66
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
65
67
|
tslib_1.__exportStar(require("./ListWirelessDevicesCommand"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FPorts = exports.CreateServiceProfileResponse = exports.CreateServiceProfileRequest = exports.LoRaWANServiceProfile = exports.CreateMulticastGroupResponse = exports.CreateMulticastGroupRequest = exports.LoRaWANMulticast = exports.DlClass = exports.CreateFuotaTaskResponse = exports.CreateFuotaTaskRequest = exports.LoRaWANFuotaTask = exports.SupportedRfRegion = exports.CreateDeviceProfileResponse = exports.CreateDeviceProfileRequest = exports.LoRaWANDeviceProfile = exports.CreateDestinationResponse = exports.CreateDestinationRequest = exports.ExpressionType = exports.ConnectionStatus = exports.CertificateList = exports.SigningAlg = exports.CancelMulticastGroupSessionResponse = exports.CancelMulticastGroupSessionRequest = exports.BatteryLevel = exports.AssociateWirelessGatewayWithThingResponse = exports.AssociateWirelessGatewayWithThingRequest = exports.AssociateWirelessGatewayWithCertificateResponse = exports.AssociateWirelessGatewayWithCertificateRequest = exports.AssociateWirelessDeviceWithThingResponse = exports.AssociateWirelessDeviceWithThingRequest = exports.AssociateWirelessDeviceWithMulticastGroupResponse = exports.AssociateWirelessDeviceWithMulticastGroupRequest = exports.AssociateWirelessDeviceWithFuotaTaskResponse = exports.AssociateWirelessDeviceWithFuotaTaskRequest = exports.AssociateMulticastGroupWithFuotaTaskResponse = exports.AssociateMulticastGroupWithFuotaTaskRequest = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AssociateAwsAccountWithPartnerAccountResponse = exports.AssociateAwsAccountWithPartnerAccountRequest = exports.Tag = exports.SidewalkAccountInfo = exports.AccessDeniedException = exports.AbpV1_1 = exports.SessionKeysAbpV1_1 = exports.AbpV1_0_x = exports.SessionKeysAbpV1_0_x = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.UpdateWirelessGatewayResponse = exports.UpdateWirelessGatewayRequest = exports.UpdateWirelessDeviceResponse = exports.UpdateWirelessDeviceRequest = exports.LoRaWANUpdateDevice = exports.UpdateResourceEventConfigurationResponse = exports.UpdateResourceEventConfigurationRequest = exports.UpdatePartnerAccountResponse = exports.UpdatePartnerAccountRequest = exports.SidewalkUpdateAccount = void 0;
|
|
4
|
+
exports.DisassociateWirelessDeviceFromFuotaTaskResponse = exports.DisassociateWirelessDeviceFromFuotaTaskRequest = exports.DisassociateMulticastGroupFromFuotaTaskResponse = exports.DisassociateMulticastGroupFromFuotaTaskRequest = exports.DisassociateAwsAccountFromPartnerAccountResponse = exports.DisassociateAwsAccountFromPartnerAccountRequest = exports.PartnerType = exports.DeviceState = exports.DeviceRegistrationStateEventConfiguration = exports.SidewalkEventNotificationConfigurations = exports.EventNotificationTopicStatus = exports.DeviceProfile = exports.Destinations = exports.DeleteWirelessGatewayTaskDefinitionResponse = exports.DeleteWirelessGatewayTaskDefinitionRequest = exports.DeleteWirelessGatewayTaskResponse = exports.DeleteWirelessGatewayTaskRequest = exports.DeleteWirelessGatewayResponse = exports.DeleteWirelessGatewayRequest = exports.DeleteWirelessDeviceResponse = exports.DeleteWirelessDeviceRequest = exports.DeleteServiceProfileResponse = exports.DeleteServiceProfileRequest = exports.DeleteQueuedMessagesResponse = exports.DeleteQueuedMessagesRequest = exports.DeleteMulticastGroupResponse = exports.DeleteMulticastGroupRequest = exports.DeleteFuotaTaskResponse = exports.DeleteFuotaTaskRequest = exports.DeleteDeviceProfileResponse = exports.DeleteDeviceProfileRequest = exports.DeleteDestinationResponse = exports.DeleteDestinationRequest = exports.CreateWirelessGatewayTaskDefinitionResponse = exports.CreateWirelessGatewayTaskDefinitionRequest = exports.UpdateWirelessGatewayTaskCreate = exports.LoRaWANUpdateGatewayTaskCreate = exports.LoRaWANGatewayVersion = exports.CreateWirelessGatewayTaskResponse = exports.WirelessGatewayTaskStatus = exports.CreateWirelessGatewayTaskRequest = exports.CreateWirelessGatewayResponse = exports.CreateWirelessGatewayRequest = exports.LoRaWANGateway = exports.CreateWirelessDeviceResponse = exports.CreateWirelessDeviceRequest = exports.WirelessDeviceType = exports.LoRaWANDevice = exports.OtaaV1_1 = exports.OtaaV1_0_x = void 0;
|
|
5
|
+
exports.GetResourceLogLevelRequest = exports.GetResourceEventConfigurationResponse = exports.ProximityEventConfiguration = exports.GetResourceEventConfigurationRequest = exports.IdentifierType = exports.GetPartnerAccountResponse = exports.SidewalkAccountInfoWithFingerprint = exports.GetPartnerAccountRequest = exports.GetNetworkAnalyzerConfigurationResponse = exports.TraceContent = exports.WirelessDeviceFrameInfo = exports.GetNetworkAnalyzerConfigurationRequest = exports.GetMulticastGroupSessionResponse = exports.LoRaWANMulticastSession = exports.GetMulticastGroupSessionRequest = exports.GetMulticastGroupResponse = exports.LoRaWANMulticastGet = exports.GetMulticastGroupRequest = exports.GetLogLevelsByResourceTypesResponse = exports.WirelessGatewayLogOption = exports.WirelessGatewayType = exports.WirelessGatewayEventLogOption = exports.WirelessGatewayEvent = exports.WirelessDeviceLogOption = exports.WirelessDeviceEventLogOption = exports.WirelessDeviceEvent = exports.LogLevel = exports.GetLogLevelsByResourceTypesRequest = exports.GetFuotaTaskResponse = exports.LoRaWANFuotaTaskGetInfo = exports.GetFuotaTaskRequest = exports.GetDeviceProfileResponse = exports.GetDeviceProfileRequest = exports.GetDestinationResponse = exports.GetDestinationRequest = exports.FuotaTaskStatus = exports.FuotaTask = exports.FuotaDeviceStatus = exports.EventNotificationPartnerType = exports.Event = exports.DownlinkQueueMessage = exports.LoRaWANSendDataToDevice = exports.DisassociateWirelessGatewayFromThingResponse = exports.DisassociateWirelessGatewayFromThingRequest = exports.DisassociateWirelessGatewayFromCertificateResponse = exports.DisassociateWirelessGatewayFromCertificateRequest = exports.DisassociateWirelessDeviceFromThingResponse = exports.DisassociateWirelessDeviceFromThingRequest = exports.DisassociateWirelessDeviceFromMulticastGroupResponse = exports.DisassociateWirelessDeviceFromMulticastGroupRequest = void 0;
|
|
6
|
+
exports.ListTagsForResourceRequest = exports.ListServiceProfilesResponse = exports.ServiceProfile = exports.ListServiceProfilesRequest = exports.ListQueuedMessagesResponse = exports.ListQueuedMessagesRequest = exports.ListPartnerAccountsResponse = exports.ListPartnerAccountsRequest = exports.ListMulticastGroupsByFuotaTaskResponse = exports.MulticastGroupByFuotaTask = exports.ListMulticastGroupsByFuotaTaskRequest = exports.ListMulticastGroupsResponse = exports.MulticastGroup = exports.ListMulticastGroupsRequest = exports.ListFuotaTasksResponse = exports.ListFuotaTasksRequest = exports.ListDeviceProfilesResponse = exports.ListDeviceProfilesRequest = exports.ListDestinationsResponse = exports.ListDestinationsRequest = exports.GetWirelessGatewayTaskDefinitionResponse = exports.GetWirelessGatewayTaskDefinitionRequest = exports.GetWirelessGatewayTaskResponse = exports.GetWirelessGatewayTaskRequest = exports.GetWirelessGatewayStatisticsResponse = exports.GetWirelessGatewayStatisticsRequest = exports.GetWirelessGatewayFirmwareInformationResponse = exports.LoRaWANGatewayCurrentVersion = exports.GetWirelessGatewayFirmwareInformationRequest = exports.GetWirelessGatewayCertificateResponse = exports.GetWirelessGatewayCertificateRequest = exports.GetWirelessGatewayResponse = exports.GetWirelessGatewayRequest = exports.WirelessGatewayIdType = exports.GetWirelessDeviceStatisticsResponse = exports.SidewalkDeviceMetadata = exports.LoRaWANDeviceMetadata = exports.LoRaWANGatewayMetadata = exports.GetWirelessDeviceStatisticsRequest = exports.GetWirelessDeviceResponse = exports.SidewalkDevice = exports.GetWirelessDeviceRequest = exports.WirelessDeviceIdType = exports.GetServiceProfileResponse = exports.LoRaWANGetServiceProfileInfo = exports.GetServiceProfileRequest = exports.GetServiceEndpointResponse = exports.GetServiceEndpointRequest = exports.WirelessGatewayServiceType = exports.GetResourceLogLevelResponse = void 0;
|
|
7
|
+
exports.UpdateLogLevelsByResourceTypesRequest = exports.UpdateFuotaTaskResponse = exports.UpdateFuotaTaskRequest = exports.UpdateDestinationResponse = exports.UpdateDestinationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TestWirelessDeviceResponse = exports.TestWirelessDeviceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartMulticastGroupSessionResponse = exports.StartMulticastGroupSessionRequest = exports.StartFuotaTaskResponse = exports.StartFuotaTaskRequest = exports.LoRaWANStartFuotaTask = exports.StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse = exports.StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest = exports.StartBulkAssociateWirelessDeviceWithMulticastGroupResponse = exports.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest = exports.SendDataToWirelessDeviceResponse = exports.SendDataToWirelessDeviceRequest = exports.WirelessMetadata = exports.SidewalkSendDataToDevice = exports.MessageType = exports.SendDataToMulticastGroupResponse = exports.SendDataToMulticastGroupRequest = exports.MulticastWirelessMetadata = exports.LoRaWANMulticastMetadata = exports.ResetResourceLogLevelResponse = exports.ResetResourceLogLevelRequest = exports.ResetAllResourceLogLevelsResponse = exports.ResetAllResourceLogLevelsRequest = exports.PutResourceLogLevelResponse = exports.PutResourceLogLevelRequest = exports.ListWirelessGatewayTaskDefinitionsResponse = exports.UpdateWirelessGatewayTaskEntry = exports.LoRaWANUpdateGatewayTaskEntry = exports.ListWirelessGatewayTaskDefinitionsRequest = exports.WirelessGatewayTaskDefinitionType = exports.ListWirelessGatewaysResponse = exports.WirelessGatewayStatistics = exports.ListWirelessGatewaysRequest = exports.ListWirelessDevicesResponse = exports.WirelessDeviceStatistics = exports.SidewalkListDevice = exports.LoRaWANListDevice = exports.ListWirelessDevicesRequest = exports.ListTagsForResourceResponse = void 0;
|
|
8
|
+
exports.UpdateWirelessGatewayResponse = exports.UpdateWirelessGatewayRequest = exports.UpdateWirelessDeviceResponse = exports.UpdateWirelessDeviceRequest = exports.LoRaWANUpdateDevice = exports.UpdateResourceEventConfigurationResponse = exports.UpdateResourceEventConfigurationRequest = exports.UpdatePartnerAccountResponse = exports.UpdatePartnerAccountRequest = exports.SidewalkUpdateAccount = exports.UpdateNetworkAnalyzerConfigurationResponse = exports.UpdateNetworkAnalyzerConfigurationRequest = exports.UpdateMulticastGroupResponse = exports.UpdateMulticastGroupRequest = exports.UpdateLogLevelsByResourceTypesResponse = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
var SessionKeysAbpV1_0_x;
|
|
11
11
|
(function (SessionKeysAbpV1_0_x) {
|
|
@@ -459,6 +459,18 @@ var DeleteMulticastGroupResponse;
|
|
|
459
459
|
...obj,
|
|
460
460
|
});
|
|
461
461
|
})(DeleteMulticastGroupResponse = exports.DeleteMulticastGroupResponse || (exports.DeleteMulticastGroupResponse = {}));
|
|
462
|
+
var DeleteQueuedMessagesRequest;
|
|
463
|
+
(function (DeleteQueuedMessagesRequest) {
|
|
464
|
+
DeleteQueuedMessagesRequest.filterSensitiveLog = (obj) => ({
|
|
465
|
+
...obj,
|
|
466
|
+
});
|
|
467
|
+
})(DeleteQueuedMessagesRequest = exports.DeleteQueuedMessagesRequest || (exports.DeleteQueuedMessagesRequest = {}));
|
|
468
|
+
var DeleteQueuedMessagesResponse;
|
|
469
|
+
(function (DeleteQueuedMessagesResponse) {
|
|
470
|
+
DeleteQueuedMessagesResponse.filterSensitiveLog = (obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
});
|
|
473
|
+
})(DeleteQueuedMessagesResponse = exports.DeleteQueuedMessagesResponse || (exports.DeleteQueuedMessagesResponse = {}));
|
|
462
474
|
var DeleteServiceProfileRequest;
|
|
463
475
|
(function (DeleteServiceProfileRequest) {
|
|
464
476
|
DeleteServiceProfileRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -643,6 +655,18 @@ var DisassociateWirelessGatewayFromThingResponse;
|
|
|
643
655
|
...obj,
|
|
644
656
|
});
|
|
645
657
|
})(DisassociateWirelessGatewayFromThingResponse = exports.DisassociateWirelessGatewayFromThingResponse || (exports.DisassociateWirelessGatewayFromThingResponse = {}));
|
|
658
|
+
var LoRaWANSendDataToDevice;
|
|
659
|
+
(function (LoRaWANSendDataToDevice) {
|
|
660
|
+
LoRaWANSendDataToDevice.filterSensitiveLog = (obj) => ({
|
|
661
|
+
...obj,
|
|
662
|
+
});
|
|
663
|
+
})(LoRaWANSendDataToDevice = exports.LoRaWANSendDataToDevice || (exports.LoRaWANSendDataToDevice = {}));
|
|
664
|
+
var DownlinkQueueMessage;
|
|
665
|
+
(function (DownlinkQueueMessage) {
|
|
666
|
+
DownlinkQueueMessage.filterSensitiveLog = (obj) => ({
|
|
667
|
+
...obj,
|
|
668
|
+
});
|
|
669
|
+
})(DownlinkQueueMessage = exports.DownlinkQueueMessage || (exports.DownlinkQueueMessage = {}));
|
|
646
670
|
var Event;
|
|
647
671
|
(function (Event) {
|
|
648
672
|
Event["ACK"] = "ack";
|
|
@@ -1158,6 +1182,18 @@ var ListPartnerAccountsResponse;
|
|
|
1158
1182
|
}),
|
|
1159
1183
|
});
|
|
1160
1184
|
})(ListPartnerAccountsResponse = exports.ListPartnerAccountsResponse || (exports.ListPartnerAccountsResponse = {}));
|
|
1185
|
+
var ListQueuedMessagesRequest;
|
|
1186
|
+
(function (ListQueuedMessagesRequest) {
|
|
1187
|
+
ListQueuedMessagesRequest.filterSensitiveLog = (obj) => ({
|
|
1188
|
+
...obj,
|
|
1189
|
+
});
|
|
1190
|
+
})(ListQueuedMessagesRequest = exports.ListQueuedMessagesRequest || (exports.ListQueuedMessagesRequest = {}));
|
|
1191
|
+
var ListQueuedMessagesResponse;
|
|
1192
|
+
(function (ListQueuedMessagesResponse) {
|
|
1193
|
+
ListQueuedMessagesResponse.filterSensitiveLog = (obj) => ({
|
|
1194
|
+
...obj,
|
|
1195
|
+
});
|
|
1196
|
+
})(ListQueuedMessagesResponse = exports.ListQueuedMessagesResponse || (exports.ListQueuedMessagesResponse = {}));
|
|
1161
1197
|
var ListServiceProfilesRequest;
|
|
1162
1198
|
(function (ListServiceProfilesRequest) {
|
|
1163
1199
|
ListServiceProfilesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1324,12 +1360,6 @@ var SendDataToMulticastGroupResponse;
|
|
|
1324
1360
|
...obj,
|
|
1325
1361
|
});
|
|
1326
1362
|
})(SendDataToMulticastGroupResponse = exports.SendDataToMulticastGroupResponse || (exports.SendDataToMulticastGroupResponse = {}));
|
|
1327
|
-
var LoRaWANSendDataToDevice;
|
|
1328
|
-
(function (LoRaWANSendDataToDevice) {
|
|
1329
|
-
LoRaWANSendDataToDevice.filterSensitiveLog = (obj) => ({
|
|
1330
|
-
...obj,
|
|
1331
|
-
});
|
|
1332
|
-
})(LoRaWANSendDataToDevice = exports.LoRaWANSendDataToDevice || (exports.LoRaWANSendDataToDevice = {}));
|
|
1333
1363
|
var MessageType;
|
|
1334
1364
|
(function (MessageType) {
|
|
1335
1365
|
MessageType["CUSTOM_COMMAND_ID_GET"] = "CUSTOM_COMMAND_ID_GET";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListQueuedMessages = void 0;
|
|
4
|
+
const ListQueuedMessagesCommand_1 = require("../commands/ListQueuedMessagesCommand");
|
|
5
|
+
const IoTWireless_1 = require("../IoTWireless");
|
|
6
|
+
const IoTWirelessClient_1 = require("../IoTWirelessClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listQueuedMessages(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListQueuedMessages(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof IoTWireless_1.IoTWireless) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof IoTWirelessClient_1.IoTWirelessClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListQueuedMessages = paginateListQueuedMessages;
|
|
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./ListDeviceProfilesPaginator"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./ListFuotaTasksPaginator"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./ListMulticastGroupsByFuotaTaskPaginator"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./ListMulticastGroupsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListQueuedMessagesPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListServiceProfilesPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListWirelessDevicesPaginator"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./ListWirelessGatewaysPaginator"), exports);
|