@aws-sdk/client-elasticache 3.281.0 → 3.287.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 +1 -8
- package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeEventsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeUsersPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheClustersPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheParametersPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +1 -8
- package/dist-es/pagination/DescribeEventsPaginator.js +1 -8
- package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +1 -8
- package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +1 -8
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +1 -8
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +1 -8
- package/dist-es/pagination/DescribeUpdateActionsPaginator.js +1 -8
- package/dist-es/pagination/DescribeUserGroupsPaginator.js +1 -8
- package/dist-es/pagination/DescribeUsersPaginator.js +1 -8
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +19 -19
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheClusters = void 0;
|
|
4
4
|
const DescribeCacheClustersCommand_1 = require("../commands/DescribeCacheClustersCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheClustersCommand_1.DescribeCacheClustersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheClusters(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheClusters(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheClusters(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheEngineVersions = void 0;
|
|
4
4
|
const DescribeCacheEngineVersionsCommand_1 = require("../commands/DescribeCacheEngineVersionsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheEngineVersionsCommand_1.DescribeCacheEngineVersionsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheEngineVersions(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheEngineVersions(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheEngineVersions(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheParameterGroups = void 0;
|
|
4
4
|
const DescribeCacheParameterGroupsCommand_1 = require("../commands/DescribeCacheParameterGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheParameterGroupsCommand_1.DescribeCacheParameterGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheParameterGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheParameterGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheParameterGroups(config, input, ...additiona
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheParameters = void 0;
|
|
4
4
|
const DescribeCacheParametersCommand_1 = require("../commands/DescribeCacheParametersCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheParametersCommand_1.DescribeCacheParametersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheParameters(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheParameters(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheParameters(config, input, ...additionalArgu
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheSecurityGroups = void 0;
|
|
4
4
|
const DescribeCacheSecurityGroupsCommand_1 = require("../commands/DescribeCacheSecurityGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheSecurityGroupsCommand_1.DescribeCacheSecurityGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheSecurityGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheSecurityGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheSecurityGroups(config, input, ...additional
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCacheSubnetGroups = void 0;
|
|
4
4
|
const DescribeCacheSubnetGroupsCommand_1 = require("../commands/DescribeCacheSubnetGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCacheSubnetGroupsCommand_1.DescribeCacheSubnetGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCacheSubnetGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCacheSubnetGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCacheSubnetGroups(config, input, ...additionalAr
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineDefaultParameters = void 0;
|
|
4
4
|
const DescribeEngineDefaultParametersCommand_1 = require("../commands/DescribeEngineDefaultParametersCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeEngineDefaultParameters(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeEngineDefaultParameters(config, input, ...additi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvents = void 0;
|
|
4
4
|
const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeEvents(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeGlobalReplicationGroups = void 0;
|
|
4
4
|
const DescribeGlobalReplicationGroupsCommand_1 = require("../commands/DescribeGlobalReplicationGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeGlobalReplicationGroupsCommand_1.DescribeGlobalReplicationGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeGlobalReplicationGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeGlobalReplicationGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeGlobalReplicationGroups(config, input, ...additi
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReplicationGroups = void 0;
|
|
4
4
|
const DescribeReplicationGroupsCommand_1 = require("../commands/DescribeReplicationGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeReplicationGroupsCommand_1.DescribeReplicationGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeReplicationGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeReplicationGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeReplicationGroups(config, input, ...additionalAr
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedCacheNodesOfferings = void 0;
|
|
4
4
|
const DescribeReservedCacheNodesOfferingsCommand_1 = require("../commands/DescribeReservedCacheNodesOfferingsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeReservedCacheNodesOfferingsCommand_1.DescribeReservedCacheNodesOfferingsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeReservedCacheNodesOfferings(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeReservedCacheNodesOfferings(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeReservedCacheNodesOfferings(config, input, ...ad
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedCacheNodes = void 0;
|
|
4
4
|
const DescribeReservedCacheNodesCommand_1 = require("../commands/DescribeReservedCacheNodesCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeReservedCacheNodesCommand_1.DescribeReservedCacheNodesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeReservedCacheNodes(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeReservedCacheNodes(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeReservedCacheNodes(config, input, ...additionalA
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeServiceUpdates = void 0;
|
|
4
4
|
const DescribeServiceUpdatesCommand_1 = require("../commands/DescribeServiceUpdatesCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeServiceUpdates(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeServiceUpdates(config, input, ...additionalArgum
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSnapshots = void 0;
|
|
4
4
|
const DescribeSnapshotsCommand_1 = require("../commands/DescribeSnapshotsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeSnapshotsCommand_1.DescribeSnapshotsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeSnapshots(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeSnapshots(config, input, ...additionalArguments)
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUpdateActions = void 0;
|
|
4
4
|
const DescribeUpdateActionsCommand_1 = require("../commands/DescribeUpdateActionsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeUpdateActionsCommand_1.DescribeUpdateActionsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeUpdateActions(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeUpdateActions(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeUpdateActions(config, input, ...additionalArgume
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUserGroups = void 0;
|
|
4
4
|
const DescribeUserGroupsCommand_1 = require("../commands/DescribeUserGroupsCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeUserGroupsCommand_1.DescribeUserGroupsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeUserGroups(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeUserGroups(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeUserGroups(config, input, ...additionalArguments
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeUsers = void 0;
|
|
4
4
|
const DescribeUsersCommand_1 = require("../commands/DescribeUsersCommand");
|
|
5
|
-
const ElastiCache_1 = require("../ElastiCache");
|
|
6
5
|
const ElastiCacheClient_1 = require("../ElastiCacheClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeUsersCommand_1.DescribeUsersCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeUsers(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.Marker = token;
|
|
19
15
|
input["MaxRecords"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
16
|
+
if (config.client instanceof ElastiCacheClient_1.ElastiCacheClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheClustersCommand, } from "../commands/DescribeCacheClustersCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheClustersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheClusters(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheClusters(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheClusters(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheEngineVersionsCommand, } from "../commands/DescribeCacheEngineVersionsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheEngineVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheEngineVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheEngineVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheEngineVersions(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheParameterGroupsCommand, } from "../commands/DescribeCacheParameterGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheParameterGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheParameterGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheParameterGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheParameterGroups(config, input, ...ad
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheParametersCommand, } from "../commands/DescribeCacheParametersCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheParametersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheParameters(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheParameters(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheParameters(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheSecurityGroupsCommand, } from "../commands/DescribeCacheSecurityGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheSecurityGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheSecurityGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheSecurityGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheSecurityGroups(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCacheSubnetGroupsCommand, } from "../commands/DescribeCacheSubnetGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCacheSubnetGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCacheSubnetGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCacheSubnetGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCacheSubnetGroups(config, input, ...addit
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeEngineDefaultParametersCommand, } from "../commands/DescribeEngineDefaultParametersCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeEngineDefaultParameters(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeEngineDefaultParameters(config, input, ..
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeEvents(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeEvents(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeGlobalReplicationGroupsCommand, } from "../commands/DescribeGlobalReplicationGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeGlobalReplicationGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeGlobalReplicationGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeGlobalReplicationGroups(config, input, ..
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeReplicationGroupsCommand, } from "../commands/DescribeReplicationGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeReplicationGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeReplicationGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeReplicationGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeReplicationGroups(config, input, ...addit
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeReservedCacheNodesOfferingsCommand, } from "../commands/DescribeReservedCacheNodesOfferingsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeReservedCacheNodesOfferings(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeReservedCacheNodesOfferings(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeReservedCacheNodesOfferings(config, input
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeReservedCacheNodesCommand, } from "../commands/DescribeReservedCacheNodesCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeReservedCacheNodesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeReservedCacheNodes(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeReservedCacheNodes(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeReservedCacheNodes(config, input, ...addi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeServiceUpdatesCommand, } from "../commands/DescribeServiceUpdatesCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeServiceUpdatesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeServiceUpdates(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeServiceUpdates(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeSnapshotsCommand, } from "../commands/DescribeSnapshotsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeSnapshotsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeSnapshots(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeSnapshots(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeUpdateActionsCommand, } from "../commands/DescribeUpdateActionsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeUpdateActionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeUpdateActions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeUpdateActions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeUpdateActions(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeUserGroupsCommand, } from "../commands/DescribeUserGroupsCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeUserGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeUserGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeUserGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeUserGroups(config, input, ...additionalAr
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeUsersCommand, } from "../commands/DescribeUsersCommand";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeUsersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeUsers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeUsers(config, input, ...additionalArgumen
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.Marker = token;
|
|
16
12
|
input["MaxRecords"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ElastiCacheClient) {
|
|
13
|
+
if (config.client instanceof ElastiCacheClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
export interface ElastiCachePaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: ElastiCacheClient;
|
|
6
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { ElastiCache } from "../ElastiCache";
|
|
3
2
|
import { ElastiCacheClient } from "../ElastiCacheClient";
|
|
4
3
|
export interface ElastiCachePaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: ElastiCacheClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticache",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elasticache Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.287.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,25 +20,25 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.287.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"@aws-sdk/util-waiter": "3.272.0",
|
|
56
56
|
"fast-xml-parser": "4.1.2",
|