@aws-sdk/client-kafka 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/ListClientVpcConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationRevisionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKafkaVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListReplicatorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListScramSecretsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +2 -24
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsV2Paginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListClustersV2Paginator.js +2 -23
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListNodesPaginator.js +2 -23
- package/dist-es/pagination/ListReplicatorsPaginator.js +2 -23
- package/dist-es/pagination/ListScramSecretsPaginator.js +2 -23
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +2 -23
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReplicatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScramSecretsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScramSecretsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.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.paginateListClientVpcConnections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClientVpcConnectionsCommand_1 = require("../commands/ListClientVpcConnectionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClientVpcConnectionsCommand_1.ListClientVpcConnectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClientVpcConnections(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListClientVpcConnections = paginateListClientVpcConnections;
|
|
7
|
+
exports.paginateListClientVpcConnections = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClientVpcConnectionsCommand_1.ListClientVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusterOperations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClusterOperationsCommand_1 = require("../commands/ListClusterOperationsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClusterOperationsCommand_1.ListClusterOperationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusterOperations(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListClusterOperations = paginateListClusterOperations;
|
|
7
|
+
exports.paginateListClusterOperations = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClusterOperationsCommand_1.ListClusterOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusterOperationsV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClusterOperationsV2Command_1 = require("../commands/ListClusterOperationsV2Command");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClusterOperationsV2Command_1.ListClusterOperationsV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusterOperationsV2(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListClusterOperationsV2 = paginateListClusterOperationsV2;
|
|
7
|
+
exports.paginateListClusterOperationsV2 = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClusterOperationsV2Command_1.ListClusterOperationsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusters(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListClusters = paginateListClusters;
|
|
7
|
+
exports.paginateListClusters = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClustersCommand_1.ListClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClustersV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClustersV2Command_1 = require("../commands/ListClustersV2Command");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClustersV2Command_1.ListClustersV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClustersV2(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListClustersV2 = paginateListClustersV2;
|
|
7
|
+
exports.paginateListClustersV2 = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClustersV2Command_1.ListClustersV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationRevisions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationRevisionsCommand_1 = require("../commands/ListConfigurationRevisionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationRevisions(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListConfigurationRevisions = paginateListConfigurationRevisions;
|
|
7
|
+
exports.paginateListConfigurationRevisions = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationsCommand_1 = require("../commands/ListConfigurationsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationsCommand_1.ListConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurations(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListConfigurations = paginateListConfigurations;
|
|
7
|
+
exports.paginateListConfigurations = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListConfigurationsCommand_1.ListConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKafkaVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListKafkaVersionsCommand_1 = require("../commands/ListKafkaVersionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListKafkaVersionsCommand_1.ListKafkaVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListKafkaVersions(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListKafkaVersions = paginateListKafkaVersions;
|
|
7
|
+
exports.paginateListKafkaVersions = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListKafkaVersionsCommand_1.ListKafkaVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListNodesCommand_1 = require("../commands/ListNodesCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListNodesCommand_1.ListNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListNodes(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListNodes = paginateListNodes;
|
|
7
|
+
exports.paginateListNodes = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListNodesCommand_1.ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListReplicators = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListReplicatorsCommand_1 = require("../commands/ListReplicatorsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListReplicatorsCommand_1.ListReplicatorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListReplicators(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListReplicators = paginateListReplicators;
|
|
7
|
+
exports.paginateListReplicators = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListReplicatorsCommand_1.ListReplicatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListScramSecrets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListScramSecretsCommand_1 = require("../commands/ListScramSecretsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListScramSecretsCommand_1.ListScramSecretsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListScramSecrets(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListScramSecrets = paginateListScramSecrets;
|
|
7
|
+
exports.paginateListScramSecrets = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListScramSecretsCommand_1.ListScramSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVpcConnections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListVpcConnectionsCommand_1 = require("../commands/ListVpcConnectionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVpcConnectionsCommand_1.ListVpcConnectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVpcConnections(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 KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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.paginateListVpcConnections = paginateListVpcConnections;
|
|
7
|
+
exports.paginateListVpcConnections = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListVpcConnectionsCommand_1.ListVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClientVpcConnectionsCommand, } from "../commands/ListClientVpcConnectionsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClientVpcConnectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClientVpcConnections(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListClientVpcConnections = createPaginator(KafkaClient, ListClientVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClusterOperationsCommand, } from "../commands/ListClusterOperationsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClusterOperationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClusterOperations(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListClusterOperations = createPaginator(KafkaClient, ListClusterOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClusterOperationsV2Command, } from "../commands/ListClusterOperationsV2Command";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClusterOperationsV2Command(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClusterOperationsV2(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListClusterOperationsV2 = createPaginator(KafkaClient, ListClusterOperationsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClustersCommand, } from "../commands/ListClustersCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClusters(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListClusters = createPaginator(KafkaClient, ListClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClustersV2Command, } from "../commands/ListClustersV2Command";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClustersV2Command(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClustersV2(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListClustersV2 = createPaginator(KafkaClient, ListClustersV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigurationRevisionsCommand, } from "../commands/ListConfigurationRevisionsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationRevisionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationRevisions(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListConfigurationRevisions = createPaginator(KafkaClient, ListConfigurationRevisionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListConfigurationsCommand, } from "../commands/ListConfigurationsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurations(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListConfigurations = createPaginator(KafkaClient, ListConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListKafkaVersionsCommand, } from "../commands/ListKafkaVersionsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListKafkaVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListKafkaVersions(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListKafkaVersions = createPaginator(KafkaClient, ListKafkaVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListNodesCommand } from "../commands/ListNodesCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListNodesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListNodes(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListNodes = createPaginator(KafkaClient, ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListReplicatorsCommand, } from "../commands/ListReplicatorsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListReplicatorsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListReplicators(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListReplicators = createPaginator(KafkaClient, ListReplicatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListScramSecretsCommand, } from "../commands/ListScramSecretsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListScramSecretsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListScramSecrets(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListScramSecrets = createPaginator(KafkaClient, ListScramSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVpcConnectionsCommand, } from "../commands/ListVpcConnectionsCommand";
|
|
2
3
|
import { KafkaClient } from "../KafkaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVpcConnectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVpcConnections(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 KafkaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
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 paginateListVpcConnections = createPaginator(KafkaClient, ListVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClientVpcConnections: (config: KafkaPaginationConfiguration, input: ListClientVpcConnectionsCommandInput, ...rest: any[]) => Paginator<ListClientVpcConnectionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusterOperations: (config: KafkaPaginationConfiguration, input: ListClusterOperationsCommandInput, ...rest: any[]) => Paginator<ListClusterOperationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusterOperationsV2: (config: KafkaPaginationConfiguration, input: ListClusterOperationsV2CommandInput, ...rest: any[]) => Paginator<ListClusterOperationsV2CommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusters: (config: KafkaPaginationConfiguration, input: ListClustersCommandInput, ...rest: any[]) => Paginator<ListClustersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClustersV2: (config: KafkaPaginationConfiguration, input: ListClustersV2CommandInput, ...rest: any[]) => Paginator<ListClustersV2CommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurationRevisions: (config: KafkaPaginationConfiguration, input: ListConfigurationRevisionsCommandInput, ...rest: any[]) => Paginator<ListConfigurationRevisionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurations: (config: KafkaPaginationConfiguration, input: ListConfigurationsCommandInput, ...rest: any[]) => Paginator<ListConfigurationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListKafkaVersions: (config: KafkaPaginationConfiguration, input: ListKafkaVersionsCommandInput, ...rest: any[]) => Paginator<ListKafkaVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListNodes: (config: KafkaPaginationConfiguration, input: ListNodesCommandInput, ...rest: any[]) => Paginator<ListNodesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListReplicators: (config: KafkaPaginationConfiguration, input: ListReplicatorsCommandInput, ...rest: any[]) => Paginator<ListReplicatorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListScramSecrets: (config: KafkaPaginationConfiguration, input: ListScramSecretsCommandInput, ...rest: any[]) => Paginator<ListScramSecretsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVpcConnections: (config: KafkaPaginationConfiguration, input: ListVpcConnectionsCommandInput, ...rest: any[]) => Paginator<ListVpcConnectionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListClientVpcConnectionsCommandOutput,
|
|
5
5
|
} from "../commands/ListClientVpcConnectionsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClientVpcConnections: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListClientVpcConnectionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListClientVpcConnectionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListClusterOperationsCommandOutput,
|
|
5
5
|
} from "../commands/ListClusterOperationsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusterOperations: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListClusterOperationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListClusterOperationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListClusterOperationsV2CommandOutput,
|
|
5
5
|
} from "../commands/ListClusterOperationsV2Command";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusterOperationsV2: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListClusterOperationsV2CommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListClusterOperationsV2CommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListClustersCommandOutput,
|
|
5
5
|
} from "../commands/ListClustersCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClusters: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListClustersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListClustersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListClustersV2CommandOutput,
|
|
5
5
|
} from "../commands/ListClustersV2Command";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListClustersV2: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListClustersV2CommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListClustersV2CommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListConfigurationRevisionsCommandOutput,
|
|
5
5
|
} from "../commands/ListConfigurationRevisionsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurationRevisions: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListConfigurationRevisionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConfigurationRevisionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListConfigurationsCommandOutput,
|
|
5
5
|
} from "../commands/ListConfigurationsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListConfigurations: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListConfigurationsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConfigurationsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListKafkaVersionsCommandOutput,
|
|
5
5
|
} from "../commands/ListKafkaVersionsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListKafkaVersions: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListKafkaVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListKafkaVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListNodesCommandOutput,
|
|
5
5
|
} from "../commands/ListNodesCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListNodes: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListNodesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListNodesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListReplicatorsCommandOutput,
|
|
5
5
|
} from "../commands/ListReplicatorsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListReplicators: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListReplicatorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListReplicatorsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListScramSecretsCommandOutput,
|
|
5
5
|
} from "../commands/ListScramSecretsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListScramSecrets: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListScramSecretsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListScramSecretsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListVpcConnectionsCommandOutput,
|
|
5
5
|
} from "../commands/ListVpcConnectionsCommand";
|
|
6
6
|
import { KafkaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListVpcConnections: (
|
|
8
8
|
config: KafkaPaginationConfiguration,
|
|
9
9
|
input: ListVpcConnectionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListVpcConnectionsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka 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",
|