@aws-sdk/client-rds 3.288.0 → 3.290.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 (142) hide show
  1. package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +14 -0
  2. package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +14 -0
  3. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +24 -0
  4. package/dist-types/commands/AddTagsToResourceCommand.d.ts +40 -0
  5. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +28 -0
  6. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +32 -0
  7. package/dist-types/commands/BacktrackDBClusterCommand.d.ts +8 -0
  8. package/dist-types/commands/CancelExportTaskCommand.d.ts +7 -0
  9. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +31 -0
  10. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +38 -0
  11. package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +31 -0
  12. package/dist-types/commands/CopyDBSnapshotCommand.d.ts +41 -0
  13. package/dist-types/commands/CopyOptionGroupCommand.d.ts +28 -0
  14. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +42 -0
  15. package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +13 -0
  16. package/dist-types/commands/CreateDBClusterCommand.d.ts +94 -0
  17. package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +21 -0
  18. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +26 -0
  19. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +35 -0
  20. package/dist-types/commands/CreateDBInstanceCommand.d.ts +100 -0
  21. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +102 -0
  22. package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +26 -0
  23. package/dist-types/commands/CreateDBProxyCommand.d.ts +10 -0
  24. package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +16 -0
  25. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +29 -0
  26. package/dist-types/commands/CreateDBSnapshotCommand.d.ts +33 -0
  27. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +40 -0
  28. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +47 -0
  29. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +14 -0
  30. package/dist-types/commands/CreateOptionGroupCommand.d.ts +26 -0
  31. package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +9 -0
  32. package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +7 -0
  33. package/dist-types/commands/DeleteDBClusterCommand.d.ts +35 -0
  34. package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +10 -0
  35. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +22 -0
  36. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +24 -0
  37. package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +8 -0
  38. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +41 -0
  39. package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +22 -0
  40. package/dist-types/commands/DeleteDBProxyCommand.d.ts +7 -0
  41. package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +7 -0
  42. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +19 -0
  43. package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +24 -0
  44. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +22 -0
  45. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +23 -0
  46. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +7 -0
  47. package/dist-types/commands/DeleteOptionGroupCommand.d.ts +18 -0
  48. package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +13 -0
  49. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +10 -0
  50. package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +5 -0
  51. package/dist-types/commands/DescribeCertificatesCommand.d.ts +18 -0
  52. package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +9 -0
  53. package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +17 -0
  55. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +18 -0
  56. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +21 -0
  57. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +17 -0
  58. package/dist-types/commands/DescribeDBClustersCommand.d.ts +16 -0
  59. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +16 -0
  60. package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +4 -0
  61. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +16 -0
  62. package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +19 -0
  63. package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +17 -0
  64. package/dist-types/commands/DescribeDBParametersCommand.d.ts +19 -0
  65. package/dist-types/commands/DescribeDBProxiesCommand.d.ts +4 -0
  66. package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +7 -0
  67. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +10 -0
  68. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +13 -0
  69. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +16 -0
  70. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +21 -0
  71. package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +19 -0
  72. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +16 -0
  73. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +17 -0
  74. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +17 -0
  75. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +12 -0
  76. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +15 -0
  77. package/dist-types/commands/DescribeEventsCommand.d.ts +17 -0
  78. package/dist-types/commands/DescribeExportTasksCommand.d.ts +4 -0
  79. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +4 -0
  80. package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +13 -0
  81. package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +16 -0
  82. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +16 -0
  83. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +15 -0
  84. package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +19 -0
  85. package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +19 -0
  86. package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +66 -0
  87. package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +8 -0
  88. package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +21 -0
  89. package/dist-types/commands/FailoverDBClusterCommand.d.ts +28 -0
  90. package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +14 -0
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +34 -0
  92. package/dist-types/commands/ModifyActivityStreamCommand.d.ts +11 -0
  93. package/dist-types/commands/ModifyCertificatesCommand.d.ts +6 -0
  94. package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +14 -0
  95. package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +7 -0
  96. package/dist-types/commands/ModifyDBClusterCommand.d.ts +65 -0
  97. package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +17 -0
  98. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +29 -0
  99. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +35 -0
  100. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +98 -0
  101. package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +29 -0
  102. package/dist-types/commands/ModifyDBProxyCommand.d.ts +10 -0
  103. package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +13 -0
  104. package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +10 -0
  105. package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +31 -0
  106. package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +5 -0
  107. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +38 -0
  108. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +41 -0
  109. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +13 -0
  110. package/dist-types/commands/ModifyOptionGroupCommand.d.ts +32 -0
  111. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +26 -0
  112. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +8 -0
  113. package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +27 -0
  114. package/dist-types/commands/RebootDBClusterCommand.d.ts +11 -0
  115. package/dist-types/commands/RebootDBInstanceCommand.d.ts +25 -0
  116. package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +32 -0
  117. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +11 -0
  118. package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +11 -0
  119. package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +12 -0
  120. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +24 -0
  121. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +37 -0
  122. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +23 -0
  123. package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +23 -0
  124. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +54 -0
  125. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +84 -0
  126. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +84 -0
  127. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +174 -0
  128. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +67 -0
  129. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +180 -0
  130. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +31 -0
  131. package/dist-types/commands/StartActivityStreamCommand.d.ts +21 -0
  132. package/dist-types/commands/StartDBClusterCommand.d.ts +11 -0
  133. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +20 -0
  134. package/dist-types/commands/StartDBInstanceCommand.d.ts +42 -0
  135. package/dist-types/commands/StartExportTaskCommand.d.ts +35 -0
  136. package/dist-types/commands/StopActivityStreamCommand.d.ts +18 -0
  137. package/dist-types/commands/StopDBClusterCommand.d.ts +11 -0
  138. package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +8 -0
  139. package/dist-types/commands/StopDBInstanceCommand.d.ts +19 -0
  140. package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +9 -0
  141. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +8 -0
  142. package/package.json +31 -31
@@ -58,6 +58,32 @@ export interface CreateDBClusterParameterGroupCommandOutput extends CreateDBClus
58
58
  * @see {@link CreateDBClusterParameterGroupCommandOutput} for command's `response` shape.
59
59
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
60
60
  *
61
+ * @throws {@link DBParameterGroupAlreadyExistsFault} (client fault)
62
+ * <p>A DB parameter group with the same name exists.</p>
63
+ *
64
+ * @throws {@link DBParameterGroupQuotaExceededFault} (client fault)
65
+ * <p>The request would result in the user exceeding the allowed number of DB parameter
66
+ * groups.</p>
67
+ *
68
+ *
69
+ * @example To create a DB cluster parameter group
70
+ * ```javascript
71
+ * // This example creates a DB cluster parameter group.
72
+ * const input = {
73
+ * "DBClusterParameterGroupName": "mydbclusterparametergroup",
74
+ * "DBParameterGroupFamily": "aurora5.6",
75
+ * "Description": "My DB cluster parameter group"
76
+ * };
77
+ * const command = new CreateDBClusterParameterGroupCommand(input);
78
+ * const response = await client.send(command);
79
+ * /* response ==
80
+ * {
81
+ * "DBClusterParameterGroup": {}
82
+ * }
83
+ * *\/
84
+ * // example id: create-db-cluster-parameter-group-8eb1c3ae-1965-4262-afe3-ee134c4430b1
85
+ * ```
86
+ *
61
87
  */
62
88
  export declare class CreateDBClusterParameterGroupCommand extends $Command<CreateDBClusterParameterGroupCommandInput, CreateDBClusterParameterGroupCommandOutput, RDSClientResolvedConfig> {
63
89
  readonly input: CreateDBClusterParameterGroupCommandInput;
@@ -34,6 +34,41 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
34
34
  * @see {@link CreateDBClusterSnapshotCommandOutput} for command's `response` shape.
35
35
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
36
36
  *
37
+ * @throws {@link DBClusterNotFoundFault} (client fault)
38
+ * <p>
39
+ * <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
40
+ *
41
+ * @throws {@link DBClusterSnapshotAlreadyExistsFault} (client fault)
42
+ * <p>The user already has a DB cluster snapshot with the given identifier.</p>
43
+ *
44
+ * @throws {@link InvalidDBClusterSnapshotStateFault} (client fault)
45
+ * <p>The supplied value isn't a valid DB cluster snapshot state.</p>
46
+ *
47
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
48
+ * <p>The requested operation can't be performed while the cluster is in this state.</p>
49
+ *
50
+ * @throws {@link SnapshotQuotaExceededFault} (client fault)
51
+ * <p>The request would result in the user exceeding the allowed number of DB
52
+ * snapshots.</p>
53
+ *
54
+ *
55
+ * @example To create a DB cluster snapshot
56
+ * ```javascript
57
+ * // This example creates a DB cluster snapshot.
58
+ * const input = {
59
+ * "DBClusterIdentifier": "mydbcluster",
60
+ * "DBClusterSnapshotIdentifier": "mydbclustersnapshot"
61
+ * };
62
+ * const command = new CreateDBClusterSnapshotCommand(input);
63
+ * const response = await client.send(command);
64
+ * /* response ==
65
+ * {
66
+ * "DBClusterSnapshot": {}
67
+ * }
68
+ * *\/
69
+ * // example id: create-db-cluster-snapshot-
70
+ * ```
71
+ *
37
72
  */
38
73
  export declare class CreateDBClusterSnapshotCommand extends $Command<CreateDBClusterSnapshotCommandInput, CreateDBClusterSnapshotCommandOutput, RDSClientResolvedConfig> {
39
74
  readonly input: CreateDBClusterSnapshotCommandInput;
@@ -37,6 +37,106 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
37
37
  * @see {@link CreateDBInstanceCommandOutput} for command's `response` shape.
38
38
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
39
39
  *
40
+ * @throws {@link AuthorizationNotFoundFault} (client fault)
41
+ * <p>The specified CIDR IP range or Amazon EC2 security group might not be authorized
42
+ * for the specified DB security group.</p>
43
+ * <p>Or, RDS might not be authorized to perform necessary actions using IAM on your
44
+ * behalf.</p>
45
+ *
46
+ * @throws {@link BackupPolicyNotFoundFault} (client fault)
47
+ *
48
+ * @throws {@link CertificateNotFoundFault} (client fault)
49
+ * <p>
50
+ * <code>CertificateIdentifier</code> doesn't refer to an
51
+ * existing certificate.</p>
52
+ *
53
+ * @throws {@link DBClusterNotFoundFault} (client fault)
54
+ * <p>
55
+ * <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
56
+ *
57
+ * @throws {@link DBInstanceAlreadyExistsFault} (client fault)
58
+ * <p>The user already has a DB instance with the given identifier.</p>
59
+ *
60
+ * @throws {@link DBParameterGroupNotFoundFault} (client fault)
61
+ * <p>
62
+ * <code>DBParameterGroupName</code> doesn't refer to an
63
+ * existing DB parameter group.</p>
64
+ *
65
+ * @throws {@link DBSecurityGroupNotFoundFault} (client fault)
66
+ * <p>
67
+ * <code>DBSecurityGroupName</code> doesn't refer to an existing DB security group.</p>
68
+ *
69
+ * @throws {@link DBSubnetGroupDoesNotCoverEnoughAZs} (client fault)
70
+ * <p>Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.</p>
71
+ *
72
+ * @throws {@link DBSubnetGroupNotFoundFault} (client fault)
73
+ * <p>
74
+ * <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.</p>
75
+ *
76
+ * @throws {@link DomainNotFoundFault} (client fault)
77
+ * <p>
78
+ * <code>Domain</code> doesn't refer to an existing Active Directory domain.</p>
79
+ *
80
+ * @throws {@link InstanceQuotaExceededFault} (client fault)
81
+ * <p>The request would result in the user exceeding the allowed number of DB
82
+ * instances.</p>
83
+ *
84
+ * @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
85
+ * <p>The specified DB instance class isn't available in the specified Availability
86
+ * Zone.</p>
87
+ *
88
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
89
+ * <p>The requested operation can't be performed while the cluster is in this state.</p>
90
+ *
91
+ * @throws {@link InvalidSubnet} (client fault)
92
+ * <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
93
+ *
94
+ * @throws {@link InvalidVPCNetworkStateFault} (client fault)
95
+ * <p>The DB subnet group doesn't cover all Availability Zones after it's
96
+ * created because of users' change.</p>
97
+ *
98
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
99
+ * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
100
+ *
101
+ * @throws {@link NetworkTypeNotSupported} (client fault)
102
+ * <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
103
+ *
104
+ * @throws {@link OptionGroupNotFoundFault} (client fault)
105
+ * <p>The specified option group could not be found.</p>
106
+ *
107
+ * @throws {@link ProvisionedIopsNotAvailableInAZFault} (client fault)
108
+ * <p>Provisioned IOPS not available in the specified Availability Zone.</p>
109
+ *
110
+ * @throws {@link StorageQuotaExceededFault} (client fault)
111
+ * <p>The request would result in the user exceeding the allowed amount of storage
112
+ * available across all DB instances.</p>
113
+ *
114
+ * @throws {@link StorageTypeNotSupportedFault} (client fault)
115
+ * <p>Storage of the <code>StorageType</code> specified can't be associated
116
+ * with the DB instance.</p>
117
+ *
118
+ *
119
+ * @example To create a DB instance.
120
+ * ```javascript
121
+ * // This example creates a DB instance.
122
+ * const input = {
123
+ * "AllocatedStorage": 5,
124
+ * "DBInstanceClass": "db.t2.micro",
125
+ * "DBInstanceIdentifier": "mymysqlinstance",
126
+ * "Engine": "MySQL",
127
+ * "MasterUserPassword": "MyPassword",
128
+ * "MasterUsername": "MyUser"
129
+ * };
130
+ * const command = new CreateDBInstanceCommand(input);
131
+ * const response = await client.send(command);
132
+ * /* response ==
133
+ * {
134
+ * "DBInstance": {}
135
+ * }
136
+ * *\/
137
+ * // example id: create-db-instance-57eb5d16-8bf8-4c84-9709-1700322b37b9
138
+ * ```
139
+ *
40
140
  */
41
141
  export declare class CreateDBInstanceCommand extends $Command<CreateDBInstanceCommandInput, CreateDBInstanceCommandOutput, RDSClientResolvedConfig> {
42
142
  readonly input: CreateDBInstanceCommandInput;
@@ -40,6 +40,108 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
40
40
  * @see {@link CreateDBInstanceReadReplicaCommandOutput} for command's `response` shape.
41
41
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
42
42
  *
43
+ * @throws {@link DBInstanceAlreadyExistsFault} (client fault)
44
+ * <p>The user already has a DB instance with the given identifier.</p>
45
+ *
46
+ * @throws {@link DBInstanceNotFoundFault} (client fault)
47
+ * <p>
48
+ * <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
49
+ *
50
+ * @throws {@link DBParameterGroupNotFoundFault} (client fault)
51
+ * <p>
52
+ * <code>DBParameterGroupName</code> doesn't refer to an
53
+ * existing DB parameter group.</p>
54
+ *
55
+ * @throws {@link DBSecurityGroupNotFoundFault} (client fault)
56
+ * <p>
57
+ * <code>DBSecurityGroupName</code> doesn't refer to an existing DB security group.</p>
58
+ *
59
+ * @throws {@link DBSubnetGroupDoesNotCoverEnoughAZs} (client fault)
60
+ * <p>Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.</p>
61
+ *
62
+ * @throws {@link DBSubnetGroupNotAllowedFault} (client fault)
63
+ * <p>The DBSubnetGroup shouldn't be specified while creating read replicas that lie
64
+ * in the same region as the source instance.</p>
65
+ *
66
+ * @throws {@link DBSubnetGroupNotFoundFault} (client fault)
67
+ * <p>
68
+ * <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.</p>
69
+ *
70
+ * @throws {@link DomainNotFoundFault} (client fault)
71
+ * <p>
72
+ * <code>Domain</code> doesn't refer to an existing Active Directory domain.</p>
73
+ *
74
+ * @throws {@link InstanceQuotaExceededFault} (client fault)
75
+ * <p>The request would result in the user exceeding the allowed number of DB
76
+ * instances.</p>
77
+ *
78
+ * @throws {@link InsufficientDBInstanceCapacityFault} (client fault)
79
+ * <p>The specified DB instance class isn't available in the specified Availability
80
+ * Zone.</p>
81
+ *
82
+ * @throws {@link InvalidDBInstanceStateFault} (client fault)
83
+ * <p>The DB instance isn't in a valid state.</p>
84
+ *
85
+ * @throws {@link InvalidDBSubnetGroupFault} (client fault)
86
+ * <p>The DBSubnetGroup doesn't belong to the same VPC as that of an existing
87
+ * cross-region read replica of the same source instance.</p>
88
+ *
89
+ * @throws {@link InvalidSubnet} (client fault)
90
+ * <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
91
+ *
92
+ * @throws {@link InvalidVPCNetworkStateFault} (client fault)
93
+ * <p>The DB subnet group doesn't cover all Availability Zones after it's
94
+ * created because of users' change.</p>
95
+ *
96
+ * @throws {@link KMSKeyNotAccessibleFault} (client fault)
97
+ * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
98
+ *
99
+ * @throws {@link NetworkTypeNotSupported} (client fault)
100
+ * <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
101
+ *
102
+ * @throws {@link OptionGroupNotFoundFault} (client fault)
103
+ * <p>The specified option group could not be found.</p>
104
+ *
105
+ * @throws {@link ProvisionedIopsNotAvailableInAZFault} (client fault)
106
+ * <p>Provisioned IOPS not available in the specified Availability Zone.</p>
107
+ *
108
+ * @throws {@link StorageQuotaExceededFault} (client fault)
109
+ * <p>The request would result in the user exceeding the allowed amount of storage
110
+ * available across all DB instances.</p>
111
+ *
112
+ * @throws {@link StorageTypeNotSupportedFault} (client fault)
113
+ * <p>Storage of the <code>StorageType</code> specified can't be associated
114
+ * with the DB instance.</p>
115
+ *
116
+ *
117
+ * @example To create a DB instance read replica.
118
+ * ```javascript
119
+ * // This example creates a DB instance read replica.
120
+ * const input = {
121
+ * "AvailabilityZone": "us-east-1a",
122
+ * "CopyTagsToSnapshot": true,
123
+ * "DBInstanceClass": "db.t2.micro",
124
+ * "DBInstanceIdentifier": "mydbreadreplica",
125
+ * "PubliclyAccessible": true,
126
+ * "SourceDBInstanceIdentifier": "mymysqlinstance",
127
+ * "StorageType": "gp2",
128
+ * "Tags": [
129
+ * {
130
+ * "Key": "mydbreadreplicakey",
131
+ * "Value": "mydbreadreplicavalue"
132
+ * }
133
+ * ]
134
+ * };
135
+ * const command = new CreateDBInstanceReadReplicaCommand(input);
136
+ * const response = await client.send(command);
137
+ * /* response ==
138
+ * {
139
+ * "DBInstance": {}
140
+ * }
141
+ * *\/
142
+ * // example id: create-db-instance-read-replica-81b41cd5-2871-4dae-bc59-3e264449d5fe
143
+ * ```
144
+ *
43
145
  */
44
146
  export declare class CreateDBInstanceReadReplicaCommand extends $Command<CreateDBInstanceReadReplicaCommandInput, CreateDBInstanceReadReplicaCommandOutput, RDSClientResolvedConfig> {
45
147
  readonly input: CreateDBInstanceReadReplicaCommandInput;
@@ -48,6 +48,32 @@ export interface CreateDBParameterGroupCommandOutput extends CreateDBParameterGr
48
48
  * @see {@link CreateDBParameterGroupCommandOutput} for command's `response` shape.
49
49
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
50
50
  *
51
+ * @throws {@link DBParameterGroupAlreadyExistsFault} (client fault)
52
+ * <p>A DB parameter group with the same name exists.</p>
53
+ *
54
+ * @throws {@link DBParameterGroupQuotaExceededFault} (client fault)
55
+ * <p>The request would result in the user exceeding the allowed number of DB parameter
56
+ * groups.</p>
57
+ *
58
+ *
59
+ * @example To create a DB parameter group.
60
+ * ```javascript
61
+ * // This example creates a DB parameter group.
62
+ * const input = {
63
+ * "DBParameterGroupFamily": "mysql5.6",
64
+ * "DBParameterGroupName": "mymysqlparametergroup",
65
+ * "Description": "My MySQL parameter group"
66
+ * };
67
+ * const command = new CreateDBParameterGroupCommand(input);
68
+ * const response = await client.send(command);
69
+ * /* response ==
70
+ * {
71
+ * "DBParameterGroup": {}
72
+ * }
73
+ * *\/
74
+ * // example id: create-db-parameter-group-42afcc37-12e9-4b6a-a55c-b8a141246e87
75
+ * ```
76
+ *
51
77
  */
52
78
  export declare class CreateDBParameterGroupCommand extends $Command<CreateDBParameterGroupCommandInput, CreateDBParameterGroupCommandOutput, RDSClientResolvedConfig> {
53
79
  readonly input: CreateDBParameterGroupCommandInput;
@@ -29,6 +29,16 @@ export interface CreateDBProxyCommandOutput extends CreateDBProxyResponse, __Met
29
29
  * @see {@link CreateDBProxyCommandOutput} for command's `response` shape.
30
30
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
31
31
  *
32
+ * @throws {@link DBProxyAlreadyExistsFault} (client fault)
33
+ * <p>The specified proxy name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.</p>
34
+ *
35
+ * @throws {@link DBProxyQuotaExceededFault} (client fault)
36
+ * <p>Your Amazon Web Services account already has the maximum number of proxies in the specified Amazon Web Services Region.</p>
37
+ *
38
+ * @throws {@link InvalidSubnet} (client fault)
39
+ * <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class CreateDBProxyCommand extends $Command<CreateDBProxyCommandInput, CreateDBProxyCommandOutput, RDSClientResolvedConfig> {
34
44
  readonly input: CreateDBProxyCommandInput;
@@ -31,6 +31,22 @@ export interface CreateDBProxyEndpointCommandOutput extends CreateDBProxyEndpoin
31
31
  * @see {@link CreateDBProxyEndpointCommandOutput} for command's `response` shape.
32
32
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
33
33
  *
34
+ * @throws {@link DBProxyEndpointAlreadyExistsFault} (client fault)
35
+ * <p>The specified DB proxy endpoint name must be unique for all DB proxy endpoints owned by your Amazon Web Services account in the specified Amazon Web Services Region.</p>
36
+ *
37
+ * @throws {@link DBProxyEndpointQuotaExceededFault} (client fault)
38
+ * <p>The DB proxy already has the maximum number of endpoints.</p>
39
+ *
40
+ * @throws {@link DBProxyNotFoundFault} (client fault)
41
+ * <p>The specified proxy name doesn't correspond to a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.</p>
42
+ *
43
+ * @throws {@link InvalidDBProxyStateFault} (client fault)
44
+ * <p>The requested operation can't be performed while the proxy is in this state.</p>
45
+ *
46
+ * @throws {@link InvalidSubnet} (client fault)
47
+ * <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
48
+ *
49
+ *
34
50
  */
35
51
  export declare class CreateDBProxyEndpointCommand extends $Command<CreateDBProxyEndpointCommandInput, CreateDBProxyEndpointCommandOutput, RDSClientResolvedConfig> {
36
52
  readonly input: CreateDBProxyEndpointCommandInput;
@@ -37,6 +37,35 @@ export interface CreateDBSecurityGroupCommandOutput extends CreateDBSecurityGrou
37
37
  * @see {@link CreateDBSecurityGroupCommandOutput} for command's `response` shape.
38
38
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
39
39
  *
40
+ * @throws {@link DBSecurityGroupAlreadyExistsFault} (client fault)
41
+ * <p>A DB security group with the name specified in
42
+ * <code>DBSecurityGroupName</code> already exists.</p>
43
+ *
44
+ * @throws {@link DBSecurityGroupNotSupportedFault} (client fault)
45
+ * <p>A DB security group isn't allowed for this action.</p>
46
+ *
47
+ * @throws {@link DBSecurityGroupQuotaExceededFault} (client fault)
48
+ * <p>The request would result in the user exceeding the allowed number of DB security
49
+ * groups.</p>
50
+ *
51
+ *
52
+ * @example To create a DB security group.
53
+ * ```javascript
54
+ * // This example creates a DB security group.
55
+ * const input = {
56
+ * "DBSecurityGroupDescription": "My DB security group",
57
+ * "DBSecurityGroupName": "mydbsecuritygroup"
58
+ * };
59
+ * const command = new CreateDBSecurityGroupCommand(input);
60
+ * const response = await client.send(command);
61
+ * /* response ==
62
+ * {
63
+ * "DBSecurityGroup": {}
64
+ * }
65
+ * *\/
66
+ * // example id: create-db-security-group-41b6786a-539e-42a5-a645-a8bc3cf99353
67
+ * ```
68
+ *
40
69
  */
41
70
  export declare class CreateDBSecurityGroupCommand extends $Command<CreateDBSecurityGroupCommandInput, CreateDBSecurityGroupCommandOutput, RDSClientResolvedConfig> {
42
71
  readonly input: CreateDBSecurityGroupCommandInput;
@@ -30,6 +30,39 @@ export interface CreateDBSnapshotCommandOutput extends CreateDBSnapshotResult, _
30
30
  * @see {@link CreateDBSnapshotCommandOutput} for command's `response` shape.
31
31
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
32
32
  *
33
+ * @throws {@link DBInstanceNotFoundFault} (client fault)
34
+ * <p>
35
+ * <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
36
+ *
37
+ * @throws {@link DBSnapshotAlreadyExistsFault} (client fault)
38
+ * <p>
39
+ * <code>DBSnapshotIdentifier</code> is already used by an existing snapshot.</p>
40
+ *
41
+ * @throws {@link InvalidDBInstanceStateFault} (client fault)
42
+ * <p>The DB instance isn't in a valid state.</p>
43
+ *
44
+ * @throws {@link SnapshotQuotaExceededFault} (client fault)
45
+ * <p>The request would result in the user exceeding the allowed number of DB
46
+ * snapshots.</p>
47
+ *
48
+ *
49
+ * @example To create a DB snapshot.
50
+ * ```javascript
51
+ * // This example creates a DB snapshot.
52
+ * const input = {
53
+ * "DBInstanceIdentifier": "mymysqlinstance",
54
+ * "DBSnapshotIdentifier": "mydbsnapshot"
55
+ * };
56
+ * const command = new CreateDBSnapshotCommand(input);
57
+ * const response = await client.send(command);
58
+ * /* response ==
59
+ * {
60
+ * "DBSnapshot": {}
61
+ * }
62
+ * *\/
63
+ * // example id: create-db-snapshot-e10e0e2c-9ac4-426d-9b17-6b6a3e382ce2
64
+ * ```
65
+ *
33
66
  */
34
67
  export declare class CreateDBSnapshotCommand extends $Command<CreateDBSnapshotCommandInput, CreateDBSnapshotCommandOutput, RDSClientResolvedConfig> {
35
68
  readonly input: CreateDBSnapshotCommandInput;
@@ -29,6 +29,46 @@ export interface CreateDBSubnetGroupCommandOutput extends CreateDBSubnetGroupRes
29
29
  * @see {@link CreateDBSubnetGroupCommandOutput} for command's `response` shape.
30
30
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
31
31
  *
32
+ * @throws {@link DBSubnetGroupAlreadyExistsFault} (client fault)
33
+ * <p>
34
+ * <code>DBSubnetGroupName</code> is already used by an existing DB subnet group.</p>
35
+ *
36
+ * @throws {@link DBSubnetGroupDoesNotCoverEnoughAZs} (client fault)
37
+ * <p>Subnets in the DB subnet group should cover at least two Availability Zones unless there is only one Availability Zone.</p>
38
+ *
39
+ * @throws {@link DBSubnetGroupQuotaExceededFault} (client fault)
40
+ * <p>The request would result in the user exceeding the allowed number of DB subnet
41
+ * groups.</p>
42
+ *
43
+ * @throws {@link DBSubnetQuotaExceededFault} (client fault)
44
+ * <p>The request would result in the user exceeding the allowed number of subnets in a
45
+ * DB subnet groups.</p>
46
+ *
47
+ * @throws {@link InvalidSubnet} (client fault)
48
+ * <p>The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.</p>
49
+ *
50
+ *
51
+ * @example To create a DB subnet group.
52
+ * ```javascript
53
+ * // This example creates a DB subnet group.
54
+ * const input = {
55
+ * "DBSubnetGroupDescription": "My DB subnet group",
56
+ * "DBSubnetGroupName": "mydbsubnetgroup",
57
+ * "SubnetIds": [
58
+ * "subnet-1fab8a69",
59
+ * "subnet-d43a468c"
60
+ * ]
61
+ * };
62
+ * const command = new CreateDBSubnetGroupCommand(input);
63
+ * const response = await client.send(command);
64
+ * /* response ==
65
+ * {
66
+ * "DBSubnetGroup": {}
67
+ * }
68
+ * *\/
69
+ * // example id: create-db-subnet-group-c3d162c2-0ec4-4955-ba89-18967615fdb8
70
+ * ```
71
+ *
32
72
  */
33
73
  export declare class CreateDBSubnetGroupCommand extends $Command<CreateDBSubnetGroupCommandInput, CreateDBSubnetGroupCommandOutput, RDSClientResolvedConfig> {
34
74
  readonly input: CreateDBSubnetGroupCommandInput;
@@ -52,6 +52,53 @@ export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscri
52
52
  * @see {@link CreateEventSubscriptionCommandOutput} for command's `response` shape.
53
53
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
54
54
  *
55
+ * @throws {@link EventSubscriptionQuotaExceededFault} (client fault)
56
+ * <p>You have reached the maximum number of event subscriptions.</p>
57
+ *
58
+ * @throws {@link SNSInvalidTopicFault} (client fault)
59
+ * <p>SNS has responded that there is a problem with the SNS topic specified.</p>
60
+ *
61
+ * @throws {@link SNSNoAuthorizationFault} (client fault)
62
+ * <p>You do not have permission to publish to the SNS topic ARN.</p>
63
+ *
64
+ * @throws {@link SNSTopicArnNotFoundFault} (client fault)
65
+ * <p>The SNS topic ARN does not exist.</p>
66
+ *
67
+ * @throws {@link SourceNotFoundFault} (client fault)
68
+ * <p>The requested source could not be found.</p>
69
+ *
70
+ * @throws {@link SubscriptionAlreadyExistFault} (client fault)
71
+ * <p>The supplied subscription name already exists.</p>
72
+ *
73
+ * @throws {@link SubscriptionCategoryNotFoundFault} (client fault)
74
+ * <p>The supplied category does not exist.</p>
75
+ *
76
+ *
77
+ * @example To create an event notification subscription
78
+ * ```javascript
79
+ * // This example creates an event notification subscription.
80
+ * const input = {
81
+ * "Enabled": true,
82
+ * "EventCategories": [
83
+ * "availability"
84
+ * ],
85
+ * "SnsTopicArn": "arn:aws:sns:us-east-1:992648334831:MyDemoSNSTopic",
86
+ * "SourceIds": [
87
+ * "mymysqlinstance"
88
+ * ],
89
+ * "SourceType": "db-instance",
90
+ * "SubscriptionName": "mymysqleventsubscription"
91
+ * };
92
+ * const command = new CreateEventSubscriptionCommand(input);
93
+ * const response = await client.send(command);
94
+ * /* response ==
95
+ * {
96
+ * "EventSubscription": {}
97
+ * }
98
+ * *\/
99
+ * // example id: create-event-subscription-00dd0ee6-0e0f-4a38-ae83-e5f2ded5f69a
100
+ * ```
101
+ *
55
102
  */
56
103
  export declare class CreateEventSubscriptionCommand extends $Command<CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutput, RDSClientResolvedConfig> {
57
104
  readonly input: CreateEventSubscriptionCommandInput;
@@ -41,6 +41,20 @@ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterRes
41
41
  * @see {@link CreateGlobalClusterCommandOutput} for command's `response` shape.
42
42
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
43
43
  *
44
+ * @throws {@link DBClusterNotFoundFault} (client fault)
45
+ * <p>
46
+ * <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.</p>
47
+ *
48
+ * @throws {@link GlobalClusterAlreadyExistsFault} (client fault)
49
+ * <p>The <code>GlobalClusterIdentifier</code> already exists. Choose a new global database identifier (unique name) to create a new global database cluster.</p>
50
+ *
51
+ * @throws {@link GlobalClusterQuotaExceededFault} (client fault)
52
+ * <p>The number of global database clusters for this account is already at the maximum allowed.</p>
53
+ *
54
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
55
+ * <p>The requested operation can't be performed while the cluster is in this state.</p>
56
+ *
57
+ *
44
58
  */
45
59
  export declare class CreateGlobalClusterCommand extends $Command<CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput, RDSClientResolvedConfig> {
46
60
  readonly input: CreateGlobalClusterCommandInput;
@@ -30,6 +30,32 @@ export interface CreateOptionGroupCommandOutput extends CreateOptionGroupResult,
30
30
  * @see {@link CreateOptionGroupCommandOutput} for command's `response` shape.
31
31
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
32
32
  *
33
+ * @throws {@link OptionGroupAlreadyExistsFault} (client fault)
34
+ * <p>The option group you are trying to create already exists.</p>
35
+ *
36
+ * @throws {@link OptionGroupQuotaExceededFault} (client fault)
37
+ * <p>The quota of 20 option groups was exceeded for this Amazon Web Services account.</p>
38
+ *
39
+ *
40
+ * @example To create an option group
41
+ * ```javascript
42
+ * // This example creates an option group.
43
+ * const input = {
44
+ * "EngineName": "MySQL",
45
+ * "MajorEngineVersion": "5.6",
46
+ * "OptionGroupDescription": "My MySQL 5.6 option group",
47
+ * "OptionGroupName": "mymysqloptiongroup"
48
+ * };
49
+ * const command = new CreateOptionGroupCommand(input);
50
+ * const response = await client.send(command);
51
+ * /* response ==
52
+ * {
53
+ * "OptionGroup": {}
54
+ * }
55
+ * *\/
56
+ * // example id: create-option-group-a7708c87-1b79-4a5e-a762-21cf8fc62b78
57
+ * ```
58
+ *
33
59
  */
34
60
  export declare class CreateOptionGroupCommand extends $Command<CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput, RDSClientResolvedConfig> {
35
61
  readonly input: CreateOptionGroupCommandInput;
@@ -34,6 +34,15 @@ export interface DeleteBlueGreenDeploymentCommandOutput extends DeleteBlueGreenD
34
34
  * @see {@link DeleteBlueGreenDeploymentCommandOutput} for command's `response` shape.
35
35
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
36
36
  *
37
+ * @throws {@link BlueGreenDeploymentNotFoundFault} (client fault)
38
+ * <p>
39
+ * <code>BlueGreenDeploymentIdentifier</code> doesn't refer to an existing blue/green deployment.</p>
40
+ *
41
+ * @throws {@link InvalidBlueGreenDeploymentStateFault} (client fault)
42
+ * <p>The blue/green deployment can't be switched over or deleted because there is an invalid configuration in
43
+ * the green environment.</p>
44
+ *
45
+ *
37
46
  */
38
47
  export declare class DeleteBlueGreenDeploymentCommand extends $Command<DeleteBlueGreenDeploymentCommandInput, DeleteBlueGreenDeploymentCommandOutput, RDSClientResolvedConfig> {
39
48
  readonly input: DeleteBlueGreenDeploymentCommandInput;
@@ -49,6 +49,13 @@ export interface DeleteCustomDBEngineVersionCommandOutput extends DBEngineVersio
49
49
  * @see {@link DeleteCustomDBEngineVersionCommandOutput} for command's `response` shape.
50
50
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
51
51
  *
52
+ * @throws {@link CustomDBEngineVersionNotFoundFault} (client fault)
53
+ * <p>The specified CEV was not found.</p>
54
+ *
55
+ * @throws {@link InvalidCustomDBEngineVersionStateFault} (client fault)
56
+ * <p>You can't delete the CEV.</p>
57
+ *
58
+ *
52
59
  */
53
60
  export declare class DeleteCustomDBEngineVersionCommand extends $Command<DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput, RDSClientResolvedConfig> {
54
61
  readonly input: DeleteCustomDBEngineVersionCommandInput;