@aws-sdk/client-memorydb 3.477.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/pagination/DescribeACLsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
- package/dist-es/pagination/DescribeACLsPaginator.js +2 -23
- package/dist-es/pagination/DescribeClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedNodesPaginator.js +2 -23
- package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
- package/dist-types/pagination/DescribeACLsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedNodesPaginator.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/DescribeSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeACLsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedNodesPaginator.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/DescribeSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeACLs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeACLsCommand_1 = require("../commands/DescribeACLsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeACLsCommand_1.DescribeACLsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeACLs(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeACLs = paginateDescribeACLs;
|
|
7
|
+
exports.paginateDescribeACLs = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeACLsCommand_1.DescribeACLsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeClustersCommand_1 = require("../commands/DescribeClustersCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeClustersCommand_1.DescribeClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeClusters(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeClusters = paginateDescribeClusters;
|
|
7
|
+
exports.paginateDescribeClusters = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeClustersCommand_1.DescribeClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEngineVersionsCommand_1 = require("../commands/DescribeEngineVersionsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEngineVersionsCommand_1.DescribeEngineVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEngineVersions(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeEngineVersions = paginateDescribeEngineVersions;
|
|
7
|
+
exports.paginateDescribeEngineVersions = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeEngineVersionsCommand_1.DescribeEngineVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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 MemoryDBClient_1 = require("../MemoryDBClient");
|
|
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.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeEvents = paginateDescribeEvents;
|
|
7
|
+
exports.paginateDescribeEvents = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeEventsCommand_1.DescribeEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeParameterGroupsCommand_1 = require("../commands/DescribeParameterGroupsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeParameterGroups(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeParameterGroups = paginateDescribeParameterGroups;
|
|
7
|
+
exports.paginateDescribeParameterGroups = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeParameterGroupsCommand_1.DescribeParameterGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeParametersCommand_1 = require("../commands/DescribeParametersCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeParametersCommand_1.DescribeParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeParameters(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeParameters = paginateDescribeParameters;
|
|
7
|
+
exports.paginateDescribeParameters = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeParametersCommand_1.DescribeParametersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedNodesOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedNodesOfferingsCommand_1 = require("../commands/DescribeReservedNodesOfferingsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedNodesOfferingsCommand_1.DescribeReservedNodesOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedNodesOfferings(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeReservedNodesOfferings = paginateDescribeReservedNodesOfferings;
|
|
7
|
+
exports.paginateDescribeReservedNodesOfferings = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeReservedNodesOfferingsCommand_1.DescribeReservedNodesOfferingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedNodesCommand_1 = require("../commands/DescribeReservedNodesCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedNodesCommand_1.DescribeReservedNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedNodes(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeReservedNodes = paginateDescribeReservedNodes;
|
|
7
|
+
exports.paginateDescribeReservedNodes = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeReservedNodesCommand_1.DescribeReservedNodesCommand, "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 MemoryDBClient_1 = require("../MemoryDBClient");
|
|
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.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeServiceUpdates = paginateDescribeServiceUpdates;
|
|
7
|
+
exports.paginateDescribeServiceUpdates = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeServiceUpdatesCommand_1.DescribeServiceUpdatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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 MemoryDBClient_1 = require("../MemoryDBClient");
|
|
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.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeSnapshots = paginateDescribeSnapshots;
|
|
7
|
+
exports.paginateDescribeSnapshots = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeSnapshotsCommand_1.DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeSubnetGroupsCommand_1 = require("../commands/DescribeSubnetGroupsCommand");
|
|
5
6
|
const MemoryDBClient_1 = require("../MemoryDBClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSubnetGroups(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 MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeSubnetGroups = paginateDescribeSubnetGroups;
|
|
7
|
+
exports.paginateDescribeSubnetGroups = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeSubnetGroupsCommand_1.DescribeSubnetGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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 MemoryDBClient_1 = require("../MemoryDBClient");
|
|
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.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof MemoryDBClient_1.MemoryDBClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
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.paginateDescribeUsers = paginateDescribeUsers;
|
|
7
|
+
exports.paginateDescribeUsers = (0, core_1.createPaginator)(MemoryDBClient_1.MemoryDBClient, DescribeUsersCommand_1.DescribeUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeACLsCommand, } from "../commands/DescribeACLsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeACLsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeACLs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeACLs = createPaginator(MemoryDBClient, DescribeACLsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeClustersCommand, } from "../commands/DescribeClustersCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeClustersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeClusters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeClusters = createPaginator(MemoryDBClient, DescribeClustersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEngineVersionsCommand, } from "../commands/DescribeEngineVersionsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEngineVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEngineVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEngineVersions = createPaginator(MemoryDBClient, DescribeEngineVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeEventsCommand, } from "../commands/DescribeEventsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeEvents = createPaginator(MemoryDBClient, DescribeEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeParameterGroupsCommand, } from "../commands/DescribeParameterGroupsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeParameterGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeParameterGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeParameterGroups = createPaginator(MemoryDBClient, DescribeParameterGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeParametersCommand, } from "../commands/DescribeParametersCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeParametersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeParameters(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeParameters = createPaginator(MemoryDBClient, DescribeParametersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeReservedNodesOfferingsCommand, } from "../commands/DescribeReservedNodesOfferingsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeReservedNodesOfferingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeReservedNodesOfferings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeReservedNodesOfferings = createPaginator(MemoryDBClient, DescribeReservedNodesOfferingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeReservedNodesCommand, } from "../commands/DescribeReservedNodesCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeReservedNodesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeReservedNodes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeReservedNodes = createPaginator(MemoryDBClient, DescribeReservedNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeServiceUpdatesCommand, } from "../commands/DescribeServiceUpdatesCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeServiceUpdatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeServiceUpdates = createPaginator(MemoryDBClient, DescribeServiceUpdatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeSnapshotsCommand, } from "../commands/DescribeSnapshotsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeSnapshotsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeSnapshots = createPaginator(MemoryDBClient, DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeSubnetGroupsCommand, } from "../commands/DescribeSubnetGroupsCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeSubnetGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeSubnetGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeSubnetGroups = createPaginator(MemoryDBClient, DescribeSubnetGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeUsersCommand, } from "../commands/DescribeUsersCommand";
|
|
2
3
|
import { MemoryDBClient } from "../MemoryDBClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeUsersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeUsers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof MemoryDBClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected MemoryDB | MemoryDBClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateDescribeUsers = createPaginator(MemoryDBClient, DescribeUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeACLs: (config: MemoryDBPaginationConfiguration, input: DescribeACLsCommandInput, ...rest: any[]) => Paginator<DescribeACLsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeClusters: (config: MemoryDBPaginationConfiguration, input: DescribeClustersCommandInput, ...rest: any[]) => Paginator<DescribeClustersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEngineVersions: (config: MemoryDBPaginationConfiguration, input: DescribeEngineVersionsCommandInput, ...rest: any[]) => Paginator<DescribeEngineVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEvents: (config: MemoryDBPaginationConfiguration, input: DescribeEventsCommandInput, ...rest: any[]) => Paginator<DescribeEventsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeParameterGroups: (config: MemoryDBPaginationConfiguration, input: DescribeParameterGroupsCommandInput, ...rest: any[]) => Paginator<DescribeParameterGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeParameters: (config: MemoryDBPaginationConfiguration, input: DescribeParametersCommandInput, ...rest: any[]) => Paginator<DescribeParametersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeReservedNodesOfferings: (config: MemoryDBPaginationConfiguration, input: DescribeReservedNodesOfferingsCommandInput, ...rest: any[]) => Paginator<DescribeReservedNodesOfferingsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeReservedNodes: (config: MemoryDBPaginationConfiguration, input: DescribeReservedNodesCommandInput, ...rest: any[]) => Paginator<DescribeReservedNodesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeServiceUpdates: (config: MemoryDBPaginationConfiguration, input: DescribeServiceUpdatesCommandInput, ...rest: any[]) => Paginator<DescribeServiceUpdatesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeSnapshots: (config: MemoryDBPaginationConfiguration, input: DescribeSnapshotsCommandInput, ...rest: any[]) => Paginator<DescribeSnapshotsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeSubnetGroups: (config: MemoryDBPaginationConfiguration, input: DescribeSubnetGroupsCommandInput, ...rest: any[]) => Paginator<DescribeSubnetGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeUsers: (config: MemoryDBPaginationConfiguration, input: DescribeUsersCommandInput, ...rest: any[]) => Paginator<DescribeUsersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeACLsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeACLsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeACLs: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeACLsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeACLsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeClustersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeClustersCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeClusters: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeClustersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeClustersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeEngineVersionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeEngineVersionsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEngineVersions: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeEngineVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeEngineVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeEventsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeEventsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeEvents: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeEventsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeEventsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeParameterGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeParameterGroupsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeParameterGroups: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeParameterGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeParameterGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeParametersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeParametersCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeParameters: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeParametersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeParametersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeReservedNodesOfferingsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeReservedNodesOfferingsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeReservedNodesOfferings: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeReservedNodesOfferingsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeReservedNodesOfferingsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeReservedNodesCommandOutput,
|
|
5
5
|
} from "../commands/DescribeReservedNodesCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeReservedNodes: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeReservedNodesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeReservedNodesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeServiceUpdatesCommandOutput,
|
|
5
5
|
} from "../commands/DescribeServiceUpdatesCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeServiceUpdates: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeServiceUpdatesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeServiceUpdatesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeSnapshotsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeSnapshotsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeSnapshots: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeSnapshotsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeSnapshotsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeSubnetGroupsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeSubnetGroupsCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeSubnetGroups: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeSubnetGroupsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeSubnetGroupsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeUsersCommandOutput,
|
|
5
5
|
} from "../commands/DescribeUsersCommand";
|
|
6
6
|
import { MemoryDBPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeUsers: (
|
|
8
8
|
config: MemoryDBPaginationConfiguration,
|
|
9
9
|
input: DescribeUsersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeUsersCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-memorydb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Memorydb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,20 +20,21 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|