2
2
import { createAggregatedClient } from "@smithy/smithy-client" ;
3
3
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
4
4
5
+ import {
6
+ CreateDbClusterCommand ,
7
+ CreateDbClusterCommandInput ,
8
+ CreateDbClusterCommandOutput ,
9
+ } from "./commands/CreateDbClusterCommand" ;
5
10
import {
6
11
CreateDbInstanceCommand ,
7
12
CreateDbInstanceCommandInput ,
@@ -12,11 +17,21 @@ import {
12
17
CreateDbParameterGroupCommandInput ,
13
18
CreateDbParameterGroupCommandOutput ,
14
19
} from "./commands/CreateDbParameterGroupCommand" ;
20
+ import {
21
+ DeleteDbClusterCommand ,
22
+ DeleteDbClusterCommandInput ,
23
+ DeleteDbClusterCommandOutput ,
24
+ } from "./commands/DeleteDbClusterCommand" ;
15
25
import {
16
26
DeleteDbInstanceCommand ,
17
27
DeleteDbInstanceCommandInput ,
18
28
DeleteDbInstanceCommandOutput ,
19
29
} from "./commands/DeleteDbInstanceCommand" ;
30
+ import {
31
+ GetDbClusterCommand ,
32
+ GetDbClusterCommandInput ,
33
+ GetDbClusterCommandOutput ,
34
+ } from "./commands/GetDbClusterCommand" ;
20
35
import {
21
36
GetDbInstanceCommand ,
22
37
GetDbInstanceCommandInput ,
@@ -27,11 +42,21 @@ import {
27
42
GetDbParameterGroupCommandInput ,
28
43
GetDbParameterGroupCommandOutput ,
29
44
} from "./commands/GetDbParameterGroupCommand" ;
45
+ import {
46
+ ListDbClustersCommand ,
47
+ ListDbClustersCommandInput ,
48
+ ListDbClustersCommandOutput ,
49
+ } from "./commands/ListDbClustersCommand" ;
30
50
import {
31
51
ListDbInstancesCommand ,
32
52
ListDbInstancesCommandInput ,
33
53
ListDbInstancesCommandOutput ,
34
54
} from "./commands/ListDbInstancesCommand" ;
55
+ import {
56
+ ListDbInstancesForClusterCommand ,
57
+ ListDbInstancesForClusterCommandInput ,
58
+ ListDbInstancesForClusterCommandOutput ,
59
+ } from "./commands/ListDbInstancesForClusterCommand" ;
35
60
import {
36
61
ListDbParameterGroupsCommand ,
37
62
ListDbParameterGroupsCommandInput ,
@@ -48,6 +73,11 @@ import {
48
73
UntagResourceCommandInput ,
49
74
UntagResourceCommandOutput ,
50
75
} from "./commands/UntagResourceCommand" ;
76
+ import {
77
+ UpdateDbClusterCommand ,
78
+ UpdateDbClusterCommandInput ,
79
+ UpdateDbClusterCommandOutput ,
80
+ } from "./commands/UpdateDbClusterCommand" ;
51
81
import {
52
82
UpdateDbInstanceCommand ,
53
83
UpdateDbInstanceCommandInput ,
@@ -56,20 +86,40 @@ import {
56
86
import { TimestreamInfluxDBClient , TimestreamInfluxDBClientConfig } from "./TimestreamInfluxDBClient" ;
57
87
58
88
const commands = {
89
+ CreateDbClusterCommand,
59
90
CreateDbInstanceCommand,
60
91
CreateDbParameterGroupCommand,
92
+ DeleteDbClusterCommand,
61
93
DeleteDbInstanceCommand,
94
+ GetDbClusterCommand,
62
95
GetDbInstanceCommand,
63
96
GetDbParameterGroupCommand,
97
+ ListDbClustersCommand,
64
98
ListDbInstancesCommand,
99
+ ListDbInstancesForClusterCommand,
65
100
ListDbParameterGroupsCommand,
66
101
ListTagsForResourceCommand,
67
102
TagResourceCommand,
68
103
UntagResourceCommand,
104
+ UpdateDbClusterCommand,
69
105
UpdateDbInstanceCommand,
70
106
} ;
71
107
72
108
export interface TimestreamInfluxDB {
109
+ /**
110
+ * @see {@link CreateDbClusterCommand }
111
+ */
112
+ createDbCluster (
113
+ args : CreateDbClusterCommandInput ,
114
+ options ?: __HttpHandlerOptions
115
+ ) : Promise < CreateDbClusterCommandOutput > ;
116
+ createDbCluster ( args : CreateDbClusterCommandInput , cb : ( err : any , data ?: CreateDbClusterCommandOutput ) => void ) : void ;
117
+ createDbCluster (
118
+ args : CreateDbClusterCommandInput ,
119
+ options : __HttpHandlerOptions ,
120
+ cb : ( err : any , data ?: CreateDbClusterCommandOutput ) => void
121
+ ) : void ;
122
+
73
123
/**
74
124
* @see {@link CreateDbInstanceCommand }
75
125
*/
@@ -104,6 +154,20 @@ export interface TimestreamInfluxDB {
104
154
cb : ( err : any , data ?: CreateDbParameterGroupCommandOutput ) => void
105
155
) : void ;
106
156
157
+ /**
158
+ * @see {@link DeleteDbClusterCommand }
159
+ */
160
+ deleteDbCluster (
161
+ args : DeleteDbClusterCommandInput ,
162
+ options ?: __HttpHandlerOptions
163
+ ) : Promise < DeleteDbClusterCommandOutput > ;
164
+ deleteDbCluster ( args : DeleteDbClusterCommandInput , cb : ( err : any , data ?: DeleteDbClusterCommandOutput ) => void ) : void ;
165
+ deleteDbCluster (
166
+ args : DeleteDbClusterCommandInput ,
167
+ options : __HttpHandlerOptions ,
168
+ cb : ( err : any , data ?: DeleteDbClusterCommandOutput ) => void
169
+ ) : void ;
170
+
107
171
/**
108
172
* @see {@link DeleteDbInstanceCommand }
109
173
*/
@@ -121,6 +185,17 @@ export interface TimestreamInfluxDB {
121
185
cb : ( err : any , data ?: DeleteDbInstanceCommandOutput ) => void
122
186
) : void ;
123
187
188
+ /**
189
+ * @see {@link GetDbClusterCommand }
190
+ */
191
+ getDbCluster ( args : GetDbClusterCommandInput , options ?: __HttpHandlerOptions ) : Promise < GetDbClusterCommandOutput > ;
192
+ getDbCluster ( args : GetDbClusterCommandInput , cb : ( err : any , data ?: GetDbClusterCommandOutput ) => void ) : void ;
193
+ getDbCluster (
194
+ args : GetDbClusterCommandInput ,
195
+ options : __HttpHandlerOptions ,
196
+ cb : ( err : any , data ?: GetDbClusterCommandOutput ) => void
197
+ ) : void ;
198
+
124
199
/**
125
200
* @see {@link GetDbInstanceCommand }
126
201
*/
@@ -149,6 +224,21 @@ export interface TimestreamInfluxDB {
149
224
cb : ( err : any , data ?: GetDbParameterGroupCommandOutput ) => void
150
225
) : void ;
151
226
227
+ /**
228
+ * @see {@link ListDbClustersCommand }
229
+ */
230
+ listDbClusters ( ) : Promise < ListDbClustersCommandOutput > ;
231
+ listDbClusters (
232
+ args : ListDbClustersCommandInput ,
233
+ options ?: __HttpHandlerOptions
234
+ ) : Promise < ListDbClustersCommandOutput > ;
235
+ listDbClusters ( args : ListDbClustersCommandInput , cb : ( err : any , data ?: ListDbClustersCommandOutput ) => void ) : void ;
236
+ listDbClusters (
237
+ args : ListDbClustersCommandInput ,
238
+ options : __HttpHandlerOptions ,
239
+ cb : ( err : any , data ?: ListDbClustersCommandOutput ) => void
240
+ ) : void ;
241
+
152
242
/**
153
243
* @see {@link ListDbInstancesCommand }
154
244
*/
@@ -164,6 +254,23 @@ export interface TimestreamInfluxDB {
164
254
cb : ( err : any , data ?: ListDbInstancesCommandOutput ) => void
165
255
) : void ;
166
256
257
+ /**
258
+ * @see {@link ListDbInstancesForClusterCommand }
259
+ */
260
+ listDbInstancesForCluster (
261
+ args : ListDbInstancesForClusterCommandInput ,
262
+ options ?: __HttpHandlerOptions
263
+ ) : Promise < ListDbInstancesForClusterCommandOutput > ;
264
+ listDbInstancesForCluster (
265
+ args : ListDbInstancesForClusterCommandInput ,
266
+ cb : ( err : any , data ?: ListDbInstancesForClusterCommandOutput ) => void
267
+ ) : void ;
268
+ listDbInstancesForCluster (
269
+ args : ListDbInstancesForClusterCommandInput ,
270
+ options : __HttpHandlerOptions ,
271
+ cb : ( err : any , data ?: ListDbInstancesForClusterCommandOutput ) => void
272
+ ) : void ;
273
+
167
274
/**
168
275
* @see {@link ListDbParameterGroupsCommand }
169
276
*/
@@ -221,6 +328,20 @@ export interface TimestreamInfluxDB {
221
328
cb : ( err : any , data ?: UntagResourceCommandOutput ) => void
222
329
) : void ;
223
330
331
+ /**
332
+ * @see {@link UpdateDbClusterCommand }
333
+ */
334
+ updateDbCluster (
335
+ args : UpdateDbClusterCommandInput ,
336
+ options ?: __HttpHandlerOptions
337
+ ) : Promise < UpdateDbClusterCommandOutput > ;
338
+ updateDbCluster ( args : UpdateDbClusterCommandInput , cb : ( err : any , data ?: UpdateDbClusterCommandOutput ) => void ) : void ;
339
+ updateDbCluster (
340
+ args : UpdateDbClusterCommandInput ,
341
+ options : __HttpHandlerOptions ,
342
+ cb : ( err : any , data ?: UpdateDbClusterCommandOutput ) => void
343
+ ) : void ;
344
+
224
345
/**
225
346
* @see {@link UpdateDbInstanceCommand }
226
347
*/
0 commit comments