@aws-sdk/client-elasticache 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/DescribeCacheClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeServerlessCacheSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeServerlessCachesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_query.js +2669 -2274
- package/dist-es/pagination/DescribeCacheClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeCacheParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +2 -23
- package/dist-es/pagination/DescribeServerlessCacheSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeServerlessCachesPaginator.js +2 -23
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUpdateActionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUserGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
- package/dist-es/protocols/Aws_query.js +2669 -2274
- package/dist-types/pagination/DescribeCacheClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCacheEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCacheParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCacheParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCacheSecurityGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCacheSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGlobalReplicationGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReplicationGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedCacheNodesOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedCacheNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeServerlessCacheSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeServerlessCachesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeServiceUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUpdateActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUserGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeCacheClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCacheEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCacheParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCacheParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCacheSecurityGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCacheSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeGlobalReplicationGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReplicationGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedCacheNodesOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedCacheNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeServerlessCacheSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeServerlessCachesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeServiceUpdatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUpdateActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUserGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUsersPaginator.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.paginateDescribeCacheClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheClustersCommand_1 = require("../commands/DescribeCacheClustersCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheClustersCommand_1.DescribeCacheClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheClusters = paginateDescribeCacheClusters;
|
|
7
|
+
exports.paginateDescribeCacheClusters = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheClustersCommand_1.DescribeCacheClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheEngineVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheEngineVersionsCommand_1 = require("../commands/DescribeCacheEngineVersionsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheEngineVersionsCommand_1.DescribeCacheEngineVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheEngineVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheEngineVersions = paginateDescribeCacheEngineVersions;
|
|
7
|
+
exports.paginateDescribeCacheEngineVersions = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheEngineVersionsCommand_1.DescribeCacheEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheParameterGroupsCommand_1 = require("../commands/DescribeCacheParameterGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheParameterGroupsCommand_1.DescribeCacheParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheParameterGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheParameterGroups = paginateDescribeCacheParameterGroups;
|
|
7
|
+
exports.paginateDescribeCacheParameterGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheParameterGroupsCommand_1.DescribeCacheParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheParametersCommand_1 = require("../commands/DescribeCacheParametersCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheParametersCommand_1.DescribeCacheParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheParameters = paginateDescribeCacheParameters;
|
|
7
|
+
exports.paginateDescribeCacheParameters = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheParametersCommand_1.DescribeCacheParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheSecurityGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheSecurityGroupsCommand_1 = require("../commands/DescribeCacheSecurityGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheSecurityGroupsCommand_1.DescribeCacheSecurityGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheSecurityGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheSecurityGroups = paginateDescribeCacheSecurityGroups;
|
|
7
|
+
exports.paginateDescribeCacheSecurityGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheSecurityGroupsCommand_1.DescribeCacheSecurityGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCacheSubnetGroupsCommand_1 = require("../commands/DescribeCacheSubnetGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCacheSubnetGroupsCommand_1.DescribeCacheSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCacheSubnetGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeCacheSubnetGroups = paginateDescribeCacheSubnetGroups;
|
|
7
|
+
exports.paginateDescribeCacheSubnetGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeCacheSubnetGroupsCommand_1.DescribeCacheSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineDefaultParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEngineDefaultParametersCommand_1 = require("../commands/DescribeEngineDefaultParametersCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.EngineDefaults.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEngineDefaultParameters = paginateDescribeEngineDefaultParameters;
|
|
7
|
+
exports.paginateDescribeEngineDefaultParameters = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand, "Marker", "EngineDefaults.Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEvents = paginateDescribeEvents;
|
|
7
|
+
exports.paginateDescribeEvents = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeEventsCommand_1.DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeGlobalReplicationGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeGlobalReplicationGroupsCommand_1 = require("../commands/DescribeGlobalReplicationGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeGlobalReplicationGroupsCommand_1.DescribeGlobalReplicationGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeGlobalReplicationGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeGlobalReplicationGroups = paginateDescribeGlobalReplicationGroups;
|
|
7
|
+
exports.paginateDescribeGlobalReplicationGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeGlobalReplicationGroupsCommand_1.DescribeGlobalReplicationGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReplicationGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReplicationGroupsCommand_1 = require("../commands/DescribeReplicationGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReplicationGroupsCommand_1.DescribeReplicationGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReplicationGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReplicationGroups = paginateDescribeReplicationGroups;
|
|
7
|
+
exports.paginateDescribeReplicationGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeReplicationGroupsCommand_1.DescribeReplicationGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedCacheNodesOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedCacheNodesOfferingsCommand_1 = require("../commands/DescribeReservedCacheNodesOfferingsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedCacheNodesOfferingsCommand_1.DescribeReservedCacheNodesOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedCacheNodesOfferings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedCacheNodesOfferings = paginateDescribeReservedCacheNodesOfferings;
|
|
7
|
+
exports.paginateDescribeReservedCacheNodesOfferings = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeReservedCacheNodesOfferingsCommand_1.DescribeReservedCacheNodesOfferingsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedCacheNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedCacheNodesCommand_1 = require("../commands/DescribeReservedCacheNodesCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedCacheNodesCommand_1.DescribeReservedCacheNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedCacheNodes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedCacheNodes = paginateDescribeReservedCacheNodes;
|
|
7
|
+
exports.paginateDescribeReservedCacheNodes = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeReservedCacheNodesCommand_1.DescribeReservedCacheNodesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeServerlessCacheSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeServerlessCacheSnapshotsCommand_1 = require("../commands/DescribeServerlessCacheSnapshotsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeServerlessCacheSnapshotsCommand_1.DescribeServerlessCacheSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeServerlessCacheSnapshots(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 ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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.paginateDescribeServerlessCacheSnapshots = paginateDescribeServerlessCacheSnapshots;
|
|
7
|
+
exports.paginateDescribeServerlessCacheSnapshots = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeServerlessCacheSnapshotsCommand_1.DescribeServerlessCacheSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeServerlessCaches = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeServerlessCachesCommand_1 = require("../commands/DescribeServerlessCachesCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeServerlessCachesCommand_1.DescribeServerlessCachesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeServerlessCaches(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 ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
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.paginateDescribeServerlessCaches = paginateDescribeServerlessCaches;
|
|
7
|
+
exports.paginateDescribeServerlessCaches = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeServerlessCachesCommand_1.DescribeServerlessCachesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeServiceUpdates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeServiceUpdatesCommand_1 = require("../commands/DescribeServiceUpdatesCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeServiceUpdates = paginateDescribeServiceUpdates;
|
|
7
|
+
exports.paginateDescribeServiceUpdates = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeSnapshotsCommand_1 = require("../commands/DescribeSnapshotsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeSnapshotsCommand_1.DescribeSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeSnapshots = paginateDescribeSnapshots;
|
|
7
|
+
exports.paginateDescribeSnapshots = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeSnapshotsCommand_1.DescribeSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUpdateActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeUpdateActionsCommand_1 = require("../commands/DescribeUpdateActionsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeUpdateActionsCommand_1.DescribeUpdateActionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeUpdateActions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeUpdateActions = paginateDescribeUpdateActions;
|
|
7
|
+
exports.paginateDescribeUpdateActions = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeUpdateActionsCommand_1.DescribeUpdateActionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUserGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeUserGroupsCommand_1 = require("../commands/DescribeUserGroupsCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeUserGroupsCommand_1.DescribeUserGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeUserGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeUserGroups = paginateDescribeUserGroups;
|
|
7
|
+
exports.paginateDescribeUserGroups = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeUserGroupsCommand_1.DescribeUserGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUsers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
5
6
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeUsersCommand_1.DescribeUsersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeUsers = paginateDescribeUsers;
|
|
7
|
+
exports.paginateDescribeUsers = (0, core_1.createPaginator)(ElastiCacheClient_1.ElastiCacheClient, DescribeUsersCommand_1.DescribeUsersCommand, "Marker", "Marker", "MaxRecords");
|