@aws-sdk/client-rds 3.1152.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 +5 -5
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeDBCapacityReservationsRequest, DescribeDBCapacityReservationsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeDBCapacityReservationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeDBCapacityReservationsCommandInput extends DescribeDBCapacityReservationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeDBCapacityReservationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeDBCapacityReservationsCommandOutput extends DescribeDBCapacityReservationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeDBCapacityReservationsCommand_base: {
|
|
22
|
+
new (input: DescribeDBCapacityReservationsCommandInput): import("@smithy/core/client").CommandImpl<DescribeDBCapacityReservationsCommandInput, DescribeDBCapacityReservationsCommandOutput, import("..").RDSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [DescribeDBCapacityReservationsCommandInput]): import("@smithy/core/client").CommandImpl<DescribeDBCapacityReservationsCommandInput, DescribeDBCapacityReservationsCommandOutput, import("..").RDSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes one or more DB capacity reservations. A DB capacity reservation reserves capacity for Amazon RDS DB instances in one or more Availability Zones.</p> <p>If you don't specify a <code>DBCapacityReservationIdentifier</code>, this operation returns information about all DB capacity reservations for your Amazon Web Services account.</p> <p>This operation supports pagination.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RDSClient, DescribeDBCapacityReservationsCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
32
|
+
* // const { RDSClient, DescribeDBCapacityReservationsCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
33
|
+
* // import type { RDSClientConfig } from "@aws-sdk/client-rds";
|
|
34
|
+
* const config = {}; // type is RDSClientConfig
|
|
35
|
+
* const client = new RDSClient(config);
|
|
36
|
+
* const input = { // DescribeDBCapacityReservationsRequest
|
|
37
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
38
|
+
* Marker: "STRING_VALUE",
|
|
39
|
+
* MaxRecords: Number("int"),
|
|
40
|
+
* Filters: [ // FilterList
|
|
41
|
+
* { // Filter
|
|
42
|
+
* Name: "STRING_VALUE", // required
|
|
43
|
+
* Values: [ // FilterValueList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new DescribeDBCapacityReservationsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // DescribeDBCapacityReservationsResponse
|
|
52
|
+
* // DBCapacityReservations: [ // DBCapacityReservationList
|
|
53
|
+
* // { // DBCapacityReservation
|
|
54
|
+
* // DBCapacityReservationName: "STRING_VALUE",
|
|
55
|
+
* // DBInstanceClass: "STRING_VALUE",
|
|
56
|
+
* // Engine: "STRING_VALUE",
|
|
57
|
+
* // LicenseModel: "STRING_VALUE",
|
|
58
|
+
* // ReservedCapacityPerAvailabilityZone: Number("int"),
|
|
59
|
+
* // AvailableCapacityPerAvailabilityZoneList: [ // AvailableCapacityPerAvailabilityZoneList
|
|
60
|
+
* // { // AvailableCapacityPerAvailabilityZone
|
|
61
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
62
|
+
* // AvailableCapacity: Number("int"),
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // EndDate: new Date("TIMESTAMP"),
|
|
66
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
67
|
+
* // StartDate: new Date("TIMESTAMP"),
|
|
68
|
+
* // CommitmentInfo: { // DBCapacityReservationCommitmentInfo
|
|
69
|
+
* // CommittedCapacityPerAvailabilityZone: Number("int"),
|
|
70
|
+
* // CommitmentEndDate: new Date("TIMESTAMP"),
|
|
71
|
+
* // },
|
|
72
|
+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "assessing" || "scheduled" || "delayed" || "unsupported",
|
|
73
|
+
* // DBCapacityReservationArn: "STRING_VALUE",
|
|
74
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
75
|
+
* // TagList: [ // TagList
|
|
76
|
+
* // { // Tag
|
|
77
|
+
* // Key: "STRING_VALUE",
|
|
78
|
+
* // Value: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // Marker: "STRING_VALUE",
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param DescribeDBCapacityReservationsCommandInput - {@link DescribeDBCapacityReservationsCommandInput}
|
|
89
|
+
* @returns {@link DescribeDBCapacityReservationsCommandOutput}
|
|
90
|
+
* @see {@link DescribeDBCapacityReservationsCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link DescribeDBCapacityReservationsCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
95
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link RDSServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* @example To describe a DB capacity reservation
|
|
102
|
+
* ```javascript
|
|
103
|
+
* // The following example retrieves the details of the specified DB capacity reservation. The response reports the reserved capacity and the available capacity for each Availability Zone of the reservation.
|
|
104
|
+
* const input = {
|
|
105
|
+
* DBCapacityReservationIdentifier: "dbcr-7hqk2m9xv4t1bn6cz3ws8dj5fp0gyr2a"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new DescribeDBCapacityReservationsCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* DBCapacityReservations: [
|
|
112
|
+
* {
|
|
113
|
+
* AvailableCapacityPerAvailabilityZoneList: [
|
|
114
|
+
* {
|
|
115
|
+
* AvailabilityZone: "us-east-1a",
|
|
116
|
+
* AvailableCapacity: 1
|
|
117
|
+
* },
|
|
118
|
+
* {
|
|
119
|
+
* AvailabilityZone: "us-east-1b",
|
|
120
|
+
* AvailableCapacity: 2
|
|
121
|
+
* }
|
|
122
|
+
* ],
|
|
123
|
+
* CreateDate: "2026-09-10T18:22:41.612Z",
|
|
124
|
+
* DBCapacityReservationArn: "arn:aws:rds:us-east-1:123456789012:db-capacity-reservation:dbcr-7hqk2m9xv4t1bn6cz3ws8dj5fp0gyr2a",
|
|
125
|
+
* DBCapacityReservationIdentifier: "dbcr-7hqk2m9xv4t1bn6cz3ws8dj5fp0gyr2a",
|
|
126
|
+
* DBCapacityReservationName: "my-mysql-reservation",
|
|
127
|
+
* DBInstanceClass: "db.m5.large",
|
|
128
|
+
* Engine: "mysql",
|
|
129
|
+
* ReservedCapacityPerAvailabilityZone: 2,
|
|
130
|
+
* State: "active",
|
|
131
|
+
* TagList: []
|
|
132
|
+
* }
|
|
133
|
+
* ]
|
|
134
|
+
* }
|
|
135
|
+
* *\/
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* @example To list DB capacity reservations one page at a time
|
|
139
|
+
* ```javascript
|
|
140
|
+
* // The following example lists the active DB capacity reservations for the AWS account, 20 records at a time. The Marker value comes from the response of the previous DescribeDBCapacityReservations request. Omit Marker for the first request. A Marker is an opaque token. Pass it back without any change, and don't parse it or build one yourself. A Marker expires 24 hours after Amazon RDS issues it. The Marker values in this example are shortened for readability.
|
|
141
|
+
* const input = {
|
|
142
|
+
* Filters: [
|
|
143
|
+
* {
|
|
144
|
+
* Name: "state",
|
|
145
|
+
* Values: [
|
|
146
|
+
* "active"
|
|
147
|
+
* ]
|
|
148
|
+
* }
|
|
149
|
+
* ],
|
|
150
|
+
* Marker: "eyJ2ZXJzaW9uIjoxLCJ0b2tlbkRldGFpbCI6IkFRSUNBSGhWdjlWNG1RM3JLY0xwWjh0Mlh5RjdiTjB3UmpTNXVF...",
|
|
151
|
+
* MaxRecords: 20
|
|
152
|
+
* };
|
|
153
|
+
* const command = new DescribeDBCapacityReservationsCommand(input);
|
|
154
|
+
* const response = await client.send(command);
|
|
155
|
+
* /* response is
|
|
156
|
+
* {
|
|
157
|
+
* DBCapacityReservations: [
|
|
158
|
+
* {
|
|
159
|
+
* AvailableCapacityPerAvailabilityZoneList: [
|
|
160
|
+
* {
|
|
161
|
+
* AvailabilityZone: "us-east-1c",
|
|
162
|
+
* AvailableCapacity: 4
|
|
163
|
+
* },
|
|
164
|
+
* {
|
|
165
|
+
* AvailabilityZone: "us-east-1d",
|
|
166
|
+
* AvailableCapacity: 4
|
|
167
|
+
* }
|
|
168
|
+
* ],
|
|
169
|
+
* CreateDate: "2026-09-08T11:04:07.335Z",
|
|
170
|
+
* DBCapacityReservationArn: "arn:aws:rds:us-east-1:123456789012:db-capacity-reservation:dbcr-3npv8ck1zt6wq9db4mhx2js7fr5gy0ea",
|
|
171
|
+
* DBCapacityReservationIdentifier: "dbcr-3npv8ck1zt6wq9db4mhx2js7fr5gy0ea",
|
|
172
|
+
* DBCapacityReservationName: "my-postgres-reservation",
|
|
173
|
+
* DBInstanceClass: "db.r6g.xlarge",
|
|
174
|
+
* Engine: "postgres",
|
|
175
|
+
* ReservedCapacityPerAvailabilityZone: 4,
|
|
176
|
+
* State: "active",
|
|
177
|
+
* TagList: []
|
|
178
|
+
* }
|
|
179
|
+
* ],
|
|
180
|
+
* Marker: "eyJ2ZXJzaW9uIjoxLCJ0b2tlbkRldGFpbCI6IkFRSUNBSGkyWnBRN25SeERrVDN2WWJHY0w5c1dtRTB1SmZIYU41..."
|
|
181
|
+
* }
|
|
182
|
+
* *\/
|
|
183
|
+
* ```
|
|
184
|
+
*
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export declare class DescribeDBCapacityReservationsCommand extends DescribeDBCapacityReservationsCommand_base {
|
|
188
|
+
/** @internal type navigation helper, not in runtime. */
|
|
189
|
+
protected static __types: {
|
|
190
|
+
api: {
|
|
191
|
+
input: DescribeDBCapacityReservationsRequest;
|
|
192
|
+
output: DescribeDBCapacityReservationsResponse;
|
|
193
|
+
};
|
|
194
|
+
sdk: {
|
|
195
|
+
input: DescribeDBCapacityReservationsCommandInput;
|
|
196
|
+
output: DescribeDBCapacityReservationsCommandOutput;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}
|
|
@@ -155,6 +155,7 @@ declare const DescribeDBInstancesCommand_base: {
|
|
|
155
155
|
* // StorageType: "STRING_VALUE",
|
|
156
156
|
* // },
|
|
157
157
|
* // ],
|
|
158
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
158
159
|
* // },
|
|
159
160
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
160
161
|
* // MultiAZ: true || false,
|
|
@@ -303,6 +304,7 @@ declare const DescribeDBInstancesCommand_base: {
|
|
|
303
304
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
304
305
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
305
306
|
* // StorageOperationPercentProgress: Number("int"),
|
|
307
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
306
308
|
* // },
|
|
307
309
|
* // ],
|
|
308
310
|
* // };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeReservedDBInstancesMessage, ReservedDBInstanceMessage } from "../models/
|
|
2
|
+
import type { DescribeReservedDBInstancesMessage, ReservedDBInstanceMessage } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeReservedDBInstancesOfferingsMessage, ReservedDBInstancesOfferingMessage } from "../models/
|
|
2
|
+
import type { DescribeReservedDBInstancesOfferingsMessage, ReservedDBInstancesOfferingMessage } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeServerlessV2PlatformVersionsMessage } from "../models/
|
|
3
|
-
import type { ServerlessV2PlatformVersionsMessage } from "../models/models_1";
|
|
2
|
+
import type { DescribeServerlessV2PlatformVersionsMessage, ServerlessV2PlatformVersionsMessage } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -66,6 +66,9 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
66
66
|
* @throws {@link BlueGreenDeploymentNotFoundFault} (client fault)
|
|
67
67
|
* <p> <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.</p>
|
|
68
68
|
*
|
|
69
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
70
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
71
|
+
*
|
|
69
72
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
70
73
|
* <p> <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
71
74
|
*
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ModifyDBCapacityReservationRequest, ModifyDBCapacityReservationResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ModifyDBCapacityReservationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ModifyDBCapacityReservationCommandInput extends ModifyDBCapacityReservationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ModifyDBCapacityReservationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ModifyDBCapacityReservationCommandOutput extends ModifyDBCapacityReservationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ModifyDBCapacityReservationCommand_base: {
|
|
22
|
+
new (input: ModifyDBCapacityReservationCommandInput): import("@smithy/core/client").CommandImpl<ModifyDBCapacityReservationCommandInput, ModifyDBCapacityReservationCommandOutput, import("..").RDSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ModifyDBCapacityReservationCommandInput): import("@smithy/core/client").CommandImpl<ModifyDBCapacityReservationCommandInput, ModifyDBCapacityReservationCommandOutput, import("..").RDSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Modifies a DB capacity reservation. You can change the reserved capacity in each Availability Zone of the reservation, and you can change the end date of the reservation. You can't change the Availability Zones of an existing reservation.</p> <p>The reservation must be in the <code>active</code> state. A future-dated reservation that hasn't started isn't modifiable, and neither is a reservation that Amazon RDS is already modifying.</p> <p>You must specify <code>CapacityPerAvailabilityZone</code>, <code>EndDateType</code>, or <code>EndDate</code>. A request that specifies none of the three changes nothing, and Amazon RDS rejects it.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { RDSClient, ModifyDBCapacityReservationCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
32
|
+
* // const { RDSClient, ModifyDBCapacityReservationCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
33
|
+
* // import type { RDSClientConfig } from "@aws-sdk/client-rds";
|
|
34
|
+
* const config = {}; // type is RDSClientConfig
|
|
35
|
+
* const client = new RDSClient(config);
|
|
36
|
+
* const input = { // ModifyDBCapacityReservationRequest
|
|
37
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* CapacityPerAvailabilityZone: Number("int"),
|
|
39
|
+
* EndDateType: "unlimited" || "limited",
|
|
40
|
+
* EndDate: new Date("TIMESTAMP"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ModifyDBCapacityReservationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ModifyDBCapacityReservationResponse
|
|
45
|
+
* // DBCapacityReservation: { // DBCapacityReservation
|
|
46
|
+
* // DBCapacityReservationName: "STRING_VALUE",
|
|
47
|
+
* // DBInstanceClass: "STRING_VALUE",
|
|
48
|
+
* // Engine: "STRING_VALUE",
|
|
49
|
+
* // LicenseModel: "STRING_VALUE",
|
|
50
|
+
* // ReservedCapacityPerAvailabilityZone: Number("int"),
|
|
51
|
+
* // AvailableCapacityPerAvailabilityZoneList: [ // AvailableCapacityPerAvailabilityZoneList
|
|
52
|
+
* // { // AvailableCapacityPerAvailabilityZone
|
|
53
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
54
|
+
* // AvailableCapacity: Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // EndDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // CreateDate: new Date("TIMESTAMP"),
|
|
59
|
+
* // StartDate: new Date("TIMESTAMP"),
|
|
60
|
+
* // CommitmentInfo: { // DBCapacityReservationCommitmentInfo
|
|
61
|
+
* // CommittedCapacityPerAvailabilityZone: Number("int"),
|
|
62
|
+
* // CommitmentEndDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // },
|
|
64
|
+
* // State: "active" || "expired" || "cancelled" || "pending" || "failed" || "assessing" || "scheduled" || "delayed" || "unsupported",
|
|
65
|
+
* // DBCapacityReservationArn: "STRING_VALUE",
|
|
66
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
67
|
+
* // TagList: [ // TagList
|
|
68
|
+
* // { // Tag
|
|
69
|
+
* // Key: "STRING_VALUE",
|
|
70
|
+
* // Value: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // },
|
|
74
|
+
* // };
|
|
75
|
+
*
|
|
76
|
+
* ```
|
|
77
|
+
*
|
|
78
|
+
* @param ModifyDBCapacityReservationCommandInput - {@link ModifyDBCapacityReservationCommandInput}
|
|
79
|
+
* @returns {@link ModifyDBCapacityReservationCommandOutput}
|
|
80
|
+
* @see {@link ModifyDBCapacityReservationCommandInput} for command's `input` shape.
|
|
81
|
+
* @see {@link ModifyDBCapacityReservationCommandOutput} for command's `response` shape.
|
|
82
|
+
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
85
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InstanceQuotaExceededFault} (client fault)
|
|
88
|
+
* <p>The request would result in the user exceeding the allowed number of DB instances.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
91
|
+
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
94
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link RDSServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
* @example To change the capacity and the end date of a DB capacity reservation
|
|
101
|
+
* ```javascript
|
|
102
|
+
* // The following example raises the reserved capacity to three DB instances in each Availability Zone of the reservation, and it sets an end date. Set EndDateType to limited to give the reservation an end date. Set EndDateType to unlimited to remove the end date, and specify no EndDate. Amazon RDS applies the modification asynchronously, and it moves the reservation to the pending state. Call DescribeDBCapacityReservations to check when the reservation returns to the active state with the new capacity.
|
|
103
|
+
* const input = {
|
|
104
|
+
* CapacityPerAvailabilityZone: 3,
|
|
105
|
+
* DBCapacityReservationIdentifier: "dbcr-7hqk2m9xv4t1bn6cz3ws8dj5fp0gyr2a",
|
|
106
|
+
* EndDate: "2026-12-31T23:59:59Z",
|
|
107
|
+
* EndDateType: "limited"
|
|
108
|
+
* };
|
|
109
|
+
* const command = new ModifyDBCapacityReservationCommand(input);
|
|
110
|
+
* const response = await client.send(command);
|
|
111
|
+
* /* response is
|
|
112
|
+
* { /* metadata only *\/ }
|
|
113
|
+
* *\/
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class ModifyDBCapacityReservationCommand extends ModifyDBCapacityReservationCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: ModifyDBCapacityReservationRequest;
|
|
123
|
+
output: ModifyDBCapacityReservationResponse;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: ModifyDBCapacityReservationCommandInput;
|
|
127
|
+
output: ModifyDBCapacityReservationCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -124,6 +124,7 @@ declare const ModifyDBInstanceCommand_base: {
|
|
|
124
124
|
* SetForDelete: true || false,
|
|
125
125
|
* },
|
|
126
126
|
* ],
|
|
127
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
127
128
|
* TagSpecifications: [ // TagSpecificationList
|
|
128
129
|
* { // TagSpecification
|
|
129
130
|
* ResourceType: "STRING_VALUE",
|
|
@@ -245,6 +246,7 @@ declare const ModifyDBInstanceCommand_base: {
|
|
|
245
246
|
* // StorageType: "STRING_VALUE",
|
|
246
247
|
* // },
|
|
247
248
|
* // ],
|
|
249
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
248
250
|
* // },
|
|
249
251
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
250
252
|
* // MultiAZ: true || false,
|
|
@@ -393,6 +395,7 @@ declare const ModifyDBInstanceCommand_base: {
|
|
|
393
395
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
394
396
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
395
397
|
* // StorageOperationPercentProgress: Number("int"),
|
|
398
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
396
399
|
* // },
|
|
397
400
|
* // };
|
|
398
401
|
*
|
|
@@ -413,6 +416,9 @@ declare const ModifyDBInstanceCommand_base: {
|
|
|
413
416
|
* @throws {@link CertificateNotFoundFault} (client fault)
|
|
414
417
|
* <p> <code>CertificateIdentifier</code> doesn't refer to an existing certificate.</p>
|
|
415
418
|
*
|
|
419
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
420
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
421
|
+
*
|
|
416
422
|
* @throws {@link DBInstanceAlreadyExistsFault} (client fault)
|
|
417
423
|
* <p>The user already has a DB instance with the given identifier.</p>
|
|
418
424
|
*
|
|
@@ -434,6 +440,9 @@ declare const ModifyDBInstanceCommand_base: {
|
|
|
434
440
|
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
435
441
|
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
436
442
|
*
|
|
443
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
444
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
445
|
+
*
|
|
437
446
|
* @throws {@link InvalidDBClusterStateFault} (client fault)
|
|
438
447
|
* <p>The requested operation can't be performed while the cluster is in this state.</p>
|
|
439
448
|
*
|
|
@@ -156,6 +156,7 @@ declare const PromoteReadReplicaCommand_base: {
|
|
|
156
156
|
* // StorageType: "STRING_VALUE",
|
|
157
157
|
* // },
|
|
158
158
|
* // ],
|
|
159
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
159
160
|
* // },
|
|
160
161
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
161
162
|
* // MultiAZ: true || false,
|
|
@@ -304,6 +305,7 @@ declare const PromoteReadReplicaCommand_base: {
|
|
|
304
305
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
305
306
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
306
307
|
* // StorageOperationPercentProgress: Number("int"),
|
|
308
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
307
309
|
* // },
|
|
308
310
|
* // };
|
|
309
311
|
*
|
|
@@ -144,6 +144,7 @@ declare const RebootDBInstanceCommand_base: {
|
|
|
144
144
|
* // StorageType: "STRING_VALUE",
|
|
145
145
|
* // },
|
|
146
146
|
* // ],
|
|
147
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
147
148
|
* // },
|
|
148
149
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
149
150
|
* // MultiAZ: true || false,
|
|
@@ -292,6 +293,7 @@ declare const RebootDBInstanceCommand_base: {
|
|
|
292
293
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
293
294
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
294
295
|
* // StorageOperationPercentProgress: Number("int"),
|
|
296
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
295
297
|
* // },
|
|
296
298
|
* // };
|
|
297
299
|
*
|
|
@@ -54,6 +54,9 @@ declare const RemoveTagsFromResourceCommand_base: {
|
|
|
54
54
|
* @throws {@link BlueGreenDeploymentNotFoundFault} (client fault)
|
|
55
55
|
* <p> <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.</p>
|
|
56
56
|
*
|
|
57
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
58
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
59
|
+
*
|
|
57
60
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
58
61
|
* <p> <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
59
62
|
*
|
|
@@ -91,6 +91,7 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
|
|
|
91
91
|
* DBClusterSnapshotIdentifier: "STRING_VALUE",
|
|
92
92
|
* BackupRetentionPeriod: Number("int"),
|
|
93
93
|
* PreferredBackupWindow: "STRING_VALUE",
|
|
94
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
94
95
|
* DedicatedLogVolume: true || false,
|
|
95
96
|
* CACertificateIdentifier: "STRING_VALUE",
|
|
96
97
|
* EngineLifecycleSupport: "STRING_VALUE",
|
|
@@ -225,6 +226,7 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
|
|
|
225
226
|
* // StorageType: "STRING_VALUE",
|
|
226
227
|
* // },
|
|
227
228
|
* // ],
|
|
229
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
228
230
|
* // },
|
|
229
231
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
230
232
|
* // MultiAZ: true || false,
|
|
@@ -373,6 +375,7 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
|
|
|
373
375
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
374
376
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
375
377
|
* // StorageOperationPercentProgress: Number("int"),
|
|
378
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
376
379
|
* // },
|
|
377
380
|
* // };
|
|
378
381
|
*
|
|
@@ -393,6 +396,9 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
|
|
|
393
396
|
* @throws {@link CertificateNotFoundFault} (client fault)
|
|
394
397
|
* <p> <code>CertificateIdentifier</code> doesn't refer to an existing certificate.</p>
|
|
395
398
|
*
|
|
399
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
400
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
401
|
+
*
|
|
396
402
|
* @throws {@link DBClusterSnapshotNotFoundFault} (client fault)
|
|
397
403
|
* <p> <code>DBClusterSnapshotIdentifier</code> doesn't refer to an existing DB cluster snapshot.</p>
|
|
398
404
|
*
|
|
@@ -423,6 +429,9 @@ declare const RestoreDBInstanceFromDBSnapshotCommand_base: {
|
|
|
423
429
|
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
424
430
|
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
425
431
|
*
|
|
432
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
433
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
434
|
+
*
|
|
426
435
|
* @throws {@link InvalidDBSnapshotStateFault} (client fault)
|
|
427
436
|
* <p>The state of the DB snapshot doesn't allow deletion.</p>
|
|
428
437
|
*
|
|
@@ -99,6 +99,7 @@ declare const RestoreDBInstanceFromS3Command_base: {
|
|
|
99
99
|
* NetworkType: "STRING_VALUE",
|
|
100
100
|
* ManageMasterUserPassword: true || false,
|
|
101
101
|
* MasterUserSecretKmsKeyId: "STRING_VALUE",
|
|
102
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
102
103
|
* DedicatedLogVolume: true || false,
|
|
103
104
|
* CACertificateIdentifier: "STRING_VALUE",
|
|
104
105
|
* EngineLifecycleSupport: "STRING_VALUE",
|
|
@@ -231,6 +232,7 @@ declare const RestoreDBInstanceFromS3Command_base: {
|
|
|
231
232
|
* // StorageType: "STRING_VALUE",
|
|
232
233
|
* // },
|
|
233
234
|
* // ],
|
|
235
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
234
236
|
* // },
|
|
235
237
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
236
238
|
* // MultiAZ: true || false,
|
|
@@ -379,6 +381,7 @@ declare const RestoreDBInstanceFromS3Command_base: {
|
|
|
379
381
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
380
382
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
381
383
|
* // StorageOperationPercentProgress: Number("int"),
|
|
384
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
382
385
|
* // },
|
|
383
386
|
* // };
|
|
384
387
|
*
|
|
@@ -399,6 +402,9 @@ declare const RestoreDBInstanceFromS3Command_base: {
|
|
|
399
402
|
* @throws {@link CertificateNotFoundFault} (client fault)
|
|
400
403
|
* <p> <code>CertificateIdentifier</code> doesn't refer to an existing certificate.</p>
|
|
401
404
|
*
|
|
405
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
406
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
407
|
+
*
|
|
402
408
|
* @throws {@link DBInstanceAlreadyExistsFault} (client fault)
|
|
403
409
|
* <p>The user already has a DB instance with the given identifier.</p>
|
|
404
410
|
*
|
|
@@ -420,6 +426,9 @@ declare const RestoreDBInstanceFromS3Command_base: {
|
|
|
420
426
|
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
421
427
|
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
422
428
|
*
|
|
429
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
430
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
431
|
+
*
|
|
423
432
|
* @throws {@link InvalidS3BucketFault} (client fault)
|
|
424
433
|
* <p>The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized to access the specified Amazon S3 bucket. Verify the <b>SourceS3BucketName</b> and <b>S3IngestionRoleArn</b> values and try again.</p>
|
|
425
434
|
*
|
|
@@ -95,6 +95,7 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
|
|
|
95
95
|
* AllocatedStorage: Number("int"),
|
|
96
96
|
* BackupRetentionPeriod: Number("int"),
|
|
97
97
|
* PreferredBackupWindow: "STRING_VALUE",
|
|
98
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
98
99
|
* DedicatedLogVolume: true || false,
|
|
99
100
|
* CACertificateIdentifier: "STRING_VALUE",
|
|
100
101
|
* EngineLifecycleSupport: "STRING_VALUE",
|
|
@@ -229,6 +230,7 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
|
|
|
229
230
|
* // StorageType: "STRING_VALUE",
|
|
230
231
|
* // },
|
|
231
232
|
* // ],
|
|
233
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
232
234
|
* // },
|
|
233
235
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
234
236
|
* // MultiAZ: true || false,
|
|
@@ -377,6 +379,7 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
|
|
|
377
379
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
378
380
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
379
381
|
* // StorageOperationPercentProgress: Number("int"),
|
|
382
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
380
383
|
* // },
|
|
381
384
|
* // };
|
|
382
385
|
*
|
|
@@ -397,6 +400,9 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
|
|
|
397
400
|
* @throws {@link CertificateNotFoundFault} (client fault)
|
|
398
401
|
* <p> <code>CertificateIdentifier</code> doesn't refer to an existing certificate.</p>
|
|
399
402
|
*
|
|
403
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
404
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
405
|
+
*
|
|
400
406
|
* @throws {@link DBInstanceAlreadyExistsFault} (client fault)
|
|
401
407
|
* <p>The user already has a DB instance with the given identifier.</p>
|
|
402
408
|
*
|
|
@@ -427,6 +433,9 @@ declare const RestoreDBInstanceToPointInTimeCommand_base: {
|
|
|
427
433
|
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
428
434
|
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
429
435
|
*
|
|
436
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
437
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
438
|
+
*
|
|
430
439
|
* @throws {@link InvalidDBInstanceStateFault} (client fault)
|
|
431
440
|
* <p>The DB instance isn't in a valid state.</p>
|
|
432
441
|
*
|
|
@@ -35,6 +35,7 @@ declare const StartDBInstanceCommand_base: {
|
|
|
35
35
|
* const client = new RDSClient(config);
|
|
36
36
|
* const input = { // StartDBInstanceMessage
|
|
37
37
|
* DBInstanceIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
38
39
|
* };
|
|
39
40
|
* const command = new StartDBInstanceCommand(input);
|
|
40
41
|
* const response = await client.send(command);
|
|
@@ -143,6 +144,7 @@ declare const StartDBInstanceCommand_base: {
|
|
|
143
144
|
* // StorageType: "STRING_VALUE",
|
|
144
145
|
* // },
|
|
145
146
|
* // ],
|
|
147
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
146
148
|
* // },
|
|
147
149
|
* // LatestRestorableTime: new Date("TIMESTAMP"),
|
|
148
150
|
* // MultiAZ: true || false,
|
|
@@ -291,6 +293,7 @@ declare const StartDBInstanceCommand_base: {
|
|
|
291
293
|
* // StorageVolumeStatus: "STRING_VALUE",
|
|
292
294
|
* // StorageOperationStatus: "STRING_VALUE",
|
|
293
295
|
* // StorageOperationPercentProgress: Number("int"),
|
|
296
|
+
* // DBCapacityReservationIdentifier: "STRING_VALUE",
|
|
294
297
|
* // },
|
|
295
298
|
* // };
|
|
296
299
|
*
|
|
@@ -305,6 +308,9 @@ declare const StartDBInstanceCommand_base: {
|
|
|
305
308
|
* @throws {@link AuthorizationNotFoundFault} (client fault)
|
|
306
309
|
* <p>The specified CIDR IP range or Amazon EC2 security group might not be authorized for the specified DB security group.</p> <p>Or, RDS might not be authorized to perform necessary actions using IAM on your behalf.</p>
|
|
307
310
|
*
|
|
311
|
+
* @throws {@link DBCapacityReservationNotFoundFault} (client fault)
|
|
312
|
+
* <p> <code>DBCapacityReservationIdentifier</code> doesn't refer to an existing DB capacity reservation.</p>
|
|
313
|
+
*
|
|
308
314
|
* @throws {@link DBClusterNotFoundFault} (client fault)
|
|
309
315
|
* <p> <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
|
|
310
316
|
*
|
|
@@ -320,6 +326,9 @@ declare const StartDBInstanceCommand_base: {
|
|
|
320
326
|
* @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
|
|
321
327
|
* <p>The specified DB instance class isn't available in the specified Availability Zone.</p>
|
|
322
328
|
*
|
|
329
|
+
* @throws {@link InvalidDBCapacityReservationStateFault} (client fault)
|
|
330
|
+
* <p>The DB capacity reservation isn't in a valid state.</p>
|
|
331
|
+
*
|
|
323
332
|
* @throws {@link InvalidDBClusterStateFault} (client fault)
|
|
324
333
|
* <p>The requested operation can't be performed while the cluster is in this state.</p>
|
|
325
334
|
*
|