cdk-lambda-subminute 2.0.389 → 2.0.391

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +387 -115
  5. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +28 -21
  6. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +140 -105
  7. package/node_modules/aws-sdk/apis/docdb-elastic-2022-11-28.min.json +209 -62
  8. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +61 -61
  9. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +12 -12
  10. package/node_modules/aws-sdk/apis/migrationhuborchestrator-2021-08-28.min.json +190 -86
  11. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +268 -186
  12. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +518 -516
  13. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1115 -1099
  14. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +3 -7
  15. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +126 -123
  16. package/node_modules/aws-sdk/clients/batch.d.ts +395 -36
  17. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +7 -1
  18. package/node_modules/aws-sdk/clients/costexplorer.d.ts +40 -0
  19. package/node_modules/aws-sdk/clients/docdbelastic.d.ts +253 -112
  20. package/node_modules/aws-sdk/clients/ec2.d.ts +2 -1
  21. package/node_modules/aws-sdk/clients/eks.d.ts +1 -1
  22. package/node_modules/aws-sdk/clients/iot.d.ts +11 -10
  23. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +107 -0
  24. package/node_modules/aws-sdk/clients/migrationhuborchestrator.d.ts +141 -8
  25. package/node_modules/aws-sdk/clients/quicksight.d.ts +9 -0
  26. package/node_modules/aws-sdk/clients/sagemaker.d.ts +39 -10
  27. package/node_modules/aws-sdk/clients/securitylake.d.ts +9 -5
  28. package/node_modules/aws-sdk/clients/wafv2.d.ts +5 -0
  29. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  30. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +13 -13
  31. package/node_modules/aws-sdk/dist/aws-sdk.js +216 -181
  32. package/node_modules/aws-sdk/dist/aws-sdk.min.js +102 -102
  33. package/node_modules/aws-sdk/lib/core.js +1 -1
  34. package/node_modules/aws-sdk/package.json +1 -1
  35. package/package.json +3 -3
@@ -12,428 +12,515 @@ declare class DocDBElastic extends Service {
12
12
  constructor(options?: DocDBElastic.Types.ClientConfiguration)
13
13
  config: Config & DocDBElastic.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
15
+ * Copies a snapshot of an elastic cluster.
16
+ */
17
+ copyClusterSnapshot(params: DocDBElastic.Types.CopyClusterSnapshotInput, callback?: (err: AWSError, data: DocDBElastic.Types.CopyClusterSnapshotOutput) => void): Request<DocDBElastic.Types.CopyClusterSnapshotOutput, AWSError>;
18
+ /**
19
+ * Copies a snapshot of an elastic cluster.
20
+ */
21
+ copyClusterSnapshot(callback?: (err: AWSError, data: DocDBElastic.Types.CopyClusterSnapshotOutput) => void): Request<DocDBElastic.Types.CopyClusterSnapshotOutput, AWSError>;
22
+ /**
23
+ * Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
16
24
  */
17
25
  createCluster(params: DocDBElastic.Types.CreateClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.CreateClusterOutput) => void): Request<DocDBElastic.Types.CreateClusterOutput, AWSError>;
18
26
  /**
19
- * Creates a new Elastic DocumentDB cluster and returns its Cluster structure.
27
+ * Creates a new Amazon DocumentDB elastic cluster and returns its cluster structure.
20
28
  */
21
29
  createCluster(callback?: (err: AWSError, data: DocDBElastic.Types.CreateClusterOutput) => void): Request<DocDBElastic.Types.CreateClusterOutput, AWSError>;
22
30
  /**
23
- * Creates a snapshot of a cluster.
31
+ * Creates a snapshot of an elastic cluster.
24
32
  */
25
33
  createClusterSnapshot(params: DocDBElastic.Types.CreateClusterSnapshotInput, callback?: (err: AWSError, data: DocDBElastic.Types.CreateClusterSnapshotOutput) => void): Request<DocDBElastic.Types.CreateClusterSnapshotOutput, AWSError>;
26
34
  /**
27
- * Creates a snapshot of a cluster.
35
+ * Creates a snapshot of an elastic cluster.
28
36
  */
29
37
  createClusterSnapshot(callback?: (err: AWSError, data: DocDBElastic.Types.CreateClusterSnapshotOutput) => void): Request<DocDBElastic.Types.CreateClusterSnapshotOutput, AWSError>;
30
38
  /**
31
- * Delete a Elastic DocumentDB cluster.
39
+ * Delete an elastic cluster.
32
40
  */
33
41
  deleteCluster(params: DocDBElastic.Types.DeleteClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.DeleteClusterOutput) => void): Request<DocDBElastic.Types.DeleteClusterOutput, AWSError>;
34
42
  /**
35
- * Delete a Elastic DocumentDB cluster.
43
+ * Delete an elastic cluster.
36
44
  */
37
45
  deleteCluster(callback?: (err: AWSError, data: DocDBElastic.Types.DeleteClusterOutput) => void): Request<DocDBElastic.Types.DeleteClusterOutput, AWSError>;
38
46
  /**
39
- * Delete a Elastic DocumentDB snapshot.
47
+ * Delete an elastic cluster snapshot.
40
48
  */
41
49
  deleteClusterSnapshot(params: DocDBElastic.Types.DeleteClusterSnapshotInput, callback?: (err: AWSError, data: DocDBElastic.Types.DeleteClusterSnapshotOutput) => void): Request<DocDBElastic.Types.DeleteClusterSnapshotOutput, AWSError>;
42
50
  /**
43
- * Delete a Elastic DocumentDB snapshot.
51
+ * Delete an elastic cluster snapshot.
44
52
  */
45
53
  deleteClusterSnapshot(callback?: (err: AWSError, data: DocDBElastic.Types.DeleteClusterSnapshotOutput) => void): Request<DocDBElastic.Types.DeleteClusterSnapshotOutput, AWSError>;
46
54
  /**
47
- * Returns information about a specific Elastic DocumentDB cluster.
55
+ * Returns information about a specific elastic cluster.
48
56
  */
49
57
  getCluster(params: DocDBElastic.Types.GetClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.GetClusterOutput) => void): Request<DocDBElastic.Types.GetClusterOutput, AWSError>;
50
58
  /**
51
- * Returns information about a specific Elastic DocumentDB cluster.
59
+ * Returns information about a specific elastic cluster.
52
60
  */
53
61
  getCluster(callback?: (err: AWSError, data: DocDBElastic.Types.GetClusterOutput) => void): Request<DocDBElastic.Types.GetClusterOutput, AWSError>;
54
62
  /**
55
- * Returns information about a specific Elastic DocumentDB snapshot
63
+ * Returns information about a specific elastic cluster snapshot
56
64
  */
57
65
  getClusterSnapshot(params: DocDBElastic.Types.GetClusterSnapshotInput, callback?: (err: AWSError, data: DocDBElastic.Types.GetClusterSnapshotOutput) => void): Request<DocDBElastic.Types.GetClusterSnapshotOutput, AWSError>;
58
66
  /**
59
- * Returns information about a specific Elastic DocumentDB snapshot
67
+ * Returns information about a specific elastic cluster snapshot
60
68
  */
61
69
  getClusterSnapshot(callback?: (err: AWSError, data: DocDBElastic.Types.GetClusterSnapshotOutput) => void): Request<DocDBElastic.Types.GetClusterSnapshotOutput, AWSError>;
62
70
  /**
63
- * Returns information about Elastic DocumentDB snapshots for a specified cluster.
71
+ * Returns information about snapshots for a specified elastic cluster.
64
72
  */
65
73
  listClusterSnapshots(params: DocDBElastic.Types.ListClusterSnapshotsInput, callback?: (err: AWSError, data: DocDBElastic.Types.ListClusterSnapshotsOutput) => void): Request<DocDBElastic.Types.ListClusterSnapshotsOutput, AWSError>;
66
74
  /**
67
- * Returns information about Elastic DocumentDB snapshots for a specified cluster.
75
+ * Returns information about snapshots for a specified elastic cluster.
68
76
  */
69
77
  listClusterSnapshots(callback?: (err: AWSError, data: DocDBElastic.Types.ListClusterSnapshotsOutput) => void): Request<DocDBElastic.Types.ListClusterSnapshotsOutput, AWSError>;
70
78
  /**
71
- * Returns information about provisioned Elastic DocumentDB clusters.
79
+ * Returns information about provisioned Amazon DocumentDB elastic clusters.
72
80
  */
73
81
  listClusters(params: DocDBElastic.Types.ListClustersInput, callback?: (err: AWSError, data: DocDBElastic.Types.ListClustersOutput) => void): Request<DocDBElastic.Types.ListClustersOutput, AWSError>;
74
82
  /**
75
- * Returns information about provisioned Elastic DocumentDB clusters.
83
+ * Returns information about provisioned Amazon DocumentDB elastic clusters.
76
84
  */
77
85
  listClusters(callback?: (err: AWSError, data: DocDBElastic.Types.ListClustersOutput) => void): Request<DocDBElastic.Types.ListClustersOutput, AWSError>;
78
86
  /**
79
- * Lists all tags on a Elastic DocumentDB resource
87
+ * Lists all tags on a elastic cluster resource
80
88
  */
81
89
  listTagsForResource(params: DocDBElastic.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DocDBElastic.Types.ListTagsForResourceResponse) => void): Request<DocDBElastic.Types.ListTagsForResourceResponse, AWSError>;
82
90
  /**
83
- * Lists all tags on a Elastic DocumentDB resource
91
+ * Lists all tags on a elastic cluster resource
84
92
  */
85
93
  listTagsForResource(callback?: (err: AWSError, data: DocDBElastic.Types.ListTagsForResourceResponse) => void): Request<DocDBElastic.Types.ListTagsForResourceResponse, AWSError>;
86
94
  /**
87
- * Restores a Elastic DocumentDB cluster from a snapshot.
95
+ * Restores an elastic cluster from a snapshot.
88
96
  */
89
97
  restoreClusterFromSnapshot(params: DocDBElastic.Types.RestoreClusterFromSnapshotInput, callback?: (err: AWSError, data: DocDBElastic.Types.RestoreClusterFromSnapshotOutput) => void): Request<DocDBElastic.Types.RestoreClusterFromSnapshotOutput, AWSError>;
90
98
  /**
91
- * Restores a Elastic DocumentDB cluster from a snapshot.
99
+ * Restores an elastic cluster from a snapshot.
92
100
  */
93
101
  restoreClusterFromSnapshot(callback?: (err: AWSError, data: DocDBElastic.Types.RestoreClusterFromSnapshotOutput) => void): Request<DocDBElastic.Types.RestoreClusterFromSnapshotOutput, AWSError>;
94
102
  /**
95
- * Adds metadata tags to a Elastic DocumentDB resource
103
+ * Restarts the stopped elastic cluster that is specified by clusterARN.
104
+ */
105
+ startCluster(params: DocDBElastic.Types.StartClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.StartClusterOutput) => void): Request<DocDBElastic.Types.StartClusterOutput, AWSError>;
106
+ /**
107
+ * Restarts the stopped elastic cluster that is specified by clusterARN.
108
+ */
109
+ startCluster(callback?: (err: AWSError, data: DocDBElastic.Types.StartClusterOutput) => void): Request<DocDBElastic.Types.StartClusterOutput, AWSError>;
110
+ /**
111
+ * Stops the running elastic cluster that is specified by clusterArn. The elastic cluster must be in the available state.
112
+ */
113
+ stopCluster(params: DocDBElastic.Types.StopClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.StopClusterOutput) => void): Request<DocDBElastic.Types.StopClusterOutput, AWSError>;
114
+ /**
115
+ * Stops the running elastic cluster that is specified by clusterArn. The elastic cluster must be in the available state.
116
+ */
117
+ stopCluster(callback?: (err: AWSError, data: DocDBElastic.Types.StopClusterOutput) => void): Request<DocDBElastic.Types.StopClusterOutput, AWSError>;
118
+ /**
119
+ * Adds metadata tags to an elastic cluster resource
96
120
  */
97
121
  tagResource(params: DocDBElastic.Types.TagResourceRequest, callback?: (err: AWSError, data: DocDBElastic.Types.TagResourceResponse) => void): Request<DocDBElastic.Types.TagResourceResponse, AWSError>;
98
122
  /**
99
- * Adds metadata tags to a Elastic DocumentDB resource
123
+ * Adds metadata tags to an elastic cluster resource
100
124
  */
101
125
  tagResource(callback?: (err: AWSError, data: DocDBElastic.Types.TagResourceResponse) => void): Request<DocDBElastic.Types.TagResourceResponse, AWSError>;
102
126
  /**
103
- * Removes metadata tags to a Elastic DocumentDB resource
127
+ * Removes metadata tags from an elastic cluster resource
104
128
  */
105
129
  untagResource(params: DocDBElastic.Types.UntagResourceRequest, callback?: (err: AWSError, data: DocDBElastic.Types.UntagResourceResponse) => void): Request<DocDBElastic.Types.UntagResourceResponse, AWSError>;
106
130
  /**
107
- * Removes metadata tags to a Elastic DocumentDB resource
131
+ * Removes metadata tags from an elastic cluster resource
108
132
  */
109
133
  untagResource(callback?: (err: AWSError, data: DocDBElastic.Types.UntagResourceResponse) => void): Request<DocDBElastic.Types.UntagResourceResponse, AWSError>;
110
134
  /**
111
- * Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
135
+ * Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window
112
136
  */
113
137
  updateCluster(params: DocDBElastic.Types.UpdateClusterInput, callback?: (err: AWSError, data: DocDBElastic.Types.UpdateClusterOutput) => void): Request<DocDBElastic.Types.UpdateClusterOutput, AWSError>;
114
138
  /**
115
- * Modifies a Elastic DocumentDB cluster. This includes updating admin-username/password, upgrading API version setting up a backup window and maintenance window
139
+ * Modifies an elastic cluster. This includes updating admin-username/password, upgrading the API version, and setting up a backup window and maintenance window
116
140
  */
117
141
  updateCluster(callback?: (err: AWSError, data: DocDBElastic.Types.UpdateClusterOutput) => void): Request<DocDBElastic.Types.UpdateClusterOutput, AWSError>;
118
142
  }
119
143
  declare namespace DocDBElastic {
120
144
  export type Arn = string;
121
145
  export type Auth = "PLAIN_TEXT"|"SECRET_ARN"|string;
146
+ export type Boolean = boolean;
122
147
  export interface Cluster {
123
148
  /**
124
- * The name of the Elastic DocumentDB cluster administrator.
149
+ * The name of the elastic cluster administrator.
125
150
  */
126
151
  adminUserName: String;
127
152
  /**
128
- * The authentication type for the Elastic DocumentDB cluster.
153
+ * The authentication type for the elastic cluster.
129
154
  */
130
155
  authType: Auth;
131
156
  /**
132
- * The arn of the Elastic DocumentDB cluster.
157
+ * The number of days for which automatic snapshots are retained.
158
+ */
159
+ backupRetentionPeriod?: Integer;
160
+ /**
161
+ * The ARN identifier of the elastic cluster.
133
162
  */
134
163
  clusterArn: String;
135
164
  /**
136
- * The URL used to connect to the Elastic DocumentDB cluster.
165
+ * The URL used to connect to the elastic cluster.
137
166
  */
138
167
  clusterEndpoint: String;
139
168
  /**
140
- * The name of the Elastic DocumentDB cluster.
169
+ * The name of the elastic cluster.
141
170
  */
142
171
  clusterName: String;
143
172
  /**
144
- * The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
173
+ * The time when the elastic cluster was created in Universal Coordinated Time (UTC).
145
174
  */
146
175
  createTime: String;
147
176
  /**
148
- * The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
177
+ * The KMS key identifier to use to encrypt the elastic cluster.
149
178
  */
150
179
  kmsKeyId: String;
180
+ /**
181
+ * The daily time range during which automated backups are created if automated backups are enabled, as determined by backupRetentionPeriod.
182
+ */
183
+ preferredBackupWindow?: String;
151
184
  /**
152
185
  * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi
153
186
  */
154
187
  preferredMaintenanceWindow: String;
155
188
  /**
156
- * The capacity of each shard in the Elastic DocumentDB cluster.
189
+ * The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
157
190
  */
158
191
  shardCapacity: Integer;
159
192
  /**
160
- * The number of shards in the Elastic DocumentDB cluster.
193
+ * The number of shards assigned to the elastic cluster. Maximum is 32.
161
194
  */
162
195
  shardCount: Integer;
163
196
  /**
164
- * The status of the Elastic DocumentDB cluster.
197
+ * The number of replica instances applying to all shards in the cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
198
+ */
199
+ shardInstanceCount?: Integer;
200
+ /**
201
+ * The total number of shards in the cluster.
202
+ */
203
+ shards?: ShardList;
204
+ /**
205
+ * The status of the elastic cluster.
165
206
  */
166
207
  status: Status;
167
208
  /**
168
- * The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
209
+ * The Amazon EC2 subnet IDs for the elastic cluster.
169
210
  */
170
211
  subnetIds: StringList;
171
212
  /**
172
- * A list of EC2 VPC security groups associated with this cluster.
213
+ * A list of EC2 VPC security groups associated with thie elastic cluster.
173
214
  */
174
215
  vpcSecurityGroupIds: StringList;
175
216
  }
176
217
  export interface ClusterInList {
177
218
  /**
178
- * The arn of the Elastic DocumentDB cluster.
219
+ * The ARN identifier of the elastic cluster.
179
220
  */
180
221
  clusterArn: String;
181
222
  /**
182
- * The name of the Elastic DocumentDB cluster.
223
+ * The name of the elastic cluster.
183
224
  */
184
225
  clusterName: String;
185
226
  /**
186
- * The status of the Elastic DocumentDB cluster.
227
+ * The status of the elastic cluster.
187
228
  */
188
229
  status: Status;
189
230
  }
190
231
  export type ClusterList = ClusterInList[];
191
232
  export interface ClusterSnapshot {
192
233
  /**
193
- * The name of the Elastic DocumentDB cluster administrator.
234
+ * The name of the elastic cluster administrator.
194
235
  */
195
236
  adminUserName: String;
196
237
  /**
197
- * The arn of the Elastic DocumentDB cluster.
238
+ * The ARN identifier of the elastic cluster.
198
239
  */
199
240
  clusterArn: String;
200
241
  /**
201
- * The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
242
+ * The time when the elastic cluster was created in Universal Coordinated Time (UTC).
202
243
  */
203
244
  clusterCreationTime: String;
204
245
  /**
205
- * The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
246
+ * The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
206
247
  */
207
248
  kmsKeyId: String;
208
249
  /**
209
- * The arn of the Elastic DocumentDB snapshot
250
+ * The ARN identifier of the elastic cluster snapshot.
210
251
  */
211
252
  snapshotArn: String;
212
253
  /**
213
- * The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
254
+ * The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
214
255
  */
215
256
  snapshotCreationTime: String;
216
257
  /**
217
- * The name of the Elastic DocumentDB snapshot.
258
+ * The name of the elastic cluster snapshot.
218
259
  */
219
260
  snapshotName: String;
220
261
  /**
221
- * The status of the Elastic DocumentDB snapshot.
262
+ * The type of cluster snapshots to be returned. You can specify one of the following values: automated - Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account. manual - Return all cluster snapshots that you have manually created for your Amazon Web Services account.
263
+ */
264
+ snapshotType?: SnapshotType;
265
+ /**
266
+ * The status of the elastic cluster snapshot.
222
267
  */
223
268
  status: Status;
224
269
  /**
225
- * A list of the IDs of subnets associated with the DB cluster snapshot.
270
+ * The Amazon EC2 subnet IDs for the elastic cluster.
226
271
  */
227
272
  subnetIds: StringList;
228
273
  /**
229
- * A list of the IDs of the VPC security groups associated with the cluster snapshot.
274
+ * A list of EC2 VPC security groups to associate with the elastic cluster.
230
275
  */
231
276
  vpcSecurityGroupIds: StringList;
232
277
  }
233
278
  export interface ClusterSnapshotInList {
234
279
  /**
235
- * The arn of the Elastic DocumentDB cluster.
280
+ * The ARN identifier of the elastic cluster.
236
281
  */
237
282
  clusterArn: String;
238
283
  /**
239
- * The arn of the Elastic DocumentDB snapshot
284
+ * The ARN identifier of the elastic cluster snapshot.
240
285
  */
241
286
  snapshotArn: String;
242
287
  /**
243
- * The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
288
+ * The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
244
289
  */
245
290
  snapshotCreationTime: String;
246
291
  /**
247
- * The name of the Elastic DocumentDB snapshot.
292
+ * The name of the elastic cluster snapshot.
248
293
  */
249
294
  snapshotName: String;
250
295
  /**
251
- * The status of the Elastic DocumentDB snapshot.
296
+ * The status of the elastic cluster snapshot.
252
297
  */
253
298
  status: Status;
254
299
  }
255
300
  export type ClusterSnapshotList = ClusterSnapshotInList[];
301
+ export interface CopyClusterSnapshotInput {
302
+ /**
303
+ * Set to true to copy all tags from the source cluster snapshot to the target elastic cluster snapshot. The default is false.
304
+ */
305
+ copyTags?: Boolean;
306
+ /**
307
+ * The Amazon Web Services KMS key ID for an encrypted elastic cluster snapshot. The Amazon Web Services KMS key ID is the Amazon Resource Name (ARN), Amazon Web Services KMS key identifier, or the Amazon Web Services KMS key alias for the Amazon Web Services KMS encryption key. If you copy an encrypted elastic cluster snapshot from your Amazon Web Services account, you can specify a value for KmsKeyId to encrypt the copy with a new Amazon Web ServicesS KMS encryption key. If you don't specify a value for KmsKeyId, then the copy of the elastic cluster snapshot is encrypted with the same AWS KMS key as the source elastic cluster snapshot. To copy an encrypted elastic cluster snapshot to another Amazon Web Services region, set KmsKeyId to the Amazon Web Services KMS key ID that you want to use to encrypt the copy of the elastic cluster snapshot in the destination region. Amazon Web Services KMS encryption keys are specific to the Amazon Web Services region that they are created in, and you can't use encryption keys from one Amazon Web Services region in another Amazon Web Services region. If you copy an unencrypted elastic cluster snapshot and specify a value for the KmsKeyId parameter, an error is returned.
308
+ */
309
+ kmsKeyId?: String;
310
+ /**
311
+ * The Amazon Resource Name (ARN) identifier of the elastic cluster snapshot.
312
+ */
313
+ snapshotArn: String;
314
+ /**
315
+ * The tags to be assigned to the elastic cluster snapshot.
316
+ */
317
+ tags?: TagMap;
318
+ /**
319
+ * The identifier of the new elastic cluster snapshot to create from the source 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: elastic-cluster-snapshot-5
320
+ */
321
+ targetSnapshotName: CopyClusterSnapshotInputTargetSnapshotNameString;
322
+ }
323
+ export type CopyClusterSnapshotInputTargetSnapshotNameString = string;
324
+ export interface CopyClusterSnapshotOutput {
325
+ snapshot: ClusterSnapshot;
326
+ }
256
327
  export interface CreateClusterInput {
257
328
  /**
258
- * The name of the Elastic DocumentDB cluster administrator. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word.
329
+ * The name of the Amazon DocumentDB elastic clusters administrator. Constraints: Must be from 1 to 63 letters or numbers. The first character must be a letter. Cannot be a reserved word.
259
330
  */
260
331
  adminUserName: String;
261
332
  /**
262
- * The password for the Elastic DocumentDB cluster administrator and can contain any printable ASCII characters. Constraints: Must contain from 8 to 100 characters. Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@).
333
+ * The password for the Amazon DocumentDB elastic clusters administrator. The password can contain any printable ASCII characters. Constraints: Must contain from 8 to 100 characters. Cannot contain a forward slash (/), double quote ("), or the "at" symbol (@).
263
334
  */
264
335
  adminUserPassword: Password;
265
336
  /**
266
- * The authentication type for the Elastic DocumentDB cluster.
337
+ * The authentication type used to determine where to fetch the password used for accessing the elastic cluster. Valid types are PLAIN_TEXT or SECRET_ARN.
267
338
  */
268
339
  authType: Auth;
269
340
  /**
270
- * The client token for the Elastic DocumentDB cluster.
341
+ * The number of days for which automatic snapshots are retained.
342
+ */
343
+ backupRetentionPeriod?: Integer;
344
+ /**
345
+ * The client token for the elastic cluster.
271
346
  */
272
347
  clientToken?: String;
273
348
  /**
274
- * The name of the new Elastic DocumentDB cluster. 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
349
+ * The name of the new elastic cluster. 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
275
350
  */
276
351
  clusterName: String;
277
352
  /**
278
- * The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified, Elastic DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
353
+ * The KMS key identifier to use to encrypt the new elastic cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
279
354
  */
280
355
  kmsKeyId?: String;
356
+ /**
357
+ * The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod.
358
+ */
359
+ preferredBackupWindow?: String;
281
360
  /**
282
361
  * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
283
362
  */
284
363
  preferredMaintenanceWindow?: String;
285
364
  /**
286
- * The capacity of each shard in the new Elastic DocumentDB cluster.
365
+ * The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
287
366
  */
288
367
  shardCapacity: Integer;
289
368
  /**
290
- * The number of shards to create in the new Elastic DocumentDB cluster.
369
+ * The number of shards assigned to the elastic cluster. Maximum is 32.
291
370
  */
292
371
  shardCount: Integer;
293
372
  /**
294
- * The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.
373
+ * The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
374
+ */
375
+ shardInstanceCount?: Integer;
376
+ /**
377
+ * The Amazon EC2 subnet IDs for the new elastic cluster.
295
378
  */
296
379
  subnetIds?: StringList;
297
380
  /**
298
- * The tags to be assigned to the new Elastic DocumentDB cluster.
381
+ * The tags to be assigned to the new elastic cluster.
299
382
  */
300
383
  tags?: TagMap;
301
384
  /**
302
- * A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
385
+ * A list of EC2 VPC security groups to associate with the new elastic cluster.
303
386
  */
304
387
  vpcSecurityGroupIds?: StringList;
305
388
  }
306
389
  export interface CreateClusterOutput {
307
390
  /**
308
- * The new Elastic DocumentDB cluster that has been created.
391
+ * The new elastic cluster that has been created.
309
392
  */
310
393
  cluster: Cluster;
311
394
  }
312
395
  export interface CreateClusterSnapshotInput {
313
396
  /**
314
- * The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
397
+ * The ARN identifier of the elastic cluster of which you want to create a snapshot.
315
398
  */
316
399
  clusterArn: String;
317
400
  /**
318
- * The name of the Elastic DocumentDB snapshot.
401
+ * The name of the new elastic cluster snapshot.
319
402
  */
320
403
  snapshotName: CreateClusterSnapshotInputSnapshotNameString;
321
404
  /**
322
- * The tags to be assigned to the new Elastic DocumentDB snapshot.
405
+ * The tags to be assigned to the new elastic cluster snapshot.
323
406
  */
324
407
  tags?: TagMap;
325
408
  }
326
409
  export type CreateClusterSnapshotInputSnapshotNameString = string;
327
410
  export interface CreateClusterSnapshotOutput {
328
411
  /**
329
- * Returns information about the new Elastic DocumentDB snapshot.
412
+ * Returns information about the new elastic cluster snapshot.
330
413
  */
331
414
  snapshot: ClusterSnapshot;
332
415
  }
333
416
  export interface DeleteClusterInput {
334
417
  /**
335
- * The arn of the Elastic DocumentDB cluster that is to be deleted.
418
+ * The ARN identifier of the elastic cluster that is to be deleted.
336
419
  */
337
420
  clusterArn: String;
338
421
  }
339
422
  export interface DeleteClusterOutput {
340
423
  /**
341
- * Returns information about the newly deleted Elastic DocumentDB cluster.
424
+ * Returns information about the newly deleted elastic cluster.
342
425
  */
343
426
  cluster: Cluster;
344
427
  }
345
428
  export interface DeleteClusterSnapshotInput {
346
429
  /**
347
- * The arn of the Elastic DocumentDB snapshot that is to be deleted.
430
+ * The ARN identifier of the elastic cluster snapshot that is to be deleted.
348
431
  */
349
432
  snapshotArn: String;
350
433
  }
351
434
  export interface DeleteClusterSnapshotOutput {
352
435
  /**
353
- * Returns information about the newly deleted Elastic DocumentDB snapshot.
436
+ * Returns information about the newly deleted elastic cluster snapshot.
354
437
  */
355
438
  snapshot: ClusterSnapshot;
356
439
  }
357
440
  export interface GetClusterInput {
358
441
  /**
359
- * The arn of the Elastic DocumentDB cluster.
442
+ * The ARN identifier of the elastic cluster.
360
443
  */
361
444
  clusterArn: String;
362
445
  }
363
446
  export interface GetClusterOutput {
364
447
  /**
365
- * Returns information about a specific Elastic DocumentDB cluster.
448
+ * Returns information about a specific elastic cluster.
366
449
  */
367
450
  cluster: Cluster;
368
451
  }
369
452
  export interface GetClusterSnapshotInput {
370
453
  /**
371
- * The arn of the Elastic DocumentDB snapshot.
454
+ * The ARN identifier of the elastic cluster snapshot.
372
455
  */
373
456
  snapshotArn: String;
374
457
  }
375
458
  export interface GetClusterSnapshotOutput {
376
459
  /**
377
- * Returns information about a specific Elastic DocumentDB snapshot.
460
+ * Returns information about a specific elastic cluster snapshot.
378
461
  */
379
462
  snapshot: ClusterSnapshot;
380
463
  }
381
464
  export type Integer = number;
382
465
  export interface ListClusterSnapshotsInput {
383
466
  /**
384
- * The arn of the Elastic DocumentDB cluster.
467
+ * The ARN identifier of the elastic cluster.
385
468
  */
386
469
  clusterArn?: String;
387
470
  /**
388
- * The maximum number of entries to recieve in the response.
471
+ * The maximum number of elastic cluster snapshot results to receive in the response.
389
472
  */
390
473
  maxResults?: ListClusterSnapshotsInputMaxResultsInteger;
391
474
  /**
392
- * The nextToken which is used the get the next page of data.
475
+ * A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results. If there is no more data in the responce, the nextToken will not be returned.
393
476
  */
394
477
  nextToken?: PaginationToken;
478
+ /**
479
+ * The type of cluster snapshots to be returned. You can specify one of the following values: automated - Return all cluster snapshots that Amazon DocumentDB has automatically created for your Amazon Web Services account. manual - Return all cluster snapshots that you have manually created for your Amazon Web Services account.
480
+ */
481
+ snapshotType?: String;
395
482
  }
396
483
  export type ListClusterSnapshotsInputMaxResultsInteger = number;
397
484
  export interface ListClusterSnapshotsOutput {
398
485
  /**
399
- * The response will provide a nextToken if there is more data beyond the maxResults. If there is no more data in the responce, the nextToken will not be returned.
486
+ * A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results. If there is no more data in the responce, the nextToken will not be returned.
400
487
  */
401
488
  nextToken?: PaginationToken;
402
489
  /**
403
- * A list of Elastic DocumentDB snapshots for a specified cluster.
490
+ * A list of snapshots for a specified elastic cluster.
404
491
  */
405
492
  snapshots?: ClusterSnapshotList;
406
493
  }
407
494
  export interface ListClustersInput {
408
495
  /**
409
- * The maximum number of entries to recieve in the response.
496
+ * The maximum number of elastic cluster snapshot results to receive in the response.
410
497
  */
411
498
  maxResults?: ListClustersInputMaxResultsInteger;
412
499
  /**
413
- * The nextToken which is used the get the next page of data.
500
+ * A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results. If there is no more data in the responce, the nextToken will not be returned.
414
501
  */
415
502
  nextToken?: PaginationToken;
416
503
  }
417
504
  export type ListClustersInputMaxResultsInteger = number;
418
505
  export interface ListClustersOutput {
419
506
  /**
420
- * A list of Elastic DocumentDB cluster.
507
+ * A list of Amazon DocumentDB elastic clusters.
421
508
  */
422
509
  clusters?: ClusterList;
423
510
  /**
424
- * The response will provide a nextToken if there is more data beyond the maxResults. If there is no more data in the responce, the nextToken will not be returned.
511
+ * A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by max-results. If there is no more data in the responce, the nextToken will not be returned.
425
512
  */
426
513
  nextToken?: PaginationToken;
427
514
  }
428
515
  export interface ListTagsForResourceRequest {
429
516
  /**
430
- * The arn of the Elastic DocumentDB resource.
517
+ * The ARN identifier of the elastic cluster resource.
431
518
  */
432
519
  resourceArn: Arn;
433
520
  }
434
521
  export interface ListTagsForResourceResponse {
435
522
  /**
436
- * The list of tags for the specified Elastic DocumentDB resource.
523
+ * The list of tags for the specified elastic cluster resource.
437
524
  */
438
525
  tags?: TagMap;
439
526
  }
@@ -441,37 +528,79 @@ declare namespace DocDBElastic {
441
528
  export type Password = string;
442
529
  export interface RestoreClusterFromSnapshotInput {
443
530
  /**
444
- * The name of the Elastic DocumentDB cluster.
531
+ * The name of the elastic cluster.
445
532
  */
446
533
  clusterName: String;
447
534
  /**
448
- * The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Elastic DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
535
+ * The KMS key identifier to use to encrypt the new Amazon DocumentDB elastic clusters cluster. The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
449
536
  */
450
537
  kmsKeyId?: String;
451
538
  /**
452
- * The arn of the Elastic DocumentDB snapshot.
539
+ * The capacity of each shard in the new restored elastic cluster.
540
+ */
541
+ shardCapacity?: Integer;
542
+ /**
543
+ * The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
544
+ */
545
+ shardInstanceCount?: Integer;
546
+ /**
547
+ * The ARN identifier of the elastic cluster snapshot.
453
548
  */
454
549
  snapshotArn: String;
455
550
  /**
456
- * The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
551
+ * The Amazon EC2 subnet IDs for the elastic cluster.
457
552
  */
458
553
  subnetIds?: StringList;
459
554
  /**
460
- * A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
555
+ * A list of the tag names to be assigned to the restored elastic cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
461
556
  */
462
557
  tags?: TagMap;
463
558
  /**
464
- * A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
559
+ * A list of EC2 VPC security groups to associate with the elastic cluster.
465
560
  */
466
561
  vpcSecurityGroupIds?: StringList;
467
562
  }
468
563
  export interface RestoreClusterFromSnapshotOutput {
469
564
  /**
470
- * Returns information about a the restored Elastic DocumentDB cluster.
565
+ * Returns information about a the restored elastic cluster.
471
566
  */
472
567
  cluster: Cluster;
473
568
  }
474
- export type Status = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"VPC_ENDPOINT_LIMIT_EXCEEDED"|"IP_ADDRESS_LIMIT_EXCEEDED"|"INVALID_SECURITY_GROUP_ID"|"INVALID_SUBNET_ID"|"INACCESSIBLE_ENCRYPTION_CREDS"|string;
569
+ export interface Shard {
570
+ /**
571
+ * The time when the shard was created in Universal Coordinated Time (UTC).
572
+ */
573
+ createTime: String;
574
+ /**
575
+ * The ID of the shard.
576
+ */
577
+ shardId: String;
578
+ /**
579
+ * The current status of the shard.
580
+ */
581
+ status: Status;
582
+ }
583
+ export type ShardList = Shard[];
584
+ export type SnapshotType = "MANUAL"|"AUTOMATED"|string;
585
+ export interface StartClusterInput {
586
+ /**
587
+ * The ARN identifier of the elastic cluster.
588
+ */
589
+ clusterArn: String;
590
+ }
591
+ export interface StartClusterOutput {
592
+ cluster: Cluster;
593
+ }
594
+ export type Status = "CREATING"|"ACTIVE"|"DELETING"|"UPDATING"|"VPC_ENDPOINT_LIMIT_EXCEEDED"|"IP_ADDRESS_LIMIT_EXCEEDED"|"INVALID_SECURITY_GROUP_ID"|"INVALID_SUBNET_ID"|"INACCESSIBLE_ENCRYPTION_CREDS"|"INACCESSIBLE_SECRET_ARN"|"INACCESSIBLE_VPC_ENDPOINT"|"INCOMPATIBLE_NETWORK"|"MERGING"|"MODIFYING"|"SPLITTING"|"COPYING"|"STARTING"|"STOPPING"|"STOPPED"|string;
595
+ export interface StopClusterInput {
596
+ /**
597
+ * The ARN identifier of the elastic cluster.
598
+ */
599
+ clusterArn: String;
600
+ }
601
+ export interface StopClusterOutput {
602
+ cluster: Cluster;
603
+ }
475
604
  export type String = string;
476
605
  export type StringList = String[];
477
606
  export type TagKey = string;
@@ -479,11 +608,11 @@ declare namespace DocDBElastic {
479
608
  export type TagMap = {[key: string]: TagValue};
480
609
  export interface TagResourceRequest {
481
610
  /**
482
- * The arn of the Elastic DocumentDB resource.
611
+ * The ARN identifier of the elastic cluster resource.
483
612
  */
484
613
  resourceArn: Arn;
485
614
  /**
486
- * The tags to be assigned to the Elastic DocumentDB resource.
615
+ * The tags that are assigned to the elastic cluster resource.
487
616
  */
488
617
  tags: TagMap;
489
618
  }
@@ -492,11 +621,11 @@ declare namespace DocDBElastic {
492
621
  export type TagValue = string;
493
622
  export interface UntagResourceRequest {
494
623
  /**
495
- * The arn of the Elastic DocumentDB resource.
624
+ * The ARN identifier of the elastic cluster resource.
496
625
  */
497
626
  resourceArn: Arn;
498
627
  /**
499
- * The tag keys to be removed from the Elastic DocumentDB resource.
628
+ * The tag keys to be removed from the elastic cluster resource.
500
629
  */
501
630
  tagKeys: TagKeyList;
502
631
  }
@@ -504,45 +633,57 @@ declare namespace DocDBElastic {
504
633
  }
505
634
  export interface UpdateClusterInput {
506
635
  /**
507
- * The password for the Elastic DocumentDB cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@). Constraints: Must contain from 8 to 100 characters.
636
+ * The password associated with the elastic cluster administrator. This password can contain any printable ASCII character except forward slash (/), double quote ("), or the "at" symbol (@). Constraints: Must contain from 8 to 100 characters.
508
637
  */
509
638
  adminUserPassword?: Password;
510
639
  /**
511
- * The authentication type for the Elastic DocumentDB cluster.
640
+ * The authentication type used to determine where to fetch the password used for accessing the elastic cluster. Valid types are PLAIN_TEXT or SECRET_ARN.
512
641
  */
513
642
  authType?: Auth;
514
643
  /**
515
- * The client token for the Elastic DocumentDB cluster.
644
+ * The number of days for which automatic snapshots are retained.
645
+ */
646
+ backupRetentionPeriod?: Integer;
647
+ /**
648
+ * The client token for the elastic cluster.
516
649
  */
517
650
  clientToken?: String;
518
651
  /**
519
- * The arn of the Elastic DocumentDB cluster.
652
+ * The ARN identifier of the elastic cluster.
520
653
  */
521
654
  clusterArn: String;
655
+ /**
656
+ * The daily time range during which automated backups are created if automated backups are enabled, as determined by the backupRetentionPeriod.
657
+ */
658
+ preferredBackupWindow?: String;
522
659
  /**
523
660
  * The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). Format: ddd:hh24:mi-ddd:hh24:mi Default: a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week. Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun Constraints: Minimum 30-minute window.
524
661
  */
525
662
  preferredMaintenanceWindow?: String;
526
663
  /**
527
- * The capacity of each shard in the Elastic DocumentDB cluster.
664
+ * The number of vCPUs assigned to each elastic cluster shard. Maximum is 64. Allowed values are 2, 4, 8, 16, 32, 64.
528
665
  */
529
666
  shardCapacity?: Integer;
530
667
  /**
531
- * The number of shards to create in the Elastic DocumentDB cluster.
668
+ * The number of shards assigned to the elastic cluster. Maximum is 32.
532
669
  */
533
670
  shardCount?: Integer;
534
671
  /**
535
- * The number of shards to create in the Elastic DocumentDB cluster.
672
+ * The number of replica instances applying to all shards in the elastic cluster. A shardInstanceCount value of 1 means there is one writer instance, and any additional instances are replicas that can be used for reads and to improve availability.
673
+ */
674
+ shardInstanceCount?: Integer;
675
+ /**
676
+ * The Amazon EC2 subnet IDs for the elastic cluster.
536
677
  */
537
678
  subnetIds?: StringList;
538
679
  /**
539
- * A list of EC2 VPC security groups to associate with the new Elastic DocumentDB cluster.
680
+ * A list of EC2 VPC security groups to associate with the elastic cluster.
540
681
  */
541
682
  vpcSecurityGroupIds?: StringList;
542
683
  }
543
684
  export interface UpdateClusterOutput {
544
685
  /**
545
- * Returns information about the updated Elastic DocumentDB cluster.
686
+ * Returns information about the updated elastic cluster.
546
687
  */
547
688
  cluster: Cluster;
548
689
  }