@aws-sdk/client-rds 3.301.0 → 3.303.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.
@@ -318,30 +318,45 @@ export interface DescribeDBProxyTargetsRequest {
318
318
  }
319
319
  /**
320
320
  * @public
321
+ * @enum
321
322
  */
322
- export declare enum TargetRole {
323
- READ_ONLY = "READ_ONLY",
324
- READ_WRITE = "READ_WRITE",
325
- UNKNOWN = "UNKNOWN"
326
- }
323
+ export declare const TargetRole: {
324
+ readonly READ_ONLY: "READ_ONLY";
325
+ readonly READ_WRITE: "READ_WRITE";
326
+ readonly UNKNOWN: "UNKNOWN";
327
+ };
327
328
  /**
328
329
  * @public
329
330
  */
330
- export declare enum TargetHealthReason {
331
- AUTH_FAILURE = "AUTH_FAILURE",
332
- CONNECTION_FAILED = "CONNECTION_FAILED",
333
- INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE",
334
- PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY",
335
- UNREACHABLE = "UNREACHABLE"
336
- }
331
+ export type TargetRole = (typeof TargetRole)[keyof typeof TargetRole];
337
332
  /**
338
333
  * @public
334
+ * @enum
339
335
  */
340
- export declare enum TargetState {
341
- available = "AVAILABLE",
342
- registering = "REGISTERING",
343
- unavailable = "UNAVAILABLE"
344
- }
336
+ export declare const TargetHealthReason: {
337
+ readonly AUTH_FAILURE: "AUTH_FAILURE";
338
+ readonly CONNECTION_FAILED: "CONNECTION_FAILED";
339
+ readonly INVALID_REPLICATION_STATE: "INVALID_REPLICATION_STATE";
340
+ readonly PENDING_PROXY_CAPACITY: "PENDING_PROXY_CAPACITY";
341
+ readonly UNREACHABLE: "UNREACHABLE";
342
+ };
343
+ /**
344
+ * @public
345
+ */
346
+ export type TargetHealthReason = (typeof TargetHealthReason)[keyof typeof TargetHealthReason];
347
+ /**
348
+ * @public
349
+ * @enum
350
+ */
351
+ export declare const TargetState: {
352
+ readonly available: "AVAILABLE";
353
+ readonly registering: "REGISTERING";
354
+ readonly unavailable: "UNAVAILABLE";
355
+ };
356
+ /**
357
+ * @public
358
+ */
359
+ export type TargetState = (typeof TargetState)[keyof typeof TargetState];
345
360
  /**
346
361
  * @public
347
362
  * <p>Information about the connection health of an RDS Proxy target.</p>
@@ -367,12 +382,17 @@ export interface TargetHealth {
367
382
  }
368
383
  /**
369
384
  * @public
385
+ * @enum
370
386
  */
371
- export declare enum TargetType {
372
- RDS_INSTANCE = "RDS_INSTANCE",
373
- RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT",
374
- TRACKED_CLUSTER = "TRACKED_CLUSTER"
375
- }
387
+ export declare const TargetType: {
388
+ readonly RDS_INSTANCE: "RDS_INSTANCE";
389
+ readonly RDS_SERVERLESS_ENDPOINT: "RDS_SERVERLESS_ENDPOINT";
390
+ readonly TRACKED_CLUSTER: "TRACKED_CLUSTER";
391
+ };
392
+ /**
393
+ * @public
394
+ */
395
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
376
396
  /**
377
397
  * @public
378
398
  * <p>Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster
@@ -1126,18 +1146,23 @@ export interface EventCategoriesMessage {
1126
1146
  }
1127
1147
  /**
1128
1148
  * @public
1149
+ * @enum
1129
1150
  */
1130
- export declare enum SourceType {
1131
- blue_green_deployment = "blue-green-deployment",
1132
- custom_engine_version = "custom-engine-version",
1133
- db_cluster = "db-cluster",
1134
- db_cluster_snapshot = "db-cluster-snapshot",
1135
- db_instance = "db-instance",
1136
- db_parameter_group = "db-parameter-group",
1137
- db_proxy = "db-proxy",
1138
- db_security_group = "db-security-group",
1139
- db_snapshot = "db-snapshot"
1140
- }
1151
+ export declare const SourceType: {
1152
+ readonly blue_green_deployment: "blue-green-deployment";
1153
+ readonly custom_engine_version: "custom-engine-version";
1154
+ readonly db_cluster: "db-cluster";
1155
+ readonly db_cluster_snapshot: "db-cluster-snapshot";
1156
+ readonly db_instance: "db-instance";
1157
+ readonly db_parameter_group: "db-parameter-group";
1158
+ readonly db_proxy: "db-proxy";
1159
+ readonly db_security_group: "db-security-group";
1160
+ readonly db_snapshot: "db-snapshot";
1161
+ };
1162
+ /**
1163
+ * @public
1164
+ */
1165
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
1141
1166
  /**
1142
1167
  * @public
1143
1168
  * <p></p>
@@ -2942,11 +2967,16 @@ export interface TagListMessage {
2942
2967
  }
2943
2968
  /**
2944
2969
  * @public
2970
+ * @enum
2945
2971
  */
2946
- export declare enum AuditPolicyState {
2947
- LOCKED_POLICY = "locked",
2948
- UNLOCKED_POLICY = "unlocked"
2949
- }
2972
+ export declare const AuditPolicyState: {
2973
+ readonly LOCKED_POLICY: "locked";
2974
+ readonly UNLOCKED_POLICY: "unlocked";
2975
+ };
2976
+ /**
2977
+ * @public
2978
+ */
2979
+ export type AuditPolicyState = (typeof AuditPolicyState)[keyof typeof AuditPolicyState];
2950
2980
  /**
2951
2981
  * @public
2952
2982
  */
@@ -3110,12 +3140,17 @@ export interface ModifyCurrentDBClusterCapacityMessage {
3110
3140
  }
3111
3141
  /**
3112
3142
  * @public
3143
+ * @enum
3113
3144
  */
3114
- export declare enum CustomEngineVersionStatus {
3115
- available = "available",
3116
- inactive = "inactive",
3117
- inactive_except_restore = "inactive-except-restore"
3118
- }
3145
+ export declare const CustomEngineVersionStatus: {
3146
+ readonly available: "available";
3147
+ readonly inactive: "inactive";
3148
+ readonly inactive_except_restore: "inactive-except-restore";
3149
+ };
3150
+ /**
3151
+ * @public
3152
+ */
3153
+ export type CustomEngineVersionStatus = (typeof CustomEngineVersionStatus)[keyof typeof CustomEngineVersionStatus];
3119
3154
  /**
3120
3155
  * @public
3121
3156
  */
@@ -3361,13 +3396,21 @@ export interface ModifyDBClusterMessage {
3361
3396
  */
3362
3397
  CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
3363
3398
  /**
3364
- * <p>The version number of the database engine to which you want to upgrade.
3365
- * Changing this parameter results in an outage. The change is applied during
3366
- * the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
3399
+ * <p>The version number of the database engine to which you want to upgrade. Changing this
3400
+ * parameter results in an outage. The change is applied during the next maintenance window
3401
+ * unless <code>ApplyImmediately</code> is enabled. </p>
3402
+ * <p>If the cluster that you're modifying has one or more read replicas, all replicas must
3403
+ * be running an engine version that's the same or later than the version you
3404
+ * specify.</p>
3367
3405
  * <p>To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible),
3368
3406
  * use the following command:</p>
3369
3407
  * <p>
3370
- * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
3408
+ * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query
3409
+ * "DBEngineVersions[].EngineVersion"</code>
3410
+ * </p>
3411
+ * <p>To list all of the available engine versions for MySQL 5.6-compatible Aurora, use the following command:</p>
3412
+ * <p>
3413
+ * <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
3371
3414
  * </p>
3372
3415
  * <p>To list all of the available engine versions for Aurora PostgreSQL, use the following command:</p>
3373
3416
  * <p>
@@ -4091,6 +4134,9 @@ export interface ModifyDBInstanceMessage {
4091
4134
  * default minor version if the current minor version is lower.
4092
4135
  * For information about valid engine versions, see <code>CreateDBInstance</code>,
4093
4136
  * or call <code>DescribeDBEngineVersions</code>.</p>
4137
+ * <p>If the instance that you're modifying is acting as a read replica, the engine version
4138
+ * that you specify must be the same or later than the version that the source DB instance
4139
+ * or cluster is running.</p>
4094
4140
  * <p>In RDS Custom for Oracle, this parameter is supported for read replicas only if they are in the
4095
4141
  * <code>PATCH_DB_FAILURE</code> lifecycle.</p>
4096
4142
  */
@@ -8688,8 +8734,9 @@ export interface StopDBInstanceResult {
8688
8734
  */
8689
8735
  export interface StopDBInstanceAutomatedBackupsReplicationMessage {
8690
8736
  /**
8691
- * <p>The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating automated backups, for example,
8692
- * <code>arn:aws:rds:us-west-2:123456789012:db:mydatabase</code>.</p>
8737
+ * <p>The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating
8738
+ * automate backups, for example,
8739
+ * <code>arn:aws:rds:us-west-2:123456789012:db:mydatabase</code>.</p>
8693
8740
  */
8694
8741
  SourceDBInstanceArn: string | undefined;
8695
8742
  }
@@ -8,22 +8,28 @@ export interface AccountQuota {
8
8
  export interface AccountAttributesMessage {
9
9
  AccountQuotas?: AccountQuota[];
10
10
  }
11
- export declare enum ActivityStreamMode {
12
- async = "async",
13
- sync = "sync",
14
- }
15
- export declare enum ActivityStreamPolicyStatus {
16
- locked = "locked",
17
- locking_policy = "locking-policy",
18
- unlocked = "unlocked",
19
- unlocking_policy = "unlocking-policy",
20
- }
21
- export declare enum ActivityStreamStatus {
22
- started = "started",
23
- starting = "starting",
24
- stopped = "stopped",
25
- stopping = "stopping",
26
- }
11
+ export declare const ActivityStreamMode: {
12
+ readonly async: "async";
13
+ readonly sync: "sync";
14
+ };
15
+ export type ActivityStreamMode =
16
+ (typeof ActivityStreamMode)[keyof typeof ActivityStreamMode];
17
+ export declare const ActivityStreamPolicyStatus: {
18
+ readonly locked: "locked";
19
+ readonly locking_policy: "locking-policy";
20
+ readonly unlocked: "unlocked";
21
+ readonly unlocking_policy: "unlocking-policy";
22
+ };
23
+ export type ActivityStreamPolicyStatus =
24
+ (typeof ActivityStreamPolicyStatus)[keyof typeof ActivityStreamPolicyStatus];
25
+ export declare const ActivityStreamStatus: {
26
+ readonly started: "started";
27
+ readonly starting: "starting";
28
+ readonly stopped: "stopped";
29
+ readonly stopping: "stopping";
30
+ };
31
+ export type ActivityStreamStatus =
32
+ (typeof ActivityStreamStatus)[keyof typeof ActivityStreamStatus];
27
33
  export interface AddRoleToDBClusterMessage {
28
34
  DBClusterIdentifier: string | undefined;
29
35
  RoleArn: string | undefined;
@@ -287,10 +293,12 @@ export interface DBClusterBacktrack {
287
293
  export interface CancelExportTaskMessage {
288
294
  ExportTaskIdentifier: string | undefined;
289
295
  }
290
- export declare enum ExportSourceType {
291
- CLUSTER = "CLUSTER",
292
- SNAPSHOT = "SNAPSHOT",
293
- }
296
+ export declare const ExportSourceType: {
297
+ readonly CLUSTER: "CLUSTER";
298
+ readonly SNAPSHOT: "SNAPSHOT";
299
+ };
300
+ export type ExportSourceType =
301
+ (typeof ExportSourceType)[keyof typeof ExportSourceType];
294
302
  export interface ExportTask {
295
303
  ExportTaskIdentifier?: string;
296
304
  SourceArn?: string;
@@ -881,13 +889,15 @@ export interface DomainMembership {
881
889
  FQDN?: string;
882
890
  IAMRoleName?: string;
883
891
  }
884
- export declare enum WriteForwardingStatus {
885
- DISABLED = "disabled",
886
- DISABLING = "disabling",
887
- ENABLED = "enabled",
888
- ENABLING = "enabling",
889
- UNKNOWN = "unknown",
890
- }
892
+ export declare const WriteForwardingStatus: {
893
+ readonly DISABLED: "disabled";
894
+ readonly DISABLING: "disabling";
895
+ readonly ENABLED: "enabled";
896
+ readonly ENABLING: "enabling";
897
+ readonly UNKNOWN: "unknown";
898
+ };
899
+ export type WriteForwardingStatus =
900
+ (typeof WriteForwardingStatus)[keyof typeof WriteForwardingStatus];
891
901
  export interface MasterUserSecret {
892
902
  SecretArn?: string;
893
903
  SecretStatus?: string;
@@ -1216,10 +1226,12 @@ export interface DBInstanceRole {
1216
1226
  FeatureName?: string;
1217
1227
  Status?: string;
1218
1228
  }
1219
- export declare enum AutomationMode {
1220
- ALL_PAUSED = "all-paused",
1221
- FULL = "full",
1222
- }
1229
+ export declare const AutomationMode: {
1230
+ readonly ALL_PAUSED: "all-paused";
1231
+ readonly FULL: "full";
1232
+ };
1233
+ export type AutomationMode =
1234
+ (typeof AutomationMode)[keyof typeof AutomationMode];
1223
1235
  export interface CertificateDetails {
1224
1236
  CAIdentifier?: string;
1225
1237
  ValidTill?: Date;
@@ -1282,10 +1294,11 @@ export interface PendingModifiedValues {
1282
1294
  ResumeFullAutomationModeTime?: Date;
1283
1295
  StorageThroughput?: number;
1284
1296
  }
1285
- export declare enum ReplicaMode {
1286
- MOUNTED = "mounted",
1287
- OPEN_READ_ONLY = "open-read-only",
1288
- }
1297
+ export declare const ReplicaMode: {
1298
+ readonly MOUNTED: "mounted";
1299
+ readonly OPEN_READ_ONLY: "open-read-only";
1300
+ };
1301
+ export type ReplicaMode = (typeof ReplicaMode)[keyof typeof ReplicaMode];
1289
1302
  export interface DBInstanceStatusInfo {
1290
1303
  StatusType?: string;
1291
1304
  Normal?: boolean;
@@ -1373,6 +1386,7 @@ export interface DBInstance {
1373
1386
  DBSystemId?: string;
1374
1387
  MasterUserSecret?: MasterUserSecret;
1375
1388
  CertificateDetails?: CertificateDetails;
1389
+ ReadReplicaSourceDBClusterIdentifier?: string;
1376
1390
  }
1377
1391
  export interface CreateDBInstanceResult {
1378
1392
  DBInstance?: DBInstance;
@@ -1420,7 +1434,7 @@ export declare class StorageTypeNotSupportedFault extends __BaseException {
1420
1434
  }
1421
1435
  export interface CreateDBInstanceReadReplicaMessage {
1422
1436
  DBInstanceIdentifier: string | undefined;
1423
- SourceDBInstanceIdentifier: string | undefined;
1437
+ SourceDBInstanceIdentifier?: string;
1424
1438
  DBInstanceClass?: string;
1425
1439
  AvailabilityZone?: string;
1426
1440
  Port?: number;
@@ -1456,6 +1470,7 @@ export interface CreateDBInstanceReadReplicaMessage {
1456
1470
  StorageThroughput?: number;
1457
1471
  EnableCustomerOwnedIp?: boolean;
1458
1472
  AllocatedStorage?: number;
1473
+ SourceDBClusterIdentifier?: string;
1459
1474
  }
1460
1475
  export interface CreateDBInstanceReadReplicaResult {
1461
1476
  DBInstance?: DBInstance;
@@ -1483,20 +1498,24 @@ export interface CreateDBParameterGroupMessage {
1483
1498
  export interface CreateDBParameterGroupResult {
1484
1499
  DBParameterGroup?: DBParameterGroup;
1485
1500
  }
1486
- export declare enum AuthScheme {
1487
- SECRETS = "SECRETS",
1488
- }
1489
- export declare enum ClientPasswordAuthType {
1490
- MYSQL_NATIVE_PASSWORD = "MYSQL_NATIVE_PASSWORD",
1491
- POSTGRES_MD5 = "POSTGRES_MD5",
1492
- POSTGRES_SCRAM_SHA_256 = "POSTGRES_SCRAM_SHA_256",
1493
- SQL_SERVER_AUTHENTICATION = "SQL_SERVER_AUTHENTICATION",
1494
- }
1495
- export declare enum IAMAuthMode {
1496
- DISABLED = "DISABLED",
1497
- ENABLED = "ENABLED",
1498
- REQUIRED = "REQUIRED",
1499
- }
1501
+ export declare const AuthScheme: {
1502
+ readonly SECRETS: "SECRETS";
1503
+ };
1504
+ export type AuthScheme = (typeof AuthScheme)[keyof typeof AuthScheme];
1505
+ export declare const ClientPasswordAuthType: {
1506
+ readonly MYSQL_NATIVE_PASSWORD: "MYSQL_NATIVE_PASSWORD";
1507
+ readonly POSTGRES_MD5: "POSTGRES_MD5";
1508
+ readonly POSTGRES_SCRAM_SHA_256: "POSTGRES_SCRAM_SHA_256";
1509
+ readonly SQL_SERVER_AUTHENTICATION: "SQL_SERVER_AUTHENTICATION";
1510
+ };
1511
+ export type ClientPasswordAuthType =
1512
+ (typeof ClientPasswordAuthType)[keyof typeof ClientPasswordAuthType];
1513
+ export declare const IAMAuthMode: {
1514
+ readonly DISABLED: "DISABLED";
1515
+ readonly ENABLED: "ENABLED";
1516
+ readonly REQUIRED: "REQUIRED";
1517
+ };
1518
+ export type IAMAuthMode = (typeof IAMAuthMode)[keyof typeof IAMAuthMode];
1500
1519
  export interface UserAuthConfig {
1501
1520
  Description?: string;
1502
1521
  UserName?: string;
@@ -1505,11 +1524,12 @@ export interface UserAuthConfig {
1505
1524
  IAMAuth?: IAMAuthMode | string;
1506
1525
  ClientPasswordAuthType?: ClientPasswordAuthType | string;
1507
1526
  }
1508
- export declare enum EngineFamily {
1509
- MYSQL = "MYSQL",
1510
- POSTGRESQL = "POSTGRESQL",
1511
- SQLSERVER = "SQLSERVER",
1512
- }
1527
+ export declare const EngineFamily: {
1528
+ readonly MYSQL: "MYSQL";
1529
+ readonly POSTGRESQL: "POSTGRESQL";
1530
+ readonly SQLSERVER: "SQLSERVER";
1531
+ };
1532
+ export type EngineFamily = (typeof EngineFamily)[keyof typeof EngineFamily];
1513
1533
  export interface CreateDBProxyRequest {
1514
1534
  DBProxyName: string | undefined;
1515
1535
  EngineFamily: EngineFamily | string | undefined;
@@ -1530,17 +1550,18 @@ export interface UserAuthConfigInfo {
1530
1550
  IAMAuth?: IAMAuthMode | string;
1531
1551
  ClientPasswordAuthType?: ClientPasswordAuthType | string;
1532
1552
  }
1533
- export declare enum DBProxyStatus {
1534
- AVAILABLE = "available",
1535
- CREATING = "creating",
1536
- DELETING = "deleting",
1537
- INCOMPATIBLE_NETWORK = "incompatible-network",
1538
- INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits",
1539
- MODIFYING = "modifying",
1540
- REACTIVATING = "reactivating",
1541
- SUSPENDED = "suspended",
1542
- SUSPENDING = "suspending",
1543
- }
1553
+ export declare const DBProxyStatus: {
1554
+ readonly AVAILABLE: "available";
1555
+ readonly CREATING: "creating";
1556
+ readonly DELETING: "deleting";
1557
+ readonly INCOMPATIBLE_NETWORK: "incompatible-network";
1558
+ readonly INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits";
1559
+ readonly MODIFYING: "modifying";
1560
+ readonly REACTIVATING: "reactivating";
1561
+ readonly SUSPENDED: "suspended";
1562
+ readonly SUSPENDING: "suspending";
1563
+ };
1564
+ export type DBProxyStatus = (typeof DBProxyStatus)[keyof typeof DBProxyStatus];
1544
1565
  export interface DBProxy {
1545
1566
  DBProxyName?: string;
1546
1567
  DBProxyArn?: string;
@@ -1575,10 +1596,12 @@ export declare class DBProxyQuotaExceededFault extends __BaseException {
1575
1596
  opts: __ExceptionOptionType<DBProxyQuotaExceededFault, __BaseException>
1576
1597
  );
1577
1598
  }
1578
- export declare enum DBProxyEndpointTargetRole {
1579
- READ_ONLY = "READ_ONLY",
1580
- READ_WRITE = "READ_WRITE",
1581
- }
1599
+ export declare const DBProxyEndpointTargetRole: {
1600
+ readonly READ_ONLY: "READ_ONLY";
1601
+ readonly READ_WRITE: "READ_WRITE";
1602
+ };
1603
+ export type DBProxyEndpointTargetRole =
1604
+ (typeof DBProxyEndpointTargetRole)[keyof typeof DBProxyEndpointTargetRole];
1582
1605
  export interface CreateDBProxyEndpointRequest {
1583
1606
  DBProxyName: string | undefined;
1584
1607
  DBProxyEndpointName: string | undefined;
@@ -1587,14 +1610,16 @@ export interface CreateDBProxyEndpointRequest {
1587
1610
  TargetRole?: DBProxyEndpointTargetRole | string;
1588
1611
  Tags?: Tag[];
1589
1612
  }
1590
- export declare enum DBProxyEndpointStatus {
1591
- AVAILABLE = "available",
1592
- CREATING = "creating",
1593
- DELETING = "deleting",
1594
- INCOMPATIBLE_NETWORK = "incompatible-network",
1595
- INSUFFICIENT_RESOURCE_LIMITS = "insufficient-resource-limits",
1596
- MODIFYING = "modifying",
1597
- }
1613
+ export declare const DBProxyEndpointStatus: {
1614
+ readonly AVAILABLE: "available";
1615
+ readonly CREATING: "creating";
1616
+ readonly DELETING: "deleting";
1617
+ readonly INCOMPATIBLE_NETWORK: "incompatible-network";
1618
+ readonly INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits";
1619
+ readonly MODIFYING: "modifying";
1620
+ };
1621
+ export type DBProxyEndpointStatus =
1622
+ (typeof DBProxyEndpointStatus)[keyof typeof DBProxyEndpointStatus];
1598
1623
  export interface DBProxyEndpoint {
1599
1624
  DBProxyEndpointName?: string;
1600
1625
  DBProxyEndpointArn?: string;
@@ -1789,11 +1814,13 @@ export interface CreateGlobalClusterMessage {
1789
1814
  DatabaseName?: string;
1790
1815
  StorageEncrypted?: boolean;
1791
1816
  }
1792
- export declare enum FailoverStatus {
1793
- CANCELLING = "cancelling",
1794
- FAILING_OVER = "failing-over",
1795
- PENDING = "pending",
1796
- }
1817
+ export declare const FailoverStatus: {
1818
+ readonly CANCELLING: "cancelling";
1819
+ readonly FAILING_OVER: "failing-over";
1820
+ readonly PENDING: "pending";
1821
+ };
1822
+ export type FailoverStatus =
1823
+ (typeof FailoverStatus)[keyof typeof FailoverStatus];
1797
1824
  export interface FailoverState {
1798
1825
  Status?: FailoverStatus | string;
1799
1826
  FromDbClusterArn?: string;
@@ -2193,10 +2220,11 @@ export interface DescribeDBClusterParameterGroupsMessage {
2193
2220
  MaxRecords?: number;
2194
2221
  Marker?: string;
2195
2222
  }
2196
- export declare enum ApplyMethod {
2197
- immediate = "immediate",
2198
- pending_reboot = "pending-reboot",
2199
- }
2223
+ export declare const ApplyMethod: {
2224
+ readonly immediate: "immediate";
2225
+ readonly pending_reboot: "pending-reboot";
2226
+ };
2227
+ export type ApplyMethod = (typeof ApplyMethod)[keyof typeof ApplyMethod];
2200
2228
  export interface Parameter {
2201
2229
  ParameterName?: string;
2202
2230
  ParameterValue?: string;
@@ -100,33 +100,38 @@ export interface DescribeDBProxyTargetsRequest {
100
100
  Marker?: string;
101
101
  MaxRecords?: number;
102
102
  }
103
- export declare enum TargetRole {
104
- READ_ONLY = "READ_ONLY",
105
- READ_WRITE = "READ_WRITE",
106
- UNKNOWN = "UNKNOWN",
107
- }
108
- export declare enum TargetHealthReason {
109
- AUTH_FAILURE = "AUTH_FAILURE",
110
- CONNECTION_FAILED = "CONNECTION_FAILED",
111
- INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE",
112
- PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY",
113
- UNREACHABLE = "UNREACHABLE",
114
- }
115
- export declare enum TargetState {
116
- available = "AVAILABLE",
117
- registering = "REGISTERING",
118
- unavailable = "UNAVAILABLE",
119
- }
103
+ export declare const TargetRole: {
104
+ readonly READ_ONLY: "READ_ONLY";
105
+ readonly READ_WRITE: "READ_WRITE";
106
+ readonly UNKNOWN: "UNKNOWN";
107
+ };
108
+ export type TargetRole = (typeof TargetRole)[keyof typeof TargetRole];
109
+ export declare const TargetHealthReason: {
110
+ readonly AUTH_FAILURE: "AUTH_FAILURE";
111
+ readonly CONNECTION_FAILED: "CONNECTION_FAILED";
112
+ readonly INVALID_REPLICATION_STATE: "INVALID_REPLICATION_STATE";
113
+ readonly PENDING_PROXY_CAPACITY: "PENDING_PROXY_CAPACITY";
114
+ readonly UNREACHABLE: "UNREACHABLE";
115
+ };
116
+ export type TargetHealthReason =
117
+ (typeof TargetHealthReason)[keyof typeof TargetHealthReason];
118
+ export declare const TargetState: {
119
+ readonly available: "AVAILABLE";
120
+ readonly registering: "REGISTERING";
121
+ readonly unavailable: "UNAVAILABLE";
122
+ };
123
+ export type TargetState = (typeof TargetState)[keyof typeof TargetState];
120
124
  export interface TargetHealth {
121
125
  State?: TargetState | string;
122
126
  Reason?: TargetHealthReason | string;
123
127
  Description?: string;
124
128
  }
125
- export declare enum TargetType {
126
- RDS_INSTANCE = "RDS_INSTANCE",
127
- RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT",
128
- TRACKED_CLUSTER = "TRACKED_CLUSTER",
129
- }
129
+ export declare const TargetType: {
130
+ readonly RDS_INSTANCE: "RDS_INSTANCE";
131
+ readonly RDS_SERVERLESS_ENDPOINT: "RDS_SERVERLESS_ENDPOINT";
132
+ readonly TRACKED_CLUSTER: "TRACKED_CLUSTER";
133
+ };
134
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
130
135
  export interface DBProxyTarget {
131
136
  TargetArn?: string;
132
137
  Endpoint?: string;
@@ -224,17 +229,18 @@ export interface EventCategoriesMap {
224
229
  export interface EventCategoriesMessage {
225
230
  EventCategoriesMapList?: EventCategoriesMap[];
226
231
  }
227
- export declare enum SourceType {
228
- blue_green_deployment = "blue-green-deployment",
229
- custom_engine_version = "custom-engine-version",
230
- db_cluster = "db-cluster",
231
- db_cluster_snapshot = "db-cluster-snapshot",
232
- db_instance = "db-instance",
233
- db_parameter_group = "db-parameter-group",
234
- db_proxy = "db-proxy",
235
- db_security_group = "db-security-group",
236
- db_snapshot = "db-snapshot",
237
- }
232
+ export declare const SourceType: {
233
+ readonly blue_green_deployment: "blue-green-deployment";
234
+ readonly custom_engine_version: "custom-engine-version";
235
+ readonly db_cluster: "db-cluster";
236
+ readonly db_cluster_snapshot: "db-cluster-snapshot";
237
+ readonly db_instance: "db-instance";
238
+ readonly db_parameter_group: "db-parameter-group";
239
+ readonly db_proxy: "db-proxy";
240
+ readonly db_security_group: "db-security-group";
241
+ readonly db_snapshot: "db-snapshot";
242
+ };
243
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
238
244
  export interface DescribeEventsMessage {
239
245
  SourceIdentifier?: string;
240
246
  SourceType?: SourceType | string;
@@ -586,10 +592,12 @@ export interface ListTagsForResourceMessage {
586
592
  export interface TagListMessage {
587
593
  TagList?: Tag[];
588
594
  }
589
- export declare enum AuditPolicyState {
590
- LOCKED_POLICY = "locked",
591
- UNLOCKED_POLICY = "unlocked",
592
- }
595
+ export declare const AuditPolicyState: {
596
+ readonly LOCKED_POLICY: "locked";
597
+ readonly UNLOCKED_POLICY: "unlocked";
598
+ };
599
+ export type AuditPolicyState =
600
+ (typeof AuditPolicyState)[keyof typeof AuditPolicyState];
593
601
  export interface ModifyActivityStreamRequest {
594
602
  ResourceArn?: string;
595
603
  AuditPolicyState?: AuditPolicyState | string;
@@ -629,11 +637,13 @@ export interface ModifyCurrentDBClusterCapacityMessage {
629
637
  SecondsBeforeTimeout?: number;
630
638
  TimeoutAction?: string;
631
639
  }
632
- export declare enum CustomEngineVersionStatus {
633
- available = "available",
634
- inactive = "inactive",
635
- inactive_except_restore = "inactive-except-restore",
636
- }
640
+ export declare const CustomEngineVersionStatus: {
641
+ readonly available: "available";
642
+ readonly inactive: "inactive";
643
+ readonly inactive_except_restore: "inactive-except-restore";
644
+ };
645
+ export type CustomEngineVersionStatus =
646
+ (typeof CustomEngineVersionStatus)[keyof typeof CustomEngineVersionStatus];
637
647
  export interface ModifyCustomDBEngineVersionMessage {
638
648
  Engine: string | undefined;
639
649
  EngineVersion: string | undefined;