@aws-sdk/client-iot-wireless 3.476.0 → 3.478.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/dist-cjs/pagination/ListDestinationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDeviceProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListFuotaTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +2 -24
- package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPositionConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListServiceProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWirelessDevicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWirelessGatewaysPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +623 -1397
- package/dist-es/pagination/ListDestinationsPaginator.js +2 -23
- package/dist-es/pagination/ListDeviceProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListFuotaTasksPaginator.js +2 -23
- package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +2 -23
- package/dist-es/pagination/ListMulticastGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListNetworkAnalyzerConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListPositionConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +2 -23
- package/dist-es/pagination/ListServiceProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListWirelessDevicesPaginator.js +2 -23
- package/dist-es/pagination/ListWirelessGatewaysPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +624 -1398
- package/dist-types/pagination/ListDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDeviceProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFuotaTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMulticastGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPositionConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueuedMessagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServiceProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWirelessDevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWirelessGatewaysPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListDestinationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDeviceProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFuotaTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMulticastGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNetworkAnalyzerConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPositionConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueuedMessagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListServiceProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWirelessDevicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWirelessGatewaysPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDestinationsCommand, } from "../commands/ListDestinationsCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDestinationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDestinations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDestinations = createPaginator(IoTWirelessClient, ListDestinationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDeviceProfilesCommand, } from "../commands/ListDeviceProfilesCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDeviceProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDeviceProfiles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDeviceProfiles = createPaginator(IoTWirelessClient, ListDeviceProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFuotaTasksCommand, } from "../commands/ListFuotaTasksCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFuotaTasksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFuotaTasks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFuotaTasks = createPaginator(IoTWirelessClient, ListFuotaTasksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMulticastGroupsByFuotaTaskCommand, } from "../commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMulticastGroupsByFuotaTaskCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMulticastGroupsByFuotaTask(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMulticastGroupsByFuotaTask = createPaginator(IoTWirelessClient, ListMulticastGroupsByFuotaTaskCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMulticastGroupsCommand, } from "../commands/ListMulticastGroupsCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMulticastGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMulticastGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMulticastGroups = createPaginator(IoTWirelessClient, ListMulticastGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListNetworkAnalyzerConfigurationsCommand, } from "../commands/ListNetworkAnalyzerConfigurationsCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListNetworkAnalyzerConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListNetworkAnalyzerConfigurations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListNetworkAnalyzerConfigurations = createPaginator(IoTWirelessClient, ListNetworkAnalyzerConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPositionConfigurationsCommand, } from "../commands/ListPositionConfigurationsCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPositionConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPositionConfigurations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPositionConfigurations = createPaginator(IoTWirelessClient, ListPositionConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListQueuedMessagesCommand, } from "../commands/ListQueuedMessagesCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQueuedMessagesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQueuedMessages(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListQueuedMessages = createPaginator(IoTWirelessClient, ListQueuedMessagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListServiceProfilesCommand, } from "../commands/ListServiceProfilesCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListServiceProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListServiceProfiles(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListServiceProfiles = createPaginator(IoTWirelessClient, ListServiceProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWirelessDevicesCommand, } from "../commands/ListWirelessDevicesCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWirelessDevicesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWirelessDevices(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWirelessDevices = createPaginator(IoTWirelessClient, ListWirelessDevicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWirelessGatewaysCommand, } from "../commands/ListWirelessGatewaysCommand";
|
|
2
3
|
import { IoTWirelessClient } from "../IoTWirelessClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWirelessGatewaysCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWirelessGateways(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTWirelessClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoTWireless | IoTWirelessClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWirelessGateways = createPaginator(IoTWirelessClient, ListWirelessGatewaysCommand, "NextToken", "NextToken", "MaxResults");
|