@aws-sdk/client-rds 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/DescribeBlueGreenDeploymentsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterAutomatedBackupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterBacktracksPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBLogFilesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBParameterGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBProxiesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBProxyEndpointsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBProxyTargetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBProxyTargetsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSecurityGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSnapshotsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeExportTasksPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeIntegrationsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOptionGroupOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOptionGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeReservedDBInstancesPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeSourceRegionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeTenantDatabasesPaginator.js +2 -24
- package/dist-cjs/pagination/DownloadDBLogFilePortionPaginator.js +2 -24
- package/dist-es/pagination/DescribeBlueGreenDeploymentsPaginator.js +2 -23
- package/dist-es/pagination/DescribeCertificatesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterAutomatedBackupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterBacktracksPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterEndpointsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBInstanceAutomatedBackupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBLogFilesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBParameterGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBProxiesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBProxyEndpointsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBProxyTargetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBProxyTargetsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSecurityGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSnapshotsPaginator.js +2 -23
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
- package/dist-es/pagination/DescribeExportTasksPaginator.js +2 -23
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +2 -23
- package/dist-es/pagination/DescribeIntegrationsPaginator.js +2 -23
- package/dist-es/pagination/DescribeOptionGroupOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeOptionGroupsPaginator.js +2 -23
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +2 -23
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedDBInstancesOfferingsPaginator.js +2 -23
- package/dist-es/pagination/DescribeReservedDBInstancesPaginator.js +2 -23
- package/dist-es/pagination/DescribeSourceRegionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeTenantDatabasesPaginator.js +2 -23
- package/dist-es/pagination/DownloadDBLogFilePortionPaginator.js +2 -23
- package/dist-types/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterAutomatedBackupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterBacktracksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBEngineVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstanceAutomatedBackupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBLogFilesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParameterGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxiesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyEndpointsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyTargetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBProxyTargetsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSecurityGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSnapshotsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeDBSubnetGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeExportTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeGlobalClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeIntegrationsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOptionGroupOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOptionGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedDBInstancesOfferingsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeReservedDBInstancesPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeSourceRegionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeTenantDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/DownloadDBLogFilePortionPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterAutomatedBackupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterBacktracksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClusterSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBEngineVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBInstanceAutomatedBackupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBLogFilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBParameterGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBProxiesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBProxyEndpointsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBProxyTargetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBProxyTargetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSecurityGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSnapshotsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeDBSubnetGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeExportTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeGlobalClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeIntegrationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOptionGroupOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOptionGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeOrderableDBInstanceOptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribePendingMaintenanceActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedDBInstancesOfferingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeReservedDBInstancesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeSourceRegionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeTenantDatabasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DownloadDBLogFilePortionPaginator.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.paginateDescribeDBRecommendations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBRecommendationsCommand_1 = require("../commands/DescribeDBRecommendationsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBRecommendationsCommand_1.DescribeDBRecommendationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBRecommendations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBRecommendations = paginateDescribeDBRecommendations;
|
|
7
|
+
exports.paginateDescribeDBRecommendations = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBRecommendationsCommand_1.DescribeDBRecommendationsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBSecurityGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBSecurityGroupsCommand_1 = require("../commands/DescribeDBSecurityGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBSecurityGroupsCommand_1.DescribeDBSecurityGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBSecurityGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBSecurityGroups = paginateDescribeDBSecurityGroups;
|
|
7
|
+
exports.paginateDescribeDBSecurityGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBSecurityGroupsCommand_1.DescribeDBSecurityGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBSnapshotTenantDatabases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBSnapshotTenantDatabasesCommand_1 = require("../commands/DescribeDBSnapshotTenantDatabasesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBSnapshotTenantDatabasesCommand_1.DescribeDBSnapshotTenantDatabasesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBSnapshotTenantDatabases(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBSnapshotTenantDatabases = paginateDescribeDBSnapshotTenantDatabases;
|
|
7
|
+
exports.paginateDescribeDBSnapshotTenantDatabases = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBSnapshotTenantDatabasesCommand_1.DescribeDBSnapshotTenantDatabasesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBSnapshotsCommand_1 = require("../commands/DescribeDBSnapshotsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBSnapshotsCommand_1.DescribeDBSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBSnapshots(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBSnapshots = paginateDescribeDBSnapshots;
|
|
7
|
+
exports.paginateDescribeDBSnapshots = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBSnapshotsCommand_1.DescribeDBSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBSubnetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBSubnetGroupsCommand_1 = require("../commands/DescribeDBSubnetGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBSubnetGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeDBSubnetGroups = paginateDescribeDBSubnetGroups;
|
|
7
|
+
exports.paginateDescribeDBSubnetGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBSubnetGroupsCommand_1.DescribeDBSubnetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEngineDefaultParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEngineDefaultParametersCommand_1 = require("../commands/DescribeEngineDefaultParametersCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEngineDefaultParameters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.EngineDefaults.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEngineDefaultParameters = paginateDescribeEngineDefaultParameters;
|
|
7
|
+
exports.paginateDescribeEngineDefaultParameters = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeEngineDefaultParametersCommand_1.DescribeEngineDefaultParametersCommand, "Marker", "EngineDefaults.Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEventSubscriptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventSubscriptionsCommand_1 = require("../commands/DescribeEventSubscriptionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEventSubscriptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEventSubscriptions = paginateDescribeEventSubscriptions;
|
|
7
|
+
exports.paginateDescribeEventSubscriptions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeEvents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeEventsCommand_1 = require("../commands/DescribeEventsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeEventsCommand_1.DescribeEventsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeEvents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeEvents = paginateDescribeEvents;
|
|
7
|
+
exports.paginateDescribeEvents = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeEventsCommand_1.DescribeEventsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeExportTasks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeExportTasksCommand_1 = require("../commands/DescribeExportTasksCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeExportTasksCommand_1.DescribeExportTasksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeExportTasks(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeExportTasks = paginateDescribeExportTasks;
|
|
7
|
+
exports.paginateDescribeExportTasks = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeExportTasksCommand_1.DescribeExportTasksCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeGlobalClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeGlobalClustersCommand_1 = require("../commands/DescribeGlobalClustersCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeGlobalClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeGlobalClusters = paginateDescribeGlobalClusters;
|
|
7
|
+
exports.paginateDescribeGlobalClusters = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeGlobalClustersCommand_1.DescribeGlobalClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeIntegrations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeIntegrationsCommand_1 = require("../commands/DescribeIntegrationsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeIntegrationsCommand_1.DescribeIntegrationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeIntegrations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeIntegrations = paginateDescribeIntegrations;
|
|
7
|
+
exports.paginateDescribeIntegrations = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeIntegrationsCommand_1.DescribeIntegrationsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeOptionGroupOptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeOptionGroupOptionsCommand_1 = require("../commands/DescribeOptionGroupOptionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeOptionGroupOptionsCommand_1.DescribeOptionGroupOptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeOptionGroupOptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeOptionGroupOptions = paginateDescribeOptionGroupOptions;
|
|
7
|
+
exports.paginateDescribeOptionGroupOptions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeOptionGroupOptionsCommand_1.DescribeOptionGroupOptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeOptionGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeOptionGroupsCommand_1 = require("../commands/DescribeOptionGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeOptionGroupsCommand_1.DescribeOptionGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeOptionGroups(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeOptionGroups = paginateDescribeOptionGroups;
|
|
7
|
+
exports.paginateDescribeOptionGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeOptionGroupsCommand_1.DescribeOptionGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeOrderableDBInstanceOptions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeOrderableDBInstanceOptionsCommand_1 = require("../commands/DescribeOrderableDBInstanceOptionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeOrderableDBInstanceOptions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeOrderableDBInstanceOptions = paginateDescribeOrderableDBInstanceOptions;
|
|
7
|
+
exports.paginateDescribeOrderableDBInstanceOptions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeOrderableDBInstanceOptionsCommand_1.DescribeOrderableDBInstanceOptionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribePendingMaintenanceActions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribePendingMaintenanceActionsCommand_1 = require("../commands/DescribePendingMaintenanceActionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribePendingMaintenanceActions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribePendingMaintenanceActions = paginateDescribePendingMaintenanceActions;
|
|
7
|
+
exports.paginateDescribePendingMaintenanceActions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribePendingMaintenanceActionsCommand_1.DescribePendingMaintenanceActionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedDBInstancesOfferings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedDBInstancesOfferingsCommand_1 = require("../commands/DescribeReservedDBInstancesOfferingsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedDBInstancesOfferingsCommand_1.DescribeReservedDBInstancesOfferingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedDBInstancesOfferings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedDBInstancesOfferings = paginateDescribeReservedDBInstancesOfferings;
|
|
7
|
+
exports.paginateDescribeReservedDBInstancesOfferings = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeReservedDBInstancesOfferingsCommand_1.DescribeReservedDBInstancesOfferingsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeReservedDBInstances = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeReservedDBInstancesCommand_1 = require("../commands/DescribeReservedDBInstancesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeReservedDBInstancesCommand_1.DescribeReservedDBInstancesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeReservedDBInstances(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeReservedDBInstances = paginateDescribeReservedDBInstances;
|
|
7
|
+
exports.paginateDescribeReservedDBInstances = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeReservedDBInstancesCommand_1.DescribeReservedDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeSourceRegions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeSourceRegionsCommand_1 = require("../commands/DescribeSourceRegionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeSourceRegionsCommand_1.DescribeSourceRegionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeSourceRegions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeSourceRegions = paginateDescribeSourceRegions;
|
|
7
|
+
exports.paginateDescribeSourceRegions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeSourceRegionsCommand_1.DescribeSourceRegionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeTenantDatabases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeTenantDatabasesCommand_1 = require("../commands/DescribeTenantDatabasesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeTenantDatabasesCommand_1.DescribeTenantDatabasesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeTenantDatabases(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.Marker = token;
|
|
15
|
-
input["MaxRecords"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof RDSClient_1.RDSClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.Marker;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateDescribeTenantDatabases = paginateDescribeTenantDatabases;
|
|
7
|
+
exports.paginateDescribeTenantDatabases = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeTenantDatabasesCommand_1.DescribeTenantDatabasesCommand, "Marker", "Marker", "MaxRecords");
|