@aws-sdk/client-connect 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/GetCurrentMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetCurrentUserDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataPaginator.js +2 -24
- package/dist-cjs/pagination/GetMetricDataV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListAgentStatusesPaginator.js +2 -24
- package/dist-cjs/pagination/ListApprovedOriginsPaginator.js +2 -24
- package/dist-cjs/pagination/ListBotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactEvaluationsPaginator.js +2 -23
- package/dist-cjs/pagination/ListContactFlowModulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactFlowsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContactReferencesPaginator.js +2 -23
- package/dist-cjs/pagination/ListDefaultVocabulariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEvaluationFormVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEvaluationFormsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFlowAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListHoursOfOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstanceAttributesPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstanceStorageConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/ListIntegrationAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLambdaFunctionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLexBotsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/ListPhoneNumbersV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListPromptsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueueQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListRoutingProfileQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoutingProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityKeysPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfileApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilePermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTaskTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListTrafficDistributionGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUseCasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListUserHierarchyGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListViewVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListViewsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchHoursOfOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchPromptsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchQueuesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchQuickConnectsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchResourceTagsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchRoutingProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchSecurityProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchUsersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchVocabulariesPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +1401 -3118
- package/dist-es/pagination/GetCurrentMetricDataPaginator.js +2 -23
- package/dist-es/pagination/GetCurrentUserDataPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataPaginator.js +2 -23
- package/dist-es/pagination/GetMetricDataV2Paginator.js +2 -23
- package/dist-es/pagination/ListAgentStatusesPaginator.js +2 -23
- package/dist-es/pagination/ListApprovedOriginsPaginator.js +2 -23
- package/dist-es/pagination/ListBotsPaginator.js +2 -23
- package/dist-es/pagination/ListContactEvaluationsPaginator.js +2 -22
- package/dist-es/pagination/ListContactFlowModulesPaginator.js +2 -23
- package/dist-es/pagination/ListContactFlowsPaginator.js +2 -23
- package/dist-es/pagination/ListContactReferencesPaginator.js +2 -22
- package/dist-es/pagination/ListDefaultVocabulariesPaginator.js +2 -23
- package/dist-es/pagination/ListEvaluationFormVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListEvaluationFormsPaginator.js +2 -23
- package/dist-es/pagination/ListFlowAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListHoursOfOperationsPaginator.js +2 -23
- package/dist-es/pagination/ListInstanceAttributesPaginator.js +2 -23
- package/dist-es/pagination/ListInstanceStorageConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListInstancesPaginator.js +2 -23
- package/dist-es/pagination/ListIntegrationAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListLambdaFunctionsPaginator.js +2 -23
- package/dist-es/pagination/ListLexBotsPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/ListPhoneNumbersV2Paginator.js +2 -23
- package/dist-es/pagination/ListPromptsPaginator.js +2 -23
- package/dist-es/pagination/ListQueueQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/ListQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.js +2 -23
- package/dist-es/pagination/ListRoutingProfileQueuesPaginator.js +2 -23
- package/dist-es/pagination/ListRoutingProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListRulesPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityKeysPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfileApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilePermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListTaskTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListTrafficDistributionGroupUsersPaginator.js +2 -23
- package/dist-es/pagination/ListTrafficDistributionGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUseCasesPaginator.js +2 -23
- package/dist-es/pagination/ListUserHierarchyGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-es/pagination/ListViewVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListViewsPaginator.js +2 -23
- package/dist-es/pagination/SearchAvailablePhoneNumbersPaginator.js +2 -23
- package/dist-es/pagination/SearchHoursOfOperationsPaginator.js +2 -23
- package/dist-es/pagination/SearchPromptsPaginator.js +2 -23
- package/dist-es/pagination/SearchQueuesPaginator.js +2 -23
- package/dist-es/pagination/SearchQuickConnectsPaginator.js +2 -23
- package/dist-es/pagination/SearchResourceTagsPaginator.js +2 -23
- package/dist-es/pagination/SearchRoutingProfilesPaginator.js +2 -23
- package/dist-es/pagination/SearchSecurityProfilesPaginator.js +2 -23
- package/dist-es/pagination/SearchUsersPaginator.js +2 -23
- package/dist-es/pagination/SearchVocabulariesPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +1402 -3119
- package/dist-types/pagination/GetCurrentMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCurrentUserDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetMetricDataV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListAgentStatusesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListApprovedOriginsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactEvaluationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactFlowModulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactFlowsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContactReferencesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDefaultVocabulariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluationFormVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEvaluationFormsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFlowAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListHoursOfOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceAttributesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceStorageConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIntegrationAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLambdaFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLexBotsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPhoneNumbersV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListPromptsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueueQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutingProfileQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoutingProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfileApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilePermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTaskTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrafficDistributionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUseCasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserHierarchyGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViewVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViewsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchHoursOfOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchPromptsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchQueuesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchQuickConnectsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchResourceTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchRoutingProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchVocabulariesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetCurrentMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCurrentUserDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetMetricDataV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAgentStatusesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListApprovedOriginsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactEvaluationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactFlowsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEvaluationFormVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEvaluationFormsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFlowAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListHoursOfOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstanceAttributesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstanceStorageConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIntegrationAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLambdaFunctionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLexBotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPhoneNumbersV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueueQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRealtimeContactAnalysisSegmentsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutingProfileQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoutingProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfileApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTaskTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrafficDistributionGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUseCasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUserHierarchyGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchAvailablePhoneNumbersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchHoursOfOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchPromptsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchQueuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchQuickConnectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchResourceTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchRoutingProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchSecurityProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIntegrationAssociations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIntegrationAssociationsCommand_1 = require("../commands/ListIntegrationAssociationsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIntegrationAssociationsCommand_1.ListIntegrationAssociationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIntegrationAssociations(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListIntegrationAssociations = paginateListIntegrationAssociations;
|
|
7
|
+
exports.paginateListIntegrationAssociations = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListIntegrationAssociationsCommand_1.ListIntegrationAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLambdaFunctions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLambdaFunctionsCommand_1 = require("../commands/ListLambdaFunctionsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLambdaFunctionsCommand_1.ListLambdaFunctionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLambdaFunctions(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListLambdaFunctions = paginateListLambdaFunctions;
|
|
7
|
+
exports.paginateListLambdaFunctions = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListLambdaFunctionsCommand_1.ListLambdaFunctionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLexBots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLexBotsCommand_1 = require("../commands/ListLexBotsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLexBotsCommand_1.ListLexBotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLexBots(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListLexBots = paginateListLexBots;
|
|
7
|
+
exports.paginateListLexBots = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListLexBotsCommand_1.ListLexBotsCommand, "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 ListPhoneNumbersCommand_1 = require("../commands/ListPhoneNumbersCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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)(ConnectClient_1.ConnectClient, 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.paginateListPhoneNumbersV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPhoneNumbersV2Command_1 = require("../commands/ListPhoneNumbersV2Command");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPhoneNumbersV2Command_1.ListPhoneNumbersV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPhoneNumbersV2(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListPhoneNumbersV2 = paginateListPhoneNumbersV2;
|
|
7
|
+
exports.paginateListPhoneNumbersV2 = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListPhoneNumbersV2Command_1.ListPhoneNumbersV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPrompts = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPromptsCommand_1 = require("../commands/ListPromptsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPromptsCommand_1.ListPromptsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPrompts(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListPrompts = paginateListPrompts;
|
|
7
|
+
exports.paginateListPrompts = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListPromptsCommand_1.ListPromptsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQueueQuickConnects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListQueueQuickConnectsCommand_1 = require("../commands/ListQueueQuickConnectsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQueueQuickConnectsCommand_1.ListQueueQuickConnectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQueueQuickConnects(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListQueueQuickConnects = paginateListQueueQuickConnects;
|
|
7
|
+
exports.paginateListQueueQuickConnects = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListQueueQuickConnectsCommand_1.ListQueueQuickConnectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQueues = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListQueuesCommand_1 = require("../commands/ListQueuesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQueuesCommand_1.ListQueuesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQueues(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListQueues = paginateListQueues;
|
|
7
|
+
exports.paginateListQueues = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListQueuesCommand_1.ListQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListQuickConnects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListQuickConnectsCommand_1 = require("../commands/ListQuickConnectsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListQuickConnectsCommand_1.ListQuickConnectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListQuickConnects(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListQuickConnects = paginateListQuickConnects;
|
|
7
|
+
exports.paginateListQuickConnects = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListQuickConnectsCommand_1.ListQuickConnectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRealtimeContactAnalysisSegmentsV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRealtimeContactAnalysisSegmentsV2Command_1 = require("../commands/ListRealtimeContactAnalysisSegmentsV2Command");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRealtimeContactAnalysisSegmentsV2Command_1.ListRealtimeContactAnalysisSegmentsV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRealtimeContactAnalysisSegmentsV2(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListRealtimeContactAnalysisSegmentsV2 = paginateListRealtimeContactAnalysisSegmentsV2;
|
|
7
|
+
exports.paginateListRealtimeContactAnalysisSegmentsV2 = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListRealtimeContactAnalysisSegmentsV2Command_1.ListRealtimeContactAnalysisSegmentsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoutingProfileQueues = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRoutingProfileQueuesCommand_1 = require("../commands/ListRoutingProfileQueuesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoutingProfileQueuesCommand_1.ListRoutingProfileQueuesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoutingProfileQueues(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListRoutingProfileQueues = paginateListRoutingProfileQueues;
|
|
7
|
+
exports.paginateListRoutingProfileQueues = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListRoutingProfileQueuesCommand_1.ListRoutingProfileQueuesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoutingProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRoutingProfilesCommand_1 = require("../commands/ListRoutingProfilesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoutingProfilesCommand_1.ListRoutingProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoutingProfiles(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListRoutingProfiles = paginateListRoutingProfiles;
|
|
7
|
+
exports.paginateListRoutingProfiles = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListRoutingProfilesCommand_1.ListRoutingProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRules = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRulesCommand_1 = require("../commands/ListRulesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRulesCommand_1.ListRulesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRules(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListRules = paginateListRules;
|
|
7
|
+
exports.paginateListRules = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListRulesCommand_1.ListRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityKeys = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityKeysCommand_1 = require("../commands/ListSecurityKeysCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityKeysCommand_1.ListSecurityKeysCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityKeys(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListSecurityKeys = paginateListSecurityKeys;
|
|
7
|
+
exports.paginateListSecurityKeys = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListSecurityKeysCommand_1.ListSecurityKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityProfileApplications = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityProfileApplicationsCommand_1 = require("../commands/ListSecurityProfileApplicationsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityProfileApplicationsCommand_1.ListSecurityProfileApplicationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityProfileApplications(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListSecurityProfileApplications = paginateListSecurityProfileApplications;
|
|
7
|
+
exports.paginateListSecurityProfileApplications = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListSecurityProfileApplicationsCommand_1.ListSecurityProfileApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityProfilePermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityProfilePermissionsCommand_1 = require("../commands/ListSecurityProfilePermissionsCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityProfilePermissionsCommand_1.ListSecurityProfilePermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityProfilePermissions(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListSecurityProfilePermissions = paginateListSecurityProfilePermissions;
|
|
7
|
+
exports.paginateListSecurityProfilePermissions = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListSecurityProfilePermissionsCommand_1.ListSecurityProfilePermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListSecurityProfiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListSecurityProfilesCommand_1 = require("../commands/ListSecurityProfilesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListSecurityProfilesCommand_1.ListSecurityProfilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListSecurityProfiles(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListSecurityProfiles = paginateListSecurityProfiles;
|
|
7
|
+
exports.paginateListSecurityProfiles = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListSecurityProfilesCommand_1.ListSecurityProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTaskTemplates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTaskTemplatesCommand_1 = require("../commands/ListTaskTemplatesCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTaskTemplatesCommand_1.ListTaskTemplatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTaskTemplates(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListTaskTemplates = paginateListTaskTemplates;
|
|
7
|
+
exports.paginateListTaskTemplates = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListTaskTemplatesCommand_1.ListTaskTemplatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTrafficDistributionGroupUsers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTrafficDistributionGroupUsersCommand_1 = require("../commands/ListTrafficDistributionGroupUsersCommand");
|
|
5
6
|
const ConnectClient_1 = require("../ConnectClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTrafficDistributionGroupUsersCommand_1.ListTrafficDistributionGroupUsersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTrafficDistributionGroupUsers(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 ConnectClient_1.ConnectClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Connect | ConnectClient");
|
|
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.paginateListTrafficDistributionGroupUsers = paginateListTrafficDistributionGroupUsers;
|
|
7
|
+
exports.paginateListTrafficDistributionGroupUsers = (0, core_1.createPaginator)(ConnectClient_1.ConnectClient, ListTrafficDistributionGroupUsersCommand_1.ListTrafficDistributionGroupUsersCommand, "NextToken", "NextToken", "MaxResults");
|