@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.
- package/README.md +42 -7
- package/dist-cjs/index.js +269 -45
- package/dist-es/TimestreamInfluxDB.js +12 -0
- package/dist-es/commands/CreateDbBackupCommand.js +4 -0
- package/dist-es/commands/DeleteDbBackupCommand.js +4 -0
- package/dist-es/commands/GetDbBackupCommand.js +4 -0
- package/dist-es/commands/ListDbBackupsCommand.js +4 -0
- package/dist-es/commands/RestoreFromDbBackupCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +54 -10
- package/dist-es/pagination/ListDbBackupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +160 -34
- package/dist-types/TimestreamInfluxDB.d.ts +43 -0
- package/dist-types/TimestreamInfluxDBClient.d.ts +7 -2
- package/dist-types/commands/CreateDbBackupCommand.d.ts +137 -0
- package/dist-types/commands/CreateDbClusterCommand.d.ts +10 -1
- package/dist-types/commands/CreateDbInstanceCommand.d.ts +20 -1
- package/dist-types/commands/DeleteDbBackupCommand.d.ts +129 -0
- package/dist-types/commands/DeleteDbClusterCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDbInstanceCommand.d.ts +12 -1
- package/dist-types/commands/GetDbBackupCommand.d.ts +126 -0
- package/dist-types/commands/GetDbClusterCommand.d.ts +11 -1
- package/dist-types/commands/GetDbInstanceCommand.d.ts +11 -1
- package/dist-types/commands/ListDbBackupsCommand.d.ts +103 -0
- package/dist-types/commands/ListDbClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListDbInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +1 -1
- package/dist-types/commands/RebootDbClusterCommand.d.ts +1 -1
- package/dist-types/commands/RebootDbInstanceCommand.d.ts +11 -1
- package/dist-types/commands/RestoreFromDbBackupCommand.d.ts +131 -0
- package/dist-types/commands/UpdateDbClusterCommand.d.ts +9 -1
- package/dist-types/commands/UpdateDbInstanceCommand.d.ts +19 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +117 -17
- package/dist-types/models/models_0.d.ts +822 -24
- package/dist-types/pagination/ListDbBackupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +90 -0
- package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +27 -0
- package/dist-types/ts3.4/commands/CreateDbBackupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDbBackupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDbBackupCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListDbBackupsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RestoreFromDbBackupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +68 -15
- package/dist-types/ts3.4/models/models_0.d.ts +183 -4
- package/dist-types/ts3.4/pagination/ListDbBackupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,16 +23,16 @@ To install this package, use the CLI of your favorite package manager:
|
|
|
23
23
|
|
|
24
24
|
The AWS SDK is modulized by clients and commands.
|
|
25
25
|
To send a request, you only need to import the `TimestreamInfluxDBClient` and
|
|
26
|
-
the commands you need, for example `
|
|
26
|
+
the commands you need, for example `ListDbBackupsCommand`:
|
|
27
27
|
|
|
28
28
|
```js
|
|
29
29
|
// ES5 example
|
|
30
|
-
const { TimestreamInfluxDBClient,
|
|
30
|
+
const { TimestreamInfluxDBClient, ListDbBackupsCommand } = require("@aws-sdk/client-timestream-influxdb");
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
34
|
// ES6+ example
|
|
35
|
-
import { TimestreamInfluxDBClient,
|
|
35
|
+
import { TimestreamInfluxDBClient, ListDbBackupsCommand } from "@aws-sdk/client-timestream-influxdb";
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### Usage
|
|
@@ -49,7 +49,7 @@ To send a request:
|
|
|
49
49
|
const client = new TimestreamInfluxDBClient({ region: "REGION" });
|
|
50
50
|
|
|
51
51
|
const params = { /** input parameters */ };
|
|
52
|
-
const command = new
|
|
52
|
+
const command = new ListDbBackupsCommand(params);
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
#### Async/await
|
|
@@ -105,7 +105,7 @@ const client = new TimestreamInfluxDB({ region: "REGION" });
|
|
|
105
105
|
|
|
106
106
|
// async/await.
|
|
107
107
|
try {
|
|
108
|
-
const data = await client.
|
|
108
|
+
const data = await client.listDbBackups(params);
|
|
109
109
|
// process data.
|
|
110
110
|
} catch (error) {
|
|
111
111
|
// error handling.
|
|
@@ -113,7 +113,7 @@ try {
|
|
|
113
113
|
|
|
114
114
|
// Promises.
|
|
115
115
|
client
|
|
116
|
-
.
|
|
116
|
+
.listDbBackups(params)
|
|
117
117
|
.then((data) => {
|
|
118
118
|
// process data.
|
|
119
119
|
})
|
|
@@ -122,7 +122,7 @@ client
|
|
|
122
122
|
});
|
|
123
123
|
|
|
124
124
|
// callbacks (not recommended).
|
|
125
|
-
client.
|
|
125
|
+
client.listDbBackups(params, (err, data) => {
|
|
126
126
|
// process err and data.
|
|
127
127
|
});
|
|
128
128
|
```
|
|
@@ -180,6 +180,13 @@ see LICENSE for more information.
|
|
|
180
180
|
|
|
181
181
|
## Client Commands (Operations List)
|
|
182
182
|
|
|
183
|
+
<details>
|
|
184
|
+
<summary>
|
|
185
|
+
CreateDbBackup
|
|
186
|
+
</summary>
|
|
187
|
+
|
|
188
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/CreateDbBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbBackupCommandOutput/)
|
|
189
|
+
</details>
|
|
183
190
|
<details>
|
|
184
191
|
<summary>
|
|
185
192
|
CreateDbCluster
|
|
@@ -203,6 +210,13 @@ CreateDbParameterGroup
|
|
|
203
210
|
</details>
|
|
204
211
|
<details>
|
|
205
212
|
<summary>
|
|
213
|
+
DeleteDbBackup
|
|
214
|
+
</summary>
|
|
215
|
+
|
|
216
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/DeleteDbBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbBackupCommandOutput/)
|
|
217
|
+
</details>
|
|
218
|
+
<details>
|
|
219
|
+
<summary>
|
|
206
220
|
DeleteDbCluster
|
|
207
221
|
</summary>
|
|
208
222
|
|
|
@@ -217,6 +231,13 @@ DeleteDbInstance
|
|
|
217
231
|
</details>
|
|
218
232
|
<details>
|
|
219
233
|
<summary>
|
|
234
|
+
GetDbBackup
|
|
235
|
+
</summary>
|
|
236
|
+
|
|
237
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/GetDbBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbBackupCommandOutput/)
|
|
238
|
+
</details>
|
|
239
|
+
<details>
|
|
240
|
+
<summary>
|
|
220
241
|
GetDbCluster
|
|
221
242
|
</summary>
|
|
222
243
|
|
|
@@ -238,6 +259,13 @@ GetDbParameterGroup
|
|
|
238
259
|
</details>
|
|
239
260
|
<details>
|
|
240
261
|
<summary>
|
|
262
|
+
ListDbBackups
|
|
263
|
+
</summary>
|
|
264
|
+
|
|
265
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/ListDbBackupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbBackupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbBackupsCommandOutput/)
|
|
266
|
+
</details>
|
|
267
|
+
<details>
|
|
268
|
+
<summary>
|
|
241
269
|
ListDbClusters
|
|
242
270
|
</summary>
|
|
243
271
|
|
|
@@ -287,6 +315,13 @@ RebootDbInstance
|
|
|
287
315
|
</details>
|
|
288
316
|
<details>
|
|
289
317
|
<summary>
|
|
318
|
+
RestoreFromDbBackup
|
|
319
|
+
</summary>
|
|
320
|
+
|
|
321
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/RestoreFromDbBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RestoreFromDbBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RestoreFromDbBackupCommandOutput/)
|
|
322
|
+
</details>
|
|
323
|
+
<details>
|
|
324
|
+
<summary>
|
|
290
325
|
TagResource
|
|
291
326
|
</summary>
|
|
292
327
|
|