@aws-sdk/client-rds 3.381.0 → 3.385.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/README.md +16 -0
- package/dist-cjs/RDS.js +4 -0
- package/dist-cjs/commands/DeleteDBClusterAutomatedBackupCommand.js +46 -0
- package/dist-cjs/commands/DescribeDBClusterAutomatedBackupsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/protocols/Aws_query.js +301 -6
- package/dist-es/RDS.js +4 -0
- package/dist-es/commands/DeleteDBClusterAutomatedBackupCommand.js +42 -0
- package/dist-es/commands/DescribeDBClusterAutomatedBackupsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_query.js +292 -1
- package/dist-types/RDS.d.ts +14 -0
- package/dist-types/RDSClient.d.ts +4 -2
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +110 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +5 -0
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +122 -0
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +1 -2
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +5 -1
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1319 -285
- package/dist-types/models/models_1.d.ts +1156 -2
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/RDS.d.ts +40 -0
- package/dist-types/ts3.4/RDSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBLogFilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -48
- package/dist-types/ts3.4/models/models_1.d.ts +47 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +5 -5
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteDBClusterAutomatedBackupMessage, DeleteDBClusterAutomatedBackupResult } from "../models/models_0";
|
|
5
|
+
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDBClusterAutomatedBackupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDBClusterAutomatedBackupCommandInput extends DeleteDBClusterAutomatedBackupMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDBClusterAutomatedBackupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDBClusterAutomatedBackupCommandOutput extends DeleteDBClusterAutomatedBackupResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes automated backups using the <code>DbClusterResourceId</code> value of the source DB cluster or the Amazon
|
|
27
|
+
* Resource Name (ARN) of the automated backups.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RDSClient, DeleteDBClusterAutomatedBackupCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
32
|
+
* // const { RDSClient, DeleteDBClusterAutomatedBackupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
33
|
+
* const client = new RDSClient(config);
|
|
34
|
+
* const input = { // DeleteDBClusterAutomatedBackupMessage
|
|
35
|
+
* DbClusterResourceId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteDBClusterAutomatedBackupCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DeleteDBClusterAutomatedBackupResult
|
|
40
|
+
* // DBClusterAutomatedBackup: { // DBClusterAutomatedBackup
|
|
41
|
+
* // Engine: "STRING_VALUE",
|
|
42
|
+
* // VpcId: "STRING_VALUE",
|
|
43
|
+
* // DBClusterAutomatedBackupsArn: "STRING_VALUE",
|
|
44
|
+
* // DBClusterIdentifier: "STRING_VALUE",
|
|
45
|
+
* // RestoreWindow: { // RestoreWindow
|
|
46
|
+
* // EarliestTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // LatestTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // },
|
|
49
|
+
* // MasterUsername: "STRING_VALUE",
|
|
50
|
+
* // DbClusterResourceId: "STRING_VALUE",
|
|
51
|
+
* // Region: "STRING_VALUE",
|
|
52
|
+
* // LicenseModel: "STRING_VALUE",
|
|
53
|
+
* // Status: "STRING_VALUE",
|
|
54
|
+
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
55
|
+
* // ClusterCreateTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // StorageEncrypted: true || false,
|
|
57
|
+
* // AllocatedStorage: Number("int"),
|
|
58
|
+
* // EngineVersion: "STRING_VALUE",
|
|
59
|
+
* // DBClusterArn: "STRING_VALUE",
|
|
60
|
+
* // BackupRetentionPeriod: Number("int"),
|
|
61
|
+
* // EngineMode: "STRING_VALUE",
|
|
62
|
+
* // AvailabilityZones: [ // AvailabilityZones
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // Port: Number("int"),
|
|
66
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
67
|
+
* // StorageType: "STRING_VALUE",
|
|
68
|
+
* // Iops: Number("int"),
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param DeleteDBClusterAutomatedBackupCommandInput - {@link DeleteDBClusterAutomatedBackupCommandInput}
|
|
75
|
+
* @returns {@link DeleteDBClusterAutomatedBackupCommandOutput}
|
|
76
|
+
* @see {@link DeleteDBClusterAutomatedBackupCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link DeleteDBClusterAutomatedBackupCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link DBClusterAutomatedBackupNotFoundFault} (client fault)
|
|
81
|
+
* <p>No automated backup for this DB cluster was found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InvalidDBClusterAutomatedBackupStateFault} (client fault)
|
|
84
|
+
* <p>The automated backup is in an invalid state.
|
|
85
|
+
* For example, this automated backup is associated with an active cluster.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link RDSServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class DeleteDBClusterAutomatedBackupCommand extends $Command<DeleteDBClusterAutomatedBackupCommandInput, DeleteDBClusterAutomatedBackupCommandOutput, RDSClientResolvedConfig> {
|
|
92
|
+
readonly input: DeleteDBClusterAutomatedBackupCommandInput;
|
|
93
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
constructor(input: DeleteDBClusterAutomatedBackupCommandInput);
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDBClusterAutomatedBackupCommandInput, DeleteDBClusterAutomatedBackupCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private serialize;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private deserialize;
|
|
110
|
+
}
|
|
@@ -44,6 +44,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
|
|
|
44
44
|
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
45
45
|
* SkipFinalSnapshot: true || false,
|
|
46
46
|
* FinalDBSnapshotIdentifier: "STRING_VALUE",
|
|
47
|
+
* DeleteAutomatedBackups: true || false,
|
|
47
48
|
* };
|
|
48
49
|
* const command = new DeleteDBClusterCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -212,6 +213,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
|
|
|
212
213
|
* @see {@link DeleteDBClusterCommandOutput} for command's `response` shape.
|
|
213
214
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
214
215
|
*
|
|
216
|
+
* @throws {@link DBClusterAutomatedBackupQuotaExceededFault} (client fault)
|
|
217
|
+
* <p>The quota for retained automated backups was exceeded. This prevents you from retaining any additional automated
|
|
218
|
+
* backups. The retained automated backups quota is the same as your DB cluster quota.</p>
|
|
219
|
+
*
|
|
215
220
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
216
221
|
* <p>
|
|
217
222
|
* <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
@@ -292,7 +292,7 @@ export interface DeleteDBInstanceCommandOutput extends DeleteDBInstanceResult, _
|
|
|
292
292
|
* @throws {@link DBInstanceAutomatedBackupQuotaExceededFault} (client fault)
|
|
293
293
|
* <p>The quota for retained automated backups was exceeded. This prevents you
|
|
294
294
|
* from retaining any additional automated backups. The retained automated backups
|
|
295
|
-
* quota is the same as your DB
|
|
295
|
+
* quota is the same as your DB instance quota.</p>
|
|
296
296
|
*
|
|
297
297
|
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
298
298
|
* <p>
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DBClusterAutomatedBackupMessage, DescribeDBClusterAutomatedBackupsMessage } from "../models/models_0";
|
|
5
|
+
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeDBClusterAutomatedBackupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeDBClusterAutomatedBackupsCommandInput extends DescribeDBClusterAutomatedBackupsMessage {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeDBClusterAutomatedBackupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeDBClusterAutomatedBackupsCommandOutput extends DBClusterAutomatedBackupMessage, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Displays backups for both current and deleted DB clusters. For example, use this operation to find details
|
|
27
|
+
* about automated backups for previously deleted clusters. Current clusters are returned for both the
|
|
28
|
+
* <code>DescribeDBClusterAutomatedBackups</code> and <code>DescribeDBClusters</code> operations.</p>
|
|
29
|
+
* <p>All parameters are optional.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { RDSClient, DescribeDBClusterAutomatedBackupsCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
34
|
+
* // const { RDSClient, DescribeDBClusterAutomatedBackupsCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
35
|
+
* const client = new RDSClient(config);
|
|
36
|
+
* const input = { // DescribeDBClusterAutomatedBackupsMessage
|
|
37
|
+
* DbClusterResourceId: "STRING_VALUE",
|
|
38
|
+
* DBClusterIdentifier: "STRING_VALUE",
|
|
39
|
+
* Filters: [ // FilterList
|
|
40
|
+
* { // Filter
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* Values: [ // FilterValueList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* MaxRecords: Number("int"),
|
|
48
|
+
* Marker: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new DescribeDBClusterAutomatedBackupsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // DBClusterAutomatedBackupMessage
|
|
53
|
+
* // Marker: "STRING_VALUE",
|
|
54
|
+
* // DBClusterAutomatedBackups: [ // DBClusterAutomatedBackupList
|
|
55
|
+
* // { // DBClusterAutomatedBackup
|
|
56
|
+
* // Engine: "STRING_VALUE",
|
|
57
|
+
* // VpcId: "STRING_VALUE",
|
|
58
|
+
* // DBClusterAutomatedBackupsArn: "STRING_VALUE",
|
|
59
|
+
* // DBClusterIdentifier: "STRING_VALUE",
|
|
60
|
+
* // RestoreWindow: { // RestoreWindow
|
|
61
|
+
* // EarliestTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // LatestTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // MasterUsername: "STRING_VALUE",
|
|
65
|
+
* // DbClusterResourceId: "STRING_VALUE",
|
|
66
|
+
* // Region: "STRING_VALUE",
|
|
67
|
+
* // LicenseModel: "STRING_VALUE",
|
|
68
|
+
* // Status: "STRING_VALUE",
|
|
69
|
+
* // IAMDatabaseAuthenticationEnabled: true || false,
|
|
70
|
+
* // ClusterCreateTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // StorageEncrypted: true || false,
|
|
72
|
+
* // AllocatedStorage: Number("int"),
|
|
73
|
+
* // EngineVersion: "STRING_VALUE",
|
|
74
|
+
* // DBClusterArn: "STRING_VALUE",
|
|
75
|
+
* // BackupRetentionPeriod: Number("int"),
|
|
76
|
+
* // EngineMode: "STRING_VALUE",
|
|
77
|
+
* // AvailabilityZones: [ // AvailabilityZones
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // Port: Number("int"),
|
|
81
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
82
|
+
* // StorageType: "STRING_VALUE",
|
|
83
|
+
* // Iops: Number("int"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param DescribeDBClusterAutomatedBackupsCommandInput - {@link DescribeDBClusterAutomatedBackupsCommandInput}
|
|
91
|
+
* @returns {@link DescribeDBClusterAutomatedBackupsCommandOutput}
|
|
92
|
+
* @see {@link DescribeDBClusterAutomatedBackupsCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link DescribeDBClusterAutomatedBackupsCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link DBClusterAutomatedBackupNotFoundFault} (client fault)
|
|
97
|
+
* <p>No automated backup for this DB cluster was found.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link RDSServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
export declare class DescribeDBClusterAutomatedBackupsCommand extends $Command<DescribeDBClusterAutomatedBackupsCommandInput, DescribeDBClusterAutomatedBackupsCommandOutput, RDSClientResolvedConfig> {
|
|
104
|
+
readonly input: DescribeDBClusterAutomatedBackupsCommandInput;
|
|
105
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
constructor(input: DescribeDBClusterAutomatedBackupsCommandInput);
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDBClusterAutomatedBackupsCommandInput, DescribeDBClusterAutomatedBackupsCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
private serialize;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
private deserialize;
|
|
122
|
+
}
|
|
@@ -52,6 +52,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
|
|
|
52
52
|
* Marker: "STRING_VALUE",
|
|
53
53
|
* IncludeShared: true || false,
|
|
54
54
|
* IncludePublic: true || false,
|
|
55
|
+
* DbClusterResourceId: "STRING_VALUE",
|
|
55
56
|
* };
|
|
56
57
|
* const command = new DescribeDBClusterSnapshotsCommand(input);
|
|
57
58
|
* const response = await client.send(command);
|
|
@@ -90,6 +91,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
|
|
|
90
91
|
* // ],
|
|
91
92
|
* // DBSystemId: "STRING_VALUE",
|
|
92
93
|
* // StorageType: "STRING_VALUE",
|
|
94
|
+
* // DbClusterResourceId: "STRING_VALUE",
|
|
93
95
|
* // },
|
|
94
96
|
* // ],
|
|
95
97
|
* // };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DBInstanceAutomatedBackupMessage, DescribeDBInstanceAutomatedBackupsMessage } from "../models/
|
|
4
|
+
import { DBInstanceAutomatedBackupMessage, DescribeDBInstanceAutomatedBackupsMessage } from "../models/models_1";
|
|
5
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DBInstanceMessage, DescribeDBInstancesMessage } from "../models/
|
|
4
|
+
import { DBInstanceMessage, DescribeDBInstancesMessage } from "../models/models_1";
|
|
5
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DescribeDBLogFilesMessage, DescribeDBLogFilesResponse } from "../models/
|
|
4
|
+
import { DescribeDBLogFilesMessage, DescribeDBLogFilesResponse } from "../models/models_1";
|
|
5
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
-
import { DBParameterGroupsMessage } from "../models/
|
|
5
|
-
import { DescribeDBParameterGroupsMessage } from "../models/models_1";
|
|
4
|
+
import { DBParameterGroupsMessage, DescribeDBParameterGroupsMessage } from "../models/models_1";
|
|
6
5
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
@@ -52,7 +52,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
52
52
|
* const input = { // RestoreDBClusterToPointInTimeMessage
|
|
53
53
|
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
54
54
|
* RestoreType: "STRING_VALUE",
|
|
55
|
-
* SourceDBClusterIdentifier: "STRING_VALUE",
|
|
55
|
+
* SourceDBClusterIdentifier: "STRING_VALUE",
|
|
56
56
|
* RestoreToTime: new Date("TIMESTAMP"),
|
|
57
57
|
* UseLatestRestorableTime: true || false,
|
|
58
58
|
* Port: Number("int"),
|
|
@@ -96,6 +96,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
96
96
|
* MaxCapacity: Number("double"),
|
|
97
97
|
* },
|
|
98
98
|
* NetworkType: "STRING_VALUE",
|
|
99
|
+
* SourceDbClusterResourceId: "STRING_VALUE",
|
|
99
100
|
* };
|
|
100
101
|
* const command = new RestoreDBClusterToPointInTimeCommand(input);
|
|
101
102
|
* const response = await client.send(command);
|
|
@@ -267,6 +268,9 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
|
|
|
267
268
|
* @throws {@link DBClusterAlreadyExistsFault} (client fault)
|
|
268
269
|
* <p>The user already has a DB cluster with the given identifier.</p>
|
|
269
270
|
*
|
|
271
|
+
* @throws {@link DBClusterAutomatedBackupNotFoundFault} (client fault)
|
|
272
|
+
* <p>No automated backup for this DB cluster was found.</p>
|
|
273
|
+
*
|
|
270
274
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
271
275
|
* <p>
|
|
272
276
|
* <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
@@ -93,7 +93,7 @@ export interface StartDBInstanceAutomatedBackupsReplicationCommandOutput extends
|
|
|
93
93
|
* @throws {@link DBInstanceAutomatedBackupQuotaExceededFault} (client fault)
|
|
94
94
|
* <p>The quota for retained automated backups was exceeded. This prevents you
|
|
95
95
|
* from retaining any additional automated backups. The retained automated backups
|
|
96
|
-
* quota is the same as your DB
|
|
96
|
+
* quota is the same as your DB instance quota.</p>
|
|
97
97
|
*
|
|
98
98
|
* @throws {@link DBInstanceNotFoundFault} (client fault)
|
|
99
99
|
* <p>
|
|
@@ -30,6 +30,7 @@ export * from "./CreateGlobalClusterCommand";
|
|
|
30
30
|
export * from "./CreateOptionGroupCommand";
|
|
31
31
|
export * from "./DeleteBlueGreenDeploymentCommand";
|
|
32
32
|
export * from "./DeleteCustomDBEngineVersionCommand";
|
|
33
|
+
export * from "./DeleteDBClusterAutomatedBackupCommand";
|
|
33
34
|
export * from "./DeleteDBClusterCommand";
|
|
34
35
|
export * from "./DeleteDBClusterEndpointCommand";
|
|
35
36
|
export * from "./DeleteDBClusterParameterGroupCommand";
|
|
@@ -49,6 +50,7 @@ export * from "./DeregisterDBProxyTargetsCommand";
|
|
|
49
50
|
export * from "./DescribeAccountAttributesCommand";
|
|
50
51
|
export * from "./DescribeBlueGreenDeploymentsCommand";
|
|
51
52
|
export * from "./DescribeCertificatesCommand";
|
|
53
|
+
export * from "./DescribeDBClusterAutomatedBackupsCommand";
|
|
52
54
|
export * from "./DescribeDBClusterBacktracksCommand";
|
|
53
55
|
export * from "./DescribeDBClusterEndpointsCommand";
|
|
54
56
|
export * from "./DescribeDBClusterParameterGroupsCommand";
|