@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.
- package/dist-cjs/models/models_0.js +86 -102
- package/dist-cjs/models/models_1.js +42 -49
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/models/models_0.js +86 -102
- package/dist-es/models/models_1.js +42 -49
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/RDS.d.ts +16 -12
- package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -5
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +17 -8
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +227 -118
- package/dist-types/models/models_1.d.ts +95 -48
- package/dist-types/ts3.4/models/models_0.d.ts +115 -87
- package/dist-types/ts3.4/models/models_1.d.ts +52 -42
- package/package.json +36 -36
|
@@ -4,25 +4,22 @@ exports.WriteForwardingStatus = exports.Ec2ImagePropertiesNotSupportedFault = ex
|
|
|
4
4
|
exports.FailoverStatus = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = void 0;
|
|
5
5
|
exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.GlobalClusterQuotaExceededFault = exports.GlobalClusterAlreadyExistsFault = void 0;
|
|
6
6
|
const RDSServiceException_1 = require("./RDSServiceException");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
ActivityStreamStatus["stopped"] = "stopped";
|
|
24
|
-
ActivityStreamStatus["stopping"] = "stopping";
|
|
25
|
-
})(ActivityStreamStatus = exports.ActivityStreamStatus || (exports.ActivityStreamStatus = {}));
|
|
7
|
+
exports.ActivityStreamMode = {
|
|
8
|
+
async: "async",
|
|
9
|
+
sync: "sync",
|
|
10
|
+
};
|
|
11
|
+
exports.ActivityStreamPolicyStatus = {
|
|
12
|
+
locked: "locked",
|
|
13
|
+
locking_policy: "locking-policy",
|
|
14
|
+
unlocked: "unlocked",
|
|
15
|
+
unlocking_policy: "unlocking-policy",
|
|
16
|
+
};
|
|
17
|
+
exports.ActivityStreamStatus = {
|
|
18
|
+
started: "started",
|
|
19
|
+
starting: "starting",
|
|
20
|
+
stopped: "stopped",
|
|
21
|
+
stopping: "stopping",
|
|
22
|
+
};
|
|
26
23
|
class DBClusterNotFoundFault extends RDSServiceException_1.RDSServiceException {
|
|
27
24
|
constructor(opts) {
|
|
28
25
|
super({
|
|
@@ -270,11 +267,10 @@ class InvalidDBSecurityGroupStateFault extends RDSServiceException_1.RDSServiceE
|
|
|
270
267
|
}
|
|
271
268
|
}
|
|
272
269
|
exports.InvalidDBSecurityGroupStateFault = InvalidDBSecurityGroupStateFault;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
})(ExportSourceType = exports.ExportSourceType || (exports.ExportSourceType = {}));
|
|
270
|
+
exports.ExportSourceType = {
|
|
271
|
+
CLUSTER: "CLUSTER",
|
|
272
|
+
SNAPSHOT: "SNAPSHOT",
|
|
273
|
+
};
|
|
278
274
|
class ExportTaskNotFoundFault extends RDSServiceException_1.RDSServiceException {
|
|
279
275
|
constructor(opts) {
|
|
280
276
|
super({
|
|
@@ -613,14 +609,13 @@ class Ec2ImagePropertiesNotSupportedFault extends RDSServiceException_1.RDSServi
|
|
|
613
609
|
}
|
|
614
610
|
}
|
|
615
611
|
exports.Ec2ImagePropertiesNotSupportedFault = Ec2ImagePropertiesNotSupportedFault;
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
})(WriteForwardingStatus = exports.WriteForwardingStatus || (exports.WriteForwardingStatus = {}));
|
|
612
|
+
exports.WriteForwardingStatus = {
|
|
613
|
+
DISABLED: "disabled",
|
|
614
|
+
DISABLING: "disabling",
|
|
615
|
+
ENABLED: "enabled",
|
|
616
|
+
ENABLING: "enabling",
|
|
617
|
+
UNKNOWN: "unknown",
|
|
618
|
+
};
|
|
624
619
|
class DBClusterAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
|
|
625
620
|
constructor(opts) {
|
|
626
621
|
super({
|
|
@@ -829,16 +824,14 @@ class CertificateNotFoundFault extends RDSServiceException_1.RDSServiceException
|
|
|
829
824
|
}
|
|
830
825
|
}
|
|
831
826
|
exports.CertificateNotFoundFault = CertificateNotFoundFault;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
ReplicaMode["OPEN_READ_ONLY"] = "open-read-only";
|
|
841
|
-
})(ReplicaMode = exports.ReplicaMode || (exports.ReplicaMode = {}));
|
|
827
|
+
exports.AutomationMode = {
|
|
828
|
+
ALL_PAUSED: "all-paused",
|
|
829
|
+
FULL: "full",
|
|
830
|
+
};
|
|
831
|
+
exports.ReplicaMode = {
|
|
832
|
+
MOUNTED: "mounted",
|
|
833
|
+
OPEN_READ_ONLY: "open-read-only",
|
|
834
|
+
};
|
|
842
835
|
class DBInstanceAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
|
|
843
836
|
constructor(opts) {
|
|
844
837
|
super({
|
|
@@ -930,41 +923,36 @@ class InvalidDBSubnetGroupFault extends RDSServiceException_1.RDSServiceExceptio
|
|
|
930
923
|
}
|
|
931
924
|
}
|
|
932
925
|
exports.InvalidDBSubnetGroupFault = InvalidDBSubnetGroupFault;
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
DBProxyStatus["MODIFYING"] = "modifying";
|
|
964
|
-
DBProxyStatus["REACTIVATING"] = "reactivating";
|
|
965
|
-
DBProxyStatus["SUSPENDED"] = "suspended";
|
|
966
|
-
DBProxyStatus["SUSPENDING"] = "suspending";
|
|
967
|
-
})(DBProxyStatus = exports.DBProxyStatus || (exports.DBProxyStatus = {}));
|
|
926
|
+
exports.AuthScheme = {
|
|
927
|
+
SECRETS: "SECRETS",
|
|
928
|
+
};
|
|
929
|
+
exports.ClientPasswordAuthType = {
|
|
930
|
+
MYSQL_NATIVE_PASSWORD: "MYSQL_NATIVE_PASSWORD",
|
|
931
|
+
POSTGRES_MD5: "POSTGRES_MD5",
|
|
932
|
+
POSTGRES_SCRAM_SHA_256: "POSTGRES_SCRAM_SHA_256",
|
|
933
|
+
SQL_SERVER_AUTHENTICATION: "SQL_SERVER_AUTHENTICATION",
|
|
934
|
+
};
|
|
935
|
+
exports.IAMAuthMode = {
|
|
936
|
+
DISABLED: "DISABLED",
|
|
937
|
+
ENABLED: "ENABLED",
|
|
938
|
+
REQUIRED: "REQUIRED",
|
|
939
|
+
};
|
|
940
|
+
exports.EngineFamily = {
|
|
941
|
+
MYSQL: "MYSQL",
|
|
942
|
+
POSTGRESQL: "POSTGRESQL",
|
|
943
|
+
SQLSERVER: "SQLSERVER",
|
|
944
|
+
};
|
|
945
|
+
exports.DBProxyStatus = {
|
|
946
|
+
AVAILABLE: "available",
|
|
947
|
+
CREATING: "creating",
|
|
948
|
+
DELETING: "deleting",
|
|
949
|
+
INCOMPATIBLE_NETWORK: "incompatible-network",
|
|
950
|
+
INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits",
|
|
951
|
+
MODIFYING: "modifying",
|
|
952
|
+
REACTIVATING: "reactivating",
|
|
953
|
+
SUSPENDED: "suspended",
|
|
954
|
+
SUSPENDING: "suspending",
|
|
955
|
+
};
|
|
968
956
|
class DBProxyAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
|
|
969
957
|
constructor(opts) {
|
|
970
958
|
super({
|
|
@@ -991,20 +979,18 @@ class DBProxyQuotaExceededFault extends RDSServiceException_1.RDSServiceExceptio
|
|
|
991
979
|
}
|
|
992
980
|
}
|
|
993
981
|
exports.DBProxyQuotaExceededFault = DBProxyQuotaExceededFault;
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
DBProxyEndpointStatus["MODIFYING"] = "modifying";
|
|
1007
|
-
})(DBProxyEndpointStatus = exports.DBProxyEndpointStatus || (exports.DBProxyEndpointStatus = {}));
|
|
982
|
+
exports.DBProxyEndpointTargetRole = {
|
|
983
|
+
READ_ONLY: "READ_ONLY",
|
|
984
|
+
READ_WRITE: "READ_WRITE",
|
|
985
|
+
};
|
|
986
|
+
exports.DBProxyEndpointStatus = {
|
|
987
|
+
AVAILABLE: "available",
|
|
988
|
+
CREATING: "creating",
|
|
989
|
+
DELETING: "deleting",
|
|
990
|
+
INCOMPATIBLE_NETWORK: "incompatible-network",
|
|
991
|
+
INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits",
|
|
992
|
+
MODIFYING: "modifying",
|
|
993
|
+
};
|
|
1008
994
|
class DBProxyEndpointAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
|
|
1009
995
|
constructor(opts) {
|
|
1010
996
|
super({
|
|
@@ -1200,12 +1186,11 @@ class SubscriptionCategoryNotFoundFault extends RDSServiceException_1.RDSService
|
|
|
1200
1186
|
}
|
|
1201
1187
|
}
|
|
1202
1188
|
exports.SubscriptionCategoryNotFoundFault = SubscriptionCategoryNotFoundFault;
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
})(FailoverStatus = exports.FailoverStatus || (exports.FailoverStatus = {}));
|
|
1189
|
+
exports.FailoverStatus = {
|
|
1190
|
+
CANCELLING: "cancelling",
|
|
1191
|
+
FAILING_OVER: "failing-over",
|
|
1192
|
+
PENDING: "pending",
|
|
1193
|
+
};
|
|
1209
1194
|
class GlobalClusterAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
|
|
1210
1195
|
constructor(opts) {
|
|
1211
1196
|
super({
|
|
@@ -1440,8 +1425,7 @@ class DBClusterBacktrackNotFoundFault extends RDSServiceException_1.RDSServiceEx
|
|
|
1440
1425
|
}
|
|
1441
1426
|
}
|
|
1442
1427
|
exports.DBClusterBacktrackNotFoundFault = DBClusterBacktrackNotFoundFault;
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
})(ApplyMethod = exports.ApplyMethod || (exports.ApplyMethod = {}));
|
|
1428
|
+
exports.ApplyMethod = {
|
|
1429
|
+
immediate: "immediate",
|
|
1430
|
+
pending_reboot: "pending-reboot",
|
|
1431
|
+
};
|
|
@@ -2,44 +2,39 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InvalidExportSourceStateFault = exports.InvalidExportOnlyFault = exports.IamRoleNotFoundFault = exports.IamRoleMissingPermissionsFault = exports.ExportTaskAlreadyExistsFault = exports.PointInTimeRestoreNotEnabledFault = exports.InvalidRestoreFault = exports.InsufficientDBClusterCapacityFault = exports.InvalidS3BucketFault = exports.DBInstanceRoleNotFoundFault = exports.DBClusterRoleNotFoundFault = exports.InsufficientAvailableIPsInSubnetFault = exports.DBProxyTargetAlreadyRegisteredFault = exports.ReservedDBInstanceQuotaExceededFault = exports.ReservedDBInstanceAlreadyExistsFault = exports.SubnetAlreadyInUse = exports.DBUpgradeDependencyFailureFault = exports.SharedSnapshotQuotaExceededFault = exports.CustomEngineVersionStatus = exports.InvalidDBClusterCapacityFault = exports.AuditPolicyState = exports.DBLogFileNotFoundFault = exports.ReservedDBInstancesOfferingNotFoundFault = exports.ReservedDBInstanceNotFoundFault = exports.SourceType = exports.TargetType = exports.TargetState = exports.TargetHealthReason = exports.TargetRole = void 0;
|
|
4
4
|
const RDSServiceException_1 = require("./RDSServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
SourceType["db_parameter_group"] = "db-parameter-group";
|
|
39
|
-
SourceType["db_proxy"] = "db-proxy";
|
|
40
|
-
SourceType["db_security_group"] = "db-security-group";
|
|
41
|
-
SourceType["db_snapshot"] = "db-snapshot";
|
|
42
|
-
})(SourceType = exports.SourceType || (exports.SourceType = {}));
|
|
5
|
+
exports.TargetRole = {
|
|
6
|
+
READ_ONLY: "READ_ONLY",
|
|
7
|
+
READ_WRITE: "READ_WRITE",
|
|
8
|
+
UNKNOWN: "UNKNOWN",
|
|
9
|
+
};
|
|
10
|
+
exports.TargetHealthReason = {
|
|
11
|
+
AUTH_FAILURE: "AUTH_FAILURE",
|
|
12
|
+
CONNECTION_FAILED: "CONNECTION_FAILED",
|
|
13
|
+
INVALID_REPLICATION_STATE: "INVALID_REPLICATION_STATE",
|
|
14
|
+
PENDING_PROXY_CAPACITY: "PENDING_PROXY_CAPACITY",
|
|
15
|
+
UNREACHABLE: "UNREACHABLE",
|
|
16
|
+
};
|
|
17
|
+
exports.TargetState = {
|
|
18
|
+
available: "AVAILABLE",
|
|
19
|
+
registering: "REGISTERING",
|
|
20
|
+
unavailable: "UNAVAILABLE",
|
|
21
|
+
};
|
|
22
|
+
exports.TargetType = {
|
|
23
|
+
RDS_INSTANCE: "RDS_INSTANCE",
|
|
24
|
+
RDS_SERVERLESS_ENDPOINT: "RDS_SERVERLESS_ENDPOINT",
|
|
25
|
+
TRACKED_CLUSTER: "TRACKED_CLUSTER",
|
|
26
|
+
};
|
|
27
|
+
exports.SourceType = {
|
|
28
|
+
blue_green_deployment: "blue-green-deployment",
|
|
29
|
+
custom_engine_version: "custom-engine-version",
|
|
30
|
+
db_cluster: "db-cluster",
|
|
31
|
+
db_cluster_snapshot: "db-cluster-snapshot",
|
|
32
|
+
db_instance: "db-instance",
|
|
33
|
+
db_parameter_group: "db-parameter-group",
|
|
34
|
+
db_proxy: "db-proxy",
|
|
35
|
+
db_security_group: "db-security-group",
|
|
36
|
+
db_snapshot: "db-snapshot",
|
|
37
|
+
};
|
|
43
38
|
class ReservedDBInstanceNotFoundFault extends RDSServiceException_1.RDSServiceException {
|
|
44
39
|
constructor(opts) {
|
|
45
40
|
super({
|
|
@@ -79,11 +74,10 @@ class DBLogFileNotFoundFault extends RDSServiceException_1.RDSServiceException {
|
|
|
79
74
|
}
|
|
80
75
|
}
|
|
81
76
|
exports.DBLogFileNotFoundFault = DBLogFileNotFoundFault;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
})(AuditPolicyState = exports.AuditPolicyState || (exports.AuditPolicyState = {}));
|
|
77
|
+
exports.AuditPolicyState = {
|
|
78
|
+
LOCKED_POLICY: "locked",
|
|
79
|
+
UNLOCKED_POLICY: "unlocked",
|
|
80
|
+
};
|
|
87
81
|
class InvalidDBClusterCapacityFault extends RDSServiceException_1.RDSServiceException {
|
|
88
82
|
constructor(opts) {
|
|
89
83
|
super({
|
|
@@ -97,12 +91,11 @@ class InvalidDBClusterCapacityFault extends RDSServiceException_1.RDSServiceExce
|
|
|
97
91
|
}
|
|
98
92
|
}
|
|
99
93
|
exports.InvalidDBClusterCapacityFault = InvalidDBClusterCapacityFault;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
})(CustomEngineVersionStatus = exports.CustomEngineVersionStatus || (exports.CustomEngineVersionStatus = {}));
|
|
94
|
+
exports.CustomEngineVersionStatus = {
|
|
95
|
+
available: "available",
|
|
96
|
+
inactive: "inactive",
|
|
97
|
+
inactive_except_restore: "inactive-except-restore",
|
|
98
|
+
};
|
|
106
99
|
class SharedSnapshotQuotaExceededFault extends RDSServiceException_1.RDSServiceException {
|
|
107
100
|
constructor(opts) {
|
|
108
101
|
super({
|
|
@@ -2825,6 +2825,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
|
|
|
2825
2825
|
};
|
|
2826
2826
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2827
2827
|
switch (errorCode) {
|
|
2828
|
+
case "DBClusterNotFoundFault":
|
|
2829
|
+
case "com.amazonaws.rds#DBClusterNotFoundFault":
|
|
2830
|
+
throw await deserializeAws_queryDBClusterNotFoundFaultResponse(parsedOutput, context);
|
|
2828
2831
|
case "DBInstanceAlreadyExists":
|
|
2829
2832
|
case "com.amazonaws.rds#DBInstanceAlreadyExistsFault":
|
|
2830
2833
|
throw await deserializeAws_queryDBInstanceAlreadyExistsFaultResponse(parsedOutput, context);
|
|
@@ -2855,6 +2858,9 @@ const deserializeAws_queryCreateDBInstanceReadReplicaCommandError = async (outpu
|
|
|
2855
2858
|
case "InsufficientDBInstanceCapacity":
|
|
2856
2859
|
case "com.amazonaws.rds#InsufficientDBInstanceCapacityFault":
|
|
2857
2860
|
throw await deserializeAws_queryInsufficientDBInstanceCapacityFaultResponse(parsedOutput, context);
|
|
2861
|
+
case "InvalidDBClusterStateFault":
|
|
2862
|
+
case "com.amazonaws.rds#InvalidDBClusterStateFault":
|
|
2863
|
+
throw await deserializeAws_queryInvalidDBClusterStateFaultResponse(parsedOutput, context);
|
|
2858
2864
|
case "InvalidDBInstanceState":
|
|
2859
2865
|
case "com.amazonaws.rds#InvalidDBInstanceStateFault":
|
|
2860
2866
|
throw await deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context);
|
|
@@ -9985,6 +9991,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
9985
9991
|
if (input.AllocatedStorage != null) {
|
|
9986
9992
|
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
9987
9993
|
}
|
|
9994
|
+
if (input.SourceDBClusterIdentifier != null) {
|
|
9995
|
+
entries["SourceDBClusterIdentifier"] = input.SourceDBClusterIdentifier;
|
|
9996
|
+
}
|
|
9988
9997
|
return entries;
|
|
9989
9998
|
};
|
|
9990
9999
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -15545,6 +15554,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
15545
15554
|
if (output["CertificateDetails"] !== undefined) {
|
|
15546
15555
|
contents.CertificateDetails = deserializeAws_queryCertificateDetails(output["CertificateDetails"], context);
|
|
15547
15556
|
}
|
|
15557
|
+
if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
|
|
15558
|
+
contents.ReadReplicaSourceDBClusterIdentifier = (0, smithy_client_1.expectString)(output["ReadReplicaSourceDBClusterIdentifier"]);
|
|
15559
|
+
}
|
|
15548
15560
|
return contents;
|
|
15549
15561
|
};
|
|
15550
15562
|
const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import { RDSServiceException as __BaseException } from "./RDSServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
ActivityStreamStatus["stopped"] = "stopped";
|
|
19
|
-
ActivityStreamStatus["stopping"] = "stopping";
|
|
20
|
-
})(ActivityStreamStatus || (ActivityStreamStatus = {}));
|
|
2
|
+
export const ActivityStreamMode = {
|
|
3
|
+
async: "async",
|
|
4
|
+
sync: "sync",
|
|
5
|
+
};
|
|
6
|
+
export const ActivityStreamPolicyStatus = {
|
|
7
|
+
locked: "locked",
|
|
8
|
+
locking_policy: "locking-policy",
|
|
9
|
+
unlocked: "unlocked",
|
|
10
|
+
unlocking_policy: "unlocking-policy",
|
|
11
|
+
};
|
|
12
|
+
export const ActivityStreamStatus = {
|
|
13
|
+
started: "started",
|
|
14
|
+
starting: "starting",
|
|
15
|
+
stopped: "stopped",
|
|
16
|
+
stopping: "stopping",
|
|
17
|
+
};
|
|
21
18
|
export class DBClusterNotFoundFault extends __BaseException {
|
|
22
19
|
constructor(opts) {
|
|
23
20
|
super({
|
|
@@ -246,11 +243,10 @@ export class InvalidDBSecurityGroupStateFault extends __BaseException {
|
|
|
246
243
|
Object.setPrototypeOf(this, InvalidDBSecurityGroupStateFault.prototype);
|
|
247
244
|
}
|
|
248
245
|
}
|
|
249
|
-
export
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
})(ExportSourceType || (ExportSourceType = {}));
|
|
246
|
+
export const ExportSourceType = {
|
|
247
|
+
CLUSTER: "CLUSTER",
|
|
248
|
+
SNAPSHOT: "SNAPSHOT",
|
|
249
|
+
};
|
|
254
250
|
export class ExportTaskNotFoundFault extends __BaseException {
|
|
255
251
|
constructor(opts) {
|
|
256
252
|
super({
|
|
@@ -563,14 +559,13 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
|
|
|
563
559
|
Object.setPrototypeOf(this, Ec2ImagePropertiesNotSupportedFault.prototype);
|
|
564
560
|
}
|
|
565
561
|
}
|
|
566
|
-
export
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
})(WriteForwardingStatus || (WriteForwardingStatus = {}));
|
|
562
|
+
export const WriteForwardingStatus = {
|
|
563
|
+
DISABLED: "disabled",
|
|
564
|
+
DISABLING: "disabling",
|
|
565
|
+
ENABLED: "enabled",
|
|
566
|
+
ENABLING: "enabling",
|
|
567
|
+
UNKNOWN: "unknown",
|
|
568
|
+
};
|
|
574
569
|
export class DBClusterAlreadyExistsFault extends __BaseException {
|
|
575
570
|
constructor(opts) {
|
|
576
571
|
super({
|
|
@@ -763,16 +758,14 @@ export class CertificateNotFoundFault extends __BaseException {
|
|
|
763
758
|
Object.setPrototypeOf(this, CertificateNotFoundFault.prototype);
|
|
764
759
|
}
|
|
765
760
|
}
|
|
766
|
-
export
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
ReplicaMode["OPEN_READ_ONLY"] = "open-read-only";
|
|
775
|
-
})(ReplicaMode || (ReplicaMode = {}));
|
|
761
|
+
export const AutomationMode = {
|
|
762
|
+
ALL_PAUSED: "all-paused",
|
|
763
|
+
FULL: "full",
|
|
764
|
+
};
|
|
765
|
+
export const ReplicaMode = {
|
|
766
|
+
MOUNTED: "mounted",
|
|
767
|
+
OPEN_READ_ONLY: "open-read-only",
|
|
768
|
+
};
|
|
776
769
|
export class DBInstanceAlreadyExistsFault extends __BaseException {
|
|
777
770
|
constructor(opts) {
|
|
778
771
|
super({
|
|
@@ -857,41 +850,36 @@ export class InvalidDBSubnetGroupFault extends __BaseException {
|
|
|
857
850
|
Object.setPrototypeOf(this, InvalidDBSubnetGroupFault.prototype);
|
|
858
851
|
}
|
|
859
852
|
}
|
|
860
|
-
export
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
DBProxyStatus["MODIFYING"] = "modifying";
|
|
891
|
-
DBProxyStatus["REACTIVATING"] = "reactivating";
|
|
892
|
-
DBProxyStatus["SUSPENDED"] = "suspended";
|
|
893
|
-
DBProxyStatus["SUSPENDING"] = "suspending";
|
|
894
|
-
})(DBProxyStatus || (DBProxyStatus = {}));
|
|
853
|
+
export const AuthScheme = {
|
|
854
|
+
SECRETS: "SECRETS",
|
|
855
|
+
};
|
|
856
|
+
export const ClientPasswordAuthType = {
|
|
857
|
+
MYSQL_NATIVE_PASSWORD: "MYSQL_NATIVE_PASSWORD",
|
|
858
|
+
POSTGRES_MD5: "POSTGRES_MD5",
|
|
859
|
+
POSTGRES_SCRAM_SHA_256: "POSTGRES_SCRAM_SHA_256",
|
|
860
|
+
SQL_SERVER_AUTHENTICATION: "SQL_SERVER_AUTHENTICATION",
|
|
861
|
+
};
|
|
862
|
+
export const IAMAuthMode = {
|
|
863
|
+
DISABLED: "DISABLED",
|
|
864
|
+
ENABLED: "ENABLED",
|
|
865
|
+
REQUIRED: "REQUIRED",
|
|
866
|
+
};
|
|
867
|
+
export const EngineFamily = {
|
|
868
|
+
MYSQL: "MYSQL",
|
|
869
|
+
POSTGRESQL: "POSTGRESQL",
|
|
870
|
+
SQLSERVER: "SQLSERVER",
|
|
871
|
+
};
|
|
872
|
+
export const DBProxyStatus = {
|
|
873
|
+
AVAILABLE: "available",
|
|
874
|
+
CREATING: "creating",
|
|
875
|
+
DELETING: "deleting",
|
|
876
|
+
INCOMPATIBLE_NETWORK: "incompatible-network",
|
|
877
|
+
INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits",
|
|
878
|
+
MODIFYING: "modifying",
|
|
879
|
+
REACTIVATING: "reactivating",
|
|
880
|
+
SUSPENDED: "suspended",
|
|
881
|
+
SUSPENDING: "suspending",
|
|
882
|
+
};
|
|
895
883
|
export class DBProxyAlreadyExistsFault extends __BaseException {
|
|
896
884
|
constructor(opts) {
|
|
897
885
|
super({
|
|
@@ -916,20 +904,18 @@ export class DBProxyQuotaExceededFault extends __BaseException {
|
|
|
916
904
|
Object.setPrototypeOf(this, DBProxyQuotaExceededFault.prototype);
|
|
917
905
|
}
|
|
918
906
|
}
|
|
919
|
-
export
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
DBProxyEndpointStatus["MODIFYING"] = "modifying";
|
|
932
|
-
})(DBProxyEndpointStatus || (DBProxyEndpointStatus = {}));
|
|
907
|
+
export const DBProxyEndpointTargetRole = {
|
|
908
|
+
READ_ONLY: "READ_ONLY",
|
|
909
|
+
READ_WRITE: "READ_WRITE",
|
|
910
|
+
};
|
|
911
|
+
export const DBProxyEndpointStatus = {
|
|
912
|
+
AVAILABLE: "available",
|
|
913
|
+
CREATING: "creating",
|
|
914
|
+
DELETING: "deleting",
|
|
915
|
+
INCOMPATIBLE_NETWORK: "incompatible-network",
|
|
916
|
+
INSUFFICIENT_RESOURCE_LIMITS: "insufficient-resource-limits",
|
|
917
|
+
MODIFYING: "modifying",
|
|
918
|
+
};
|
|
933
919
|
export class DBProxyEndpointAlreadyExistsFault extends __BaseException {
|
|
934
920
|
constructor(opts) {
|
|
935
921
|
super({
|
|
@@ -1110,12 +1096,11 @@ export class SubscriptionCategoryNotFoundFault extends __BaseException {
|
|
|
1110
1096
|
Object.setPrototypeOf(this, SubscriptionCategoryNotFoundFault.prototype);
|
|
1111
1097
|
}
|
|
1112
1098
|
}
|
|
1113
|
-
export
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
})(FailoverStatus || (FailoverStatus = {}));
|
|
1099
|
+
export const FailoverStatus = {
|
|
1100
|
+
CANCELLING: "cancelling",
|
|
1101
|
+
FAILING_OVER: "failing-over",
|
|
1102
|
+
PENDING: "pending",
|
|
1103
|
+
};
|
|
1119
1104
|
export class GlobalClusterAlreadyExistsFault extends __BaseException {
|
|
1120
1105
|
constructor(opts) {
|
|
1121
1106
|
super({
|
|
@@ -1332,8 +1317,7 @@ export class DBClusterBacktrackNotFoundFault extends __BaseException {
|
|
|
1332
1317
|
Object.setPrototypeOf(this, DBClusterBacktrackNotFoundFault.prototype);
|
|
1333
1318
|
}
|
|
1334
1319
|
}
|
|
1335
|
-
export
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
})(ApplyMethod || (ApplyMethod = {}));
|
|
1320
|
+
export const ApplyMethod = {
|
|
1321
|
+
immediate: "immediate",
|
|
1322
|
+
pending_reboot: "pending-reboot",
|
|
1323
|
+
};
|