Skip to content

Commit a8b712b

Browse files
author
awstools
committed
feat(client-timestream-influxdb): This release adds support for rebooting InfluxDB DbInstances and DbClusters
1 parent 5c5fd2e commit a8b712b

23 files changed

+922
-12
lines changed

clients/client-timestream-influxdb/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,22 @@ ListTagsForResource
307307

308308
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListTagsForResourceCommandOutput/)
309309

310+
</details>
311+
<details>
312+
<summary>
313+
RebootDbCluster
314+
</summary>
315+
316+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/RebootDbClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RebootDbClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RebootDbClusterCommandOutput/)
317+
318+
</details>
319+
<details>
320+
<summary>
321+
RebootDbInstance
322+
</summary>
323+
324+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/RebootDbInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RebootDbInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/RebootDbInstanceCommandOutput/)
325+
310326
</details>
311327
<details>
312328
<summary>

clients/client-timestream-influxdb/src/TimestreamInfluxDB.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ import {
6767
ListTagsForResourceCommandInput,
6868
ListTagsForResourceCommandOutput,
6969
} from "./commands/ListTagsForResourceCommand";
70+
import {
71+
RebootDbClusterCommand,
72+
RebootDbClusterCommandInput,
73+
RebootDbClusterCommandOutput,
74+
} from "./commands/RebootDbClusterCommand";
75+
import {
76+
RebootDbInstanceCommand,
77+
RebootDbInstanceCommandInput,
78+
RebootDbInstanceCommandOutput,
79+
} from "./commands/RebootDbInstanceCommand";
7080
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
7181
import {
7282
UntagResourceCommand,
@@ -99,6 +109,8 @@ const commands = {
99109
ListDbInstancesForClusterCommand,
100110
ListDbParameterGroupsCommand,
101111
ListTagsForResourceCommand,
112+
RebootDbClusterCommand,
113+
RebootDbInstanceCommand,
102114
TagResourceCommand,
103115
UntagResourceCommand,
104116
UpdateDbClusterCommand,
@@ -306,6 +318,37 @@ export interface TimestreamInfluxDB {
306318
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
307319
): void;
308320

321+
/**
322+
* @see {@link RebootDbClusterCommand}
323+
*/
324+
rebootDbCluster(
325+
args: RebootDbClusterCommandInput,
326+
options?: __HttpHandlerOptions
327+
): Promise<RebootDbClusterCommandOutput>;
328+
rebootDbCluster(args: RebootDbClusterCommandInput, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
329+
rebootDbCluster(
330+
args: RebootDbClusterCommandInput,
331+
options: __HttpHandlerOptions,
332+
cb: (err: any, data?: RebootDbClusterCommandOutput) => void
333+
): void;
334+
335+
/**
336+
* @see {@link RebootDbInstanceCommand}
337+
*/
338+
rebootDbInstance(
339+
args: RebootDbInstanceCommandInput,
340+
options?: __HttpHandlerOptions
341+
): Promise<RebootDbInstanceCommandOutput>;
342+
rebootDbInstance(
343+
args: RebootDbInstanceCommandInput,
344+
cb: (err: any, data?: RebootDbInstanceCommandOutput) => void
345+
): void;
346+
rebootDbInstance(
347+
args: RebootDbInstanceCommandInput,
348+
options: __HttpHandlerOptions,
349+
cb: (err: any, data?: RebootDbInstanceCommandOutput) => void
350+
): void;
351+
309352
/**
310353
* @see {@link TagResourceCommand}
311354
*/

clients/client-timestream-influxdb/src/TimestreamInfluxDBClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ import {
9191
ListTagsForResourceCommandInput,
9292
ListTagsForResourceCommandOutput,
9393
} from "./commands/ListTagsForResourceCommand";
94+
import { RebootDbClusterCommandInput, RebootDbClusterCommandOutput } from "./commands/RebootDbClusterCommand";
95+
import { RebootDbInstanceCommandInput, RebootDbInstanceCommandOutput } from "./commands/RebootDbInstanceCommand";
9496
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
9597
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
9698
import { UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
@@ -123,6 +125,8 @@ export type ServiceInputTypes =
123125
| ListDbInstancesForClusterCommandInput
124126
| ListDbParameterGroupsCommandInput
125127
| ListTagsForResourceCommandInput
128+
| RebootDbClusterCommandInput
129+
| RebootDbInstanceCommandInput
126130
| TagResourceCommandInput
127131
| UntagResourceCommandInput
128132
| UpdateDbClusterCommandInput
@@ -145,6 +149,8 @@ export type ServiceOutputTypes =
145149
| ListDbInstancesForClusterCommandOutput
146150
| ListDbParameterGroupsCommandOutput
147151
| ListTagsForResourceCommandOutput
152+
| RebootDbClusterCommandOutput
153+
| RebootDbInstanceCommandOutput
148154
| TagResourceCommandOutput
149155
| UntagResourceCommandOutput
150156
| UpdateDbClusterCommandOutput

clients/client-timestream-influxdb/src/commands/CreateDbClusterCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export interface CreateDbClusterCommandOutput extends CreateDbClusterOutput, __M
7575
* const response = await client.send(command);
7676
* // { // CreateDbClusterOutput
7777
* // dbClusterId: "STRING_VALUE",
78-
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
78+
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
7979
* // };
8080
*
8181
* ```

clients/client-timestream-influxdb/src/commands/CreateDbInstanceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface CreateDbInstanceCommandOutput extends CreateDbInstanceOutput, _
7676
* // id: "STRING_VALUE", // required
7777
* // name: "STRING_VALUE", // required
7878
* // arn: "STRING_VALUE", // required
79-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
79+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
8080
* // endpoint: "STRING_VALUE",
8181
* // port: Number("int"),
8282
* // networkType: "IPV4" || "DUAL",

clients/client-timestream-influxdb/src/commands/DeleteDbClusterCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface DeleteDbClusterCommandOutput extends DeleteDbClusterOutput, __M
4646
* const command = new DeleteDbClusterCommand(input);
4747
* const response = await client.send(command);
4848
* // { // DeleteDbClusterOutput
49-
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
49+
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
5050
* // };
5151
*
5252
* ```

clients/client-timestream-influxdb/src/commands/DeleteDbInstanceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface DeleteDbInstanceCommandOutput extends DeleteDbInstanceOutput, _
4949
* // id: "STRING_VALUE", // required
5050
* // name: "STRING_VALUE", // required
5151
* // arn: "STRING_VALUE", // required
52-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
52+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
5353
* // endpoint: "STRING_VALUE",
5454
* // port: Number("int"),
5555
* // networkType: "IPV4" || "DUAL",

clients/client-timestream-influxdb/src/commands/GetDbClusterCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface GetDbClusterCommandOutput extends GetDbClusterOutput, __Metadat
4949
* // id: "STRING_VALUE", // required
5050
* // name: "STRING_VALUE", // required
5151
* // arn: "STRING_VALUE", // required
52-
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
52+
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
5353
* // endpoint: "STRING_VALUE",
5454
* // readerEndpoint: "STRING_VALUE",
5555
* // port: Number("int"),

clients/client-timestream-influxdb/src/commands/GetDbInstanceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface GetDbInstanceCommandOutput extends GetDbInstanceOutput, __Metad
4949
* // id: "STRING_VALUE", // required
5050
* // name: "STRING_VALUE", // required
5151
* // arn: "STRING_VALUE", // required
52-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
52+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
5353
* // endpoint: "STRING_VALUE",
5454
* // port: Number("int"),
5555
* // networkType: "IPV4" || "DUAL",

clients/client-timestream-influxdb/src/commands/ListDbClustersCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface ListDbClustersCommandOutput extends ListDbClustersOutput, __Met
5252
* // id: "STRING_VALUE", // required
5353
* // name: "STRING_VALUE", // required
5454
* // arn: "STRING_VALUE", // required
55-
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
55+
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
5656
* // endpoint: "STRING_VALUE",
5757
* // readerEndpoint: "STRING_VALUE",
5858
* // port: Number("int"),

0 commit comments

Comments
 (0)