@aws-sdk/client-timestream-influxdb 3.1100.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,12 +1,16 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
+ import { CreateDbBackupCommand, } from "./commands/CreateDbBackupCommand";
2
3
  import { CreateDbClusterCommand, } from "./commands/CreateDbClusterCommand";
3
4
  import { CreateDbInstanceCommand, } from "./commands/CreateDbInstanceCommand";
4
5
  import { CreateDbParameterGroupCommand, } from "./commands/CreateDbParameterGroupCommand";
6
+ import { DeleteDbBackupCommand, } from "./commands/DeleteDbBackupCommand";
5
7
  import { DeleteDbClusterCommand, } from "./commands/DeleteDbClusterCommand";
6
8
  import { DeleteDbInstanceCommand, } from "./commands/DeleteDbInstanceCommand";
9
+ import { GetDbBackupCommand, } from "./commands/GetDbBackupCommand";
7
10
  import { GetDbClusterCommand, } from "./commands/GetDbClusterCommand";
8
11
  import { GetDbInstanceCommand, } from "./commands/GetDbInstanceCommand";
9
12
  import { GetDbParameterGroupCommand, } from "./commands/GetDbParameterGroupCommand";
13
+ import { ListDbBackupsCommand, } from "./commands/ListDbBackupsCommand";
10
14
  import { ListDbClustersCommand, } from "./commands/ListDbClustersCommand";
11
15
  import { ListDbInstancesCommand, } from "./commands/ListDbInstancesCommand";
12
16
  import { ListDbInstancesForClusterCommand, } from "./commands/ListDbInstancesForClusterCommand";
@@ -14,24 +18,30 @@ import { ListDbParameterGroupsCommand, } from "./commands/ListDbParameterGroupsC
14
18
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
15
19
  import { RebootDbClusterCommand, } from "./commands/RebootDbClusterCommand";
16
20
  import { RebootDbInstanceCommand, } from "./commands/RebootDbInstanceCommand";
21
+ import { RestoreFromDbBackupCommand, } from "./commands/RestoreFromDbBackupCommand";
17
22
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
18
23
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
19
24
  import { UpdateDbClusterCommand, } from "./commands/UpdateDbClusterCommand";
20
25
  import { UpdateDbInstanceCommand, } from "./commands/UpdateDbInstanceCommand";
26
+ import { paginateListDbBackups } from "./pagination/ListDbBackupsPaginator";
21
27
  import { paginateListDbClusters } from "./pagination/ListDbClustersPaginator";
22
28
  import { paginateListDbInstancesForCluster } from "./pagination/ListDbInstancesForClusterPaginator";
23
29
  import { paginateListDbInstances } from "./pagination/ListDbInstancesPaginator";
24
30
  import { paginateListDbParameterGroups } from "./pagination/ListDbParameterGroupsPaginator";
25
31
  import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
26
32
  const commands = {
33
+ CreateDbBackupCommand,
27
34
  CreateDbClusterCommand,
28
35
  CreateDbInstanceCommand,
29
36
  CreateDbParameterGroupCommand,
37
+ DeleteDbBackupCommand,
30
38
  DeleteDbClusterCommand,
31
39
  DeleteDbInstanceCommand,
40
+ GetDbBackupCommand,
32
41
  GetDbClusterCommand,
33
42
  GetDbInstanceCommand,
34
43
  GetDbParameterGroupCommand,
44
+ ListDbBackupsCommand,
35
45
  ListDbClustersCommand,
36
46
  ListDbInstancesCommand,
37
47
  ListDbInstancesForClusterCommand,
@@ -39,12 +49,14 @@ const commands = {
39
49
  ListTagsForResourceCommand,
40
50
  RebootDbClusterCommand,
41
51
  RebootDbInstanceCommand,
52
+ RestoreFromDbBackupCommand,
42
53
  TagResourceCommand,
43
54
  UntagResourceCommand,
44
55
  UpdateDbClusterCommand,
45
56
  UpdateDbInstanceCommand,
46
57
  };
47
58
  const paginators = {
59
+ paginateListDbBackups,
48
60
  paginateListDbClusters,
49
61
  paginateListDbInstances,
50
62
  paginateListDbInstancesForCluster,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateDbBackup$ } from "../schemas/schemas_0";
3
+ export class CreateDbBackupCommand extends command(_ep0, _mw0, "CreateDbBackup", CreateDbBackup$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteDbBackup$ } from "../schemas/schemas_0";
3
+ export class DeleteDbBackupCommand extends command(_ep0, _mw0, "DeleteDbBackup", DeleteDbBackup$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetDbBackup$ } from "../schemas/schemas_0";
3
+ export class GetDbBackupCommand extends command(_ep0, _mw0, "GetDbBackup", GetDbBackup$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListDbBackups$ } from "../schemas/schemas_0";
3
+ export class ListDbBackupsCommand extends command(_ep0, _mw0, "ListDbBackups", ListDbBackups$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RestoreFromDbBackup$ } from "../schemas/schemas_0";
3
+ export class RestoreFromDbBackupCommand extends command(_ep0, _mw0, "RestoreFromDbBackup", RestoreFromDbBackup$) {
4
+ }
@@ -1,11 +1,15 @@
1
+ export * from "./CreateDbBackupCommand";
1
2
  export * from "./CreateDbClusterCommand";
2
3
  export * from "./CreateDbInstanceCommand";
3
4
  export * from "./CreateDbParameterGroupCommand";
5
+ export * from "./DeleteDbBackupCommand";
4
6
  export * from "./DeleteDbClusterCommand";
5
7
  export * from "./DeleteDbInstanceCommand";
8
+ export * from "./GetDbBackupCommand";
6
9
  export * from "./GetDbClusterCommand";
7
10
  export * from "./GetDbInstanceCommand";
8
11
  export * from "./GetDbParameterGroupCommand";
12
+ export * from "./ListDbBackupsCommand";
9
13
  export * from "./ListDbClustersCommand";
10
14
  export * from "./ListDbInstancesCommand";
11
15
  export * from "./ListDbInstancesForClusterCommand";
@@ -13,6 +17,7 @@ export * from "./ListDbParameterGroupsCommand";
13
17
  export * from "./ListTagsForResourceCommand";
14
18
  export * from "./RebootDbClusterCommand";
15
19
  export * from "./RebootDbInstanceCommand";
20
+ export * from "./RestoreFromDbBackupCommand";
16
21
  export * from "./TagResourceCommand";
17
22
  export * from "./UntagResourceCommand";
18
23
  export * from "./UpdateDbClusterCommand";
@@ -14,8 +14,15 @@ export const DbStorageType = {
14
14
  INFLUX_IO_INCLUDED_T2: "InfluxIOIncludedT2",
15
15
  INFLUX_IO_INCLUDED_T3: "InfluxIOIncludedT3",
16
16
  };
17
- export const ClusterDeploymentType = {
17
+ export const ResourceDeploymentType = {
18
18
  MULTI_NODE_READ_REPLICAS: "MULTI_NODE_READ_REPLICAS",
19
+ SINGLE_AZ: "SINGLE_AZ",
20
+ WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
21
+ };
22
+ export const EngineType = {
23
+ INFLUXDB_V2: "INFLUXDB_V2",
24
+ INFLUXDB_V3_CORE: "INFLUXDB_V3_CORE",
25
+ INFLUXDB_V3_ENTERPRISE: "INFLUXDB_V3_ENTERPRISE",
19
26
  };
20
27
  export const FailoverMode = {
21
28
  AUTOMATIC: "AUTOMATIC",
@@ -25,6 +32,48 @@ export const NetworkType = {
25
32
  DUAL: "DUAL",
26
33
  IPV4: "IPV4",
27
34
  };
35
+ export const DbBackupStatus = {
36
+ COMPLETED: "COMPLETED",
37
+ DELETED: "DELETED",
38
+ DELETING: "DELETING",
39
+ FAILED: "FAILED",
40
+ IN_PROGRESS: "IN_PROGRESS",
41
+ };
42
+ export const DbBackupType = {
43
+ CONTINUOUS: "CONTINUOUS",
44
+ CUSTOM_SCHEDULE: "CUSTOM_SCHEDULE",
45
+ DAILY: "DAILY",
46
+ HOURLY: "HOURLY",
47
+ MONTHLY: "MONTHLY",
48
+ ON_DEMAND: "ON_DEMAND",
49
+ WEEKLY: "WEEKLY",
50
+ };
51
+ export const ValidationExceptionReason = {
52
+ FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
53
+ OTHER: "OTHER",
54
+ };
55
+ export const AutomatedDbBackupType = {
56
+ CONTINUOUS: "CONTINUOUS",
57
+ CUSTOM_SCHEDULE: "CUSTOM_SCHEDULE",
58
+ DAILY: "DAILY",
59
+ HOURLY: "HOURLY",
60
+ MONTHLY: "MONTHLY",
61
+ WEEKLY: "WEEKLY",
62
+ };
63
+ export const RestoreMode = {
64
+ NEW_RESOURCE: "NEW_RESOURCE",
65
+ REPLACE_EXISTING: "REPLACE_EXISTING",
66
+ };
67
+ export const ResourceType = {
68
+ DB_CLUSTER: "DB_CLUSTER",
69
+ DB_INSTANCE: "DB_INSTANCE",
70
+ };
71
+ export const RestoreStatus = {
72
+ RESTORING: "RESTORING",
73
+ };
74
+ export const ClusterDeploymentType = {
75
+ MULTI_NODE_READ_REPLICAS: "MULTI_NODE_READ_REPLICAS",
76
+ };
28
77
  export const ClusterStatus = {
29
78
  AVAILABLE: "AVAILABLE",
30
79
  CREATING: "CREATING",
@@ -35,18 +84,11 @@ export const ClusterStatus = {
35
84
  PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE",
36
85
  REBOOTING: "REBOOTING",
37
86
  REBOOT_FAILED: "REBOOT_FAILED",
87
+ RESTORE_FAILED: "RESTORE_FAILED",
88
+ RESTORING: "RESTORING",
38
89
  UPDATING: "UPDATING",
39
90
  UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
40
91
  };
41
- export const ValidationExceptionReason = {
42
- FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
43
- OTHER: "OTHER",
44
- };
45
- export const EngineType = {
46
- INFLUXDB_V2: "INFLUXDB_V2",
47
- INFLUXDB_V3_CORE: "INFLUXDB_V3_CORE",
48
- INFLUXDB_V3_ENTERPRISE: "INFLUXDB_V3_ENTERPRISE",
49
- };
50
92
  export const DeploymentType = {
51
93
  SINGLE_AZ: "SINGLE_AZ",
52
94
  WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
@@ -70,6 +112,8 @@ export const Status = {
70
112
  MODIFYING: "MODIFYING",
71
113
  REBOOTING: "REBOOTING",
72
114
  REBOOT_FAILED: "REBOOT_FAILED",
115
+ RESTORE_FAILED: "RESTORE_FAILED",
116
+ RESTORING: "RESTORING",
73
117
  UPDATING: "UPDATING",
74
118
  UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
75
119
  UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDbBackupsCommand, } from "../commands/ListDbBackupsCommand";
3
+ import { TimestreamInfluxDBClient } from "../TimestreamInfluxDBClient";
4
+ export const paginateListDbBackups = createPaginator(TimestreamInfluxDBClient, ListDbBackupsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListDbBackupsPaginator";
2
3
  export * from "./ListDbClustersPaginator";
3
4
  export * from "./ListDbInstancesPaginator";
4
5
  export * from "./ListDbInstancesForClusterPaginator";