@aws-sdk/client-rds 3.1153.0 → 3.1154.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 +28 -0
- package/dist-cjs/index.js +305 -53
- package/dist-es/RDS.js +10 -0
- package/dist-es/commands/CancelDBCapacityReservationCommand.js +4 -0
- package/dist-es/commands/CreateDBCapacityReservationCommand.js +4 -0
- package/dist-es/commands/DescribeDBCapacityReservationsCommand.js +4 -0
- package/dist-es/commands/ModifyDBCapacityReservationCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +15 -0
- package/dist-es/models/errors.js +65 -13
- package/dist-es/pagination/DescribeDBCapacityReservationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +176 -40
- package/dist-types/RDS.d.ts +36 -0
- package/dist-types/RDSClient.d.ts +6 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -0
- package/dist-types/commands/CancelDBCapacityReservationCommand.d.ts +140 -0
- package/dist-types/commands/CreateDBCapacityReservationCommand.d.ts +169 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +9 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +9 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBCapacityReservationsCommand.d.ts +199 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeServerlessV2PlatformVersionsCommand.d.ts +1 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyDBCapacityReservationCommand.d.ts +130 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +9 -0
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -0
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +9 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +9 -0
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +9 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +9 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +6 -0
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +31 -0
- package/dist-types/models/errors.d.ts +65 -13
- package/dist-types/models/models_0.d.ts +258 -384
- package/dist-types/models/models_1.d.ts +446 -2
- package/dist-types/pagination/DescribeDBCapacityReservationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/RDS.d.ts +76 -0
- package/dist-types/ts3.4/RDSClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelDBCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateDBCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBCapacityReservationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeServerlessV2PlatformVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ModifyDBCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +32 -6
- package/dist-types/ts3.4/models/models_0.d.ts +60 -83
- package/dist-types/ts3.4/models/models_1.d.ts +101 -2
- package/dist-types/ts3.4/pagination/DescribeDBCapacityReservationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ declare const StopDBInstanceCommand_base: {
|
|
|
36
36
|
* const input = { // StopDBInstanceMessage
|
|
37
37
|
* DBInstanceIdentifier: "STRING_VALUE", // required
|
|
38
38
|
* DBSnapshotIdentifier: "STRING_VALUE",
|
|
39
|
+
* DetachFromDBCapacityReservation: true || false,
|
|
39
40
|
* };
|
|
40
41
|
* const command = new StopDBInstanceCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -144,6 +145,7 @@ declare const StopDBInstanceCommand_base: {
|
|
|
144
145
|
* // StorageType: "STRING_VALUE",
|
|
145
146
|
* // },
|
|
146
147
|
* // ],
|
|
148
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
147
149
|
* // },
|
|
148
150
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
149
151
|
* // MultiAZ: true || false,
|
|
@@ -292,6 +294,7 @@ declare const StopDBInstanceCommand_base: {
|
|
|
292
294
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
293
295
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
294
296
|
* // StorageOperationPercentProgress: Number("int"),
|
|
297
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
295
298
|
* // },
|
|
296
299
|
* // };
|
|
297
300
|
*
|
|
@@ -309,6 +312,9 @@ declare const StopDBInstanceCommand_base: {
|
|
|
309
312
|
* @throws {@link DBSnapshotAlreadyExistsFault} (client fault)
|
|
310
313
|
* <p> <code>DBSnapshotIdentifier</code> is already used by an existing snapshot.</p>
|
|
311
314
|
*
|
|
315
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
316
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
317
|
+
*
|
|
312
318
|
* @throws {@link InvalidDBClusterStateFault} (client fault)
|
|
313
319
|
* <p>The requested operation can't be performed while the cluster is in this state.</p>
|
|
314
320
|
*
|
|
@@ -143,6 +143,7 @@ declare const SwitchoverReadReplicaCommand_base: {
|
|
|
143
143
|
* // StorageType: "STRING_VALUE",
|
|
144
144
|
* // },
|
|
145
145
|
* // ],
|
|
146
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
146
147
|
* // },
|
|
147
148
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
148
149
|
* // MultiAZ: true || false,
|
|
@@ -291,6 +292,7 @@ declare const SwitchoverReadReplicaCommand_base: {
|
|
|
291
292
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
292
293
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
293
294
|
* // StorageOperationPercentProgress: Number("int"),
|
|
295
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
294
296
|
* // },
|
|
295
297
|
* // };
|
|
296
298
|
*
|
|
@@ -5,6 +5,7 @@ export * from "./AddTagsToResourceCommand";
|
|
|
5
5
|
export * from "./ApplyPendingMaintenanceActionCommand";
|
|
6
6
|
export * from "./AuthorizeDBSecurityGroupIngressCommand";
|
|
7
7
|
export * from "./BacktrackDBClusterCommand";
|
|
8
|
+
export * from "./CancelDBCapacityReservationCommand";
|
|
8
9
|
export * from "./CancelExportTaskCommand";
|
|
9
10
|
export * from "./CopyDBClusterParameterGroupCommand";
|
|
10
11
|
export * from "./CopyDBClusterSnapshotCommand";
|
|
@@ -13,6 +14,7 @@ export * from "./CopyDBSnapshotCommand";
|
|
|
13
14
|
export * from "./CopyOptionGroupCommand";
|
|
14
15
|
export * from "./CreateBlueGreenDeploymentCommand";
|
|
15
16
|
export * from "./CreateCustomDBEngineVersionCommand";
|
|
17
|
+
export * from "./CreateDBCapacityReservationCommand";
|
|
16
18
|
export * from "./CreateDBClusterCommand";
|
|
17
19
|
export * from "./CreateDBClusterEndpointCommand";
|
|
18
20
|
export * from "./CreateDBClusterParameterGroupCommand";
|
|
@@ -56,6 +58,7 @@ export * from "./DeregisterDBProxyTargetsCommand";
|
|
|
56
58
|
export * from "./DescribeAccountAttributesCommand";
|
|
57
59
|
export * from "./DescribeBlueGreenDeploymentsCommand";
|
|
58
60
|
export * from "./DescribeCertificatesCommand";
|
|
61
|
+
export * from "./DescribeDBCapacityReservationsCommand";
|
|
59
62
|
export * from "./DescribeDBClusterAutomatedBackupsCommand";
|
|
60
63
|
export * from "./DescribeDBClusterBacktracksCommand";
|
|
61
64
|
export * from "./DescribeDBClusterEndpointsCommand";
|
|
@@ -110,6 +113,7 @@ export * from "./ModifyActivityStreamCommand";
|
|
|
110
113
|
export * from "./ModifyCertificatesCommand";
|
|
111
114
|
export * from "./ModifyCurrentDBClusterCapacityCommand";
|
|
112
115
|
export * from "./ModifyCustomDBEngineVersionCommand";
|
|
116
|
+
export * from "./ModifyDBCapacityReservationCommand";
|
|
113
117
|
export * from "./ModifyDBClusterCommand";
|
|
114
118
|
export * from "./ModifyDBClusterEndpointCommand";
|
|
115
119
|
export * from "./ModifyDBClusterParameterGroupCommand";
|
|
@@ -38,6 +38,25 @@ export declare const ActivityStreamStatus: {
|
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
40
|
export type ActivityStreamStatus = (typeof ActivityStreamStatus)[keyof typeof ActivityStreamStatus];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const DBCapacityReservationState: {
|
|
46
|
+
readonly active: "active";
|
|
47
|
+
readonly assessing: "assessing";
|
|
48
|
+
readonly cancelled: "cancelled";
|
|
49
|
+
readonly delayed: "delayed";
|
|
50
|
+
readonly expired: "expired";
|
|
51
|
+
readonly failed: "failed";
|
|
52
|
+
readonly pending: "pending";
|
|
53
|
+
readonly scheduled: "scheduled";
|
|
54
|
+
readonly unsupported: "unsupported";
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export type DBCapacityReservationState = (typeof DBCapacityReservationState)[keyof typeof DBCapacityReservationState];
|
|
41
60
|
/**
|
|
42
61
|
* @public
|
|
43
62
|
* @enum
|
|
@@ -488,3 +507,15 @@ export declare const CustomEngineVersionStatus: {
|
|
|
488
507
|
* @public
|
|
489
508
|
*/
|
|
490
509
|
export type CustomEngineVersionStatus = (typeof CustomEngineVersionStatus)[keyof typeof CustomEngineVersionStatus];
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
* @enum
|
|
513
|
+
*/
|
|
514
|
+
export declare const EndDateType: {
|
|
515
|
+
readonly limited: "limited";
|
|
516
|
+
readonly unlimited: "unlimited";
|
|
517
|
+
};
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
*/
|
|
521
|
+
export type EndDateType = (typeof EndDateType)[keyof typeof EndDateType];
|
|
@@ -143,6 +143,19 @@ export declare class BlueGreenDeploymentNotFoundFault extends __BaseException {
|
|
|
143
143
|
*/
|
|
144
144
|
constructor(opts: __ExceptionOptionType<BlueGreenDeploymentNotFoundFault, __BaseException>);
|
|
145
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
export declare class DBCapacityReservationNotFoundFault extends __BaseException {
|
|
151
|
+
static readonly shapeId: string;
|
|
152
|
+
readonly name: "DBCapacityReservationNotFoundFault";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
constructor(opts: __ExceptionOptionType<DBCapacityReservationNotFoundFault, __BaseException>);
|
|
158
|
+
}
|
|
146
159
|
/**
|
|
147
160
|
* <p>The DB proxy endpoint doesn't exist.</p>
|
|
148
161
|
* @public
|
|
@@ -325,6 +338,19 @@ export declare class InvalidDBSecurityGroupStateFault extends __BaseException {
|
|
|
325
338
|
*/
|
|
326
339
|
constructor(opts: __ExceptionOptionType<InvalidDBSecurityGroupStateFault, __BaseException>);
|
|
327
340
|
}
|
|
341
|
+
/**
|
|
342
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
export declare class InvalidDBCapacityReservationStateFault extends __BaseException {
|
|
346
|
+
static readonly shapeId: string;
|
|
347
|
+
readonly name: "InvalidDBCapacityReservationStateFault";
|
|
348
|
+
readonly $fault: "client";
|
|
349
|
+
/**
|
|
350
|
+
* @internal
|
|
351
|
+
*/
|
|
352
|
+
constructor(opts: __ExceptionOptionType<InvalidDBCapacityReservationStateFault, __BaseException>);
|
|
353
|
+
}
|
|
328
354
|
/**
|
|
329
355
|
* <p>The export task doesn't exist.</p>
|
|
330
356
|
* @public
|
|
@@ -702,6 +728,45 @@ export declare class InvalidCustomDBEngineVersionStateFault extends __BaseExcept
|
|
|
702
728
|
*/
|
|
703
729
|
constructor(opts: __ExceptionOptionType<InvalidCustomDBEngineVersionStateFault, __BaseException>);
|
|
704
730
|
}
|
|
731
|
+
/**
|
|
732
|
+
* <p>You already have a DB capacity reservation with the given name. Choose a different name for the new reservation, or use the existing reservation.</p>
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
735
|
+
export declare class DBCapacityReservationAlreadyExistsFault extends __BaseException {
|
|
736
|
+
static readonly shapeId: string;
|
|
737
|
+
readonly name: "DBCapacityReservationAlreadyExistsFault";
|
|
738
|
+
readonly $fault: "client";
|
|
739
|
+
/**
|
|
740
|
+
* @internal
|
|
741
|
+
*/
|
|
742
|
+
constructor(opts: __ExceptionOptionType<DBCapacityReservationAlreadyExistsFault, __BaseException>);
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* <p>The specified configuration isn't supported for DB capacity reservations.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
export declare class DBCapacityReservationUnsupportedFault extends __BaseException {
|
|
749
|
+
static readonly shapeId: string;
|
|
750
|
+
readonly name: "DBCapacityReservationUnsupportedFault";
|
|
751
|
+
readonly $fault: "client";
|
|
752
|
+
/**
|
|
753
|
+
* @internal
|
|
754
|
+
*/
|
|
755
|
+
constructor(opts: __ExceptionOptionType<DBCapacityReservationUnsupportedFault, __BaseException>);
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
|
|
762
|
+
static readonly shapeId: string;
|
|
763
|
+
readonly name: "InsufficientDBInstanceCapacityFault";
|
|
764
|
+
readonly $fault: "client";
|
|
765
|
+
/**
|
|
766
|
+
* @internal
|
|
767
|
+
*/
|
|
768
|
+
constructor(opts: __ExceptionOptionType<InsufficientDBInstanceCapacityFault, __BaseException>);
|
|
769
|
+
}
|
|
705
770
|
/**
|
|
706
771
|
* <p>The user already has a DB cluster with the given identifier.</p>
|
|
707
772
|
* @public
|
|
@@ -767,19 +832,6 @@ export declare class GlobalClusterNotFoundFault extends __BaseException {
|
|
|
767
832
|
*/
|
|
768
833
|
constructor(opts: __ExceptionOptionType<GlobalClusterNotFoundFault, __BaseException>);
|
|
769
834
|
}
|
|
770
|
-
/**
|
|
771
|
-
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
772
|
-
* @public
|
|
773
|
-
*/
|
|
774
|
-
export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
|
|
775
|
-
static readonly shapeId: string;
|
|
776
|
-
readonly name: "InsufficientDBInstanceCapacityFault";
|
|
777
|
-
readonly $fault: "client";
|
|
778
|
-
/**
|
|
779
|
-
* @internal
|
|
780
|
-
*/
|
|
781
|
-
constructor(opts: __ExceptionOptionType<InsufficientDBInstanceCapacityFault, __BaseException>);
|
|
782
|
-
}
|
|
783
835
|
/**
|
|
784
836
|
* <p>There is insufficient storage available for the current action. You might be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available.</p>
|
|
785
837
|
* @public
|