@aws-sdk/client-chime 3.282.0 → 3.288.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/ListAccountsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppInstanceAdminsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppInstanceUsersPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppInstancesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAttendeesPaginator.js +1 -8
- package/dist-cjs/pagination/ListBotsPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelBansPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelMembershipsPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelMessagesPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelModeratorsPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +1 -8
- package/dist-cjs/pagination/ListChannelsPaginator.js +1 -8
- package/dist-cjs/pagination/ListMediaCapturePipelinesPaginator.js +1 -8
- package/dist-cjs/pagination/ListMeetingsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPhoneNumberOrdersPaginator.js +1 -8
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +1 -8
- package/dist-cjs/pagination/ListProxySessionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListRoomMembershipsPaginator.js +1 -8
- package/dist-cjs/pagination/ListRoomsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSipMediaApplicationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSipRulesPaginator.js +1 -8
- package/dist-cjs/pagination/ListUsersPaginator.js +1 -8
- package/dist-cjs/pagination/ListVoiceConnectorGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/ListVoiceConnectorsPaginator.js +1 -8
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +1 -8
- package/dist-es/pagination/ListAccountsPaginator.js +1 -8
- package/dist-es/pagination/ListAppInstanceAdminsPaginator.js +1 -8
- package/dist-es/pagination/ListAppInstanceUsersPaginator.js +1 -8
- package/dist-es/pagination/ListAppInstancesPaginator.js +1 -8
- package/dist-es/pagination/ListAttendeesPaginator.js +1 -8
- package/dist-es/pagination/ListBotsPaginator.js +1 -8
- package/dist-es/pagination/ListChannelBansPaginator.js +1 -8
- package/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js +1 -8
- package/dist-es/pagination/ListChannelMembershipsPaginator.js +1 -8
- package/dist-es/pagination/ListChannelMessagesPaginator.js +1 -8
- package/dist-es/pagination/ListChannelModeratorsPaginator.js +1 -8
- package/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js +1 -8
- package/dist-es/pagination/ListChannelsPaginator.js +1 -8
- package/dist-es/pagination/ListMediaCapturePipelinesPaginator.js +1 -8
- package/dist-es/pagination/ListMeetingsPaginator.js +1 -8
- package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +1 -8
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +1 -8
- package/dist-es/pagination/ListProxySessionsPaginator.js +1 -8
- package/dist-es/pagination/ListRoomMembershipsPaginator.js +1 -8
- package/dist-es/pagination/ListRoomsPaginator.js +1 -8
- package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +1 -8
- package/dist-es/pagination/ListSipRulesPaginator.js +1 -8
- package/dist-es/pagination/ListUsersPaginator.js +1 -8
- package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +1 -8
- package/dist-es/pagination/ListVoiceConnectorsPaginator.js +1 -8
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +1 -8
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListUsers = void 0;
|
|
4
|
-
const Chime_1 = require("../Chime");
|
|
5
4
|
const ChimeClient_1 = require("../ChimeClient");
|
|
6
5
|
const ListUsersCommand_1 = require("../commands/ListUsersCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListUsersCommand_1.ListUsersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listUsers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListUsers(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
16
|
+
if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceConnectorGroups = void 0;
|
|
4
|
-
const Chime_1 = require("../Chime");
|
|
5
4
|
const ChimeClient_1 = require("../ChimeClient");
|
|
6
5
|
const ListVoiceConnectorGroupsCommand_1 = require("../commands/ListVoiceConnectorGroupsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listVoiceConnectorGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListVoiceConnectorGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListVoiceConnectorGroups(config, input, ...additionalArg
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
16
|
+
if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceConnectors = void 0;
|
|
4
|
-
const Chime_1 = require("../Chime");
|
|
5
4
|
const ChimeClient_1 = require("../ChimeClient");
|
|
6
5
|
const ListVoiceConnectorsCommand_1 = require("../commands/ListVoiceConnectorsCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.listVoiceConnectors(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateListVoiceConnectors(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateListVoiceConnectors(config, input, ...additionalArgument
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
16
|
+
if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchAvailablePhoneNumbers = void 0;
|
|
4
|
-
const Chime_1 = require("../Chime");
|
|
5
4
|
const ChimeClient_1 = require("../ChimeClient");
|
|
6
5
|
const SearchAvailablePhoneNumbersCommand_1 = require("../commands/SearchAvailablePhoneNumbersCommand");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.searchAvailablePhoneNumbers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateSearchAvailablePhoneNumbers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateSearchAvailablePhoneNumbers(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.NextToken = token;
|
|
19
15
|
input["MaxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
16
|
+
if (config.client instanceof ChimeClient_1.ChimeClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListAccountsCommand, } from "../commands/ListAccountsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAccountsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAccounts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAccounts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAccounts(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListAppInstanceAdminsCommand, } from "../commands/ListAppInstanceAdminsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppInstanceAdminsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppInstanceAdmins(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppInstanceAdmins(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppInstanceAdmins(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListAppInstanceUsersCommand, } from "../commands/ListAppInstanceUsersCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppInstanceUsersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppInstanceUsers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppInstanceUsers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppInstanceUsers(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListAppInstancesCommand, } from "../commands/ListAppInstancesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAppInstancesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppInstances(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppInstances(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppInstances(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListAttendeesCommand, } from "../commands/ListAttendeesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAttendeesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAttendees(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAttendees(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAttendees(config, input, ...additionalArgumen
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListBotsCommand } from "../commands/ListBotsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListBotsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listBots(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListBots(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListBots(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelBansCommand, } from "../commands/ListChannelBansCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelBansCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelBans(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelBans(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelBans(config, input, ...additionalArgum
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelMembershipsForAppInstanceUserCommand, } from "../commands/ListChannelMembershipsForAppInstanceUserCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelMembershipsForAppInstanceUserCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelMembershipsForAppInstanceUser(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelMembershipsForAppInstanceUser(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelMembershipsForAppInstanceUser(config,
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelMembershipsCommand, } from "../commands/ListChannelMembershipsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelMembershipsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelMemberships(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelMemberships(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelMemberships(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelMessagesCommand, } from "../commands/ListChannelMessagesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelMessagesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelMessages(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelMessages(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelMessages(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelModeratorsCommand, } from "../commands/ListChannelModeratorsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelModeratorsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelModerators(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelModerators(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelModerators(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelsModeratedByAppInstanceUserCommand, } from "../commands/ListChannelsModeratedByAppInstanceUserCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelsModeratedByAppInstanceUserCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannelsModeratedByAppInstanceUser(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannelsModeratedByAppInstanceUser(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannelsModeratedByAppInstanceUser(config, in
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListChannelsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listChannels(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListChannels(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListMediaCapturePipelinesCommand, } from "../commands/ListMediaCapturePipelinesCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMediaCapturePipelinesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMediaCapturePipelines(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMediaCapturePipelines(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMediaCapturePipelines(config, input, ...addit
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListMeetingsCommand, } from "../commands/ListMeetingsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMeetingsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMeetings(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMeetings(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMeetings(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListPhoneNumberOrdersCommand, } from "../commands/ListPhoneNumberOrdersCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPhoneNumberOrdersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPhoneNumberOrders(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPhoneNumberOrders(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPhoneNumberOrders(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListPhoneNumbersCommand, } from "../commands/ListPhoneNumbersCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPhoneNumbersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPhoneNumbers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPhoneNumbers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPhoneNumbers(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListProxySessionsCommand, } from "../commands/ListProxySessionsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListProxySessionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listProxySessions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListProxySessions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListProxySessions(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListRoomMembershipsCommand, } from "../commands/ListRoomMembershipsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRoomMembershipsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRoomMemberships(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRoomMemberships(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRoomMemberships(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListRoomsCommand } from "../commands/ListRoomsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListRoomsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listRooms(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListRooms(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListRooms(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Chime } from "../Chime";
|
|
2
1
|
import { ChimeClient } from "../ChimeClient";
|
|
3
2
|
import { ListSipMediaApplicationsCommand, } from "../commands/ListSipMediaApplicationsCommand";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListSipMediaApplicationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listSipMediaApplications(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListSipMediaApplications(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListSipMediaApplications(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ChimeClient) {
|
|
13
|
+
if (config.client instanceof ChimeClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|