@aws-sdk/client-rds 3.397.0 → 3.399.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/DescribeDBClusterAutomatedBackupsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -1
- package/dist-cjs/runtimeExtensions.js +5 -5
- package/dist-es/pagination/DescribeDBClusterAutomatedBackupsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/runtimeExtensions.js +5 -5
- package/dist-types/extensionConfiguration.d.ts +6 -0
- package/dist-types/models/models_1.d.ts +3 -3
- package/dist-types/pagination/DescribeDBClusterAutomatedBackupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- package/dist-types/runtimeExtensions.d.ts +2 -2
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -0
- package/dist-types/ts3.4/pagination/DescribeDBClusterAutomatedBackupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -2
- package/package.json +31 -31
- package/dist-types/clientConfiguration.d.ts +0 -6
- package/dist-types/ts3.4/clientConfiguration.d.ts +0 -2
- /package/dist-cjs/{clientConfiguration.js → extensionConfiguration.js} +0 -0
- /package/dist-es/{clientConfiguration.js → extensionConfiguration.js} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeDBClusterAutomatedBackups = void 0;
|
|
4
|
+
const DescribeDBClusterAutomatedBackupsCommand_1 = require("../commands/DescribeDBClusterAutomatedBackupsCommand");
|
|
5
|
+
const RDSClient_1 = require("../RDSClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
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;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./DescribeBlueGreenDeploymentsPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeCertificatesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DescribeDBClusterAutomatedBackupsPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DescribeDBClusterBacktracksPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DescribeDBClusterEndpointsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DescribeDBClusterParameterGroupsPaginator"), exports);
|
|
@@ -10,8 +11,8 @@ tslib_1.__exportStar(require("./DescribeDBClusterParametersPaginator"), exports)
|
|
|
10
11
|
tslib_1.__exportStar(require("./DescribeDBClusterSnapshotsPaginator"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./DescribeDBClustersPaginator"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./DescribeDBEngineVersionsPaginator"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./DescribeDBInstanceAutomatedBackupsPaginator"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DescribeDBInstanceAutomatedBackupsPaginator"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./DescribeDBInstancesPaginator"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./DescribeDBLogFilesPaginator"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./DescribeDBParameterGroupsPaginator"), exports);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const asPartial = (t) => t;
|
|
6
6
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const
|
|
8
|
-
...asPartial((0,
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
9
9
|
};
|
|
10
|
-
extensions.forEach((extension) => extension.
|
|
10
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
11
|
return {
|
|
12
12
|
...runtimeConfig,
|
|
13
|
-
...(0,
|
|
13
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DescribeDBClusterAutomatedBackupsCommand, } from "../commands/DescribeDBClusterAutomatedBackupsCommand";
|
|
2
|
+
import { RDSClient } from "../RDSClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeDBClusterAutomatedBackupsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeDBClusterAutomatedBackups(config, input, ...additionalArguments) {
|
|
7
|
+
let token = config.startingToken || undefined;
|
|
8
|
+
let hasNext = true;
|
|
9
|
+
let page;
|
|
10
|
+
while (hasNext) {
|
|
11
|
+
input.Marker = token;
|
|
12
|
+
input["MaxRecords"] = config.pageSize;
|
|
13
|
+
if (config.client instanceof RDSClient) {
|
|
14
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
throw new Error("Invalid client, expected RDS | RDSClient");
|
|
18
|
+
}
|
|
19
|
+
yield page;
|
|
20
|
+
const prevToken = token;
|
|
21
|
+
token = page.Marker;
|
|
22
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DescribeBlueGreenDeploymentsPaginator";
|
|
2
2
|
export * from "./DescribeCertificatesPaginator";
|
|
3
|
+
export * from "./DescribeDBClusterAutomatedBackupsPaginator";
|
|
3
4
|
export * from "./DescribeDBClusterBacktracksPaginator";
|
|
4
5
|
export * from "./DescribeDBClusterEndpointsPaginator";
|
|
5
6
|
export * from "./DescribeDBClusterParameterGroupsPaginator";
|
|
@@ -7,8 +8,8 @@ export * from "./DescribeDBClusterParametersPaginator";
|
|
|
7
8
|
export * from "./DescribeDBClusterSnapshotsPaginator";
|
|
8
9
|
export * from "./DescribeDBClustersPaginator";
|
|
9
10
|
export * from "./DescribeDBEngineVersionsPaginator";
|
|
10
|
-
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
12
13
|
export * from "./DescribeDBInstancesPaginator";
|
|
13
14
|
export * from "./DescribeDBLogFilesPaginator";
|
|
14
15
|
export * from "./DescribeDBParameterGroupsPaginator";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
2
|
const asPartial = (t) => t;
|
|
3
3
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
|
-
const
|
|
5
|
-
...asPartial(
|
|
4
|
+
const extensionConfiguration = {
|
|
5
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
6
6
|
};
|
|
7
|
-
extensions.forEach((extension) => extension.
|
|
7
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
8
|
return {
|
|
9
9
|
...runtimeConfig,
|
|
10
|
-
...resolveDefaultRuntimeConfig(
|
|
10
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -7192,7 +7192,7 @@ export interface RestoreDBClusterFromS3Message {
|
|
|
7192
7192
|
* <p>
|
|
7193
7193
|
* <b>Aurora MySQL</b>
|
|
7194
7194
|
* </p>
|
|
7195
|
-
* <p>Examples: <code>5.7.mysql_aurora.2.
|
|
7195
|
+
* <p>Examples: <code>5.7.mysql_aurora.2.12.0</code>, <code>8.0.mysql_aurora.3.04.0</code>
|
|
7196
7196
|
* </p>
|
|
7197
7197
|
*/
|
|
7198
7198
|
EngineVersion?: string;
|
|
@@ -7327,8 +7327,8 @@ export interface RestoreDBClusterFromS3Message {
|
|
|
7327
7327
|
/**
|
|
7328
7328
|
* @public
|
|
7329
7329
|
* <p>The version of the database that the backup files were created from.</p>
|
|
7330
|
-
* <p>MySQL versions 5.
|
|
7331
|
-
* <p>Example: <code>5.
|
|
7330
|
+
* <p>MySQL versions 5.7 and 8.0 are supported.</p>
|
|
7331
|
+
* <p>Example: <code>5.7.40</code>, <code>8.0.28</code>
|
|
7332
7332
|
* </p>
|
|
7333
7333
|
*/
|
|
7334
7334
|
SourceEngineVersion: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { DescribeDBClusterAutomatedBackupsCommandInput, DescribeDBClusterAutomatedBackupsCommandOutput } from "../commands/DescribeDBClusterAutomatedBackupsCommand";
|
|
3
|
+
import { RDSPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateDescribeDBClusterAutomatedBackups(config: RDSPaginationConfiguration, input: DescribeDBClusterAutomatedBackupsCommandInput, ...additionalArguments: any): Paginator<DescribeDBClusterAutomatedBackupsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DescribeBlueGreenDeploymentsPaginator";
|
|
2
2
|
export * from "./DescribeCertificatesPaginator";
|
|
3
|
+
export * from "./DescribeDBClusterAutomatedBackupsPaginator";
|
|
3
4
|
export * from "./DescribeDBClusterBacktracksPaginator";
|
|
4
5
|
export * from "./DescribeDBClusterEndpointsPaginator";
|
|
5
6
|
export * from "./DescribeDBClusterParameterGroupsPaginator";
|
|
@@ -7,8 +8,8 @@ export * from "./DescribeDBClusterParametersPaginator";
|
|
|
7
8
|
export * from "./DescribeDBClusterSnapshotsPaginator";
|
|
8
9
|
export * from "./DescribeDBClustersPaginator";
|
|
9
10
|
export * from "./DescribeDBEngineVersionsPaginator";
|
|
10
|
-
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
12
13
|
export * from "./DescribeDBInstancesPaginator";
|
|
13
14
|
export * from "./DescribeDBLogFilesPaginator";
|
|
14
15
|
export * from "./DescribeDBParameterGroupsPaginator";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RDSExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
|
|
6
|
+
configure(clientConfiguration: RDSExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DescribeDBClusterAutomatedBackupsCommandInput,
|
|
4
|
+
DescribeDBClusterAutomatedBackupsCommandOutput,
|
|
5
|
+
} from "../commands/DescribeDBClusterAutomatedBackupsCommand";
|
|
6
|
+
import { RDSPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateDescribeDBClusterAutomatedBackups(
|
|
8
|
+
config: RDSPaginationConfiguration,
|
|
9
|
+
input: DescribeDBClusterAutomatedBackupsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<DescribeDBClusterAutomatedBackupsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DescribeBlueGreenDeploymentsPaginator";
|
|
2
2
|
export * from "./DescribeCertificatesPaginator";
|
|
3
|
+
export * from "./DescribeDBClusterAutomatedBackupsPaginator";
|
|
3
4
|
export * from "./DescribeDBClusterBacktracksPaginator";
|
|
4
5
|
export * from "./DescribeDBClusterEndpointsPaginator";
|
|
5
6
|
export * from "./DescribeDBClusterParameterGroupsPaginator";
|
|
@@ -7,8 +8,8 @@ export * from "./DescribeDBClusterParametersPaginator";
|
|
|
7
8
|
export * from "./DescribeDBClusterSnapshotsPaginator";
|
|
8
9
|
export * from "./DescribeDBClustersPaginator";
|
|
9
10
|
export * from "./DescribeDBEngineVersionsPaginator";
|
|
10
|
-
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./DescribeDBInstanceAutomatedBackupsPaginator";
|
|
12
13
|
export * from "./DescribeDBInstancesPaginator";
|
|
13
14
|
export * from "./DescribeDBLogFilesPaginator";
|
|
14
15
|
export * from "./DescribeDBParameterGroupsPaginator";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RDSExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
|
|
3
|
+
configure(clientConfiguration: RDSExtensionConfiguration): void;
|
|
4
4
|
}
|
|
5
5
|
export interface RuntimeExtensionsConfig {
|
|
6
6
|
extensions: RuntimeExtension[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.399.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",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.398.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.398.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.398.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.398.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.398.0",
|
|
29
|
+
"@aws-sdk/middleware-sdk-rds": "3.398.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.398.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.398.0",
|
|
32
|
+
"@aws-sdk/types": "3.398.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.398.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.398.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.398.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.5",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.0.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.5",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.5",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.5",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.5",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.5",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.5",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.0",
|
|
45
|
-
"@smithy/node-config-provider": "^2.0.
|
|
46
|
-
"@smithy/node-http-handler": "^2.0.
|
|
47
|
-
"@smithy/protocol-http": "^2.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.0.
|
|
49
|
-
"@smithy/types": "^2.2.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.5",
|
|
46
|
+
"@smithy/node-http-handler": "^2.0.5",
|
|
47
|
+
"@smithy/protocol-http": "^2.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.0.5",
|
|
49
|
+
"@smithy/types": "^2.2.2",
|
|
50
|
+
"@smithy/url-parser": "^2.0.5",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.5",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.5",
|
|
56
56
|
"@smithy/util-retry": "^2.0.0",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
|
-
"@smithy/util-waiter": "^2.0.
|
|
58
|
+
"@smithy/util-waiter": "^2.0.5",
|
|
59
59
|
"fast-xml-parser": "4.2.5",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
File without changes
|
|
File without changes
|