@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.
Files changed (64) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +305 -53
  3. package/dist-es/RDS.js +10 -0
  4. package/dist-es/commands/CancelDBCapacityReservationCommand.js +4 -0
  5. package/dist-es/commands/CreateDBCapacityReservationCommand.js +4 -0
  6. package/dist-es/commands/DescribeDBCapacityReservationsCommand.js +4 -0
  7. package/dist-es/commands/ModifyDBCapacityReservationCommand.js +4 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/enums.js +15 -0
  10. package/dist-es/models/errors.js +65 -13
  11. package/dist-es/pagination/DescribeDBCapacityReservationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +176 -40
  14. package/dist-types/RDS.d.ts +36 -0
  15. package/dist-types/RDSClient.d.ts +6 -2
  16. package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -0
  17. package/dist-types/commands/CancelDBCapacityReservationCommand.d.ts +140 -0
  18. package/dist-types/commands/CreateDBCapacityReservationCommand.d.ts +169 -0
  19. package/dist-types/commands/CreateDBInstanceCommand.d.ts +9 -0
  20. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +9 -0
  21. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
  22. package/dist-types/commands/DescribeDBCapacityReservationsCommand.d.ts +199 -0
  23. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
  24. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeServerlessV2PlatformVersionsCommand.d.ts +1 -2
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  28. package/dist-types/commands/ModifyDBCapacityReservationCommand.d.ts +130 -0
  29. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +9 -0
  30. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -0
  31. package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
  32. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -0
  33. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +9 -0
  34. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +9 -0
  35. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +9 -0
  36. package/dist-types/commands/StartDBInstanceCommand.d.ts +9 -0
  37. package/dist-types/commands/StopDBInstanceCommand.d.ts +6 -0
  38. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -0
  39. package/dist-types/commands/index.d.ts +4 -0
  40. package/dist-types/models/enums.d.ts +31 -0
  41. package/dist-types/models/errors.d.ts +65 -13
  42. package/dist-types/models/models_0.d.ts +258 -384
  43. package/dist-types/models/models_1.d.ts +446 -2
  44. package/dist-types/pagination/DescribeDBCapacityReservationsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +19 -0
  47. package/dist-types/ts3.4/RDS.d.ts +76 -0
  48. package/dist-types/ts3.4/RDSClient.d.ts +24 -0
  49. package/dist-types/ts3.4/commands/CancelDBCapacityReservationCommand.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/CreateDBCapacityReservationCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DescribeDBCapacityReservationsCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/DescribeReservedDBInstancesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeServerlessV2PlatformVersionsCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/ModifyDBCapacityReservationCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  58. package/dist-types/ts3.4/models/errors.d.ts +32 -6
  59. package/dist-types/ts3.4/models/models_0.d.ts +60 -83
  60. package/dist-types/ts3.4/models/models_1.d.ts +101 -2
  61. package/dist-types/ts3.4/pagination/DescribeDBCapacityReservationsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  64. package/package.json +5 -5
@@ -34,6 +34,10 @@ import {
34
34
  BacktrackDBClusterCommandInput,
35
35
  BacktrackDBClusterCommandOutput,
36
36
  } from "./commands/BacktrackDBClusterCommand";
37
+ import {
38
+ CancelDBCapacityReservationCommandInput,
39
+ CancelDBCapacityReservationCommandOutput,
40
+ } from "./commands/CancelDBCapacityReservationCommand";
37
41
  import {
38
42
  CancelExportTaskCommandInput,
39
43
  CancelExportTaskCommandOutput,
@@ -66,6 +70,10 @@ import {
66
70
  CreateCustomDBEngineVersionCommandInput,
67
71
  CreateCustomDBEngineVersionCommandOutput,
68
72
  } from "./commands/CreateCustomDBEngineVersionCommand";
73
+ import {
74
+ CreateDBCapacityReservationCommandInput,
75
+ CreateDBCapacityReservationCommandOutput,
76
+ } from "./commands/CreateDBCapacityReservationCommand";
69
77
  import {
70
78
  CreateDBClusterCommandInput,
71
79
  CreateDBClusterCommandOutput,
@@ -238,6 +246,10 @@ import {
238
246
  DescribeCertificatesCommandInput,
239
247
  DescribeCertificatesCommandOutput,
240
248
  } from "./commands/DescribeCertificatesCommand";
249
+ import {
250
+ DescribeDBCapacityReservationsCommandInput,
251
+ DescribeDBCapacityReservationsCommandOutput,
252
+ } from "./commands/DescribeDBCapacityReservationsCommand";
241
253
  import {
242
254
  DescribeDBClusterAutomatedBackupsCommandInput,
243
255
  DescribeDBClusterAutomatedBackupsCommandOutput,
@@ -454,6 +466,10 @@ import {
454
466
  ModifyCustomDBEngineVersionCommandInput,
455
467
  ModifyCustomDBEngineVersionCommandOutput,
456
468
  } from "./commands/ModifyCustomDBEngineVersionCommand";
469
+ import {
470
+ ModifyDBCapacityReservationCommandInput,
471
+ ModifyDBCapacityReservationCommandOutput,
472
+ } from "./commands/ModifyDBCapacityReservationCommand";
457
473
  import {
458
474
  ModifyDBClusterCommandInput,
459
475
  ModifyDBClusterCommandOutput,
@@ -764,6 +780,19 @@ export interface RDS {
764
780
  options: RDSRequestOptions,
765
781
  cb: (err: any, data?: BacktrackDBClusterCommandOutput) => void,
766
782
  ): void;
783
+ cancelDBCapacityReservation(
784
+ args: CancelDBCapacityReservationCommandInput,
785
+ options?: RDSRequestOptions,
786
+ ): Promise<CancelDBCapacityReservationCommandOutput>;
787
+ cancelDBCapacityReservation(
788
+ args: CancelDBCapacityReservationCommandInput,
789
+ cb: (err: any, data?: CancelDBCapacityReservationCommandOutput) => void,
790
+ ): void;
791
+ cancelDBCapacityReservation(
792
+ args: CancelDBCapacityReservationCommandInput,
793
+ options: RDSRequestOptions,
794
+ cb: (err: any, data?: CancelDBCapacityReservationCommandOutput) => void,
795
+ ): void;
767
796
  cancelExportTask(
768
797
  args: CancelExportTaskCommandInput,
769
798
  options?: RDSRequestOptions,
@@ -868,6 +897,19 @@ export interface RDS {
868
897
  options: RDSRequestOptions,
869
898
  cb: (err: any, data?: CreateCustomDBEngineVersionCommandOutput) => void,
870
899
  ): void;
900
+ createDBCapacityReservation(
901
+ args: CreateDBCapacityReservationCommandInput,
902
+ options?: RDSRequestOptions,
903
+ ): Promise<CreateDBCapacityReservationCommandOutput>;
904
+ createDBCapacityReservation(
905
+ args: CreateDBCapacityReservationCommandInput,
906
+ cb: (err: any, data?: CreateDBCapacityReservationCommandOutput) => void,
907
+ ): void;
908
+ createDBCapacityReservation(
909
+ args: CreateDBCapacityReservationCommandInput,
910
+ options: RDSRequestOptions,
911
+ cb: (err: any, data?: CreateDBCapacityReservationCommandOutput) => void,
912
+ ): void;
871
913
  createDBCluster(
872
914
  args: CreateDBClusterCommandInput,
873
915
  options?: RDSRequestOptions,
@@ -1431,6 +1473,20 @@ export interface RDS {
1431
1473
  options: RDSRequestOptions,
1432
1474
  cb: (err: any, data?: DescribeCertificatesCommandOutput) => void,
1433
1475
  ): void;
1476
+ describeDBCapacityReservations(): Promise<DescribeDBCapacityReservationsCommandOutput>;
1477
+ describeDBCapacityReservations(
1478
+ args: DescribeDBCapacityReservationsCommandInput,
1479
+ options?: RDSRequestOptions,
1480
+ ): Promise<DescribeDBCapacityReservationsCommandOutput>;
1481
+ describeDBCapacityReservations(
1482
+ args: DescribeDBCapacityReservationsCommandInput,
1483
+ cb: (err: any, data?: DescribeDBCapacityReservationsCommandOutput) => void,
1484
+ ): void;
1485
+ describeDBCapacityReservations(
1486
+ args: DescribeDBCapacityReservationsCommandInput,
1487
+ options: RDSRequestOptions,
1488
+ cb: (err: any, data?: DescribeDBCapacityReservationsCommandOutput) => void,
1489
+ ): void;
1434
1490
  describeDBClusterAutomatedBackups(): Promise<DescribeDBClusterAutomatedBackupsCommandOutput>;
1435
1491
  describeDBClusterAutomatedBackups(
1436
1492
  args: DescribeDBClusterAutomatedBackupsCommandInput,
@@ -2166,6 +2222,19 @@ export interface RDS {
2166
2222
  options: RDSRequestOptions,
2167
2223
  cb: (err: any, data?: ModifyCustomDBEngineVersionCommandOutput) => void,
2168
2224
  ): void;
2225
+ modifyDBCapacityReservation(
2226
+ args: ModifyDBCapacityReservationCommandInput,
2227
+ options?: RDSRequestOptions,
2228
+ ): Promise<ModifyDBCapacityReservationCommandOutput>;
2229
+ modifyDBCapacityReservation(
2230
+ args: ModifyDBCapacityReservationCommandInput,
2231
+ cb: (err: any, data?: ModifyDBCapacityReservationCommandOutput) => void,
2232
+ ): void;
2233
+ modifyDBCapacityReservation(
2234
+ args: ModifyDBCapacityReservationCommandInput,
2235
+ options: RDSRequestOptions,
2236
+ cb: (err: any, data?: ModifyDBCapacityReservationCommandOutput) => void,
2237
+ ): void;
2169
2238
  modifyDBCluster(
2170
2239
  args: ModifyDBClusterCommandInput,
2171
2240
  options?: RDSRequestOptions,
@@ -2856,6 +2925,13 @@ export interface RDS {
2856
2925
  Exclude<keyof PaginationConfiguration, "client">
2857
2926
  >,
2858
2927
  ): Paginator<DescribeCertificatesCommandOutput>;
2928
+ paginateDescribeDBCapacityReservations(
2929
+ args?: DescribeDBCapacityReservationsCommandInput,
2930
+ paginationConfig?: Pick<
2931
+ PaginationConfiguration,
2932
+ Exclude<keyof PaginationConfiguration, "client">
2933
+ >,
2934
+ ): Paginator<DescribeDBCapacityReservationsCommandOutput>;
2859
2935
  paginateDescribeDBClusterAutomatedBackups(
2860
2936
  args?: DescribeDBClusterAutomatedBackupsCommandInput,
2861
2937
  paginationConfig?: Pick<
@@ -61,6 +61,10 @@ import {
61
61
  BacktrackDBClusterCommandInput,
62
62
  BacktrackDBClusterCommandOutput,
63
63
  } from "./commands/BacktrackDBClusterCommand";
64
+ import {
65
+ CancelDBCapacityReservationCommandInput,
66
+ CancelDBCapacityReservationCommandOutput,
67
+ } from "./commands/CancelDBCapacityReservationCommand";
64
68
  import {
65
69
  CancelExportTaskCommandInput,
66
70
  CancelExportTaskCommandOutput,
@@ -93,6 +97,10 @@ import {
93
97
  CreateCustomDBEngineVersionCommandInput,
94
98
  CreateCustomDBEngineVersionCommandOutput,
95
99
  } from "./commands/CreateCustomDBEngineVersionCommand";
100
+ import {
101
+ CreateDBCapacityReservationCommandInput,
102
+ CreateDBCapacityReservationCommandOutput,
103
+ } from "./commands/CreateDBCapacityReservationCommand";
96
104
  import {
97
105
  CreateDBClusterCommandInput,
98
106
  CreateDBClusterCommandOutput,
@@ -265,6 +273,10 @@ import {
265
273
  DescribeCertificatesCommandInput,
266
274
  DescribeCertificatesCommandOutput,
267
275
  } from "./commands/DescribeCertificatesCommand";
276
+ import {
277
+ DescribeDBCapacityReservationsCommandInput,
278
+ DescribeDBCapacityReservationsCommandOutput,
279
+ } from "./commands/DescribeDBCapacityReservationsCommand";
268
280
  import {
269
281
  DescribeDBClusterAutomatedBackupsCommandInput,
270
282
  DescribeDBClusterAutomatedBackupsCommandOutput,
@@ -481,6 +493,10 @@ import {
481
493
  ModifyCustomDBEngineVersionCommandInput,
482
494
  ModifyCustomDBEngineVersionCommandOutput,
483
495
  } from "./commands/ModifyCustomDBEngineVersionCommand";
496
+ import {
497
+ ModifyDBCapacityReservationCommandInput,
498
+ ModifyDBCapacityReservationCommandOutput,
499
+ } from "./commands/ModifyDBCapacityReservationCommand";
484
500
  import {
485
501
  ModifyDBClusterCommandInput,
486
502
  ModifyDBClusterCommandOutput,
@@ -704,6 +720,7 @@ export type ServiceInputTypes =
704
720
  | ApplyPendingMaintenanceActionCommandInput
705
721
  | AuthorizeDBSecurityGroupIngressCommandInput
706
722
  | BacktrackDBClusterCommandInput
723
+ | CancelDBCapacityReservationCommandInput
707
724
  | CancelExportTaskCommandInput
708
725
  | CopyDBClusterParameterGroupCommandInput
709
726
  | CopyDBClusterSnapshotCommandInput
@@ -712,6 +729,7 @@ export type ServiceInputTypes =
712
729
  | CopyOptionGroupCommandInput
713
730
  | CreateBlueGreenDeploymentCommandInput
714
731
  | CreateCustomDBEngineVersionCommandInput
732
+ | CreateDBCapacityReservationCommandInput
715
733
  | CreateDBClusterCommandInput
716
734
  | CreateDBClusterEndpointCommandInput
717
735
  | CreateDBClusterParameterGroupCommandInput
@@ -755,6 +773,7 @@ export type ServiceInputTypes =
755
773
  | DescribeAccountAttributesCommandInput
756
774
  | DescribeBlueGreenDeploymentsCommandInput
757
775
  | DescribeCertificatesCommandInput
776
+ | DescribeDBCapacityReservationsCommandInput
758
777
  | DescribeDBClusterAutomatedBackupsCommandInput
759
778
  | DescribeDBClusterBacktracksCommandInput
760
779
  | DescribeDBClusterEndpointsCommandInput
@@ -809,6 +828,7 @@ export type ServiceInputTypes =
809
828
  | ModifyCertificatesCommandInput
810
829
  | ModifyCurrentDBClusterCapacityCommandInput
811
830
  | ModifyCustomDBEngineVersionCommandInput
831
+ | ModifyDBCapacityReservationCommandInput
812
832
  | ModifyDBClusterCommandInput
813
833
  | ModifyDBClusterEndpointCommandInput
814
834
  | ModifyDBClusterParameterGroupCommandInput
@@ -869,6 +889,7 @@ export type ServiceOutputTypes =
869
889
  | ApplyPendingMaintenanceActionCommandOutput
870
890
  | AuthorizeDBSecurityGroupIngressCommandOutput
871
891
  | BacktrackDBClusterCommandOutput
892
+ | CancelDBCapacityReservationCommandOutput
872
893
  | CancelExportTaskCommandOutput
873
894
  | CopyDBClusterParameterGroupCommandOutput
874
895
  | CopyDBClusterSnapshotCommandOutput
@@ -877,6 +898,7 @@ export type ServiceOutputTypes =
877
898
  | CopyOptionGroupCommandOutput
878
899
  | CreateBlueGreenDeploymentCommandOutput
879
900
  | CreateCustomDBEngineVersionCommandOutput
901
+ | CreateDBCapacityReservationCommandOutput
880
902
  | CreateDBClusterCommandOutput
881
903
  | CreateDBClusterEndpointCommandOutput
882
904
  | CreateDBClusterParameterGroupCommandOutput
@@ -920,6 +942,7 @@ export type ServiceOutputTypes =
920
942
  | DescribeAccountAttributesCommandOutput
921
943
  | DescribeBlueGreenDeploymentsCommandOutput
922
944
  | DescribeCertificatesCommandOutput
945
+ | DescribeDBCapacityReservationsCommandOutput
923
946
  | DescribeDBClusterAutomatedBackupsCommandOutput
924
947
  | DescribeDBClusterBacktracksCommandOutput
925
948
  | DescribeDBClusterEndpointsCommandOutput
@@ -974,6 +997,7 @@ export type ServiceOutputTypes =
974
997
  | ModifyCertificatesCommandOutput
975
998
  | ModifyCurrentDBClusterCapacityCommandOutput
976
999
  | ModifyCustomDBEngineVersionCommandOutput
1000
+ | ModifyDBCapacityReservationCommandOutput
977
1001
  | ModifyDBClusterCommandOutput
978
1002
  | ModifyDBClusterEndpointCommandOutput
979
1003
  | ModifyDBClusterParameterGroupCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ CancelDBCapacityReservationRequest,
4
+ CancelDBCapacityReservationResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface CancelDBCapacityReservationCommandInput extends CancelDBCapacityReservationRequest {}
8
+ export interface CancelDBCapacityReservationCommandOutput
9
+ extends CancelDBCapacityReservationResponse, __MetadataBearer {}
10
+ declare const CancelDBCapacityReservationCommand_base: {
11
+ new (
12
+ input: CancelDBCapacityReservationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ CancelDBCapacityReservationCommandInput,
15
+ CancelDBCapacityReservationCommandOutput,
16
+ import("..").RDSClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: CancelDBCapacityReservationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CancelDBCapacityReservationCommandInput,
24
+ CancelDBCapacityReservationCommandOutput,
25
+ import("..").RDSClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class CancelDBCapacityReservationCommand extends CancelDBCapacityReservationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: CancelDBCapacityReservationRequest;
35
+ output: CancelDBCapacityReservationResponse;
36
+ };
37
+ sdk: {
38
+ input: CancelDBCapacityReservationCommandInput;
39
+ output: CancelDBCapacityReservationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ CreateDBCapacityReservationRequest,
4
+ CreateDBCapacityReservationResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface CreateDBCapacityReservationCommandInput extends CreateDBCapacityReservationRequest {}
8
+ export interface CreateDBCapacityReservationCommandOutput
9
+ extends CreateDBCapacityReservationResponse, __MetadataBearer {}
10
+ declare const CreateDBCapacityReservationCommand_base: {
11
+ new (
12
+ input: CreateDBCapacityReservationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ CreateDBCapacityReservationCommandInput,
15
+ CreateDBCapacityReservationCommandOutput,
16
+ import("..").RDSClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: CreateDBCapacityReservationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ CreateDBCapacityReservationCommandInput,
24
+ CreateDBCapacityReservationCommandOutput,
25
+ import("..").RDSClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class CreateDBCapacityReservationCommand extends CreateDBCapacityReservationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: CreateDBCapacityReservationRequest;
35
+ output: CreateDBCapacityReservationResponse;
36
+ };
37
+ sdk: {
38
+ input: CreateDBCapacityReservationCommandInput;
39
+ output: CreateDBCapacityReservationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ DescribeDBCapacityReservationsRequest,
4
+ DescribeDBCapacityReservationsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface DescribeDBCapacityReservationsCommandInput extends DescribeDBCapacityReservationsRequest {}
8
+ export interface DescribeDBCapacityReservationsCommandOutput
9
+ extends DescribeDBCapacityReservationsResponse, __MetadataBearer {}
10
+ declare const DescribeDBCapacityReservationsCommand_base: {
11
+ new (
12
+ input: DescribeDBCapacityReservationsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ DescribeDBCapacityReservationsCommandInput,
15
+ DescribeDBCapacityReservationsCommandOutput,
16
+ import("..").RDSClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [DescribeDBCapacityReservationsCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DescribeDBCapacityReservationsCommandInput,
24
+ DescribeDBCapacityReservationsCommandOutput,
25
+ import("..").RDSClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class DescribeDBCapacityReservationsCommand extends DescribeDBCapacityReservationsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: DescribeDBCapacityReservationsRequest;
35
+ output: DescribeDBCapacityReservationsResponse;
36
+ };
37
+ sdk: {
38
+ input: DescribeDBCapacityReservationsCommandInput;
39
+ output: DescribeDBCapacityReservationsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DescribeReservedDBInstancesMessage, ReservedDBInstanceMessage } from "../models/models_0";
2
+ import { DescribeReservedDBInstancesMessage, ReservedDBInstanceMessage } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface DescribeReservedDBInstancesCommandInput extends DescribeReservedDBInstancesMessage {}
5
5
  export interface DescribeReservedDBInstancesCommandOutput
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  DescribeReservedDBInstancesOfferingsMessage,
4
4
  ReservedDBInstancesOfferingMessage,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface DescribeReservedDBInstancesOfferingsCommandInput extends DescribeReservedDBInstancesOfferingsMessage {}
8
8
  export interface DescribeReservedDBInstancesOfferingsCommandOutput
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { DescribeServerlessV2PlatformVersionsMessage } from "../models/models_0";
3
- import { ServerlessV2PlatformVersionsMessage } from "../models/models_1";
2
+ import {
3
+ DescribeServerlessV2PlatformVersionsMessage,
4
+ ServerlessV2PlatformVersionsMessage,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface DescribeServerlessV2PlatformVersionsCommandInput extends DescribeServerlessV2PlatformVersionsMessage {}
6
8
  export interface DescribeServerlessV2PlatformVersionsCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ModifyDBCapacityReservationRequest,
4
+ ModifyDBCapacityReservationResponse,
5
+ } from "../models/models_1";
6
+ export { __MetadataBearer };
7
+ export interface ModifyDBCapacityReservationCommandInput extends ModifyDBCapacityReservationRequest {}
8
+ export interface ModifyDBCapacityReservationCommandOutput
9
+ extends ModifyDBCapacityReservationResponse, __MetadataBearer {}
10
+ declare const ModifyDBCapacityReservationCommand_base: {
11
+ new (
12
+ input: ModifyDBCapacityReservationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ModifyDBCapacityReservationCommandInput,
15
+ ModifyDBCapacityReservationCommandOutput,
16
+ import("..").RDSClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: ModifyDBCapacityReservationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ModifyDBCapacityReservationCommandInput,
24
+ ModifyDBCapacityReservationCommandOutput,
25
+ import("..").RDSClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ModifyDBCapacityReservationCommand extends ModifyDBCapacityReservationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ModifyDBCapacityReservationRequest;
35
+ output: ModifyDBCapacityReservationResponse;
36
+ };
37
+ sdk: {
38
+ input: ModifyDBCapacityReservationCommandInput;
39
+ output: ModifyDBCapacityReservationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -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";
@@ -18,6 +18,19 @@ export declare const ActivityStreamStatus: {
18
18
  readonly stopping: "stopping";
19
19
  };
20
20
  export type ActivityStreamStatus = (typeof ActivityStreamStatus)[keyof typeof ActivityStreamStatus];
21
+ export declare const DBCapacityReservationState: {
22
+ readonly active: "active";
23
+ readonly assessing: "assessing";
24
+ readonly cancelled: "cancelled";
25
+ readonly delayed: "delayed";
26
+ readonly expired: "expired";
27
+ readonly failed: "failed";
28
+ readonly pending: "pending";
29
+ readonly scheduled: "scheduled";
30
+ readonly unsupported: "unsupported";
31
+ };
32
+ export type DBCapacityReservationState =
33
+ (typeof DBCapacityReservationState)[keyof typeof DBCapacityReservationState];
21
34
  export declare const ExportSourceType: {
22
35
  readonly CLUSTER: "CLUSTER";
23
36
  readonly SNAPSHOT: "SNAPSHOT";
@@ -249,3 +262,8 @@ export declare const CustomEngineVersionStatus: {
249
262
  };
250
263
  export type CustomEngineVersionStatus =
251
264
  (typeof CustomEngineVersionStatus)[keyof typeof CustomEngineVersionStatus];
265
+ export declare const EndDateType: {
266
+ readonly limited: "limited";
267
+ readonly unlimited: "unlimited";
268
+ };
269
+ export type EndDateType = (typeof EndDateType)[keyof typeof EndDateType];
@@ -66,6 +66,12 @@ export declare class BlueGreenDeploymentNotFoundFault extends __BaseException {
66
66
  readonly $fault: "client";
67
67
  constructor(opts: __ExceptionOptionType<BlueGreenDeploymentNotFoundFault, __BaseException>);
68
68
  }
69
+ export declare class DBCapacityReservationNotFoundFault extends __BaseException {
70
+ static readonly shapeId: string;
71
+ readonly name: "DBCapacityReservationNotFoundFault";
72
+ readonly $fault: "client";
73
+ constructor(opts: __ExceptionOptionType<DBCapacityReservationNotFoundFault, __BaseException>);
74
+ }
69
75
  export declare class DBProxyEndpointNotFoundFault extends __BaseException {
70
76
  static readonly shapeId: string;
71
77
  readonly name: "DBProxyEndpointNotFoundFault";
@@ -150,6 +156,12 @@ export declare class InvalidDBSecurityGroupStateFault extends __BaseException {
150
156
  readonly $fault: "client";
151
157
  constructor(opts: __ExceptionOptionType<InvalidDBSecurityGroupStateFault, __BaseException>);
152
158
  }
159
+ export declare class InvalidDBCapacityReservationStateFault extends __BaseException {
160
+ static readonly shapeId: string;
161
+ readonly name: "InvalidDBCapacityReservationStateFault";
162
+ readonly $fault: "client";
163
+ constructor(opts: __ExceptionOptionType<InvalidDBCapacityReservationStateFault, __BaseException>);
164
+ }
153
165
  export declare class ExportTaskNotFoundFault extends __BaseException {
154
166
  static readonly shapeId: string;
155
167
  readonly name: "ExportTaskNotFoundFault";
@@ -328,6 +340,26 @@ export declare class InvalidCustomDBEngineVersionStateFault extends __BaseExcept
328
340
  readonly $fault: "client";
329
341
  constructor(opts: __ExceptionOptionType<InvalidCustomDBEngineVersionStateFault, __BaseException>);
330
342
  }
343
+ export declare class DBCapacityReservationAlreadyExistsFault extends __BaseException {
344
+ static readonly shapeId: string;
345
+ readonly name: "DBCapacityReservationAlreadyExistsFault";
346
+ readonly $fault: "client";
347
+ constructor(
348
+ opts: __ExceptionOptionType<DBCapacityReservationAlreadyExistsFault, __BaseException>,
349
+ );
350
+ }
351
+ export declare class DBCapacityReservationUnsupportedFault extends __BaseException {
352
+ static readonly shapeId: string;
353
+ readonly name: "DBCapacityReservationUnsupportedFault";
354
+ readonly $fault: "client";
355
+ constructor(opts: __ExceptionOptionType<DBCapacityReservationUnsupportedFault, __BaseException>);
356
+ }
357
+ export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
358
+ static readonly shapeId: string;
359
+ readonly name: "InsufficientDBInstanceCapacityFault";
360
+ readonly $fault: "client";
361
+ constructor(opts: __ExceptionOptionType<InsufficientDBInstanceCapacityFault, __BaseException>);
362
+ }
331
363
  export declare class DBClusterAlreadyExistsFault extends __BaseException {
332
364
  static readonly shapeId: string;
333
365
  readonly name: "DBClusterAlreadyExistsFault";
@@ -358,12 +390,6 @@ export declare class GlobalClusterNotFoundFault extends __BaseException {
358
390
  readonly $fault: "client";
359
391
  constructor(opts: __ExceptionOptionType<GlobalClusterNotFoundFault, __BaseException>);
360
392
  }
361
- export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
362
- static readonly shapeId: string;
363
- readonly name: "InsufficientDBInstanceCapacityFault";
364
- readonly $fault: "client";
365
- constructor(opts: __ExceptionOptionType<InsufficientDBInstanceCapacityFault, __BaseException>);
366
- }
367
393
  export declare class InsufficientStorageClusterCapacityFault extends __BaseException {
368
394
  static readonly shapeId: string;
369
395
  readonly name: "InsufficientStorageClusterCapacityFault";