UNPKG

125 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {WaiterConfiguration} from '../lib/service';
6import {ServiceConfigurationOptions} from '../lib/service';
7import {ConfigBase as Config} from '../lib/config';
8interface Blob {}
9declare class DocDB extends Service {
10 /**
11 * Constructs a service object. This object has one method for each API operation.
12 */
13 constructor(options?: DocDB.Types.ClientConfiguration)
14 config: Config & DocDB.Types.ClientConfiguration;
15 /**
16 * Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources. or in a Condition statement in an AWS Identity and Access Management (IAM) policy for Amazon DocumentDB.
17 */
18 addTagsToResource(params: DocDB.Types.AddTagsToResourceMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
19 /**
20 * Adds metadata tags to an Amazon DocumentDB resource. You can use these tags with cost allocation reporting to track costs that are associated with Amazon DocumentDB resources. or in a Condition statement in an AWS Identity and Access Management (IAM) policy for Amazon DocumentDB.
21 */
22 addTagsToResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
23 /**
24 * Applies a pending maintenance action to a resource (for example, to a DB instance).
25 */
26 applyPendingMaintenanceAction(params: DocDB.Types.ApplyPendingMaintenanceActionMessage, callback?: (err: AWSError, data: DocDB.Types.ApplyPendingMaintenanceActionResult) => void): Request<DocDB.Types.ApplyPendingMaintenanceActionResult, AWSError>;
27 /**
28 * Applies a pending maintenance action to a resource (for example, to a DB instance).
29 */
30 applyPendingMaintenanceAction(callback?: (err: AWSError, data: DocDB.Types.ApplyPendingMaintenanceActionResult) => void): Request<DocDB.Types.ApplyPendingMaintenanceActionResult, AWSError>;
31 /**
32 * Copies the specified DB cluster parameter group.
33 */
34 copyDBClusterParameterGroup(params: DocDB.Types.CopyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterParameterGroupResult) => void): Request<DocDB.Types.CopyDBClusterParameterGroupResult, AWSError>;
35 /**
36 * Copies the specified DB cluster parameter group.
37 */
38 copyDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterParameterGroupResult) => void): Request<DocDB.Types.CopyDBClusterParameterGroupResult, AWSError>;
39 /**
40 * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status.
41 */
42 copyDBClusterSnapshot(params: DocDB.Types.CopyDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterSnapshotResult) => void): Request<DocDB.Types.CopyDBClusterSnapshotResult, AWSError>;
43 /**
44 * Copies a snapshot of a DB cluster. To copy a DB cluster snapshot from a shared manual DB cluster snapshot, SourceDBClusterSnapshotIdentifier must be the Amazon Resource Name (ARN) of the shared DB cluster snapshot. To cancel the copy operation after it is in progress, delete the target DB cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that DB cluster snapshot is in the copying status.
45 */
46 copyDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.CopyDBClusterSnapshotResult) => void): Request<DocDB.Types.CopyDBClusterSnapshotResult, AWSError>;
47 /**
48 * Creates a new Amazon DocumentDB DB cluster.
49 */
50 createDBCluster(params: DocDB.Types.CreateDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterResult) => void): Request<DocDB.Types.CreateDBClusterResult, AWSError>;
51 /**
52 * Creates a new Amazon DocumentDB DB cluster.
53 */
54 createDBCluster(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterResult) => void): Request<DocDB.Types.CreateDBClusterResult, AWSError>;
55 /**
56 * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.
57 */
58 createDBClusterParameterGroup(params: DocDB.Types.CreateDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterParameterGroupResult) => void): Request<DocDB.Types.CreateDBClusterParameterGroupResult, AWSError>;
59 /**
60 * Creates a new DB cluster parameter group. Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster. A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your DB cluster. For the new DB cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the DB cluster without failover. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.
61 */
62 createDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterParameterGroupResult) => void): Request<DocDB.Types.CreateDBClusterParameterGroupResult, AWSError>;
63 /**
64 * Creates a snapshot of a DB cluster.
65 */
66 createDBClusterSnapshot(params: DocDB.Types.CreateDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterSnapshotResult) => void): Request<DocDB.Types.CreateDBClusterSnapshotResult, AWSError>;
67 /**
68 * Creates a snapshot of a DB cluster.
69 */
70 createDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.CreateDBClusterSnapshotResult) => void): Request<DocDB.Types.CreateDBClusterSnapshotResult, AWSError>;
71 /**
72 * Creates a new DB instance.
73 */
74 createDBInstance(params: DocDB.Types.CreateDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBInstanceResult) => void): Request<DocDB.Types.CreateDBInstanceResult, AWSError>;
75 /**
76 * Creates a new DB instance.
77 */
78 createDBInstance(callback?: (err: AWSError, data: DocDB.Types.CreateDBInstanceResult) => void): Request<DocDB.Types.CreateDBInstanceResult, AWSError>;
79 /**
80 * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
81 */
82 createDBSubnetGroup(params: DocDB.Types.CreateDBSubnetGroupMessage, callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request<DocDB.Types.CreateDBSubnetGroupResult, AWSError>;
83 /**
84 * Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
85 */
86 createDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.CreateDBSubnetGroupResult) => void): Request<DocDB.Types.CreateDBSubnetGroupResult, AWSError>;
87 /**
88 * Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
89 */
90 deleteDBCluster(params: DocDB.Types.DeleteDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterResult) => void): Request<DocDB.Types.DeleteDBClusterResult, AWSError>;
91 /**
92 * Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
93 */
94 deleteDBCluster(callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterResult) => void): Request<DocDB.Types.DeleteDBClusterResult, AWSError>;
95 /**
96 * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.
97 */
98 deleteDBClusterParameterGroup(params: DocDB.Types.DeleteDBClusterParameterGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
99 /**
100 * Deletes a specified DB cluster parameter group. The DB cluster parameter group to be deleted can't be associated with any DB clusters.
101 */
102 deleteDBClusterParameterGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
103 /**
104 * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted.
105 */
106 deleteDBClusterSnapshot(params: DocDB.Types.DeleteDBClusterSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterSnapshotResult) => void): Request<DocDB.Types.DeleteDBClusterSnapshotResult, AWSError>;
107 /**
108 * Deletes a DB cluster snapshot. If the snapshot is being copied, the copy operation is terminated. The DB cluster snapshot must be in the available state to be deleted.
109 */
110 deleteDBClusterSnapshot(callback?: (err: AWSError, data: DocDB.Types.DeleteDBClusterSnapshotResult) => void): Request<DocDB.Types.DeleteDBClusterSnapshotResult, AWSError>;
111 /**
112 * Deletes a previously provisioned DB instance.
113 */
114 deleteDBInstance(params: DocDB.Types.DeleteDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.DeleteDBInstanceResult) => void): Request<DocDB.Types.DeleteDBInstanceResult, AWSError>;
115 /**
116 * Deletes a previously provisioned DB instance.
117 */
118 deleteDBInstance(callback?: (err: AWSError, data: DocDB.Types.DeleteDBInstanceResult) => void): Request<DocDB.Types.DeleteDBInstanceResult, AWSError>;
119 /**
120 * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances.
121 */
122 deleteDBSubnetGroup(params: DocDB.Types.DeleteDBSubnetGroupMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
123 /**
124 * Deletes a DB subnet group. The specified database subnet group must not be associated with any DB instances.
125 */
126 deleteDBSubnetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
127 /**
128 * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified DB cluster parameter group.
129 */
130 describeDBClusterParameterGroups(params: DocDB.Types.DescribeDBClusterParameterGroupsMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupsMessage) => void): Request<DocDB.Types.DBClusterParameterGroupsMessage, AWSError>;
131 /**
132 * Returns a list of DBClusterParameterGroup descriptions. If a DBClusterParameterGroupName parameter is specified, the list contains only the description of the specified DB cluster parameter group.
133 */
134 describeDBClusterParameterGroups(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupsMessage) => void): Request<DocDB.Types.DBClusterParameterGroupsMessage, AWSError>;
135 /**
136 * Returns the detailed parameter list for a particular DB cluster parameter group.
137 */
138 describeDBClusterParameters(params: DocDB.Types.DescribeDBClusterParametersMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupDetails) => void): Request<DocDB.Types.DBClusterParameterGroupDetails, AWSError>;
139 /**
140 * Returns the detailed parameter list for a particular DB cluster parameter group.
141 */
142 describeDBClusterParameters(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupDetails) => void): Request<DocDB.Types.DBClusterParameterGroupDetails, AWSError>;
143 /**
144 * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.
145 */
146 describeDBClusterSnapshotAttributes(params: DocDB.Types.DescribeDBClusterSnapshotAttributesMessage, callback?: (err: AWSError, data: DocDB.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request<DocDB.Types.DescribeDBClusterSnapshotAttributesResult, AWSError>;
147 /**
148 * Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot. When you share snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If all is included in the list of values for the restore attribute, then the manual DB cluster snapshot is public and can be copied or restored by all AWS accounts.
149 */
150 describeDBClusterSnapshotAttributes(callback?: (err: AWSError, data: DocDB.Types.DescribeDBClusterSnapshotAttributesResult) => void): Request<DocDB.Types.DescribeDBClusterSnapshotAttributesResult, AWSError>;
151 /**
152 * Returns information about DB cluster snapshots. This API operation supports pagination.
153 */
154 describeDBClusterSnapshots(params: DocDB.Types.DescribeDBClusterSnapshotsMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterSnapshotMessage) => void): Request<DocDB.Types.DBClusterSnapshotMessage, AWSError>;
155 /**
156 * Returns information about DB cluster snapshots. This API operation supports pagination.
157 */
158 describeDBClusterSnapshots(callback?: (err: AWSError, data: DocDB.Types.DBClusterSnapshotMessage) => void): Request<DocDB.Types.DBClusterSnapshotMessage, AWSError>;
159 /**
160 * Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination.
161 */
162 describeDBClusters(params: DocDB.Types.DescribeDBClustersMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterMessage) => void): Request<DocDB.Types.DBClusterMessage, AWSError>;
163 /**
164 * Returns information about provisioned Amazon DocumentDB DB clusters. This API operation supports pagination.
165 */
166 describeDBClusters(callback?: (err: AWSError, data: DocDB.Types.DBClusterMessage) => void): Request<DocDB.Types.DBClusterMessage, AWSError>;
167 /**
168 * Returns a list of the available DB engines.
169 */
170 describeDBEngineVersions(params: DocDB.Types.DescribeDBEngineVersionsMessage, callback?: (err: AWSError, data: DocDB.Types.DBEngineVersionMessage) => void): Request<DocDB.Types.DBEngineVersionMessage, AWSError>;
171 /**
172 * Returns a list of the available DB engines.
173 */
174 describeDBEngineVersions(callback?: (err: AWSError, data: DocDB.Types.DBEngineVersionMessage) => void): Request<DocDB.Types.DBEngineVersionMessage, AWSError>;
175 /**
176 * Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
177 */
178 describeDBInstances(params: DocDB.Types.DescribeDBInstancesMessage, callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
179 /**
180 * Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.
181 */
182 describeDBInstances(callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
183 /**
184 * Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
185 */
186 describeDBSubnetGroups(params: DocDB.Types.DescribeDBSubnetGroupsMessage, callback?: (err: AWSError, data: DocDB.Types.DBSubnetGroupMessage) => void): Request<DocDB.Types.DBSubnetGroupMessage, AWSError>;
187 /**
188 * Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup.
189 */
190 describeDBSubnetGroups(callback?: (err: AWSError, data: DocDB.Types.DBSubnetGroupMessage) => void): Request<DocDB.Types.DBSubnetGroupMessage, AWSError>;
191 /**
192 * Returns the default engine and system parameter information for the cluster database engine.
193 */
194 describeEngineDefaultClusterParameters(params: DocDB.Types.DescribeEngineDefaultClusterParametersMessage, callback?: (err: AWSError, data: DocDB.Types.DescribeEngineDefaultClusterParametersResult) => void): Request<DocDB.Types.DescribeEngineDefaultClusterParametersResult, AWSError>;
195 /**
196 * Returns the default engine and system parameter information for the cluster database engine.
197 */
198 describeEngineDefaultClusterParameters(callback?: (err: AWSError, data: DocDB.Types.DescribeEngineDefaultClusterParametersResult) => void): Request<DocDB.Types.DescribeEngineDefaultClusterParametersResult, AWSError>;
199 /**
200 * Displays a list of categories for all event source types, or, if specified, for a specified source type.
201 */
202 describeEventCategories(params: DocDB.Types.DescribeEventCategoriesMessage, callback?: (err: AWSError, data: DocDB.Types.EventCategoriesMessage) => void): Request<DocDB.Types.EventCategoriesMessage, AWSError>;
203 /**
204 * Displays a list of categories for all event source types, or, if specified, for a specified source type.
205 */
206 describeEventCategories(callback?: (err: AWSError, data: DocDB.Types.EventCategoriesMessage) => void): Request<DocDB.Types.EventCategoriesMessage, AWSError>;
207 /**
208 * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
209 */
210 describeEvents(params: DocDB.Types.DescribeEventsMessage, callback?: (err: AWSError, data: DocDB.Types.EventsMessage) => void): Request<DocDB.Types.EventsMessage, AWSError>;
211 /**
212 * Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, DB security group, DB snapshot, or DB parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
213 */
214 describeEvents(callback?: (err: AWSError, data: DocDB.Types.EventsMessage) => void): Request<DocDB.Types.EventsMessage, AWSError>;
215 /**
216 * Returns a list of orderable DB instance options for the specified engine.
217 */
218 describeOrderableDBInstanceOptions(params: DocDB.Types.DescribeOrderableDBInstanceOptionsMessage, callback?: (err: AWSError, data: DocDB.Types.OrderableDBInstanceOptionsMessage) => void): Request<DocDB.Types.OrderableDBInstanceOptionsMessage, AWSError>;
219 /**
220 * Returns a list of orderable DB instance options for the specified engine.
221 */
222 describeOrderableDBInstanceOptions(callback?: (err: AWSError, data: DocDB.Types.OrderableDBInstanceOptionsMessage) => void): Request<DocDB.Types.OrderableDBInstanceOptionsMessage, AWSError>;
223 /**
224 * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
225 */
226 describePendingMaintenanceActions(params: DocDB.Types.DescribePendingMaintenanceActionsMessage, callback?: (err: AWSError, data: DocDB.Types.PendingMaintenanceActionsMessage) => void): Request<DocDB.Types.PendingMaintenanceActionsMessage, AWSError>;
227 /**
228 * Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.
229 */
230 describePendingMaintenanceActions(callback?: (err: AWSError, data: DocDB.Types.PendingMaintenanceActionsMessage) => void): Request<DocDB.Types.PendingMaintenanceActionsMessage, AWSError>;
231 /**
232 * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
233 */
234 failoverDBCluster(params: DocDB.Types.FailoverDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.FailoverDBClusterResult) => void): Request<DocDB.Types.FailoverDBClusterResult, AWSError>;
235 /**
236 * Forces a failover for a DB cluster. A failover for a DB cluster promotes one of the Amazon DocumentDB replicas (read-only instances) in the DB cluster to be the primary instance (the cluster writer). If the primary instance fails, Amazon DocumentDB automatically fails over to an Amazon DocumentDB replica, if one exists. You can force a failover when you want to simulate a failure of a primary instance for testing.
237 */
238 failoverDBCluster(callback?: (err: AWSError, data: DocDB.Types.FailoverDBClusterResult) => void): Request<DocDB.Types.FailoverDBClusterResult, AWSError>;
239 /**
240 * Lists all tags on an Amazon DocumentDB resource.
241 */
242 listTagsForResource(params: DocDB.Types.ListTagsForResourceMessage, callback?: (err: AWSError, data: DocDB.Types.TagListMessage) => void): Request<DocDB.Types.TagListMessage, AWSError>;
243 /**
244 * Lists all tags on an Amazon DocumentDB resource.
245 */
246 listTagsForResource(callback?: (err: AWSError, data: DocDB.Types.TagListMessage) => void): Request<DocDB.Types.TagListMessage, AWSError>;
247 /**
248 * Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
249 */
250 modifyDBCluster(params: DocDB.Types.ModifyDBClusterMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterResult) => void): Request<DocDB.Types.ModifyDBClusterResult, AWSError>;
251 /**
252 * Modifies a setting for an Amazon DocumentDB DB cluster. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
253 */
254 modifyDBCluster(callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterResult) => void): Request<DocDB.Types.ModifyDBClusterResult, AWSError>;
255 /**
256 * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.
257 */
258 modifyDBClusterParameterGroup(params: DocDB.Types.ModifyDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request<DocDB.Types.DBClusterParameterGroupNameMessage, AWSError>;
259 /**
260 * Modifies the parameters of a DB cluster parameter group. To modify more than one parameter, submit a list of the following: ParameterName, ParameterValue, and ApplyMethod. A maximum of 20 parameters can be modified in a single request. Changes to dynamic parameters are applied immediately. Changes to static parameters require a reboot or maintenance window before the change can take effect. After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the parameter group is used as the default for a new DB cluster. This step is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter.
261 */
262 modifyDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request<DocDB.Types.DBClusterParameterGroupNameMessage, AWSError>;
263 /**
264 * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.
265 */
266 modifyDBClusterSnapshotAttribute(params: DocDB.Types.ModifyDBClusterSnapshotAttributeMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request<DocDB.Types.ModifyDBClusterSnapshotAttributeResult, AWSError>;
267 /**
268 * Adds an attribute and values to, or removes an attribute and values from, a manual DB cluster snapshot. To share a manual DB cluster snapshot with other AWS accounts, specify restore as the AttributeName, and use the ValuesToAdd parameter to add a list of IDs of the AWS accounts that are authorized to restore the manual DB cluster snapshot. Use the value all to make the manual DB cluster snapshot public, which means that it can be copied or restored by all AWS accounts. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want available to all AWS accounts. If a manual DB cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized AWS account IDs for the ValuesToAdd parameter. You can't use all as a value for that parameter in this case.
269 */
270 modifyDBClusterSnapshotAttribute(callback?: (err: AWSError, data: DocDB.Types.ModifyDBClusterSnapshotAttributeResult) => void): Request<DocDB.Types.ModifyDBClusterSnapshotAttributeResult, AWSError>;
271 /**
272 * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
273 */
274 modifyDBInstance(params: DocDB.Types.ModifyDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBInstanceResult) => void): Request<DocDB.Types.ModifyDBInstanceResult, AWSError>;
275 /**
276 * Modifies settings for a DB instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
277 */
278 modifyDBInstance(callback?: (err: AWSError, data: DocDB.Types.ModifyDBInstanceResult) => void): Request<DocDB.Types.ModifyDBInstanceResult, AWSError>;
279 /**
280 * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
281 */
282 modifyDBSubnetGroup(params: DocDB.Types.ModifyDBSubnetGroupMessage, callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request<DocDB.Types.ModifyDBSubnetGroupResult, AWSError>;
283 /**
284 * Modifies an existing DB subnet group. DB subnet groups must contain at least one subnet in at least two Availability Zones in the AWS Region.
285 */
286 modifyDBSubnetGroup(callback?: (err: AWSError, data: DocDB.Types.ModifyDBSubnetGroupResult) => void): Request<DocDB.Types.ModifyDBSubnetGroupResult, AWSError>;
287 /**
288 * You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect. Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.
289 */
290 rebootDBInstance(params: DocDB.Types.RebootDBInstanceMessage, callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request<DocDB.Types.RebootDBInstanceResult, AWSError>;
291 /**
292 * You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain changes, or if you change the DB cluster parameter group that is associated with the DB instance, you must reboot the instance for the changes to take effect. Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.
293 */
294 rebootDBInstance(callback?: (err: AWSError, data: DocDB.Types.RebootDBInstanceResult) => void): Request<DocDB.Types.RebootDBInstanceResult, AWSError>;
295 /**
296 * Removes metadata tags from an Amazon DocumentDB resource.
297 */
298 removeTagsFromResource(params: DocDB.Types.RemoveTagsFromResourceMessage, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
299 /**
300 * Removes metadata tags from an Amazon DocumentDB resource.
301 */
302 removeTagsFromResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
303 /**
304 * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot.
305 */
306 resetDBClusterParameterGroup(params: DocDB.Types.ResetDBClusterParameterGroupMessage, callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request<DocDB.Types.DBClusterParameterGroupNameMessage, AWSError>;
307 /**
308 * Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters, submit a list of the following: ParameterName and ApplyMethod. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName and ResetAllParameters parameters. When you reset the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot to take effect on the next DB instance reboot.
309 */
310 resetDBClusterParameterGroup(callback?: (err: AWSError, data: DocDB.Types.DBClusterParameterGroupNameMessage) => void): Request<DocDB.Types.DBClusterParameterGroupNameMessage, AWSError>;
311 /**
312 * Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
313 */
314 restoreDBClusterFromSnapshot(params: DocDB.Types.RestoreDBClusterFromSnapshotMessage, callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterFromSnapshotResult) => void): Request<DocDB.Types.RestoreDBClusterFromSnapshotResult, AWSError>;
315 /**
316 * Creates a new DB cluster from a DB snapshot or DB cluster snapshot. If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group. If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
317 */
318 restoreDBClusterFromSnapshot(callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterFromSnapshotResult) => void): Request<DocDB.Types.RestoreDBClusterFromSnapshotResult, AWSError>;
319 /**
320 * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.
321 */
322 restoreDBClusterToPointInTime(params: DocDB.Types.RestoreDBClusterToPointInTimeMessage, callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterToPointInTimeResult) => void): Request<DocDB.Types.RestoreDBClusterToPointInTimeResult, AWSError>;
323 /**
324 * Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime for up to BackupRetentionPeriod days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.
325 */
326 restoreDBClusterToPointInTime(callback?: (err: AWSError, data: DocDB.Types.RestoreDBClusterToPointInTimeResult) => void): Request<DocDB.Types.RestoreDBClusterToPointInTimeResult, AWSError>;
327 /**
328 * Waits for the dBInstanceAvailable state by periodically calling the underlying DocDB.describeDBInstancesoperation every 30 seconds (at most 60 times).
329 */
330 waitFor(state: "dBInstanceAvailable", params: DocDB.Types.DescribeDBInstancesMessage & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
331 /**
332 * Waits for the dBInstanceAvailable state by periodically calling the underlying DocDB.describeDBInstancesoperation every 30 seconds (at most 60 times).
333 */
334 waitFor(state: "dBInstanceAvailable", callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
335 /**
336 * Waits for the dBInstanceDeleted state by periodically calling the underlying DocDB.describeDBInstancesoperation every 30 seconds (at most 60 times).
337 */
338 waitFor(state: "dBInstanceDeleted", params: DocDB.Types.DescribeDBInstancesMessage & {$waiter?: WaiterConfiguration}, callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
339 /**
340 * Waits for the dBInstanceDeleted state by periodically calling the underlying DocDB.describeDBInstancesoperation every 30 seconds (at most 60 times).
341 */
342 waitFor(state: "dBInstanceDeleted", callback?: (err: AWSError, data: DocDB.Types.DBInstanceMessage) => void): Request<DocDB.Types.DBInstanceMessage, AWSError>;
343}
344declare namespace DocDB {
345 export interface AddTagsToResourceMessage {
346 /**
347 * The Amazon DocumentDB resource that the tags are added to. This value is an Amazon Resource Name (ARN).
348 */
349 ResourceName: String;
350 /**
351 * The tags to be assigned to the Amazon DocumentDB resource.
352 */
353 Tags: TagList;
354 }
355 export type ApplyMethod = "immediate"|"pending-reboot"|string;
356 export interface ApplyPendingMaintenanceActionMessage {
357 /**
358 * The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
359 */
360 ResourceIdentifier: String;
361 /**
362 * The pending maintenance action to apply to this resource. Valid values: system-update, db-upgrade
363 */
364 ApplyAction: String;
365 /**
366 * A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type immediate can't be undone. Valid values: immediate - Apply the maintenance action immediately. next-maintenance - Apply the maintenance action during the next maintenance window for the resource. undo-opt-in - Cancel any existing next-maintenance opt-in requests.
367 */
368 OptInType: String;
369 }
370 export interface ApplyPendingMaintenanceActionResult {
371 ResourcePendingMaintenanceActions?: ResourcePendingMaintenanceActions;
372 }
373 export type AttributeValueList = String[];
374 export interface AvailabilityZone {
375 /**
376 * The name of the Availability Zone.
377 */
378 Name?: String;
379 }
380 export type AvailabilityZoneList = AvailabilityZone[];
381 export type AvailabilityZones = String[];
382 export type Boolean = boolean;
383 export type BooleanOptional = boolean;
384 export interface CloudwatchLogsExportConfiguration {
385 /**
386 * The list of log types to enable.
387 */
388 EnableLogTypes?: LogTypeList;
389 /**
390 * The list of log types to disable.
391 */
392 DisableLogTypes?: LogTypeList;
393 }
394 export interface CopyDBClusterParameterGroupMessage {
395 /**
396 * The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group. Constraints: Must specify a valid DB cluster parameter group. If the source DB cluster parameter group is in the same AWS Region as the copy, specify a valid DB parameter group identifier; for example, my-db-cluster-param-group, or a valid ARN. If the source DB parameter group is in a different AWS Region than the copy, specify a valid DB cluster parameter group ARN; for example, arn:aws:rds:us-east-1:123456789012:cluster-pg:custom-cluster-group1.
397 */
398 SourceDBClusterParameterGroupIdentifier: String;
399 /**
400 * The identifier for the copied DB cluster parameter group. Constraints: Cannot be null, empty, or blank. Must contain from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-param-group1
401 */
402 TargetDBClusterParameterGroupIdentifier: String;
403 /**
404 * A description for the copied DB cluster parameter group.
405 */
406 TargetDBClusterParameterGroupDescription: String;
407 /**
408 * The tags that are to be assigned to the parameter group.
409 */
410 Tags?: TagList;
411 }
412 export interface CopyDBClusterParameterGroupResult {
413 DBClusterParameterGroup?: DBClusterParameterGroup;
414 }
415 export interface CopyDBClusterSnapshotMessage {
416 /**
417 * The identifier of the DB cluster snapshot to copy. This parameter is not case sensitive. You can't copy an encrypted, shared DB cluster snapshot from one AWS Region to another. Constraints: Must specify a valid system snapshot in the "available" state. If the source snapshot is in the same AWS Region as the copy, specify a valid DB snapshot identifier. If the source snapshot is in a different AWS Region than the copy, specify a valid DB cluster snapshot ARN. Example: my-cluster-snapshot1
418 */
419 SourceDBClusterSnapshotIdentifier: String;
420 /**
421 * The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot2
422 */
423 TargetDBClusterSnapshotIdentifier: String;
424 /**
425 * The AWS KMS key ID for an encrypted DB cluster snapshot. The AWS KMS key ID is the Amazon Resource Name (ARN), AWS KMS key identifier, or the AWS KMS key alias for the AWS KMS encryption key. If you copy an encrypted DB cluster snapshot from your AWS account, you can specify a value for KmsKeyId to encrypt the copy with a new AWS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the DB cluster snapshot is encrypted with the same AWS KMS key as the source DB cluster snapshot. If you copy an encrypted DB cluster snapshot that is shared from another AWS account, then you must specify a value for KmsKeyId. To copy an encrypted DB cluster snapshot to another AWS Region, set KmsKeyId to the AWS KMS key ID that you want to use to encrypt the copy of the DB cluster snapshot in the destination Region. AWS KMS encryption keys are specific to the AWS Region that they are created in, and you can't use encryption keys from one Region in another Region. If you copy an unencrypted DB cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned.
426 */
427 KmsKeyId?: String;
428 /**
429 * The URL that contains a Signature Version 4 signed request for the CopyDBClusterSnapshot API action in the AWS Region that contains the source DB cluster snapshot to copy. You must use the PreSignedUrl parameter when copying an encrypted DB cluster snapshot from another AWS Region. The presigned URL must be a valid request for the CopyDBSClusterSnapshot API action that can be executed in the source AWS Region that contains the encrypted DB cluster snapshot to be copied. The presigned URL request must contain the following parameter values: KmsKeyId - The AWS KMS key identifier for the key to use to encrypt the copy of the DB cluster snapshot in the destination AWS Region. This is the same identifier for both the CopyDBClusterSnapshot action that is called in the destination AWS Region, and the action contained in the presigned URL. DestinationRegion - The name of the AWS Region that the DB cluster snapshot will be created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier for the encrypted DB cluster snapshot to be copied. This identifier must be in the Amazon Resource Name (ARN) format for the source AWS Region. For example, if you are copying an encrypted DB cluster snapshot from the us-west-2 AWS Region, then your SourceDBClusterSnapshotIdentifier looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:my-cluster-snapshot-20161115.
430 */
431 PreSignedUrl?: String;
432 /**
433 * Set to true to copy all tags from the source DB cluster snapshot to the target DB cluster snapshot, and otherwise false. The default is false.
434 */
435 CopyTags?: BooleanOptional;
436 /**
437 * The tags to be assigned to the DB cluster snapshot.
438 */
439 Tags?: TagList;
440 }
441 export interface CopyDBClusterSnapshotResult {
442 DBClusterSnapshot?: DBClusterSnapshot;
443 }
444 export interface CreateDBClusterMessage {
445 /**
446 * A list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in.
447 */
448 AvailabilityZones?: AvailabilityZones;
449 /**
450 * The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35.
451 */
452 BackupRetentionPeriod?: IntegerOptional;
453 /**
454 * The DB cluster identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster
455 */
456 DBClusterIdentifier: String;
457 /**
458 * The name of the DB cluster parameter group to associate with this DB cluster.
459 */
460 DBClusterParameterGroupName?: String;
461 /**
462 * A list of EC2 VPC security groups to associate with this DB cluster.
463 */
464 VpcSecurityGroupIds?: VpcSecurityGroupIdList;
465 /**
466 * A DB subnet group to associate with this DB cluster. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup
467 */
468 DBSubnetGroupName?: String;
469 /**
470 * The name of the database engine to be used for this DB cluster. Valid values: docdb
471 */
472 Engine: String;
473 /**
474 * The version number of the database engine to use.
475 */
476 EngineVersion?: String;
477 /**
478 * The port number on which the instances in the DB cluster accept connections.
479 */
480 Port?: IntegerOptional;
481 /**
482 * The name of the master user for the DB cluster. Constraints: Must be from 1 to 16 letters or numbers. The first character must be a letter. Cannot be a reserved word for the chosen database engine.
483 */
484 MasterUsername?: String;
485 /**
486 * The password for the master database user. This password can contain any printable ASCII character except "/", """, or "@". Constraints: Must contain from 8 to 41 characters.
487 */
488 MasterUserPassword?: String;
489 /**
490 * The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
491 */
492 PreferredBackupWindow?: String;
493 /**
494 * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
495 */
496 PreferredMaintenanceWindow?: String;
497 /**
498 * The tags to be assigned to the DB cluster.
499 */
500 Tags?: TagList;
501 /**
502 * Specifies whether the DB cluster is encrypted.
503 */
504 StorageEncrypted?: BooleanOptional;
505 /**
506 * The AWS KMS key identifier for an encrypted DB cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a DB cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new DB cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in KmsKeyId: If ReplicationSourceIdentifier identifies an encrypted source, then Amazon DocumentDB uses the encryption key that is used to encrypt the source. Otherwise, Amazon DocumentDB uses your default encryption key. If the StorageEncrypted parameter is true and ReplicationSourceIdentifier is not specified, Amazon DocumentDB uses your default encryption key. AWS KMS creates the default encryption key for your AWS account. Your AWS account has a different default encryption key for each AWS Region. If you create a replica of an encrypted DB cluster in another AWS Region, you must set KmsKeyId to a KMS key ID that is valid in the destination AWS Region. This key is used to encrypt the replica in that AWS Region.
507 */
508 KmsKeyId?: String;
509 /**
510 * A list of log types that need to be enabled for exporting to Amazon CloudWatch Logs.
511 */
512 EnableCloudwatchLogsExports?: LogTypeList;
513 }
514 export interface CreateDBClusterParameterGroupMessage {
515 /**
516 * The name of the DB cluster parameter group. Constraints: Must match the name of an existing DBClusterParameterGroup. This value is stored as a lowercase string.
517 */
518 DBClusterParameterGroupName: String;
519 /**
520 * The DB cluster parameter group family name.
521 */
522 DBParameterGroupFamily: String;
523 /**
524 * The description for the DB cluster parameter group.
525 */
526 Description: String;
527 /**
528 * The tags to be assigned to the DB cluster parameter group.
529 */
530 Tags?: TagList;
531 }
532 export interface CreateDBClusterParameterGroupResult {
533 DBClusterParameterGroup?: DBClusterParameterGroup;
534 }
535 export interface CreateDBClusterResult {
536 DBCluster?: DBCluster;
537 }
538 export interface CreateDBClusterSnapshotMessage {
539 /**
540 * The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster-snapshot1
541 */
542 DBClusterSnapshotIdentifier: String;
543 /**
544 * The identifier of the DB cluster to create a snapshot for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster. Example: my-cluster
545 */
546 DBClusterIdentifier: String;
547 /**
548 * The tags to be assigned to the DB cluster snapshot.
549 */
550 Tags?: TagList;
551 }
552 export interface CreateDBClusterSnapshotResult {
553 DBClusterSnapshot?: DBClusterSnapshot;
554 }
555 export interface CreateDBInstanceMessage {
556 /**
557 * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance
558 */
559 DBInstanceIdentifier: String;
560 /**
561 * The compute and memory capacity of the DB instance; for example, db.m4.large.
562 */
563 DBInstanceClass: String;
564 /**
565 * The name of the database engine to be used for this instance. Valid value: docdb
566 */
567 Engine: String;
568 /**
569 * The Amazon EC2 Availability Zone that the DB instance is created in. Default: A random, system-chosen Availability Zone in the endpoint's AWS Region. Example: us-east-1d Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true. The specified Availability Zone must be in the same AWS Region as the current endpoint.
570 */
571 AvailabilityZone?: String;
572 /**
573 * The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
574 */
575 PreferredMaintenanceWindow?: String;
576 /**
577 * Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window. Default: true
578 */
579 AutoMinorVersionUpgrade?: BooleanOptional;
580 /**
581 * The tags to be assigned to the DB instance.
582 */
583 Tags?: TagList;
584 /**
585 * The identifier of the DB cluster that the instance will belong to.
586 */
587 DBClusterIdentifier: String;
588 /**
589 * A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance. Default: 1 Valid values: 0-15
590 */
591 PromotionTier?: IntegerOptional;
592 }
593 export interface CreateDBInstanceResult {
594 DBInstance?: DBInstance;
595 }
596 export interface CreateDBSubnetGroupMessage {
597 /**
598 * The name for the DB subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default. Example: mySubnetgroup
599 */
600 DBSubnetGroupName: String;
601 /**
602 * The description for the DB subnet group.
603 */
604 DBSubnetGroupDescription: String;
605 /**
606 * The Amazon EC2 subnet IDs for the DB subnet group.
607 */
608 SubnetIds: SubnetIdentifierList;
609 /**
610 * The tags to be assigned to the DB subnet group.
611 */
612 Tags?: TagList;
613 }
614 export interface CreateDBSubnetGroupResult {
615 DBSubnetGroup?: DBSubnetGroup;
616 }
617 export interface DBCluster {
618 /**
619 * Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster can be created in.
620 */
621 AvailabilityZones?: AvailabilityZones;
622 /**
623 * Specifies the number of days for which automatic DB snapshots are retained.
624 */
625 BackupRetentionPeriod?: IntegerOptional;
626 /**
627 * Contains a user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
628 */
629 DBClusterIdentifier?: String;
630 /**
631 * Specifies the name of the DB cluster parameter group for the DB cluster.
632 */
633 DBClusterParameterGroup?: String;
634 /**
635 * Specifies information on the subnet group that is associated with the DB cluster, including the name, description, and subnets in the subnet group.
636 */
637 DBSubnetGroup?: String;
638 /**
639 * Specifies the current state of this DB cluster.
640 */
641 Status?: String;
642 /**
643 * Specifies the progress of the operation as a percentage.
644 */
645 PercentProgress?: String;
646 /**
647 * The earliest time to which a database can be restored with point-in-time restore.
648 */
649 EarliestRestorableTime?: TStamp;
650 /**
651 * Specifies the connection endpoint for the primary instance of the DB cluster.
652 */
653 Endpoint?: String;
654 /**
655 * The reader endpoint for the DB cluster. The reader endpoint for a DB cluster load balances connections across the Amazon DocumentDB replicas that are available in a DB cluster. As clients request new connections to the reader endpoint, Amazon DocumentDB distributes the connection requests among the Amazon DocumentDB replicas in the DB cluster. This functionality can help balance your read workload across multiple Amazon DocumentDB replicas in your DB cluster. If a failover occurs, and the Amazon DocumentDB replica that you are connected to is promoted to be the primary instance, your connection is dropped. To continue sending your read workload to other Amazon DocumentDB replicas in the cluster, you can then reconnect to the reader endpoint.
656 */
657 ReaderEndpoint?: String;
658 /**
659 * Specifies whether the DB cluster has instances in multiple Availability Zones.
660 */
661 MultiAZ?: Boolean;
662 /**
663 * Provides the name of the database engine to be used for this DB cluster.
664 */
665 Engine?: String;
666 /**
667 * Indicates the database engine version.
668 */
669 EngineVersion?: String;
670 /**
671 * Specifies the latest time to which a database can be restored with point-in-time restore.
672 */
673 LatestRestorableTime?: TStamp;
674 /**
675 * Specifies the port that the database engine is listening on.
676 */
677 Port?: IntegerOptional;
678 /**
679 * Contains the master user name for the DB cluster.
680 */
681 MasterUsername?: String;
682 /**
683 * Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
684 */
685 PreferredBackupWindow?: String;
686 /**
687 * Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
688 */
689 PreferredMaintenanceWindow?: String;
690 /**
691 * Provides the list of instances that make up the DB cluster.
692 */
693 DBClusterMembers?: DBClusterMemberList;
694 /**
695 * Provides a list of virtual private cloud (VPC) security groups that the DB cluster belongs to.
696 */
697 VpcSecurityGroups?: VpcSecurityGroupMembershipList;
698 /**
699 * Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
700 */
701 HostedZoneId?: String;
702 /**
703 * Specifies whether the DB cluster is encrypted.
704 */
705 StorageEncrypted?: Boolean;
706 /**
707 * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster.
708 */
709 KmsKeyId?: String;
710 /**
711 * The AWS Region-unique, immutable identifier for the DB cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed.
712 */
713 DbClusterResourceId?: String;
714 /**
715 * The Amazon Resource Name (ARN) for the DB cluster.
716 */
717 DBClusterArn?: String;
718 /**
719 * Provides a list of the AWS Identity and Access Management (IAM) roles that are associated with the DB cluster. IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other AWS services on your behalf.
720 */
721 AssociatedRoles?: DBClusterRoles;
722 /**
723 * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
724 */
725 ClusterCreateTime?: TStamp;
726 /**
727 * A list of log types that this DB cluster is configured to export to Amazon CloudWatch Logs.
728 */
729 EnabledCloudwatchLogsExports?: LogTypeList;
730 }
731 export type DBClusterList = DBCluster[];
732 export interface DBClusterMember {
733 /**
734 * Specifies the instance identifier for this member of the DB cluster.
735 */
736 DBInstanceIdentifier?: String;
737 /**
738 * A value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.
739 */
740 IsClusterWriter?: Boolean;
741 /**
742 * Specifies the status of the DB cluster parameter group for this member of the DB cluster.
743 */
744 DBClusterParameterGroupStatus?: String;
745 /**
746 * A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
747 */
748 PromotionTier?: IntegerOptional;
749 }
750 export type DBClusterMemberList = DBClusterMember[];
751 export interface DBClusterMessage {
752 /**
753 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
754 */
755 Marker?: String;
756 /**
757 * A list of DB clusters.
758 */
759 DBClusters?: DBClusterList;
760 }
761 export interface DBClusterParameterGroup {
762 /**
763 * Provides the name of the DB cluster parameter group.
764 */
765 DBClusterParameterGroupName?: String;
766 /**
767 * Provides the name of the DB parameter group family that this DB cluster parameter group is compatible with.
768 */
769 DBParameterGroupFamily?: String;
770 /**
771 * Provides the customer-specified description for this DB cluster parameter group.
772 */
773 Description?: String;
774 /**
775 * The Amazon Resource Name (ARN) for the DB cluster parameter group.
776 */
777 DBClusterParameterGroupArn?: String;
778 }
779 export interface DBClusterParameterGroupDetails {
780 /**
781 * Provides a list of parameters for the DB cluster parameter group.
782 */
783 Parameters?: ParametersList;
784 /**
785 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
786 */
787 Marker?: String;
788 }
789 export type DBClusterParameterGroupList = DBClusterParameterGroup[];
790 export interface DBClusterParameterGroupNameMessage {
791 /**
792 * The name of a DB cluster parameter group. Constraints: Must be from 1 to 255 letters or numbers. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. This value is stored as a lowercase string.
793 */
794 DBClusterParameterGroupName?: String;
795 }
796 export interface DBClusterParameterGroupsMessage {
797 /**
798 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
799 */
800 Marker?: String;
801 /**
802 * A list of DB cluster parameter groups.
803 */
804 DBClusterParameterGroups?: DBClusterParameterGroupList;
805 }
806 export interface DBClusterRole {
807 /**
808 * The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
809 */
810 RoleArn?: String;
811 /**
812 * Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values: ACTIVE - The IAM role ARN is associated with the DB cluster and can be used to access other AWS services on your behalf. PENDING - The IAM role ARN is being associated with the DB cluster. INVALID - The IAM role ARN is associated with the DB cluster, but the DB cluster cannot assume the IAM role to access other AWS services on your behalf.
813 */
814 Status?: String;
815 }
816 export type DBClusterRoles = DBClusterRole[];
817 export interface DBClusterSnapshot {
818 /**
819 * Provides the list of Amazon EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
820 */
821 AvailabilityZones?: AvailabilityZones;
822 /**
823 * Specifies the identifier for the DB cluster snapshot.
824 */
825 DBClusterSnapshotIdentifier?: String;
826 /**
827 * Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
828 */
829 DBClusterIdentifier?: String;
830 /**
831 * Provides the time when the snapshot was taken, in UTC.
832 */
833 SnapshotCreateTime?: TStamp;
834 /**
835 * Specifies the name of the database engine.
836 */
837 Engine?: String;
838 /**
839 * Specifies the status of this DB cluster snapshot.
840 */
841 Status?: String;
842 /**
843 * Specifies the port that the DB cluster was listening on at the time of the snapshot.
844 */
845 Port?: Integer;
846 /**
847 * Provides the virtual private cloud (VPC) ID that is associated with the DB cluster snapshot.
848 */
849 VpcId?: String;
850 /**
851 * Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
852 */
853 ClusterCreateTime?: TStamp;
854 /**
855 * Provides the master user name for the DB cluster snapshot.
856 */
857 MasterUsername?: String;
858 /**
859 * Provides the version of the database engine for this DB cluster snapshot.
860 */
861 EngineVersion?: String;
862 /**
863 * Provides the type of the DB cluster snapshot.
864 */
865 SnapshotType?: String;
866 /**
867 * Specifies the percentage of the estimated data that has been transferred.
868 */
869 PercentProgress?: Integer;
870 /**
871 * Specifies whether the DB cluster snapshot is encrypted.
872 */
873 StorageEncrypted?: Boolean;
874 /**
875 * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
876 */
877 KmsKeyId?: String;
878 /**
879 * The Amazon Resource Name (ARN) for the DB cluster snapshot.
880 */
881 DBClusterSnapshotArn?: String;
882 /**
883 * If the DB cluster snapshot was copied from a source DB cluster snapshot, the ARN for the source DB cluster snapshot; otherwise, a null value.
884 */
885 SourceDBClusterSnapshotArn?: String;
886 }
887 export interface DBClusterSnapshotAttribute {
888 /**
889 * The name of the manual DB cluster snapshot attribute. The attribute named restore refers to the list of AWS accounts that have permission to copy or restore the manual DB cluster snapshot.
890 */
891 AttributeName?: String;
892 /**
893 * The values for the manual DB cluster snapshot attribute. If the AttributeName field is set to restore, then this element returns a list of IDs of the AWS accounts that are authorized to copy or restore the manual DB cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any AWS account to copy or restore.
894 */
895 AttributeValues?: AttributeValueList;
896 }
897 export type DBClusterSnapshotAttributeList = DBClusterSnapshotAttribute[];
898 export interface DBClusterSnapshotAttributesResult {
899 /**
900 * The identifier of the DB cluster snapshot that the attributes apply to.
901 */
902 DBClusterSnapshotIdentifier?: String;
903 /**
904 * The list of attributes and values for the DB cluster snapshot.
905 */
906 DBClusterSnapshotAttributes?: DBClusterSnapshotAttributeList;
907 }
908 export type DBClusterSnapshotList = DBClusterSnapshot[];
909 export interface DBClusterSnapshotMessage {
910 /**
911 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
912 */
913 Marker?: String;
914 /**
915 * Provides a list of DB cluster snapshots.
916 */
917 DBClusterSnapshots?: DBClusterSnapshotList;
918 }
919 export interface DBEngineVersion {
920 /**
921 * The name of the database engine.
922 */
923 Engine?: String;
924 /**
925 * The version number of the database engine.
926 */
927 EngineVersion?: String;
928 /**
929 * The name of the DB parameter group family for the database engine.
930 */
931 DBParameterGroupFamily?: String;
932 /**
933 * The description of the database engine.
934 */
935 DBEngineDescription?: String;
936 /**
937 * The description of the database engine version.
938 */
939 DBEngineVersionDescription?: String;
940 /**
941 * A list of engine versions that this database engine version can be upgraded to.
942 */
943 ValidUpgradeTarget?: ValidUpgradeTargetList;
944 /**
945 * The types of logs that the database engine has available for export to Amazon CloudWatch Logs.
946 */
947 ExportableLogTypes?: LogTypeList;
948 /**
949 * A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.
950 */
951 SupportsLogExportsToCloudwatchLogs?: Boolean;
952 }
953 export type DBEngineVersionList = DBEngineVersion[];
954 export interface DBEngineVersionMessage {
955 /**
956 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
957 */
958 Marker?: String;
959 /**
960 * Detailed information about one or more DB engine versions.
961 */
962 DBEngineVersions?: DBEngineVersionList;
963 }
964 export interface DBInstance {
965 /**
966 * Contains a user-provided database identifier. This identifier is the unique key that identifies a DB instance.
967 */
968 DBInstanceIdentifier?: String;
969 /**
970 * Contains the name of the compute and memory capacity class of the DB instance.
971 */
972 DBInstanceClass?: String;
973 /**
974 * Provides the name of the database engine to be used for this DB instance.
975 */
976 Engine?: String;
977 /**
978 * Specifies the current state of this database.
979 */
980 DBInstanceStatus?: String;
981 /**
982 * Specifies the connection endpoint.
983 */
984 Endpoint?: Endpoint;
985 /**
986 * Provides the date and time that the DB instance was created.
987 */
988 InstanceCreateTime?: TStamp;
989 /**
990 * Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.
991 */
992 PreferredBackupWindow?: String;
993 /**
994 * Specifies the number of days for which automatic DB snapshots are retained.
995 */
996 BackupRetentionPeriod?: Integer;
997 /**
998 * Provides a list of VPC security group elements that the DB instance belongs to.
999 */
1000 VpcSecurityGroups?: VpcSecurityGroupMembershipList;
1001 /**
1002 * Specifies the name of the Availability Zone that the DB instance is located in.
1003 */
1004 AvailabilityZone?: String;
1005 /**
1006 * Specifies information on the subnet group that is associated with the DB instance, including the name, description, and subnets in the subnet group.
1007 */
1008 DBSubnetGroup?: DBSubnetGroup;
1009 /**
1010 * Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
1011 */
1012 PreferredMaintenanceWindow?: String;
1013 /**
1014 * Specifies that changes to the DB instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.
1015 */
1016 PendingModifiedValues?: PendingModifiedValues;
1017 /**
1018 * Specifies the latest time to which a database can be restored with point-in-time restore.
1019 */
1020 LatestRestorableTime?: TStamp;
1021 /**
1022 * Indicates the database engine version.
1023 */
1024 EngineVersion?: String;
1025 /**
1026 * Indicates that minor version patches are applied automatically.
1027 */
1028 AutoMinorVersionUpgrade?: Boolean;
1029 /**
1030 * Specifies the availability options for the DB instance. A value of true specifies an internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address.
1031 */
1032 PubliclyAccessible?: Boolean;
1033 /**
1034 * The status of a read replica. If the instance is not a read replica, this is blank.
1035 */
1036 StatusInfos?: DBInstanceStatusInfoList;
1037 /**
1038 * Contains the name of the DB cluster that the DB instance is a member of if the DB instance is a member of a DB cluster.
1039 */
1040 DBClusterIdentifier?: String;
1041 /**
1042 * Specifies whether the DB instance is encrypted.
1043 */
1044 StorageEncrypted?: Boolean;
1045 /**
1046 * If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB instance.
1047 */
1048 KmsKeyId?: String;
1049 /**
1050 * The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
1051 */
1052 DbiResourceId?: String;
1053 /**
1054 * A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
1055 */
1056 PromotionTier?: IntegerOptional;
1057 /**
1058 * The Amazon Resource Name (ARN) for the DB instance.
1059 */
1060 DBInstanceArn?: String;
1061 /**
1062 * A list of log types that this DB instance is configured to export to Amazon CloudWatch Logs.
1063 */
1064 EnabledCloudwatchLogsExports?: LogTypeList;
1065 }
1066 export type DBInstanceList = DBInstance[];
1067 export interface DBInstanceMessage {
1068 /**
1069 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1070 */
1071 Marker?: String;
1072 /**
1073 * Detailed information about one or more DB instances.
1074 */
1075 DBInstances?: DBInstanceList;
1076 }
1077 export interface DBInstanceStatusInfo {
1078 /**
1079 * This value is currently "read replication."
1080 */
1081 StatusType?: String;
1082 /**
1083 * A Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
1084 */
1085 Normal?: Boolean;
1086 /**
1087 * Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
1088 */
1089 Status?: String;
1090 /**
1091 * Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
1092 */
1093 Message?: String;
1094 }
1095 export type DBInstanceStatusInfoList = DBInstanceStatusInfo[];
1096 export interface DBSubnetGroup {
1097 /**
1098 * The name of the DB subnet group.
1099 */
1100 DBSubnetGroupName?: String;
1101 /**
1102 * Provides the description of the DB subnet group.
1103 */
1104 DBSubnetGroupDescription?: String;
1105 /**
1106 * Provides the virtual private cloud (VPC) ID of the DB subnet group.
1107 */
1108 VpcId?: String;
1109 /**
1110 * Provides the status of the DB subnet group.
1111 */
1112 SubnetGroupStatus?: String;
1113 /**
1114 * Detailed information about one or more subnets within a DB subnet group.
1115 */
1116 Subnets?: SubnetList;
1117 /**
1118 * The Amazon Resource Identifier (ARN) for the DB subnet group.
1119 */
1120 DBSubnetGroupArn?: String;
1121 }
1122 export interface DBSubnetGroupMessage {
1123 /**
1124 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1125 */
1126 Marker?: String;
1127 /**
1128 * Detailed information about one or more DB subnet groups.
1129 */
1130 DBSubnetGroups?: DBSubnetGroups;
1131 }
1132 export type DBSubnetGroups = DBSubnetGroup[];
1133 export interface DeleteDBClusterMessage {
1134 /**
1135 * The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case sensitive. Constraints: Must match an existing DBClusterIdentifier.
1136 */
1137 DBClusterIdentifier: String;
1138 /**
1139 * Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If true is specified, no DB cluster snapshot is created. If false is specified, a DB cluster snapshot is created before the DB cluster is deleted. If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter. Default: false
1140 */
1141 SkipFinalSnapshot?: Boolean;
1142 /**
1143 * The DB cluster snapshot identifier of the new DB cluster snapshot created when SkipFinalSnapshot is set to false. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error. Constraints: Must be from 1 to 255 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
1144 */
1145 FinalDBSnapshotIdentifier?: String;
1146 }
1147 export interface DeleteDBClusterParameterGroupMessage {
1148 /**
1149 * The name of the DB cluster parameter group. Constraints: Must be the name of an existing DB cluster parameter group. You can't delete a default DB cluster parameter group. Cannot be associated with any DB clusters.
1150 */
1151 DBClusterParameterGroupName: String;
1152 }
1153 export interface DeleteDBClusterResult {
1154 DBCluster?: DBCluster;
1155 }
1156 export interface DeleteDBClusterSnapshotMessage {
1157 /**
1158 * The identifier of the DB cluster snapshot to delete. Constraints: Must be the name of an existing DB cluster snapshot in the available state.
1159 */
1160 DBClusterSnapshotIdentifier: String;
1161 }
1162 export interface DeleteDBClusterSnapshotResult {
1163 DBClusterSnapshot?: DBClusterSnapshot;
1164 }
1165 export interface DeleteDBInstanceMessage {
1166 /**
1167 * The DB instance identifier for the DB instance to be deleted. This parameter isn't case sensitive. Constraints: Must match the name of an existing DB instance.
1168 */
1169 DBInstanceIdentifier: String;
1170 }
1171 export interface DeleteDBInstanceResult {
1172 DBInstance?: DBInstance;
1173 }
1174 export interface DeleteDBSubnetGroupMessage {
1175 /**
1176 * The name of the database subnet group to delete. You can't delete the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup
1177 */
1178 DBSubnetGroupName: String;
1179 }
1180 export interface DescribeDBClusterParameterGroupsMessage {
1181 /**
1182 * The name of a specific DB cluster parameter group to return details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup.
1183 */
1184 DBClusterParameterGroupName?: String;
1185 /**
1186 * This parameter is not currently supported.
1187 */
1188 Filters?: FilterList;
1189 /**
1190 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1191 */
1192 MaxRecords?: IntegerOptional;
1193 /**
1194 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1195 */
1196 Marker?: String;
1197 }
1198 export interface DescribeDBClusterParametersMessage {
1199 /**
1200 * The name of a specific DB cluster parameter group to return parameter details for. Constraints: If provided, must match the name of an existing DBClusterParameterGroup.
1201 */
1202 DBClusterParameterGroupName: String;
1203 /**
1204 * A value that indicates to return only parameters for a specific source. Parameter sources can be engine, service, or customer.
1205 */
1206 Source?: String;
1207 /**
1208 * This parameter is not currently supported.
1209 */
1210 Filters?: FilterList;
1211 /**
1212 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1213 */
1214 MaxRecords?: IntegerOptional;
1215 /**
1216 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1217 */
1218 Marker?: String;
1219 }
1220 export interface DescribeDBClusterSnapshotAttributesMessage {
1221 /**
1222 * The identifier for the DB cluster snapshot to describe the attributes for.
1223 */
1224 DBClusterSnapshotIdentifier: String;
1225 }
1226 export interface DescribeDBClusterSnapshotAttributesResult {
1227 DBClusterSnapshotAttributesResult?: DBClusterSnapshotAttributesResult;
1228 }
1229 export interface DescribeDBClusterSnapshotsMessage {
1230 /**
1231 * The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter can't be used with the DBClusterSnapshotIdentifier parameter. This parameter is not case sensitive. Constraints: If provided, must match the identifier of an existing DBCluster.
1232 */
1233 DBClusterIdentifier?: String;
1234 /**
1235 * A specific DB cluster snapshot identifier to describe. This parameter can't be used with the DBClusterIdentifier parameter. This value is stored as a lowercase string. Constraints: If provided, must match the identifier of an existing DBClusterSnapshot. If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified.
1236 */
1237 DBClusterSnapshotIdentifier?: String;
1238 /**
1239 * The type of DB cluster snapshots to be returned. You can specify one of the following values: automated - Return all DB cluster snapshots that Amazon DocumentDB has automatically created for your AWS account. manual - Return all DB cluster snapshots that you have manually created for your AWS account. shared - Return all manual DB cluster snapshots that have been shared to your AWS account. public - Return all DB cluster snapshots that have been marked as public. If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true. The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.
1240 */
1241 SnapshotType?: String;
1242 /**
1243 * This parameter is not currently supported.
1244 */
1245 Filters?: FilterList;
1246 /**
1247 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1248 */
1249 MaxRecords?: IntegerOptional;
1250 /**
1251 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1252 */
1253 Marker?: String;
1254 /**
1255 * Set to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, and otherwise false. The default is false.
1256 */
1257 IncludeShared?: Boolean;
1258 /**
1259 * Set to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, and otherwise false. The default is false.
1260 */
1261 IncludePublic?: Boolean;
1262 }
1263 export interface DescribeDBClustersMessage {
1264 /**
1265 * The user-provided DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case sensitive. Constraints: If provided, must match an existing DBClusterIdentifier.
1266 */
1267 DBClusterIdentifier?: String;
1268 /**
1269 * A filter that specifies one or more DB clusters to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB clusters identified by these ARNs.
1270 */
1271 Filters?: FilterList;
1272 /**
1273 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1274 */
1275 MaxRecords?: IntegerOptional;
1276 /**
1277 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1278 */
1279 Marker?: String;
1280 }
1281 export interface DescribeDBEngineVersionsMessage {
1282 /**
1283 * The database engine to return.
1284 */
1285 Engine?: String;
1286 /**
1287 * The database engine version to return. Example: 5.1.49
1288 */
1289 EngineVersion?: String;
1290 /**
1291 * The name of a specific DB parameter group family to return details for. Constraints: If provided, must match an existing DBParameterGroupFamily.
1292 */
1293 DBParameterGroupFamily?: String;
1294 /**
1295 * This parameter is not currently supported.
1296 */
1297 Filters?: FilterList;
1298 /**
1299 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1300 */
1301 MaxRecords?: IntegerOptional;
1302 /**
1303 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1304 */
1305 Marker?: String;
1306 /**
1307 * Indicates that only the default version of the specified engine or engine and major version combination is returned.
1308 */
1309 DefaultOnly?: Boolean;
1310 /**
1311 * If this parameter is specified and the requested engine supports the CharacterSetName parameter for CreateDBInstance, the response includes a list of supported character sets for each engine version.
1312 */
1313 ListSupportedCharacterSets?: BooleanOptional;
1314 /**
1315 * If this parameter is specified and the requested engine supports the TimeZone parameter for CreateDBInstance, the response includes a list of supported time zones for each engine version.
1316 */
1317 ListSupportedTimezones?: BooleanOptional;
1318 }
1319 export interface DescribeDBInstancesMessage {
1320 /**
1321 * The user-provided instance identifier. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case sensitive. Constraints: If provided, must match the identifier of an existing DBInstance.
1322 */
1323 DBInstanceIdentifier?: String;
1324 /**
1325 * A filter that specifies one or more DB instances to describe. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list includes only the information about the DB instances that are associated with the DB clusters that are identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list includes only the information about the DB instances that are identified by these ARNs.
1326 */
1327 Filters?: FilterList;
1328 /**
1329 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1330 */
1331 MaxRecords?: IntegerOptional;
1332 /**
1333 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1334 */
1335 Marker?: String;
1336 }
1337 export interface DescribeDBSubnetGroupsMessage {
1338 /**
1339 * The name of the DB subnet group to return details for.
1340 */
1341 DBSubnetGroupName?: String;
1342 /**
1343 * This parameter is not currently supported.
1344 */
1345 Filters?: FilterList;
1346 /**
1347 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1348 */
1349 MaxRecords?: IntegerOptional;
1350 /**
1351 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1352 */
1353 Marker?: String;
1354 }
1355 export interface DescribeEngineDefaultClusterParametersMessage {
1356 /**
1357 * The name of the DB cluster parameter group family to return the engine parameter information for.
1358 */
1359 DBParameterGroupFamily: String;
1360 /**
1361 * This parameter is not currently supported.
1362 */
1363 Filters?: FilterList;
1364 /**
1365 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1366 */
1367 MaxRecords?: IntegerOptional;
1368 /**
1369 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1370 */
1371 Marker?: String;
1372 }
1373 export interface DescribeEngineDefaultClusterParametersResult {
1374 EngineDefaults?: EngineDefaults;
1375 }
1376 export interface DescribeEventCategoriesMessage {
1377 /**
1378 * The type of source that is generating the events. Valid values: db-instance, db-parameter-group, db-security-group, db-snapshot
1379 */
1380 SourceType?: String;
1381 /**
1382 * This parameter is not currently supported.
1383 */
1384 Filters?: FilterList;
1385 }
1386 export interface DescribeEventsMessage {
1387 /**
1388 * The identifier of the event source for which events are returned. If not specified, then all sources are included in the response. Constraints: If SourceIdentifier is provided, SourceType must also be provided. If the source type is DBInstance, a DBInstanceIdentifier must be provided. If the source type is DBSecurityGroup, a DBSecurityGroupName must be provided. If the source type is DBParameterGroup, a DBParameterGroupName must be provided. If the source type is DBSnapshot, a DBSnapshotIdentifier must be provided. Cannot end with a hyphen or contain two consecutive hyphens.
1389 */
1390 SourceIdentifier?: String;
1391 /**
1392 * The event source to retrieve events for. If no value is specified, all events are returned.
1393 */
1394 SourceType?: SourceType;
1395 /**
1396 * The beginning of the time interval to retrieve events for, specified in ISO 8601 format. Example: 2009-07-08T18:00Z
1397 */
1398 StartTime?: TStamp;
1399 /**
1400 * The end of the time interval for which to retrieve events, specified in ISO 8601 format. Example: 2009-07-08T18:00Z
1401 */
1402 EndTime?: TStamp;
1403 /**
1404 * The number of minutes to retrieve events for. Default: 60
1405 */
1406 Duration?: IntegerOptional;
1407 /**
1408 * A list of event categories that trigger notifications for an event notification subscription.
1409 */
1410 EventCategories?: EventCategoriesList;
1411 /**
1412 * This parameter is not currently supported.
1413 */
1414 Filters?: FilterList;
1415 /**
1416 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1417 */
1418 MaxRecords?: IntegerOptional;
1419 /**
1420 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1421 */
1422 Marker?: String;
1423 }
1424 export interface DescribeOrderableDBInstanceOptionsMessage {
1425 /**
1426 * The name of the engine to retrieve DB instance options for.
1427 */
1428 Engine: String;
1429 /**
1430 * The engine version filter value. Specify this parameter to show only the available offerings that match the specified engine version.
1431 */
1432 EngineVersion?: String;
1433 /**
1434 * The DB instance class filter value. Specify this parameter to show only the available offerings that match the specified DB instance class.
1435 */
1436 DBInstanceClass?: String;
1437 /**
1438 * The license model filter value. Specify this parameter to show only the available offerings that match the specified license model.
1439 */
1440 LicenseModel?: String;
1441 /**
1442 * The virtual private cloud (VPC) filter value. Specify this parameter to show only the available VPC or non-VPC offerings.
1443 */
1444 Vpc?: BooleanOptional;
1445 /**
1446 * This parameter is not currently supported.
1447 */
1448 Filters?: FilterList;
1449 /**
1450 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1451 */
1452 MaxRecords?: IntegerOptional;
1453 /**
1454 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1455 */
1456 Marker?: String;
1457 }
1458 export interface DescribePendingMaintenanceActionsMessage {
1459 /**
1460 * The ARN of a resource to return pending maintenance actions for.
1461 */
1462 ResourceIdentifier?: String;
1463 /**
1464 * A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs.
1465 */
1466 Filters?: FilterList;
1467 /**
1468 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1469 */
1470 Marker?: String;
1471 /**
1472 * The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
1473 */
1474 MaxRecords?: IntegerOptional;
1475 }
1476 export interface Endpoint {
1477 /**
1478 * Specifies the DNS address of the DB instance.
1479 */
1480 Address?: String;
1481 /**
1482 * Specifies the port that the database engine is listening on.
1483 */
1484 Port?: Integer;
1485 /**
1486 * Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
1487 */
1488 HostedZoneId?: String;
1489 }
1490 export interface EngineDefaults {
1491 /**
1492 * The name of the DB cluster parameter group family to return the engine parameter information for.
1493 */
1494 DBParameterGroupFamily?: String;
1495 /**
1496 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1497 */
1498 Marker?: String;
1499 /**
1500 * The parameters of a particular DB cluster parameter group family.
1501 */
1502 Parameters?: ParametersList;
1503 }
1504 export interface Event {
1505 /**
1506 * Provides the identifier for the source of the event.
1507 */
1508 SourceIdentifier?: String;
1509 /**
1510 * Specifies the source type for this event.
1511 */
1512 SourceType?: SourceType;
1513 /**
1514 * Provides the text of this event.
1515 */
1516 Message?: String;
1517 /**
1518 * Specifies the category for the event.
1519 */
1520 EventCategories?: EventCategoriesList;
1521 /**
1522 * Specifies the date and time of the event.
1523 */
1524 Date?: TStamp;
1525 /**
1526 * The Amazon Resource Name (ARN) for the event.
1527 */
1528 SourceArn?: String;
1529 }
1530 export type EventCategoriesList = String[];
1531 export interface EventCategoriesMap {
1532 /**
1533 * The source type that the returned categories belong to.
1534 */
1535 SourceType?: String;
1536 /**
1537 * The event categories for the specified source type.
1538 */
1539 EventCategories?: EventCategoriesList;
1540 }
1541 export type EventCategoriesMapList = EventCategoriesMap[];
1542 export interface EventCategoriesMessage {
1543 /**
1544 * A list of event category maps.
1545 */
1546 EventCategoriesMapList?: EventCategoriesMapList;
1547 }
1548 export type EventList = Event[];
1549 export interface EventsMessage {
1550 /**
1551 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1552 */
1553 Marker?: String;
1554 /**
1555 * Detailed information about one or more events.
1556 */
1557 Events?: EventList;
1558 }
1559 export interface FailoverDBClusterMessage {
1560 /**
1561 * A DB cluster identifier to force a failover for. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster.
1562 */
1563 DBClusterIdentifier?: String;
1564 /**
1565 * The name of the instance to promote to the primary instance. You must specify the instance identifier for an Amazon DocumentDB replica in the DB cluster. For example, mydbcluster-replica1.
1566 */
1567 TargetDBInstanceIdentifier?: String;
1568 }
1569 export interface FailoverDBClusterResult {
1570 DBCluster?: DBCluster;
1571 }
1572 export interface Filter {
1573 /**
1574 * The name of the filter. Filter names are case sensitive.
1575 */
1576 Name: String;
1577 /**
1578 * One or more filter values. Filter values are case sensitive.
1579 */
1580 Values: FilterValueList;
1581 }
1582 export type FilterList = Filter[];
1583 export type FilterValueList = String[];
1584 export type Integer = number;
1585 export type IntegerOptional = number;
1586 export type KeyList = String[];
1587 export interface ListTagsForResourceMessage {
1588 /**
1589 * The Amazon DocumentDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).
1590 */
1591 ResourceName: String;
1592 /**
1593 * This parameter is not currently supported.
1594 */
1595 Filters?: FilterList;
1596 }
1597 export type LogTypeList = String[];
1598 export interface ModifyDBClusterMessage {
1599 /**
1600 * The DB cluster identifier for the cluster that is being modified. This parameter is not case sensitive. Constraints: Must match the identifier of an existing DBCluster.
1601 */
1602 DBClusterIdentifier: String;
1603 /**
1604 * The new DB cluster identifier for the DB cluster when renaming a DB cluster. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-cluster2
1605 */
1606 NewDBClusterIdentifier?: String;
1607 /**
1608 * A value that specifies whether the changes in this request and any pending changes are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set to false, changes to the DB cluster are applied during the next maintenance window. The ApplyImmediately parameter affects only the NewDBClusterIdentifier and MasterUserPassword values. If you set this parameter value to false, the changes to the NewDBClusterIdentifier and MasterUserPassword values are applied during the next maintenance window. All other changes are applied immediately, regardless of the value of the ApplyImmediately parameter. Default: false
1609 */
1610 ApplyImmediately?: Boolean;
1611 /**
1612 * The number of days for which automated backups are retained. You must specify a minimum value of 1. Default: 1 Constraints: Must be a value from 1 to 35.
1613 */
1614 BackupRetentionPeriod?: IntegerOptional;
1615 /**
1616 * The name of the DB cluster parameter group to use for the DB cluster.
1617 */
1618 DBClusterParameterGroupName?: String;
1619 /**
1620 * A list of virtual private cloud (VPC) security groups that the DB cluster will belong to.
1621 */
1622 VpcSecurityGroupIds?: VpcSecurityGroupIdList;
1623 /**
1624 * The port number on which the DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original DB cluster.
1625 */
1626 Port?: IntegerOptional;
1627 /**
1628 * The new password for the master database user. This password can contain any printable ASCII character except "/", """, or "@". Constraints: Must contain from 8 to 41 characters.
1629 */
1630 MasterUserPassword?: String;
1631 /**
1632 * The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region. Constraints: Must be in the format hh24:mi-hh24:mi. Must be in Universal Coordinated Time (UTC). Must not conflict with the preferred maintenance window. Must be at least 30 minutes.
1633 */
1634 PreferredBackupWindow?: String;
1635 /**
1636 * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
1637 */
1638 PreferredMaintenanceWindow?: String;
1639 /**
1640 * The configuration setting for the log types to be enabled for export to Amazon CloudWatch Logs for a specific DB instance or DB cluster. The EnableLogTypes and DisableLogTypes arrays determine which logs are exported (or not exported) to CloudWatch Logs.
1641 */
1642 CloudwatchLogsExportConfiguration?: CloudwatchLogsExportConfiguration;
1643 /**
1644 * The version number of the database engine to which you want to upgrade. Changing this parameter results in an outage. The change is applied during the next maintenance window unless the ApplyImmediately parameter is set to true.
1645 */
1646 EngineVersion?: String;
1647 }
1648 export interface ModifyDBClusterParameterGroupMessage {
1649 /**
1650 * The name of the DB cluster parameter group to modify.
1651 */
1652 DBClusterParameterGroupName: String;
1653 /**
1654 * A list of parameters in the DB cluster parameter group to modify.
1655 */
1656 Parameters: ParametersList;
1657 }
1658 export interface ModifyDBClusterResult {
1659 DBCluster?: DBCluster;
1660 }
1661 export interface ModifyDBClusterSnapshotAttributeMessage {
1662 /**
1663 * The identifier for the DB cluster snapshot to modify the attributes for.
1664 */
1665 DBClusterSnapshotIdentifier: String;
1666 /**
1667 * The name of the DB cluster snapshot attribute to modify. To manage authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this value to restore.
1668 */
1669 AttributeName: String;
1670 /**
1671 * A list of DB cluster snapshot attributes to add to the attribute specified by AttributeName. To authorize other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account IDs. To make the manual DB cluster snapshot restorable by any AWS account, set it to all. Do not add the all value for any manual DB cluster snapshots that contain private information that you don't want to be available to all AWS accounts.
1672 */
1673 ValuesToAdd?: AttributeValueList;
1674 /**
1675 * A list of DB cluster snapshot attributes to remove from the attribute specified by AttributeName. To remove authorization for other AWS accounts to copy or restore a manual DB cluster snapshot, set this list to include one or more AWS account identifiers. To remove authorization for any AWS account to copy or restore the DB cluster snapshot, set it to all . If you specify all, an AWS account whose account ID is explicitly added to the restore attribute can still copy or restore a manual DB cluster snapshot.
1676 */
1677 ValuesToRemove?: AttributeValueList;
1678 }
1679 export interface ModifyDBClusterSnapshotAttributeResult {
1680 DBClusterSnapshotAttributesResult?: DBClusterSnapshotAttributesResult;
1681 }
1682 export interface ModifyDBInstanceMessage {
1683 /**
1684 * The DB instance identifier. This value is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance.
1685 */
1686 DBInstanceIdentifier: String;
1687 /**
1688 * The new compute and memory capacity of the DB instance; for example, db.m4.large. Not all DB instance classes are available in all AWS Regions. If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window, unless ApplyImmediately is specified as true for this request. Default: Uses existing setting.
1689 */
1690 DBInstanceClass?: String;
1691 /**
1692 * Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting for the DB instance. If this parameter is set to false, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage and are applied on the next reboot. Default: false
1693 */
1694 ApplyImmediately?: Boolean;
1695 /**
1696 * The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter doesn't result in an outage except in the following situation, and the change is asynchronously applied as soon as possible. If there are pending actions that cause a reboot, and the maintenance window is changed to include the current time, changing this parameter causes a reboot of the DB instance. If you are moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure that pending changes are applied. Default: Uses existing setting. Format: ddd:hh24:mi-ddd:hh24:mi Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Must be at least 30 minutes.
1697 */
1698 PreferredMaintenanceWindow?: String;
1699 /**
1700 * Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case, and the change is asynchronously applied as soon as possible. An outage results if this parameter is set to true during the maintenance window, and a newer minor version is available, and Amazon DocumentDB has enabled automatic patching for that engine version.
1701 */
1702 AutoMinorVersionUpgrade?: BooleanOptional;
1703 /**
1704 * The new DB instance identifier for the DB instance when renaming a DB instance. When you change the DB instance identifier, an instance reboot occurs immediately if you set Apply Immediately to true. It occurs during the next maintenance window if you set Apply Immediately to false. This value is stored as a lowercase string. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: mydbinstance
1705 */
1706 NewDBInstanceIdentifier?: String;
1707 /**
1708 * A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance. Default: 1 Valid values: 0-15
1709 */
1710 PromotionTier?: IntegerOptional;
1711 }
1712 export interface ModifyDBInstanceResult {
1713 DBInstance?: DBInstance;
1714 }
1715 export interface ModifyDBSubnetGroupMessage {
1716 /**
1717 * The name for the DB subnet group. This value is stored as a lowercase string. You can't modify the default subnet group. Constraints: Must match the name of an existing DBSubnetGroup. Must not be default. Example: mySubnetgroup
1718 */
1719 DBSubnetGroupName: String;
1720 /**
1721 * The description for the DB subnet group.
1722 */
1723 DBSubnetGroupDescription?: String;
1724 /**
1725 * The Amazon EC2 subnet IDs for the DB subnet group.
1726 */
1727 SubnetIds: SubnetIdentifierList;
1728 }
1729 export interface ModifyDBSubnetGroupResult {
1730 DBSubnetGroup?: DBSubnetGroup;
1731 }
1732 export interface OrderableDBInstanceOption {
1733 /**
1734 * The engine type of a DB instance.
1735 */
1736 Engine?: String;
1737 /**
1738 * The engine version of a DB instance.
1739 */
1740 EngineVersion?: String;
1741 /**
1742 * The DB instance class for a DB instance.
1743 */
1744 DBInstanceClass?: String;
1745 /**
1746 * The license model for a DB instance.
1747 */
1748 LicenseModel?: String;
1749 /**
1750 * A list of Availability Zones for a DB instance.
1751 */
1752 AvailabilityZones?: AvailabilityZoneList;
1753 /**
1754 * Indicates whether a DB instance is in a virtual private cloud (VPC).
1755 */
1756 Vpc?: Boolean;
1757 }
1758 export type OrderableDBInstanceOptionsList = OrderableDBInstanceOption[];
1759 export interface OrderableDBInstanceOptionsMessage {
1760 /**
1761 * The options that are available for a particular orderable DB instance.
1762 */
1763 OrderableDBInstanceOptions?: OrderableDBInstanceOptionsList;
1764 /**
1765 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1766 */
1767 Marker?: String;
1768 }
1769 export interface Parameter {
1770 /**
1771 * Specifies the name of the parameter.
1772 */
1773 ParameterName?: String;
1774 /**
1775 * Specifies the value of the parameter.
1776 */
1777 ParameterValue?: String;
1778 /**
1779 * Provides a description of the parameter.
1780 */
1781 Description?: String;
1782 /**
1783 * Indicates the source of the parameter value.
1784 */
1785 Source?: String;
1786 /**
1787 * Specifies the engine-specific parameters type.
1788 */
1789 ApplyType?: String;
1790 /**
1791 * Specifies the valid data type for the parameter.
1792 */
1793 DataType?: String;
1794 /**
1795 * Specifies the valid range of values for the parameter.
1796 */
1797 AllowedValues?: String;
1798 /**
1799 * Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
1800 */
1801 IsModifiable?: Boolean;
1802 /**
1803 * The earliest engine version to which the parameter can apply.
1804 */
1805 MinimumEngineVersion?: String;
1806 /**
1807 * Indicates when to apply parameter updates.
1808 */
1809 ApplyMethod?: ApplyMethod;
1810 }
1811 export type ParametersList = Parameter[];
1812 export interface PendingCloudwatchLogsExports {
1813 /**
1814 * Log types that are in the process of being deactivated. After they are deactivated, these log types aren't exported to CloudWatch Logs.
1815 */
1816 LogTypesToEnable?: LogTypeList;
1817 /**
1818 * Log types that are in the process of being enabled. After they are enabled, these log types are exported to Amazon CloudWatch Logs.
1819 */
1820 LogTypesToDisable?: LogTypeList;
1821 }
1822 export interface PendingMaintenanceAction {
1823 /**
1824 * The type of pending maintenance action that is available for the resource.
1825 */
1826 Action?: String;
1827 /**
1828 * The date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any next-maintenance opt-in requests are ignored.
1829 */
1830 AutoAppliedAfterDate?: TStamp;
1831 /**
1832 * The date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any immediate opt-in requests are ignored.
1833 */
1834 ForcedApplyDate?: TStamp;
1835 /**
1836 * Indicates the type of opt-in request that has been received for the resource.
1837 */
1838 OptInStatus?: String;
1839 /**
1840 * The effective date when the pending maintenance action is applied to the resource.
1841 */
1842 CurrentApplyDate?: TStamp;
1843 /**
1844 * A description providing more detail about the maintenance action.
1845 */
1846 Description?: String;
1847 }
1848 export type PendingMaintenanceActionDetails = PendingMaintenanceAction[];
1849 export type PendingMaintenanceActions = ResourcePendingMaintenanceActions[];
1850 export interface PendingMaintenanceActionsMessage {
1851 /**
1852 * The maintenance actions to be applied.
1853 */
1854 PendingMaintenanceActions?: PendingMaintenanceActions;
1855 /**
1856 * An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
1857 */
1858 Marker?: String;
1859 }
1860 export interface PendingModifiedValues {
1861 /**
1862 * Contains the new DBInstanceClass for the DB instance that will be applied or is currently being applied.
1863 */
1864 DBInstanceClass?: String;
1865 /**
1866 * Contains the new AllocatedStorage size for the DB instance that will be applied or is currently being applied.
1867 */
1868 AllocatedStorage?: IntegerOptional;
1869 /**
1870 * Contains the pending or currently in-progress change of the master credentials for the DB instance.
1871 */
1872 MasterUserPassword?: String;
1873 /**
1874 * Specifies the pending port for the DB instance.
1875 */
1876 Port?: IntegerOptional;
1877 /**
1878 * Specifies the pending number of days for which automated backups are retained.
1879 */
1880 BackupRetentionPeriod?: IntegerOptional;
1881 /**
1882 * Indicates that the Single-AZ DB instance is to change to a Multi-AZ deployment.
1883 */
1884 MultiAZ?: BooleanOptional;
1885 /**
1886 * Indicates the database engine version.
1887 */
1888 EngineVersion?: String;
1889 /**
1890 * The license model for the DB instance. Valid values: license-included, bring-your-own-license, general-public-license
1891 */
1892 LicenseModel?: String;
1893 /**
1894 * Specifies the new Provisioned IOPS value for the DB instance that will be applied or is currently being applied.
1895 */
1896 Iops?: IntegerOptional;
1897 /**
1898 * Contains the new DBInstanceIdentifier for the DB instance that will be applied or is currently being applied.
1899 */
1900 DBInstanceIdentifier?: String;
1901 /**
1902 * Specifies the storage type to be associated with the DB instance.
1903 */
1904 StorageType?: String;
1905 /**
1906 * Specifies the identifier of the certificate authority (CA) certificate for the DB instance.
1907 */
1908 CACertificateIdentifier?: String;
1909 /**
1910 * The new DB subnet group for the DB instance.
1911 */
1912 DBSubnetGroupName?: String;
1913 /**
1914 * A list of the log types whose configuration is still pending. These log types are in the process of being activated or deactivated.
1915 */
1916 PendingCloudwatchLogsExports?: PendingCloudwatchLogsExports;
1917 }
1918 export interface RebootDBInstanceMessage {
1919 /**
1920 * The DB instance identifier. This parameter is stored as a lowercase string. Constraints: Must match the identifier of an existing DBInstance.
1921 */
1922 DBInstanceIdentifier: String;
1923 /**
1924 * When true, the reboot is conducted through a Multi-AZ failover. Constraint: You can't specify true if the instance is not configured for Multi-AZ.
1925 */
1926 ForceFailover?: BooleanOptional;
1927 }
1928 export interface RebootDBInstanceResult {
1929 DBInstance?: DBInstance;
1930 }
1931 export interface RemoveTagsFromResourceMessage {
1932 /**
1933 * The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource Name (ARN).
1934 */
1935 ResourceName: String;
1936 /**
1937 * The tag key (name) of the tag to be removed.
1938 */
1939 TagKeys: KeyList;
1940 }
1941 export interface ResetDBClusterParameterGroupMessage {
1942 /**
1943 * The name of the DB cluster parameter group to reset.
1944 */
1945 DBClusterParameterGroupName: String;
1946 /**
1947 * A value that is set to true to reset all parameters in the DB cluster parameter group to their default values, and false otherwise. You can't use this parameter if there is a list of parameter names specified for the Parameters parameter.
1948 */
1949 ResetAllParameters?: Boolean;
1950 /**
1951 * A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the ResetAllParameters parameter is set to true.
1952 */
1953 Parameters?: ParametersList;
1954 }
1955 export interface ResourcePendingMaintenanceActions {
1956 /**
1957 * The Amazon Resource Name (ARN) of the resource that has pending maintenance actions.
1958 */
1959 ResourceIdentifier?: String;
1960 /**
1961 * A list that provides details about the pending maintenance actions for the resource.
1962 */
1963 PendingMaintenanceActionDetails?: PendingMaintenanceActionDetails;
1964 }
1965 export interface RestoreDBClusterFromSnapshotMessage {
1966 /**
1967 * Provides the list of Amazon EC2 Availability Zones that instances in the restored DB cluster can be created in.
1968 */
1969 AvailabilityZones?: AvailabilityZones;
1970 /**
1971 * The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This parameter isn't case sensitive. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens. Example: my-snapshot-id
1972 */
1973 DBClusterIdentifier: String;
1974 /**
1975 * The identifier for the DB snapshot or DB cluster snapshot to restore from. You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster snapshot. However, you can use only the ARN to specify a DB snapshot. Constraints: Must match the identifier of an existing snapshot.
1976 */
1977 SnapshotIdentifier: String;
1978 /**
1979 * The database engine to use for the new DB cluster. Default: The same as source. Constraint: Must be compatible with the engine of the source.
1980 */
1981 Engine: String;
1982 /**
1983 * The version of the database engine to use for the new DB cluster.
1984 */
1985 EngineVersion?: String;
1986 /**
1987 * The port number on which the new DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The same port as the original DB cluster.
1988 */
1989 Port?: IntegerOptional;
1990 /**
1991 * The name of the DB subnet group to use for the new DB cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup
1992 */
1993 DBSubnetGroupName?: String;
1994 /**
1995 * A list of virtual private cloud (VPC) security groups that the new DB cluster will belong to.
1996 */
1997 VpcSecurityGroupIds?: VpcSecurityGroupIdList;
1998 /**
1999 * The tags to be assigned to the restored DB cluster.
2000 */
2001 Tags?: TagList;
2002 /**
2003 * The AWS KMS key identifier to use when restoring an encrypted DB cluster from a DB snapshot or DB cluster snapshot. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the DB snapshot or DB cluster snapshot in SnapshotIdentifier is encrypted, then the restored DB cluster is encrypted using the AWS KMS key that was used to encrypt the DB snapshot or the DB cluster snapshot. If the DB snapshot or the DB cluster snapshot in SnapshotIdentifier is not encrypted, then the restored DB cluster is not encrypted.
2004 */
2005 KmsKeyId?: String;
2006 /**
2007 * A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
2008 */
2009 EnableCloudwatchLogsExports?: LogTypeList;
2010 }
2011 export interface RestoreDBClusterFromSnapshotResult {
2012 DBCluster?: DBCluster;
2013 }
2014 export interface RestoreDBClusterToPointInTimeMessage {
2015 /**
2016 * The name of the new DB cluster to be created. Constraints: Must contain from 1 to 63 letters, numbers, or hyphens. The first character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens.
2017 */
2018 DBClusterIdentifier: String;
2019 /**
2020 * The identifier of the source DB cluster from which to restore. Constraints: Must match the identifier of an existing DBCluster.
2021 */
2022 SourceDBClusterIdentifier: String;
2023 /**
2024 * The date and time to restore the DB cluster to. Valid values: A time in Universal Coordinated Time (UTC) format. Constraints: Must be before the latest restorable time for the DB instance. Must be specified if the UseLatestRestorableTime parameter is not provided. Cannot be specified if the UseLatestRestorableTime parameter is true. Cannot be specified if the RestoreType parameter is copy-on-write. Example: 2015-03-07T23:45:00Z
2025 */
2026 RestoreToTime?: TStamp;
2027 /**
2028 * A value that is set to true to restore the DB cluster to the latest restorable backup time, and false otherwise. Default: false Constraints: Cannot be specified if the RestoreToTime parameter is provided.
2029 */
2030 UseLatestRestorableTime?: Boolean;
2031 /**
2032 * The port number on which the new DB cluster accepts connections. Constraints: Must be a value from 1150 to 65535. Default: The default port for the engine.
2033 */
2034 Port?: IntegerOptional;
2035 /**
2036 * The DB subnet group name to use for the new DB cluster. Constraints: If provided, must match the name of an existing DBSubnetGroup. Example: mySubnetgroup
2037 */
2038 DBSubnetGroupName?: String;
2039 /**
2040 * A list of VPC security groups that the new DB cluster belongs to.
2041 */
2042 VpcSecurityGroupIds?: VpcSecurityGroupIdList;
2043 /**
2044 * The tags to be assigned to the restored DB cluster.
2045 */
2046 Tags?: TagList;
2047 /**
2048 * The AWS KMS key identifier to use when restoring an encrypted DB cluster from an encrypted DB cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are restoring a DB cluster with the same AWS account that owns the AWS KMS encryption key used to encrypt the new DB cluster, then you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. You can restore to a new DB cluster and encrypt the new DB cluster with an AWS KMS key that is different from the AWS KMS key used to encrypt the source DB cluster. The new DB cluster is encrypted with the AWS KMS key identified by the KmsKeyId parameter. If you do not specify a value for the KmsKeyId parameter, then the following occurs: If the DB cluster is encrypted, then the restored DB cluster is encrypted using the AWS KMS key that was used to encrypt the source DB cluster. If the DB cluster is not encrypted, then the restored DB cluster is not encrypted. If DBClusterIdentifier refers to a DB cluster that is not encrypted, then the restore request is rejected.
2049 */
2050 KmsKeyId?: String;
2051 /**
2052 * A list of log types that must be enabled for exporting to Amazon CloudWatch Logs.
2053 */
2054 EnableCloudwatchLogsExports?: LogTypeList;
2055 }
2056 export interface RestoreDBClusterToPointInTimeResult {
2057 DBCluster?: DBCluster;
2058 }
2059 export type SourceType = "db-instance"|"db-parameter-group"|"db-security-group"|"db-snapshot"|"db-cluster"|"db-cluster-snapshot"|string;
2060 export type String = string;
2061 export interface Subnet {
2062 /**
2063 * Specifies the identifier of the subnet.
2064 */
2065 SubnetIdentifier?: String;
2066 /**
2067 * Specifies the Availability Zone for the subnet.
2068 */
2069 SubnetAvailabilityZone?: AvailabilityZone;
2070 /**
2071 * Specifies the status of the subnet.
2072 */
2073 SubnetStatus?: String;
2074 }
2075 export type SubnetIdentifierList = String[];
2076 export type SubnetList = Subnet[];
2077 export type TStamp = Date;
2078 export interface Tag {
2079 /**
2080 * The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
2081 */
2082 Key?: String;
2083 /**
2084 * The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
2085 */
2086 Value?: String;
2087 }
2088 export type TagList = Tag[];
2089 export interface TagListMessage {
2090 /**
2091 * A list of one or more tags.
2092 */
2093 TagList?: TagList;
2094 }
2095 export interface UpgradeTarget {
2096 /**
2097 * The name of the upgrade target database engine.
2098 */
2099 Engine?: String;
2100 /**
2101 * The version number of the upgrade target database engine.
2102 */
2103 EngineVersion?: String;
2104 /**
2105 * The version of the database engine that a DB instance can be upgraded to.
2106 */
2107 Description?: String;
2108 /**
2109 * A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
2110 */
2111 AutoUpgrade?: Boolean;
2112 /**
2113 * A value that indicates whether a database engine is upgraded to a major version.
2114 */
2115 IsMajorVersionUpgrade?: Boolean;
2116 }
2117 export type ValidUpgradeTargetList = UpgradeTarget[];
2118 export type VpcSecurityGroupIdList = String[];
2119 export interface VpcSecurityGroupMembership {
2120 /**
2121 * The name of the VPC security group.
2122 */
2123 VpcSecurityGroupId?: String;
2124 /**
2125 * The status of the VPC security group.
2126 */
2127 Status?: String;
2128 }
2129 export type VpcSecurityGroupMembershipList = VpcSecurityGroupMembership[];
2130 /**
2131 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2132 */
2133 export type apiVersion = "2014-10-31"|"latest"|string;
2134 export interface ClientApiVersions {
2135 /**
2136 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2137 */
2138 apiVersion?: apiVersion;
2139 }
2140 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
2141 /**
2142 * Contains interfaces for use with the DocDB client.
2143 */
2144 export import Types = DocDB;
2145}
2146export = DocDB;