@aws-sdk/client-chime-sdk-voice 3.477.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/ListPhoneNumberOrdersPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/ListProxySessionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSipMediaApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSipRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVoiceConnectorGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVoiceConnectorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVoiceProfileDomainsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVoiceProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -24
- package/dist-es/pagination/ListPhoneNumberOrdersPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/ListProxySessionsPaginator.js +2 -23
- package/dist-es/pagination/ListSipMediaApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListSipRulesPaginator.js +2 -23
- package/dist-es/pagination/ListVoiceConnectorGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListVoiceConnectorsPaginator.js +2 -23
- package/dist-es/pagination/ListVoiceProfileDomainsPaginator.js +2 -23
- package/dist-es/pagination/ListVoiceProfilesPaginator.js +2 -23
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -23
- package/dist-types/pagination/ListPhoneNumberOrdersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProxySessionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSipMediaApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSipRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVoiceConnectorGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVoiceConnectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVoiceProfileDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVoiceProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListPhoneNumberOrdersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProxySessionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSipMediaApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSipRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVoiceConnectorGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVoiceConnectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVoiceProfileDomainsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVoiceProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPhoneNumberOrders = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListPhoneNumberOrdersCommand_1 = require("../commands/ListPhoneNumberOrdersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPhoneNumberOrdersCommand_1.ListPhoneNumberOrdersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPhoneNumberOrders(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPhoneNumberOrders = paginateListPhoneNumberOrders;
|
|
7
|
+
exports.paginateListPhoneNumberOrders = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListPhoneNumberOrdersCommand_1.ListPhoneNumberOrdersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPhoneNumbers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListPhoneNumbersCommand_1 = require("../commands/ListPhoneNumbersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPhoneNumbersCommand_1.ListPhoneNumbersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPhoneNumbers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPhoneNumbers = paginateListPhoneNumbers;
|
|
7
|
+
exports.paginateListPhoneNumbers = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListPhoneNumbersCommand_1.ListPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListProxySessions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListProxySessionsCommand_1 = require("../commands/ListProxySessionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListProxySessionsCommand_1.ListProxySessionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListProxySessions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListProxySessions = paginateListProxySessions;
|
|
7
|
+
exports.paginateListProxySessions = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListProxySessionsCommand_1.ListProxySessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSipMediaApplications = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListSipMediaApplicationsCommand_1 = require("../commands/ListSipMediaApplicationsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSipMediaApplicationsCommand_1.ListSipMediaApplicationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSipMediaApplications(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSipMediaApplications = paginateListSipMediaApplications;
|
|
7
|
+
exports.paginateListSipMediaApplications = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListSipMediaApplicationsCommand_1.ListSipMediaApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSipRules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListSipRulesCommand_1 = require("../commands/ListSipRulesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSipRulesCommand_1.ListSipRulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSipRules(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListSipRules = paginateListSipRules;
|
|
7
|
+
exports.paginateListSipRules = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListSipRulesCommand_1.ListSipRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceConnectorGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListVoiceConnectorGroupsCommand_1 = require("../commands/ListVoiceConnectorGroupsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVoiceConnectorGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVoiceConnectorGroups = paginateListVoiceConnectorGroups;
|
|
7
|
+
exports.paginateListVoiceConnectorGroups = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListVoiceConnectorGroupsCommand_1.ListVoiceConnectorGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceConnectors = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListVoiceConnectorsCommand_1 = require("../commands/ListVoiceConnectorsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVoiceConnectors(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVoiceConnectors = paginateListVoiceConnectors;
|
|
7
|
+
exports.paginateListVoiceConnectors = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListVoiceConnectorsCommand_1.ListVoiceConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceProfileDomains = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListVoiceProfileDomainsCommand_1 = require("../commands/ListVoiceProfileDomainsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVoiceProfileDomainsCommand_1.ListVoiceProfileDomainsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVoiceProfileDomains(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVoiceProfileDomains = paginateListVoiceProfileDomains;
|
|
7
|
+
exports.paginateListVoiceProfileDomains = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListVoiceProfileDomainsCommand_1.ListVoiceProfileDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVoiceProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const ListVoiceProfilesCommand_1 = require("../commands/ListVoiceProfilesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVoiceProfilesCommand_1.ListVoiceProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVoiceProfiles(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVoiceProfiles = paginateListVoiceProfiles;
|
|
7
|
+
exports.paginateListVoiceProfiles = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, ListVoiceProfilesCommand_1.ListVoiceProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchAvailablePhoneNumbers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ChimeSDKVoiceClient_1 = require("../ChimeSDKVoiceClient");
|
|
5
6
|
const SearchAvailablePhoneNumbersCommand_1 = require("../commands/SearchAvailablePhoneNumbersCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchAvailablePhoneNumbers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ChimeSDKVoiceClient_1.ChimeSDKVoiceClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateSearchAvailablePhoneNumbers = paginateSearchAvailablePhoneNumbers;
|
|
7
|
+
exports.paginateSearchAvailablePhoneNumbers = (0, core_1.createPaginator)(ChimeSDKVoiceClient_1.ChimeSDKVoiceClient, SearchAvailablePhoneNumbersCommand_1.SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListPhoneNumberOrdersCommand, } from "../commands/ListPhoneNumberOrdersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPhoneNumberOrdersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPhoneNumberOrders(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListPhoneNumberOrders = createPaginator(ChimeSDKVoiceClient, ListPhoneNumberOrdersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListPhoneNumbersCommand, } from "../commands/ListPhoneNumbersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPhoneNumbersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPhoneNumbers(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListPhoneNumbers = createPaginator(ChimeSDKVoiceClient, ListPhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListProxySessionsCommand, } from "../commands/ListProxySessionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProxySessionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProxySessions(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListProxySessions = createPaginator(ChimeSDKVoiceClient, ListProxySessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListSipMediaApplicationsCommand, } from "../commands/ListSipMediaApplicationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSipMediaApplicationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSipMediaApplications(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListSipMediaApplications = createPaginator(ChimeSDKVoiceClient, ListSipMediaApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListSipRulesCommand, } from "../commands/ListSipRulesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListSipRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListSipRules(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListSipRules = createPaginator(ChimeSDKVoiceClient, ListSipRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListVoiceConnectorGroupsCommand, } from "../commands/ListVoiceConnectorGroupsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVoiceConnectorGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVoiceConnectorGroups(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListVoiceConnectorGroups = createPaginator(ChimeSDKVoiceClient, ListVoiceConnectorGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListVoiceConnectorsCommand, } from "../commands/ListVoiceConnectorsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVoiceConnectorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVoiceConnectors(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListVoiceConnectors = createPaginator(ChimeSDKVoiceClient, ListVoiceConnectorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListVoiceProfileDomainsCommand, } from "../commands/ListVoiceProfileDomainsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVoiceProfileDomainsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVoiceProfileDomains(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListVoiceProfileDomains = createPaginator(ChimeSDKVoiceClient, ListVoiceProfileDomainsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { ListVoiceProfilesCommand, } from "../commands/ListVoiceProfilesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVoiceProfilesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVoiceProfiles(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateListVoiceProfiles = createPaginator(ChimeSDKVoiceClient, ListVoiceProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ChimeSDKVoiceClient } from "../ChimeSDKVoiceClient";
|
|
2
3
|
import { SearchAvailablePhoneNumbersCommand, } from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchAvailablePhoneNumbersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchAvailablePhoneNumbers(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 ChimeSDKVoiceClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ChimeSDKVoice | ChimeSDKVoiceClient");
|
|
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 paginateSearchAvailablePhoneNumbers = createPaginator(ChimeSDKVoiceClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPhoneNumberOrders: (config: ChimeSDKVoicePaginationConfiguration, input: ListPhoneNumberOrdersCommandInput, ...rest: any[]) => Paginator<ListPhoneNumberOrdersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPhoneNumbers: (config: ChimeSDKVoicePaginationConfiguration, input: ListPhoneNumbersCommandInput, ...rest: any[]) => Paginator<ListPhoneNumbersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProxySessions: (config: ChimeSDKVoicePaginationConfiguration, input: ListProxySessionsCommandInput, ...rest: any[]) => Paginator<ListProxySessionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSipMediaApplications: (config: ChimeSDKVoicePaginationConfiguration, input: ListSipMediaApplicationsCommandInput, ...rest: any[]) => Paginator<ListSipMediaApplicationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSipRules: (config: ChimeSDKVoicePaginationConfiguration, input: ListSipRulesCommandInput, ...rest: any[]) => Paginator<ListSipRulesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceConnectorGroups: (config: ChimeSDKVoicePaginationConfiguration, input: ListVoiceConnectorGroupsCommandInput, ...rest: any[]) => Paginator<ListVoiceConnectorGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceConnectors: (config: ChimeSDKVoicePaginationConfiguration, input: ListVoiceConnectorsCommandInput, ...rest: any[]) => Paginator<ListVoiceConnectorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceProfileDomains: (config: ChimeSDKVoicePaginationConfiguration, input: ListVoiceProfileDomainsCommandInput, ...rest: any[]) => Paginator<ListVoiceProfileDomainsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceProfiles: (config: ChimeSDKVoicePaginationConfiguration, input: ListVoiceProfilesCommandInput, ...rest: any[]) => Paginator<ListVoiceProfilesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchAvailablePhoneNumbers: (config: ChimeSDKVoicePaginationConfiguration, input: SearchAvailablePhoneNumbersCommandInput, ...rest: any[]) => Paginator<SearchAvailablePhoneNumbersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPhoneNumberOrdersCommandOutput,
|
|
5
5
|
} from "../commands/ListPhoneNumberOrdersCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPhoneNumberOrders: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListPhoneNumberOrdersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPhoneNumberOrdersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPhoneNumbersCommandOutput,
|
|
5
5
|
} from "../commands/ListPhoneNumbersCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPhoneNumbers: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListPhoneNumbersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPhoneNumbersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListProxySessionsCommandOutput,
|
|
5
5
|
} from "../commands/ListProxySessionsCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListProxySessions: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListProxySessionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListProxySessionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListSipMediaApplicationsCommandOutput,
|
|
5
5
|
} from "../commands/ListSipMediaApplicationsCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSipMediaApplications: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListSipMediaApplicationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSipMediaApplicationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListSipRulesCommandOutput,
|
|
5
5
|
} from "../commands/ListSipRulesCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListSipRules: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListSipRulesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSipRulesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListVoiceConnectorGroupsCommandOutput,
|
|
5
5
|
} from "../commands/ListVoiceConnectorGroupsCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceConnectorGroups: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListVoiceConnectorGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVoiceConnectorGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListVoiceConnectorsCommandOutput,
|
|
5
5
|
} from "../commands/ListVoiceConnectorsCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceConnectors: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListVoiceConnectorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVoiceConnectorsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListVoiceProfileDomainsCommandOutput,
|
|
5
5
|
} from "../commands/ListVoiceProfileDomainsCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceProfileDomains: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListVoiceProfileDomainsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVoiceProfileDomainsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListVoiceProfilesCommandOutput,
|
|
5
5
|
} from "../commands/ListVoiceProfilesCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVoiceProfiles: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: ListVoiceProfilesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVoiceProfilesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchAvailablePhoneNumbersCommandOutput,
|
|
5
5
|
} from "../commands/SearchAvailablePhoneNumbersCommand";
|
|
6
6
|
import { ChimeSDKVoicePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchAvailablePhoneNumbers: (
|
|
8
8
|
config: ChimeSDKVoicePaginationConfiguration,
|
|
9
9
|
input: SearchAvailablePhoneNumbersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchAvailablePhoneNumbersCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Voice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|