@aws-sdk/client-timestream-influxdb 3.1101.0 → 3.1102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +42 -7
  2. package/dist-cjs/index.js +269 -45
  3. package/dist-es/TimestreamInfluxDB.js +12 -0
  4. package/dist-es/commands/CreateDbBackupCommand.js +4 -0
  5. package/dist-es/commands/DeleteDbBackupCommand.js +4 -0
  6. package/dist-es/commands/GetDbBackupCommand.js +4 -0
  7. package/dist-es/commands/ListDbBackupsCommand.js +4 -0
  8. package/dist-es/commands/RestoreFromDbBackupCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +54 -10
  11. package/dist-es/pagination/ListDbBackupsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +160 -34
  14. package/dist-types/TimestreamInfluxDB.d.ts +43 -0
  15. package/dist-types/TimestreamInfluxDBClient.d.ts +7 -2
  16. package/dist-types/commands/CreateDbBackupCommand.d.ts +137 -0
  17. package/dist-types/commands/CreateDbClusterCommand.d.ts +10 -1
  18. package/dist-types/commands/CreateDbInstanceCommand.d.ts +20 -1
  19. package/dist-types/commands/DeleteDbBackupCommand.d.ts +129 -0
  20. package/dist-types/commands/DeleteDbClusterCommand.d.ts +2 -1
  21. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +12 -1
  22. package/dist-types/commands/GetDbBackupCommand.d.ts +126 -0
  23. package/dist-types/commands/GetDbClusterCommand.d.ts +11 -1
  24. package/dist-types/commands/GetDbInstanceCommand.d.ts +11 -1
  25. package/dist-types/commands/ListDbBackupsCommand.d.ts +103 -0
  26. package/dist-types/commands/ListDbClustersCommand.d.ts +1 -1
  27. package/dist-types/commands/ListDbInstancesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +1 -1
  29. package/dist-types/commands/RebootDbClusterCommand.d.ts +1 -1
  30. package/dist-types/commands/RebootDbInstanceCommand.d.ts +11 -1
  31. package/dist-types/commands/RestoreFromDbBackupCommand.d.ts +131 -0
  32. package/dist-types/commands/UpdateDbClusterCommand.d.ts +9 -1
  33. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +19 -1
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/models/enums.d.ts +117 -17
  36. package/dist-types/models/models_0.d.ts +822 -24
  37. package/dist-types/pagination/ListDbBackupsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +1 -0
  39. package/dist-types/schemas/schemas_0.d.ts +18 -0
  40. package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +90 -0
  41. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +27 -0
  42. package/dist-types/ts3.4/commands/CreateDbBackupCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/DeleteDbBackupCommand.d.ts +38 -0
  44. package/dist-types/ts3.4/commands/GetDbBackupCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/ListDbBackupsCommand.d.ts +38 -0
  46. package/dist-types/ts3.4/commands/RestoreFromDbBackupCommand.d.ts +39 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  48. package/dist-types/ts3.4/models/enums.d.ts +68 -15
  49. package/dist-types/ts3.4/models/models_0.d.ts +183 -4
  50. package/dist-types/ts3.4/pagination/ListDbBackupsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  53. package/package.json +3 -3
@@ -1,46 +1,734 @@
1
- import type { ClusterDeploymentType, ClusterStatus, DataFusionRuntimeType, DbInstanceType, DbStorageType, DeploymentType, DurationType, EngineType, FailoverMode, InstanceMode, LogFormats, LogLevel, NetworkType, Status, TracingType } from "./enums";
1
+ import type { AutomatedDbBackupType, ClusterDeploymentType, ClusterStatus, DataFusionRuntimeType, DbBackupStatus, DbBackupType, DbInstanceType, DbStorageType, DeploymentType, DurationType, EngineType, FailoverMode, InstanceMode, LogFormats, LogLevel, NetworkType, ResourceDeploymentType, ResourceType, RestoreMode, RestoreStatus, Status, TracingType } from "./enums";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface CreateDbBackupInput {
6
+ /**
7
+ * <p>The name of the backup. Must be unique within the account and region.</p>
8
+ * @public
9
+ */
10
+ name: string | undefined;
11
+ /**
12
+ * <p>The id of the DB instance or DB cluster to back up.</p>
13
+ * @public
14
+ */
15
+ dbResourceId: string | undefined;
16
+ /**
17
+ * <p>The number of days to retain the backup. Valid values are 1 to 3650.</p>
18
+ * @public
19
+ */
20
+ retentionDays?: number | undefined;
21
+ /**
22
+ * <p>A list of key-value pairs to associate with the backup.</p>
23
+ * @public
24
+ */
25
+ tags?: Record<string, string> | undefined;
26
+ }
27
+ /**
28
+ * <p>Configuration for node modes in the DbCluster.</p>
29
+ * @public
30
+ */
31
+ export interface ClusterConfiguration {
32
+ /**
33
+ * <p>The number of instances in the DbCluster which can both ingest and query.</p>
34
+ * @public
35
+ */
36
+ ingestQueryInstances?: number | undefined;
37
+ /**
38
+ * <p>The number of instances in the DbCluster which can only query.</p>
39
+ * @public
40
+ */
41
+ queryOnlyInstances?: number | undefined;
42
+ /**
43
+ * <p>Indicates if the compactor instance is a standalone instance or not.</p>
44
+ * @public
45
+ */
46
+ dedicatedCompactor?: boolean | undefined;
47
+ }
2
48
  /**
3
49
  * <p>Configuration for S3 bucket log delivery.</p>
4
50
  * @public
5
51
  */
6
- export interface S3Configuration {
52
+ export interface S3Configuration {
53
+ /**
54
+ * <p>The name of the S3 bucket to deliver logs to.</p>
55
+ * @public
56
+ */
57
+ bucketName: string | undefined;
58
+ /**
59
+ * <p>Indicates whether log delivery to the S3 bucket is enabled.</p>
60
+ * @public
61
+ */
62
+ enabled: boolean | undefined;
63
+ }
64
+ /**
65
+ * <p>Configuration for sending InfluxDB engine logs to send to specified S3 bucket.</p>
66
+ * @public
67
+ */
68
+ export interface LogDeliveryConfiguration {
69
+ /**
70
+ * <p>Configuration for S3 bucket log delivery.</p>
71
+ * @public
72
+ */
73
+ s3Configuration: S3Configuration | undefined;
74
+ }
75
+ /**
76
+ * <p>Specifies the maintenance schedule for a DB instance or cluster, defining when maintenance operations such as patching can be performed.</p>
77
+ * @public
78
+ */
79
+ export interface MaintenanceSchedule {
80
+ /**
81
+ * <p>The IANA timezone identifier for the maintenance window. Format: Region/City or UTC. For example, America/New_York or UTC.</p>
82
+ * @public
83
+ */
84
+ timezone: string | undefined;
85
+ /**
86
+ * <p>The preferred maintenance window in the format ddd:HH:MM-ddd:HH:MM (UTC). Day must be one of: Mon, Tue, Wed, Thu, Fri, Sat, Sun. For example, Sun:02:00-Sun:06:00. Provide an empty string to let the system choose a window.</p>
87
+ * @public
88
+ */
89
+ preferredMaintenanceWindow: string | undefined;
90
+ }
91
+ /**
92
+ * @public
93
+ */
94
+ export interface CreateDbBackupOutput {
95
+ /**
96
+ * <p>Service-generated unique identifier of the backup.</p>
97
+ * @public
98
+ */
99
+ id: string | undefined;
100
+ /**
101
+ * <p>The customer-provided name of the backup.</p>
102
+ * @public
103
+ */
104
+ name?: string | undefined;
105
+ /**
106
+ * <p>The Amazon Resource Name (ARN) of the backup.</p>
107
+ * @public
108
+ */
109
+ arn: string | undefined;
110
+ /**
111
+ * <p>The current status of the backup.</p>
112
+ * @public
113
+ */
114
+ status?: DbBackupStatus | undefined;
115
+ /**
116
+ * <p>The time when the backup was created.</p>
117
+ * @public
118
+ */
119
+ createdAt?: Date | undefined;
120
+ /**
121
+ * <p>The date after which the backup will be automatically deleted.</p>
122
+ * @public
123
+ */
124
+ expiresAfter?: string | undefined;
125
+ /**
126
+ * <p>The identifier of the DB resource that the backup was created from.</p>
127
+ * @public
128
+ */
129
+ dbResourceId?: string | undefined;
130
+ /**
131
+ * <p>The type of backup.</p>
132
+ * @public
133
+ */
134
+ type?: DbBackupType | undefined;
135
+ /**
136
+ * <p>The engine type of the resource that the backup was created from.</p>
137
+ * @public
138
+ */
139
+ engineType?: EngineType | undefined;
140
+ /**
141
+ * <p>The deployment type of the resource that the backup was created from.</p>
142
+ * @public
143
+ */
144
+ deploymentType?: ResourceDeploymentType | undefined;
145
+ /**
146
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.</p>
147
+ * @public
148
+ */
149
+ kmsKeyId?: string | undefined;
150
+ /**
151
+ * <p>The cluster configuration of the resource at the time of backup.</p>
152
+ * @public
153
+ */
154
+ clusterConfiguration?: ClusterConfiguration | undefined;
155
+ /**
156
+ * <p>The identifier of the DB parameter group associated with the backup.</p>
157
+ * @public
158
+ */
159
+ dbParameterGroupId?: string | undefined;
160
+ /**
161
+ * <p>The DB instance type of the resource at the time of backup.</p>
162
+ * @public
163
+ */
164
+ dbInstanceType?: DbInstanceType | undefined;
165
+ /**
166
+ * <p>The log delivery configuration of the resource at the time of backup.</p>
167
+ * @public
168
+ */
169
+ logDeliveryConfiguration?: LogDeliveryConfiguration | undefined;
170
+ /**
171
+ * <p>The failover mode of the resource at the time of backup.</p>
172
+ * @public
173
+ */
174
+ failoverMode?: FailoverMode | undefined;
175
+ /**
176
+ * <p>The storage type of the resource at the time of backup.</p>
177
+ * @public
178
+ */
179
+ dbStorageType?: DbStorageType | undefined;
180
+ /**
181
+ * <p>The allocated storage of the resource at the time of backup, in GiB.</p>
182
+ * @public
183
+ */
184
+ allocatedStorage?: number | undefined;
185
+ /**
186
+ * <p>The VPC subnet IDs associated with the resource at the time of backup.</p>
187
+ * @public
188
+ */
189
+ vpcSubnetIds?: string[] | undefined;
190
+ /**
191
+ * <p>The VPC security group IDs associated with the resource at the time of backup.</p>
192
+ * @public
193
+ */
194
+ vpcSecurityGroupIds?: string[] | undefined;
195
+ /**
196
+ * <p>Indicates whether the resource was publicly accessible at the time of backup.</p>
197
+ * @public
198
+ */
199
+ publiclyAccessible?: boolean | undefined;
200
+ /**
201
+ * <p>The port number of the resource at the time of backup.</p>
202
+ * @public
203
+ */
204
+ port?: number | undefined;
205
+ /**
206
+ * <p>The network type of the resource at the time of backup.</p>
207
+ * @public
208
+ */
209
+ networkType?: NetworkType | undefined;
210
+ /**
211
+ * <p>The ARN of the Secrets Manager secret containing the InfluxDB auth parameters.</p>
212
+ * @public
213
+ */
214
+ influxAuthParametersSecretArn?: string | undefined;
215
+ /**
216
+ * <p>The maintenance schedule of the resource at the time of backup.</p>
217
+ * @public
218
+ */
219
+ maintenanceSchedule?: MaintenanceSchedule | undefined;
220
+ }
221
+ /**
222
+ * @public
223
+ */
224
+ export interface DeleteDbBackupInput {
225
+ /**
226
+ * <p>The identifier of the backup to delete.</p>
227
+ * @public
228
+ */
229
+ identifier: string | undefined;
230
+ }
231
+ /**
232
+ * @public
233
+ */
234
+ export interface DeleteDbBackupOutput {
235
+ /**
236
+ * <p>Service-generated unique identifier of the deleted backup.</p>
237
+ * @public
238
+ */
239
+ id: string | undefined;
240
+ /**
241
+ * <p>The customer-provided name of the deleted backup.</p>
242
+ * @public
243
+ */
244
+ name?: string | undefined;
245
+ /**
246
+ * <p>The Amazon Resource Name (ARN) of the deleted backup.</p>
247
+ * @public
248
+ */
249
+ arn: string | undefined;
250
+ /**
251
+ * <p>The current status of the backup.</p>
252
+ * @public
253
+ */
254
+ status?: DbBackupStatus | undefined;
255
+ /**
256
+ * <p>The time when the backup was created.</p>
257
+ * @public
258
+ */
259
+ createdAt?: Date | undefined;
260
+ /**
261
+ * <p>The date after which the backup was set to be automatically deleted.</p>
262
+ * @public
263
+ */
264
+ expiresAfter?: string | undefined;
265
+ /**
266
+ * <p>The identifier of the DB resource that the backup was created from.</p>
267
+ * @public
268
+ */
269
+ dbResourceId?: string | undefined;
270
+ /**
271
+ * <p>The type of backup.</p>
272
+ * @public
273
+ */
274
+ type?: DbBackupType | undefined;
275
+ /**
276
+ * <p>The engine type of the resource that the backup was created from.</p>
277
+ * @public
278
+ */
279
+ engineType?: EngineType | undefined;
280
+ /**
281
+ * <p>The deployment type of the resource that the backup was created from.</p>
282
+ * @public
283
+ */
284
+ deploymentType?: ResourceDeploymentType | undefined;
285
+ /**
286
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.</p>
287
+ * @public
288
+ */
289
+ kmsKeyId?: string | undefined;
290
+ /**
291
+ * <p>The cluster configuration of the resource at the time of backup.</p>
292
+ * @public
293
+ */
294
+ clusterConfiguration?: ClusterConfiguration | undefined;
295
+ /**
296
+ * <p>The identifier of the DB parameter group associated with the backup.</p>
297
+ * @public
298
+ */
299
+ dbParameterGroupId?: string | undefined;
300
+ /**
301
+ * <p>The DB instance type of the resource at the time of backup.</p>
302
+ * @public
303
+ */
304
+ dbInstanceType?: DbInstanceType | undefined;
305
+ /**
306
+ * <p>The log delivery configuration of the resource at the time of backup.</p>
307
+ * @public
308
+ */
309
+ logDeliveryConfiguration?: LogDeliveryConfiguration | undefined;
310
+ /**
311
+ * <p>The failover mode of the resource at the time of backup.</p>
312
+ * @public
313
+ */
314
+ failoverMode?: FailoverMode | undefined;
315
+ /**
316
+ * <p>The storage type of the resource at the time of backup.</p>
317
+ * @public
318
+ */
319
+ dbStorageType?: DbStorageType | undefined;
320
+ /**
321
+ * <p>The allocated storage of the resource at the time of backup, in GiB.</p>
322
+ * @public
323
+ */
324
+ allocatedStorage?: number | undefined;
325
+ /**
326
+ * <p>The VPC subnet IDs associated with the resource at the time of backup.</p>
327
+ * @public
328
+ */
329
+ vpcSubnetIds?: string[] | undefined;
330
+ /**
331
+ * <p>The VPC security group IDs associated with the resource at the time of backup.</p>
332
+ * @public
333
+ */
334
+ vpcSecurityGroupIds?: string[] | undefined;
335
+ /**
336
+ * <p>Indicates whether the resource was publicly accessible at the time of backup.</p>
337
+ * @public
338
+ */
339
+ publiclyAccessible?: boolean | undefined;
340
+ /**
341
+ * <p>The port number of the resource at the time of backup.</p>
342
+ * @public
343
+ */
344
+ port?: number | undefined;
345
+ /**
346
+ * <p>The network type of the resource at the time of backup.</p>
347
+ * @public
348
+ */
349
+ networkType?: NetworkType | undefined;
350
+ /**
351
+ * <p>The ARN of the Secrets Manager secret containing the InfluxDB auth parameters.</p>
352
+ * @public
353
+ */
354
+ influxAuthParametersSecretArn?: string | undefined;
355
+ /**
356
+ * <p>The maintenance schedule of the resource at the time of backup.</p>
357
+ * @public
358
+ */
359
+ maintenanceSchedule?: MaintenanceSchedule | undefined;
360
+ }
361
+ /**
362
+ * @public
363
+ */
364
+ export interface GetDbBackupInput {
365
+ /**
366
+ * <p>The identifier of the backup to retrieve information for.</p>
367
+ * @public
368
+ */
369
+ identifier: string | undefined;
370
+ }
371
+ /**
372
+ * @public
373
+ */
374
+ export interface GetDbBackupOutput {
375
+ /**
376
+ * <p>Service-generated unique identifier of the backup.</p>
377
+ * @public
378
+ */
379
+ id: string | undefined;
380
+ /**
381
+ * <p>The customer-provided name of the backup.</p>
382
+ * @public
383
+ */
384
+ name?: string | undefined;
385
+ /**
386
+ * <p>The Amazon Resource Name (ARN) of the backup.</p>
387
+ * @public
388
+ */
389
+ arn: string | undefined;
390
+ /**
391
+ * <p>The current status of the backup.</p>
392
+ * @public
393
+ */
394
+ status?: DbBackupStatus | undefined;
395
+ /**
396
+ * <p>The time when the backup was created.</p>
397
+ * @public
398
+ */
399
+ createdAt?: Date | undefined;
400
+ /**
401
+ * <p>The date after which the backup will be automatically deleted.</p>
402
+ * @public
403
+ */
404
+ expiresAfter?: string | undefined;
405
+ /**
406
+ * <p>The identifier of the DB resource that the backup was created from.</p>
407
+ * @public
408
+ */
409
+ dbResourceId?: string | undefined;
410
+ /**
411
+ * <p>The type of backup.</p>
412
+ * @public
413
+ */
414
+ type?: DbBackupType | undefined;
415
+ /**
416
+ * <p>The engine type of the resource that the backup was created from.</p>
417
+ * @public
418
+ */
419
+ engineType?: EngineType | undefined;
420
+ /**
421
+ * <p>The deployment type of the resource that the backup was created from.</p>
422
+ * @public
423
+ */
424
+ deploymentType?: ResourceDeploymentType | undefined;
425
+ /**
426
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.</p>
427
+ * @public
428
+ */
429
+ kmsKeyId?: string | undefined;
430
+ /**
431
+ * <p>The cluster configuration of the resource at the time of backup.</p>
432
+ * @public
433
+ */
434
+ clusterConfiguration?: ClusterConfiguration | undefined;
435
+ /**
436
+ * <p>The identifier of the DB parameter group associated with the backup.</p>
437
+ * @public
438
+ */
439
+ dbParameterGroupId?: string | undefined;
440
+ /**
441
+ * <p>The DB instance type of the resource at the time of backup.</p>
442
+ * @public
443
+ */
444
+ dbInstanceType?: DbInstanceType | undefined;
445
+ /**
446
+ * <p>The log delivery configuration of the resource at the time of backup.</p>
447
+ * @public
448
+ */
449
+ logDeliveryConfiguration?: LogDeliveryConfiguration | undefined;
450
+ /**
451
+ * <p>The failover mode of the resource at the time of backup.</p>
452
+ * @public
453
+ */
454
+ failoverMode?: FailoverMode | undefined;
455
+ /**
456
+ * <p>The storage type of the resource at the time of backup.</p>
457
+ * @public
458
+ */
459
+ dbStorageType?: DbStorageType | undefined;
460
+ /**
461
+ * <p>The allocated storage of the resource at the time of backup, in GiB.</p>
462
+ * @public
463
+ */
464
+ allocatedStorage?: number | undefined;
465
+ /**
466
+ * <p>The VPC subnet IDs associated with the resource at the time of backup.</p>
467
+ * @public
468
+ */
469
+ vpcSubnetIds?: string[] | undefined;
470
+ /**
471
+ * <p>The VPC security group IDs associated with the resource at the time of backup.</p>
472
+ * @public
473
+ */
474
+ vpcSecurityGroupIds?: string[] | undefined;
475
+ /**
476
+ * <p>Indicates whether the resource was publicly accessible at the time of backup.</p>
477
+ * @public
478
+ */
479
+ publiclyAccessible?: boolean | undefined;
480
+ /**
481
+ * <p>The port number of the resource at the time of backup.</p>
482
+ * @public
483
+ */
484
+ port?: number | undefined;
485
+ /**
486
+ * <p>The network type of the resource at the time of backup.</p>
487
+ * @public
488
+ */
489
+ networkType?: NetworkType | undefined;
490
+ /**
491
+ * <p>The ARN of the Secrets Manager secret containing the InfluxDB auth parameters.</p>
492
+ * @public
493
+ */
494
+ influxAuthParametersSecretArn?: string | undefined;
495
+ /**
496
+ * <p>The maintenance schedule of the resource at the time of backup.</p>
497
+ * @public
498
+ */
499
+ maintenanceSchedule?: MaintenanceSchedule | undefined;
500
+ }
501
+ /**
502
+ * @public
503
+ */
504
+ export interface ListDbBackupsInput {
7
505
  /**
8
- * <p>The name of the S3 bucket to deliver logs to.</p>
506
+ * <p>The identifier of the DB instance or DB cluster to list backups for. If not specified, returns all backups in the account and region.</p>
9
507
  * @public
10
508
  */
11
- bucketName: string | undefined;
509
+ dbResourceId?: string | undefined;
12
510
  /**
13
- * <p>Indicates whether log delivery to the S3 bucket is enabled.</p>
511
+ * <p>The pagination token. To resume pagination, provide the nextToken value as an argument of a subsequent API invocation.</p>
512
+ * @public
513
+ */
514
+ nextToken?: string | undefined;
515
+ /**
516
+ * <p>The maximum number of items to return in the output. If the total number of items available is more than the value specified, a nextToken is provided in the output. To resume pagination, provide the nextToken value as an argument of a subsequent API invocation.</p>
517
+ * @public
518
+ */
519
+ maxResults?: number | undefined;
520
+ }
521
+ /**
522
+ * <p>Contains a summary of a Timestream for InfluxDB backup.</p>
523
+ * @public
524
+ */
525
+ export interface DbBackupSummary {
526
+ /**
527
+ * <p>Service-generated unique identifier of the backup.</p>
528
+ * @public
529
+ */
530
+ id: string | undefined;
531
+ /**
532
+ * <p>The customer-provided name of the backup.</p>
533
+ * @public
534
+ */
535
+ name?: string | undefined;
536
+ /**
537
+ * <p>The Amazon Resource Name (ARN) of the backup.</p>
538
+ * @public
539
+ */
540
+ arn: string | undefined;
541
+ /**
542
+ * <p>The status of the backup. Valid values are IN_PROGRESS, COMPLETED, FAILED, DELETING, and DELETED.</p>
543
+ * @public
544
+ */
545
+ status?: DbBackupStatus | undefined;
546
+ /**
547
+ * <p>The time when the backup was created.</p>
548
+ * @public
549
+ */
550
+ createdAt?: Date | undefined;
551
+ /**
552
+ * <p>The date after which the backup will be automatically deleted.</p>
553
+ * @public
554
+ */
555
+ expiresAfter?: string | undefined;
556
+ /**
557
+ * <p>The identifier of the DB resource that the backup was created from.</p>
558
+ * @public
559
+ */
560
+ dbResourceId?: string | undefined;
561
+ /**
562
+ * <p>The type of backup. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, ON_DEMAND, and CONTINUOUS.</p>
563
+ * @public
564
+ */
565
+ type?: DbBackupType | undefined;
566
+ /**
567
+ * <p>The engine type of the resource that the backup was created from.</p>
568
+ * @public
569
+ */
570
+ engineType?: EngineType | undefined;
571
+ /**
572
+ * <p>The deployment type of the resource that the backup was created from.</p>
573
+ * @public
574
+ */
575
+ deploymentType?: ResourceDeploymentType | undefined;
576
+ /**
577
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the resource at the time of backup.</p>
578
+ * @public
579
+ */
580
+ kmsKeyId?: string | undefined;
581
+ }
582
+ /**
583
+ * @public
584
+ */
585
+ export interface ListDbBackupsOutput {
586
+ /**
587
+ * <p>A list of Timestream for InfluxDB backup summaries.</p>
588
+ * @public
589
+ */
590
+ items: DbBackupSummary[] | undefined;
591
+ /**
592
+ * <p>Token from a previous call of the operation. When this value is provided, the service returns results from where the previous response left off.</p>
593
+ * @public
594
+ */
595
+ nextToken?: string | undefined;
596
+ }
597
+ /**
598
+ * <p>Specifies the configuration for an automated backup schedule.</p>
599
+ * @public
600
+ */
601
+ export interface DbBackupConfiguration {
602
+ /**
603
+ * <p>The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.</p>
604
+ * @public
605
+ */
606
+ type: AutomatedDbBackupType | undefined;
607
+ /**
608
+ * <p>The number of days to retain automated backups. Valid values are 1 to 365.</p>
609
+ * @public
610
+ */
611
+ retentionDays: number | undefined;
612
+ /**
613
+ * <p>Specifies whether this backup configuration is enabled.</p>
14
614
  * @public
15
615
  */
16
616
  enabled: boolean | undefined;
617
+ /**
618
+ * <p>A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.</p>
619
+ * @public
620
+ */
621
+ customSchedule?: string | undefined;
17
622
  }
18
623
  /**
19
- * <p>Configuration for sending InfluxDB engine logs to send to specified S3 bucket.</p>
20
624
  * @public
21
625
  */
22
- export interface LogDeliveryConfiguration {
626
+ export interface RestoreFromDbBackupInput {
23
627
  /**
24
- * <p>Configuration for S3 bucket log delivery.</p>
628
+ * <p>The name of the new resource to create from the restore. If restoring to an existing resource, the name must match the existing resource name.</p>
25
629
  * @public
26
630
  */
27
- s3Configuration: S3Configuration | undefined;
631
+ name: string | undefined;
632
+ /**
633
+ * <p>The identifier of the backup to restore from.</p>
634
+ * @public
635
+ */
636
+ dbBackupId: string | undefined;
637
+ /**
638
+ * <p>The point in time to restore to, for continuous backups. Must be within the backup's retention window.</p>
639
+ * @public
640
+ */
641
+ restoreToTime?: Date | undefined;
642
+ /**
643
+ * <p>Specifies whether to restore to a new resource or replace the existing resource. Valid values are NEW_RESOURCE (default) and REPLACE_EXISTING.</p>
644
+ * @public
645
+ */
646
+ restoreMode?: RestoreMode | undefined;
647
+ /**
648
+ * <p>A list of VPC subnet IDs for the restored resource. If not specified, the restored resource uses the same subnets as the backup.</p>
649
+ * @public
650
+ */
651
+ vpcSubnetIds?: string[] | undefined;
652
+ /**
653
+ * <p>A list of VPC security group IDs for the restored resource. If not specified, the restored resource uses the same security groups as the backup.</p>
654
+ * @public
655
+ */
656
+ vpcSecurityGroupIds?: string[] | undefined;
657
+ /**
658
+ * <p>Specifies whether the restored resource is publicly accessible.</p>
659
+ * @public
660
+ */
661
+ publiclyAccessible?: boolean | undefined;
662
+ /**
663
+ * <p>Configuration for sending InfluxDB engine logs to the specified S3 bucket for the restored resource.</p>
664
+ * @public
665
+ */
666
+ logDeliveryConfiguration?: LogDeliveryConfiguration | undefined;
667
+ /**
668
+ * <p>The maintenance schedule for the restored resource.</p>
669
+ * @public
670
+ */
671
+ maintenanceSchedule?: MaintenanceSchedule | undefined;
672
+ /**
673
+ * <p>A list of key-value pairs to associate with the restored resource.</p>
674
+ * @public
675
+ */
676
+ tags?: Record<string, string> | undefined;
677
+ /**
678
+ * <p>The port number on which the restored InfluxDB resource accepts connections.</p>
679
+ * @public
680
+ */
681
+ port?: number | undefined;
682
+ /**
683
+ * <p>Specifies the network type of the restored resource. Valid values are IPV4 and DUAL.</p>
684
+ * @public
685
+ */
686
+ networkType?: NetworkType | undefined;
687
+ /**
688
+ * <p>Specifies the deployment type of the restored resource. Valid values are SINGLE_AZ, WITH_MULTIAZ_STANDBY, and MULTI_NODE_READ_REPLICAS.</p>
689
+ * @public
690
+ */
691
+ deploymentType?: ResourceDeploymentType | undefined;
692
+ /**
693
+ * <p>A list of backup configurations to apply to the restored resource.</p>
694
+ * @public
695
+ */
696
+ dbBackupConfigurations?: DbBackupConfiguration[] | undefined;
697
+ /**
698
+ * <p>The Amazon Web Services KMS key identifier to use for encryption of the restored resource. Can be a key ID, key ARN, alias name, or alias ARN.</p>
699
+ * @public
700
+ */
701
+ kmsKeyId?: string | undefined;
28
702
  }
29
703
  /**
30
- * <p>Specifies the maintenance schedule for a DB instance or cluster, defining when maintenance operations such as patching can be performed.</p>
31
704
  * @public
32
705
  */
33
- export interface MaintenanceSchedule {
706
+ export interface RestoreFromDbBackupOutput {
34
707
  /**
35
- * <p>The IANA timezone identifier for the maintenance window. Format: Region/City or UTC. For example, America/New_York or UTC.</p>
708
+ * <p>The identifier of the restored DB resource.</p>
36
709
  * @public
37
710
  */
38
- timezone: string | undefined;
711
+ restoredDbResourceId?: string | undefined;
39
712
  /**
40
- * <p>The preferred maintenance window in the format ddd:HH:MM-ddd:HH:MM (UTC). Day must be one of: Mon, Tue, Wed, Thu, Fri, Sat, Sun. For example, Sun:02:00-Sun:06:00. Provide an empty string to let the system choose a window.</p>
713
+ * <p>The status of the restore operation.</p>
41
714
  * @public
42
715
  */
43
- preferredMaintenanceWindow: string | undefined;
716
+ restoreStatus?: RestoreStatus | undefined;
717
+ /**
718
+ * <p>The type of the restored resource. Valid values are DB_INSTANCE and DB_CLUSTER.</p>
719
+ * @public
720
+ */
721
+ resourceType?: ResourceType | undefined;
722
+ /**
723
+ * <p>The engine type of the restored resource.</p>
724
+ * @public
725
+ */
726
+ engineType?: EngineType | undefined;
727
+ /**
728
+ * <p>The deployment type of the restored resource.</p>
729
+ * @public
730
+ */
731
+ deploymentType?: ResourceDeploymentType | undefined;
44
732
  }
45
733
  /**
46
734
  * @public
@@ -153,6 +841,16 @@ export interface CreateDbClusterInput {
153
841
  * @public
154
842
  */
155
843
  maintenanceSchedule?: MaintenanceSchedule | undefined;
844
+ /**
845
+ * <p>A list of backup configurations to enable automated backups for the DB cluster.</p>
846
+ * @public
847
+ */
848
+ dbBackupConfigurations?: DbBackupConfiguration[] | undefined;
849
+ /**
850
+ * <p>The Amazon Web Services KMS key identifier to use for encryption of the DB cluster. Can be a key ID, key ARN, alias name, or alias ARN.</p>
851
+ * @public
852
+ */
853
+ kmsKeyId?: string | undefined;
156
854
  /**
157
855
  * <p>A list of key-value pairs to associate with the DB instance.</p>
158
856
  * @public
@@ -183,6 +881,11 @@ export interface DeleteDbClusterInput {
183
881
  * @public
184
882
  */
185
883
  dbClusterId: string | undefined;
884
+ /**
885
+ * <p>Specifies whether to retain automated backups after the DB cluster is deleted. If set to true, automated backups are not deleted and can be restored later.</p>
886
+ * @public
887
+ */
888
+ retainAutomatedBackups?: boolean | undefined;
186
889
  }
187
890
  /**
188
891
  * @public
@@ -205,25 +908,35 @@ export interface GetDbClusterInput {
205
908
  dbClusterId: string | undefined;
206
909
  }
207
910
  /**
208
- * <p>Configuration for node modes in the DbCluster.</p>
911
+ * <p>Contains the configuration and status for an automated backup schedule.</p>
209
912
  * @public
210
913
  */
211
- export interface ClusterConfiguration {
914
+ export interface DbBackupConfigurationOutput {
212
915
  /**
213
- * <p>The number of instances in the DbCluster which can both ingest and query.</p>
916
+ * <p>The type of automated backup schedule.</p>
214
917
  * @public
215
918
  */
216
- ingestQueryInstances?: number | undefined;
919
+ type: AutomatedDbBackupType | undefined;
217
920
  /**
218
- * <p>The number of instances in the DbCluster which can only query.</p>
921
+ * <p>The number of days automated backups are retained.</p>
219
922
  * @public
220
923
  */
221
- queryOnlyInstances?: number | undefined;
924
+ retentionDays: number | undefined;
222
925
  /**
223
- * <p>Indicates if the compactor instance is a standalone instance or not.</p>
926
+ * <p>Indicates whether this backup configuration is enabled.</p>
224
927
  * @public
225
928
  */
226
- dedicatedCompactor?: boolean | undefined;
929
+ enabled: boolean | undefined;
930
+ /**
931
+ * <p>The custom cron schedule expression for the backup, if applicable.</p>
932
+ * @public
933
+ */
934
+ customSchedule?: string | undefined;
935
+ /**
936
+ * <p>The next scheduled time for an automated backup to be taken.</p>
937
+ * @public
938
+ */
939
+ nextAutomatedBackupTime?: Date | undefined;
227
940
  }
228
941
  /**
229
942
  * @public
@@ -349,6 +1062,16 @@ export interface GetDbClusterOutput {
349
1062
  * @public
350
1063
  */
351
1064
  clusterConfiguration?: ClusterConfiguration | undefined;
1065
+ /**
1066
+ * <p>The backup configurations for the DB cluster.</p>
1067
+ * @public
1068
+ */
1069
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
1070
+ /**
1071
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the DB cluster.</p>
1072
+ * @public
1073
+ */
1074
+ kmsKeyId?: string | undefined;
352
1075
  }
353
1076
  /**
354
1077
  * @public
@@ -623,6 +1346,11 @@ export interface UpdateDbClusterInput {
623
1346
  * @public
624
1347
  */
625
1348
  maintenanceSchedule?: MaintenanceSchedule | undefined;
1349
+ /**
1350
+ * <p>A list of backup configurations to update for the DB cluster.</p>
1351
+ * @public
1352
+ */
1353
+ dbBackupConfigurations?: DbBackupConfiguration[] | undefined;
626
1354
  }
627
1355
  /**
628
1356
  * @public
@@ -746,6 +1474,16 @@ export interface CreateDbInstanceInput {
746
1474
  * @public
747
1475
  */
748
1476
  networkType?: NetworkType | undefined;
1477
+ /**
1478
+ * <p>A list of backup configurations to enable automated backups for the DB instance.</p>
1479
+ * @public
1480
+ */
1481
+ dbBackupConfigurations?: DbBackupConfiguration[] | undefined;
1482
+ /**
1483
+ * <p>The Amazon Web Services KMS key identifier to use for encryption of the DB instance. Can be a key ID, key ARN, alias name, or alias ARN.</p>
1484
+ * @public
1485
+ */
1486
+ kmsKeyId?: string | undefined;
749
1487
  }
750
1488
  /**
751
1489
  * @public
@@ -876,6 +1614,16 @@ export interface CreateDbInstanceOutput {
876
1614
  * @public
877
1615
  */
878
1616
  nextMaintenanceTime?: Date | undefined;
1617
+ /**
1618
+ * <p>The backup configurations for the DB instance.</p>
1619
+ * @public
1620
+ */
1621
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
1622
+ /**
1623
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the DB instance.</p>
1624
+ * @public
1625
+ */
1626
+ kmsKeyId?: string | undefined;
879
1627
  }
880
1628
  /**
881
1629
  * @public
@@ -886,6 +1634,11 @@ export interface DeleteDbInstanceInput {
886
1634
  * @public
887
1635
  */
888
1636
  identifier: string | undefined;
1637
+ /**
1638
+ * <p>Specifies whether to retain automated backups after the DB instance is deleted. If set to true, automated backups are not deleted and can be restored later.</p>
1639
+ * @public
1640
+ */
1641
+ retainAutomatedBackups?: boolean | undefined;
889
1642
  }
890
1643
  /**
891
1644
  * @public
@@ -1016,6 +1769,16 @@ export interface DeleteDbInstanceOutput {
1016
1769
  * @public
1017
1770
  */
1018
1771
  nextMaintenanceTime?: Date | undefined;
1772
+ /**
1773
+ * <p>The backup configurations that were associated with the deleted DB instance.</p>
1774
+ * @public
1775
+ */
1776
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
1777
+ /**
1778
+ * <p>The Amazon Web Services KMS key ARN that was used for encryption of the deleted DB instance.</p>
1779
+ * @public
1780
+ */
1781
+ kmsKeyId?: string | undefined;
1019
1782
  }
1020
1783
  /**
1021
1784
  * @public
@@ -1156,6 +1919,16 @@ export interface GetDbInstanceOutput {
1156
1919
  * @public
1157
1920
  */
1158
1921
  nextMaintenanceTime?: Date | undefined;
1922
+ /**
1923
+ * <p>The backup configurations for the DB instance.</p>
1924
+ * @public
1925
+ */
1926
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
1927
+ /**
1928
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the DB instance.</p>
1929
+ * @public
1930
+ */
1931
+ kmsKeyId?: string | undefined;
1159
1932
  }
1160
1933
  /**
1161
1934
  * @public
@@ -1389,6 +2162,16 @@ export interface RebootDbInstanceOutput {
1389
2162
  * @public
1390
2163
  */
1391
2164
  nextMaintenanceTime?: Date | undefined;
2165
+ /**
2166
+ * <p>The backup configurations for the DB instance.</p>
2167
+ * @public
2168
+ */
2169
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
2170
+ /**
2171
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the DB instance.</p>
2172
+ * @public
2173
+ */
2174
+ kmsKeyId?: string | undefined;
1392
2175
  }
1393
2176
  /**
1394
2177
  * @public
@@ -1443,6 +2226,11 @@ export interface UpdateDbInstanceInput {
1443
2226
  * @public
1444
2227
  */
1445
2228
  maintenanceSchedule?: MaintenanceSchedule | undefined;
2229
+ /**
2230
+ * <p>A list of backup configurations to update for the DB instance.</p>
2231
+ * @public
2232
+ */
2233
+ dbBackupConfigurations?: DbBackupConfiguration[] | undefined;
1446
2234
  }
1447
2235
  /**
1448
2236
  * @public
@@ -1574,6 +2362,16 @@ export interface UpdateDbInstanceOutput {
1574
2362
  * @public
1575
2363
  */
1576
2364
  nextMaintenanceTime?: Date | undefined;
2365
+ /**
2366
+ * <p>The backup configurations for the DB instance.</p>
2367
+ * @public
2368
+ */
2369
+ dbBackupConfigurations?: DbBackupConfigurationOutput[] | undefined;
2370
+ /**
2371
+ * <p>The Amazon Web Services KMS key ARN used for encryption of the DB instance.</p>
2372
+ * @public
2373
+ */
2374
+ kmsKeyId?: string | undefined;
1577
2375
  }
1578
2376
  /**
1579
2377
  * <p>Duration for InfluxDB parameters in Timestream for InfluxDB.</p>
@@ -1692,7 +2490,7 @@ export interface InfluxDBv2Parameters {
1692
2490
  */
1693
2491
  queryInitialMemoryBytes?: number | undefined;
1694
2492
  /**
1695
- * <p>Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.</p>
2493
+ * <p>Maximum total bytes of memory allowed for all running queries. When this limit is reached, new queries are rejected. Setting to 0 allows unlimited memory usage.</p>
1696
2494
  * <p>Default: 0</p>
1697
2495
  * @public
1698
2496
  */