@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.paginateDescribeBlueGreenDeployments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeBlueGreenDeploymentsCommand_1 = require("../commands/DescribeBlueGreenDeploymentsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeBlueGreenDeploymentsCommand_1.DescribeBlueGreenDeploymentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeBlueGreenDeployments(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.paginateDescribeBlueGreenDeployments = paginateDescribeBlueGreenDeployments;
|
|
7
|
+
exports.paginateDescribeBlueGreenDeployments = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeBlueGreenDeploymentsCommand_1.DescribeBlueGreenDeploymentsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCertificates = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeCertificatesCommand_1 = require("../commands/DescribeCertificatesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeCertificatesCommand_1.DescribeCertificatesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeCertificates(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.paginateDescribeCertificates = paginateDescribeCertificates;
|
|
7
|
+
exports.paginateDescribeCertificates = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeCertificatesCommand_1.DescribeCertificatesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterAutomatedBackups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterAutomatedBackupsCommand_1 = require("../commands/DescribeDBClusterAutomatedBackupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterAutomatedBackupsCommand_1.DescribeDBClusterAutomatedBackupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterAutomatedBackups(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.paginateDescribeDBClusterAutomatedBackups = paginateDescribeDBClusterAutomatedBackups;
|
|
7
|
+
exports.paginateDescribeDBClusterAutomatedBackups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterAutomatedBackupsCommand_1.DescribeDBClusterAutomatedBackupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterBacktracks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterBacktracksCommand_1 = require("../commands/DescribeDBClusterBacktracksCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterBacktracksCommand_1.DescribeDBClusterBacktracksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterBacktracks(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.paginateDescribeDBClusterBacktracks = paginateDescribeDBClusterBacktracks;
|
|
7
|
+
exports.paginateDescribeDBClusterBacktracks = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterBacktracksCommand_1.DescribeDBClusterBacktracksCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterEndpoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterEndpointsCommand_1 = require("../commands/DescribeDBClusterEndpointsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterEndpointsCommand_1.DescribeDBClusterEndpointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterEndpoints(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.paginateDescribeDBClusterEndpoints = paginateDescribeDBClusterEndpoints;
|
|
7
|
+
exports.paginateDescribeDBClusterEndpoints = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterEndpointsCommand_1.DescribeDBClusterEndpointsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterParameterGroupsCommand_1 = require("../commands/DescribeDBClusterParameterGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterParameterGroupsCommand_1.DescribeDBClusterParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterParameterGroups(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.paginateDescribeDBClusterParameterGroups = paginateDescribeDBClusterParameterGroups;
|
|
7
|
+
exports.paginateDescribeDBClusterParameterGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterParameterGroupsCommand_1.DescribeDBClusterParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterParametersCommand_1 = require("../commands/DescribeDBClusterParametersCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterParameters(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.paginateDescribeDBClusterParameters = paginateDescribeDBClusterParameters;
|
|
7
|
+
exports.paginateDescribeDBClusterParameters = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterParametersCommand_1.DescribeDBClusterParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusterSnapshots = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClusterSnapshotsCommand_1 = require("../commands/DescribeDBClusterSnapshotsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusterSnapshots(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.paginateDescribeDBClusterSnapshots = paginateDescribeDBClusterSnapshots;
|
|
7
|
+
exports.paginateDescribeDBClusterSnapshots = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClusterSnapshotsCommand_1.DescribeDBClusterSnapshotsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBClustersCommand_1 = require("../commands/DescribeDBClustersCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBClustersCommand_1.DescribeDBClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBClusters(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.paginateDescribeDBClusters = paginateDescribeDBClusters;
|
|
7
|
+
exports.paginateDescribeDBClusters = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBClustersCommand_1.DescribeDBClustersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBEngineVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBEngineVersionsCommand_1 = require("../commands/DescribeDBEngineVersionsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBEngineVersions(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.paginateDescribeDBEngineVersions = paginateDescribeDBEngineVersions;
|
|
7
|
+
exports.paginateDescribeDBEngineVersions = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBEngineVersionsCommand_1.DescribeDBEngineVersionsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBInstanceAutomatedBackups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBInstanceAutomatedBackupsCommand_1 = require("../commands/DescribeDBInstanceAutomatedBackupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBInstanceAutomatedBackupsCommand_1.DescribeDBInstanceAutomatedBackupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBInstanceAutomatedBackups(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.paginateDescribeDBInstanceAutomatedBackups = paginateDescribeDBInstanceAutomatedBackups;
|
|
7
|
+
exports.paginateDescribeDBInstanceAutomatedBackups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBInstanceAutomatedBackupsCommand_1.DescribeDBInstanceAutomatedBackupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBInstances = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBInstancesCommand_1 = require("../commands/DescribeDBInstancesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBInstancesCommand_1.DescribeDBInstancesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBInstances(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.paginateDescribeDBInstances = paginateDescribeDBInstances;
|
|
7
|
+
exports.paginateDescribeDBInstances = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBInstancesCommand_1.DescribeDBInstancesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBLogFiles = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBLogFilesCommand_1 = require("../commands/DescribeDBLogFilesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBLogFilesCommand_1.DescribeDBLogFilesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBLogFiles(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.paginateDescribeDBLogFiles = paginateDescribeDBLogFiles;
|
|
7
|
+
exports.paginateDescribeDBLogFiles = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBLogFilesCommand_1.DescribeDBLogFilesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBParameterGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBParameterGroupsCommand_1 = require("../commands/DescribeDBParameterGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBParameterGroupsCommand_1.DescribeDBParameterGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBParameterGroups(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.paginateDescribeDBParameterGroups = paginateDescribeDBParameterGroups;
|
|
7
|
+
exports.paginateDescribeDBParameterGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBParameterGroupsCommand_1.DescribeDBParameterGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBParameters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBParametersCommand_1 = require("../commands/DescribeDBParametersCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBParametersCommand_1.DescribeDBParametersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBParameters(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.paginateDescribeDBParameters = paginateDescribeDBParameters;
|
|
7
|
+
exports.paginateDescribeDBParameters = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBParametersCommand_1.DescribeDBParametersCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBProxies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBProxiesCommand_1 = require("../commands/DescribeDBProxiesCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBProxiesCommand_1.DescribeDBProxiesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBProxies(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.paginateDescribeDBProxies = paginateDescribeDBProxies;
|
|
7
|
+
exports.paginateDescribeDBProxies = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBProxiesCommand_1.DescribeDBProxiesCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBProxyEndpoints = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBProxyEndpointsCommand_1 = require("../commands/DescribeDBProxyEndpointsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBProxyEndpointsCommand_1.DescribeDBProxyEndpointsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBProxyEndpoints(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.paginateDescribeDBProxyEndpoints = paginateDescribeDBProxyEndpoints;
|
|
7
|
+
exports.paginateDescribeDBProxyEndpoints = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBProxyEndpointsCommand_1.DescribeDBProxyEndpointsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBProxyTargetGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBProxyTargetGroupsCommand_1 = require("../commands/DescribeDBProxyTargetGroupsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBProxyTargetGroupsCommand_1.DescribeDBProxyTargetGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBProxyTargetGroups(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.paginateDescribeDBProxyTargetGroups = paginateDescribeDBProxyTargetGroups;
|
|
7
|
+
exports.paginateDescribeDBProxyTargetGroups = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBProxyTargetGroupsCommand_1.DescribeDBProxyTargetGroupsCommand, "Marker", "Marker", "MaxRecords");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeDBProxyTargets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeDBProxyTargetsCommand_1 = require("../commands/DescribeDBProxyTargetsCommand");
|
|
5
6
|
const RDSClient_1 = require("../RDSClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeDBProxyTargetsCommand_1.DescribeDBProxyTargetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeDBProxyTargets(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.paginateDescribeDBProxyTargets = paginateDescribeDBProxyTargets;
|
|
7
|
+
exports.paginateDescribeDBProxyTargets = (0, core_1.createPaginator)(RDSClient_1.RDSClient, DescribeDBProxyTargetsCommand_1.DescribeDBProxyTargetsCommand, "Marker", "Marker", "MaxRecords");
|