@aws-sdk/client-timestream-influxdb 3.948.0 → 3.953.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +375 -202
  3. package/dist-cjs/runtimeConfig.shared.js +6 -6
  4. package/dist-es/TimestreamInfluxDB.js +4 -0
  5. package/dist-es/commands/CreateDbClusterCommand.js +2 -2
  6. package/dist-es/commands/CreateDbInstanceCommand.js +2 -2
  7. package/dist-es/commands/CreateDbParameterGroupCommand.js +2 -2
  8. package/dist-es/commands/DeleteDbClusterCommand.js +2 -2
  9. package/dist-es/commands/DeleteDbInstanceCommand.js +2 -2
  10. package/dist-es/commands/GetDbClusterCommand.js +2 -2
  11. package/dist-es/commands/GetDbInstanceCommand.js +2 -2
  12. package/dist-es/commands/GetDbParameterGroupCommand.js +2 -2
  13. package/dist-es/commands/ListDbClustersCommand.js +2 -2
  14. package/dist-es/commands/ListDbInstancesCommand.js +2 -2
  15. package/dist-es/commands/ListDbInstancesForClusterCommand.js +2 -2
  16. package/dist-es/commands/ListDbParameterGroupsCommand.js +2 -2
  17. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  18. package/dist-es/commands/RebootDbClusterCommand.js +16 -0
  19. package/dist-es/commands/RebootDbInstanceCommand.js +16 -0
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/commands/UpdateDbClusterCommand.js +2 -2
  23. package/dist-es/commands/UpdateDbInstanceCommand.js +2 -2
  24. package/dist-es/commands/index.js +2 -0
  25. package/dist-es/index.js +1 -0
  26. package/dist-es/models/enums.js +6 -0
  27. package/dist-es/runtimeConfig.shared.js +6 -6
  28. package/dist-es/schemas/schemas_0.js +237 -172
  29. package/dist-types/TimestreamInfluxDB.d.ts +14 -0
  30. package/dist-types/TimestreamInfluxDBClient.d.ts +5 -12
  31. package/dist-types/commands/CreateDbClusterCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateDbInstanceCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteDbClusterCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +1 -1
  35. package/dist-types/commands/GetDbClusterCommand.d.ts +1 -1
  36. package/dist-types/commands/GetDbInstanceCommand.d.ts +1 -1
  37. package/dist-types/commands/ListDbClustersCommand.d.ts +1 -1
  38. package/dist-types/commands/ListDbInstancesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +1 -1
  40. package/dist-types/commands/RebootDbClusterCommand.d.ts +95 -0
  41. package/dist-types/commands/RebootDbInstanceCommand.d.ts +124 -0
  42. package/dist-types/commands/UpdateDbClusterCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +1 -1
  44. package/dist-types/commands/index.d.ts +2 -0
  45. package/dist-types/index.d.ts +1 -0
  46. package/dist-types/models/enums.d.ts +6 -0
  47. package/dist-types/models/models_0.d.ts +150 -0
  48. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  49. package/dist-types/runtimeConfig.d.ts +6 -2
  50. package/dist-types/runtimeConfig.native.d.ts +6 -2
  51. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  52. package/dist-types/schemas/schemas_0.d.ts +76 -83
  53. package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +34 -0
  54. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +12 -4
  55. package/dist-types/ts3.4/commands/RebootDbClusterCommand.d.ts +50 -0
  56. package/dist-types/ts3.4/commands/RebootDbInstanceCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  58. package/dist-types/ts3.4/index.d.ts +1 -0
  59. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  60. package/dist-types/ts3.4/models/models_0.d.ts +34 -0
  61. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  62. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  64. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  65. package/dist-types/ts3.4/schemas/schemas_0.d.ts +75 -84
  66. package/package.json +34 -34
@@ -12,6 +12,8 @@ import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./com
12
12
  import { ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput } from "./commands/ListDbInstancesForClusterCommand";
13
13
  import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
14
14
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
+ import { RebootDbClusterCommandInput, RebootDbClusterCommandOutput } from "./commands/RebootDbClusterCommand";
16
+ import { RebootDbInstanceCommandInput, RebootDbInstanceCommandOutput } from "./commands/RebootDbInstanceCommand";
15
17
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
16
18
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
19
  import { UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
@@ -99,6 +101,18 @@ export interface TimestreamInfluxDB {
99
101
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
100
102
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
101
103
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
104
+ /**
105
+ * @see {@link RebootDbClusterCommand}
106
+ */
107
+ rebootDbCluster(args: RebootDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<RebootDbClusterCommandOutput>;
108
+ rebootDbCluster(args: RebootDbClusterCommandInput, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
109
+ rebootDbCluster(args: RebootDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
110
+ /**
111
+ * @see {@link RebootDbInstanceCommand}
112
+ */
113
+ rebootDbInstance(args: RebootDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RebootDbInstanceCommandOutput>;
114
+ rebootDbInstance(args: RebootDbInstanceCommandInput, cb: (err: any, data?: RebootDbInstanceCommandOutput) => void): void;
115
+ rebootDbInstance(args: RebootDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootDbInstanceCommandOutput) => void): void;
102
116
  /**
103
117
  * @see {@link TagResourceCommand}
104
118
  */
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateDbClusterCommandInput, CreateDbClusterCommandOutput } from "./commands/CreateDbClusterCommand";
11
11
  import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
@@ -20,6 +20,8 @@ import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./com
20
20
  import { ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput } from "./commands/ListDbInstancesForClusterCommand";
21
21
  import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
22
22
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
23
+ import { RebootDbClusterCommandInput, RebootDbClusterCommandOutput } from "./commands/RebootDbClusterCommand";
24
+ import { RebootDbInstanceCommandInput, RebootDbInstanceCommandOutput } from "./commands/RebootDbInstanceCommand";
23
25
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
26
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
25
27
  import { UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
@@ -30,11 +32,11 @@ export { __Client };
30
32
  /**
31
33
  * @public
32
34
  */
33
- export type ServiceInputTypes = CreateDbClusterCommandInput | CreateDbInstanceCommandInput | CreateDbParameterGroupCommandInput | DeleteDbClusterCommandInput | DeleteDbInstanceCommandInput | GetDbClusterCommandInput | GetDbInstanceCommandInput | GetDbParameterGroupCommandInput | ListDbClustersCommandInput | ListDbInstancesCommandInput | ListDbInstancesForClusterCommandInput | ListDbParameterGroupsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDbClusterCommandInput | UpdateDbInstanceCommandInput;
35
+ export type ServiceInputTypes = CreateDbClusterCommandInput | CreateDbInstanceCommandInput | CreateDbParameterGroupCommandInput | DeleteDbClusterCommandInput | DeleteDbInstanceCommandInput | GetDbClusterCommandInput | GetDbInstanceCommandInput | GetDbParameterGroupCommandInput | ListDbClustersCommandInput | ListDbInstancesCommandInput | ListDbInstancesForClusterCommandInput | ListDbParameterGroupsCommandInput | ListTagsForResourceCommandInput | RebootDbClusterCommandInput | RebootDbInstanceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDbClusterCommandInput | UpdateDbInstanceCommandInput;
34
36
  /**
35
37
  * @public
36
38
  */
37
- export type ServiceOutputTypes = CreateDbClusterCommandOutput | CreateDbInstanceCommandOutput | CreateDbParameterGroupCommandOutput | DeleteDbClusterCommandOutput | DeleteDbInstanceCommandOutput | GetDbClusterCommandOutput | GetDbInstanceCommandOutput | GetDbParameterGroupCommandOutput | ListDbClustersCommandOutput | ListDbInstancesCommandOutput | ListDbInstancesForClusterCommandOutput | ListDbParameterGroupsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDbClusterCommandOutput | UpdateDbInstanceCommandOutput;
39
+ export type ServiceOutputTypes = CreateDbClusterCommandOutput | CreateDbInstanceCommandOutput | CreateDbParameterGroupCommandOutput | DeleteDbClusterCommandOutput | DeleteDbInstanceCommandOutput | GetDbClusterCommandOutput | GetDbInstanceCommandOutput | GetDbParameterGroupCommandOutput | ListDbClustersCommandOutput | ListDbInstancesCommandOutput | ListDbInstancesForClusterCommandOutput | ListDbParameterGroupsCommandOutput | ListTagsForResourceCommandOutput | RebootDbClusterCommandOutput | RebootDbInstanceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDbClusterCommandOutput | UpdateDbInstanceCommandOutput;
38
40
  /**
39
41
  * @public
40
42
  */
@@ -158,15 +160,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
158
160
  * Optional extensions
159
161
  */
160
162
  extensions?: RuntimeExtension[];
161
- /**
162
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
163
- * may be overridden. A default will always be set by the client.
164
- * Available options depend on the service's supported protocols and will not be validated by
165
- * the client.
166
- * @alpha
167
- *
168
- */
169
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
170
163
  /**
171
164
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
172
165
  */
@@ -71,7 +71,7 @@ declare const CreateDbClusterCommand_base: {
71
71
  * const response = await client.send(command);
72
72
  * // { // CreateDbClusterOutput
73
73
  * // dbClusterId: "STRING_VALUE",
74
- * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
74
+ * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
75
75
  * // };
76
76
  *
77
77
  * ```
@@ -72,7 +72,7 @@ declare const CreateDbInstanceCommand_base: {
72
72
  * // id: "STRING_VALUE", // required
73
73
  * // name: "STRING_VALUE", // required
74
74
  * // arn: "STRING_VALUE", // required
75
- * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
75
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
76
76
  * // endpoint: "STRING_VALUE",
77
77
  * // port: Number("int"),
78
78
  * // networkType: "IPV4" || "DUAL",
@@ -42,7 +42,7 @@ declare const DeleteDbClusterCommand_base: {
42
42
  * const command = new DeleteDbClusterCommand(input);
43
43
  * const response = await client.send(command);
44
44
  * // { // DeleteDbClusterOutput
45
- * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
45
+ * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
46
46
  * // };
47
47
  *
48
48
  * ```
@@ -45,7 +45,7 @@ declare const DeleteDbInstanceCommand_base: {
45
45
  * // id: "STRING_VALUE", // required
46
46
  * // name: "STRING_VALUE", // required
47
47
  * // arn: "STRING_VALUE", // required
48
- * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
48
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
49
49
  * // endpoint: "STRING_VALUE",
50
50
  * // port: Number("int"),
51
51
  * // networkType: "IPV4" || "DUAL",
@@ -45,7 +45,7 @@ declare const GetDbClusterCommand_base: {
45
45
  * // id: "STRING_VALUE", // required
46
46
  * // name: "STRING_VALUE", // required
47
47
  * // arn: "STRING_VALUE", // required
48
- * // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
48
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
49
49
  * // endpoint: "STRING_VALUE",
50
50
  * // readerEndpoint: "STRING_VALUE",
51
51
  * // port: Number("int"),
@@ -45,7 +45,7 @@ declare const GetDbInstanceCommand_base: {
45
45
  * // id: "STRING_VALUE", // required
46
46
  * // name: "STRING_VALUE", // required
47
47
  * // arn: "STRING_VALUE", // required
48
- * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
48
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
49
49
  * // endpoint: "STRING_VALUE",
50
50
  * // port: Number("int"),
51
51
  * // networkType: "IPV4" || "DUAL",
@@ -48,7 +48,7 @@ declare const ListDbClustersCommand_base: {
48
48
  * // id: "STRING_VALUE", // required
49
49
  * // name: "STRING_VALUE", // required
50
50
  * // arn: "STRING_VALUE", // required
51
- * // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
51
+ * // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
52
52
  * // endpoint: "STRING_VALUE",
53
53
  * // readerEndpoint: "STRING_VALUE",
54
54
  * // port: Number("int"),
@@ -48,7 +48,7 @@ declare const ListDbInstancesCommand_base: {
48
48
  * // id: "STRING_VALUE", // required
49
49
  * // name: "STRING_VALUE", // required
50
50
  * // arn: "STRING_VALUE", // required
51
- * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
51
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
52
52
  * // endpoint: "STRING_VALUE",
53
53
  * // port: Number("int"),
54
54
  * // networkType: "IPV4" || "DUAL",
@@ -49,7 +49,7 @@ declare const ListDbInstancesForClusterCommand_base: {
49
49
  * // id: "STRING_VALUE", // required
50
50
  * // name: "STRING_VALUE", // required
51
51
  * // 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",
53
53
  * // endpoint: "STRING_VALUE",
54
54
  * // port: Number("int"),
55
55
  * // networkType: "IPV4" || "DUAL",
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RebootDbClusterInput, RebootDbClusterOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RebootDbClusterCommand}.
14
+ */
15
+ export interface RebootDbClusterCommandInput extends RebootDbClusterInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RebootDbClusterCommand}.
21
+ */
22
+ export interface RebootDbClusterCommandOutput extends RebootDbClusterOutput, __MetadataBearer {
23
+ }
24
+ declare const RebootDbClusterCommand_base: {
25
+ new (input: RebootDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<RebootDbClusterCommandInput, RebootDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RebootDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<RebootDbClusterCommandInput, RebootDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Reboots a Timestream for InfluxDB cluster.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { TimestreamInfluxDBClient, RebootDbClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
35
+ * // const { TimestreamInfluxDBClient, RebootDbClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
36
+ * // import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb";
37
+ * const config = {}; // type is TimestreamInfluxDBClientConfig
38
+ * const client = new TimestreamInfluxDBClient(config);
39
+ * const input = { // RebootDbClusterInput
40
+ * dbClusterId: "STRING_VALUE", // required
41
+ * instanceIds: [ // DbInstanceIdList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * };
45
+ * const command = new RebootDbClusterCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // RebootDbClusterOutput
48
+ * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param RebootDbClusterCommandInput - {@link RebootDbClusterCommandInput}
54
+ * @returns {@link RebootDbClusterCommandOutput}
55
+ * @see {@link RebootDbClusterCommandInput} for command's `input` shape.
56
+ * @see {@link RebootDbClusterCommandOutput} for command's `response` shape.
57
+ * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link ConflictException} (client fault)
63
+ * <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The requested resource was not found or does not exist.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
76
+ *
77
+ * @throws {@link TimestreamInfluxDBServiceException}
78
+ * <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
79
+ *
80
+ *
81
+ * @public
82
+ */
83
+ export declare class RebootDbClusterCommand extends RebootDbClusterCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: RebootDbClusterInput;
88
+ output: RebootDbClusterOutput;
89
+ };
90
+ sdk: {
91
+ input: RebootDbClusterCommandInput;
92
+ output: RebootDbClusterCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -0,0 +1,124 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RebootDbInstanceInput, RebootDbInstanceOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamInfluxDBClientResolvedConfig } from "../TimestreamInfluxDBClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RebootDbInstanceCommand}.
14
+ */
15
+ export interface RebootDbInstanceCommandInput extends RebootDbInstanceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RebootDbInstanceCommand}.
21
+ */
22
+ export interface RebootDbInstanceCommandOutput extends RebootDbInstanceOutput, __MetadataBearer {
23
+ }
24
+ declare const RebootDbInstanceCommand_base: {
25
+ new (input: RebootDbInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<RebootDbInstanceCommandInput, RebootDbInstanceCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: RebootDbInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<RebootDbInstanceCommandInput, RebootDbInstanceCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Reboots a Timestream for InfluxDB instance.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { TimestreamInfluxDBClient, RebootDbInstanceCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
35
+ * // const { TimestreamInfluxDBClient, RebootDbInstanceCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
36
+ * // import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb";
37
+ * const config = {}; // type is TimestreamInfluxDBClientConfig
38
+ * const client = new TimestreamInfluxDBClient(config);
39
+ * const input = { // RebootDbInstanceInput
40
+ * identifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new RebootDbInstanceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // RebootDbInstanceOutput
45
+ * // id: "STRING_VALUE", // required
46
+ * // name: "STRING_VALUE", // required
47
+ * // arn: "STRING_VALUE", // required
48
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
49
+ * // endpoint: "STRING_VALUE",
50
+ * // port: Number("int"),
51
+ * // networkType: "IPV4" || "DUAL",
52
+ * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge" || "db.influx.24xlarge",
53
+ * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
54
+ * // allocatedStorage: Number("int"),
55
+ * // deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
56
+ * // vpcSubnetIds: [ // VpcSubnetIdList // required
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // publiclyAccessible: true || false,
60
+ * // vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // dbParameterGroupIdentifier: "STRING_VALUE",
64
+ * // availabilityZone: "STRING_VALUE",
65
+ * // secondaryAvailabilityZone: "STRING_VALUE",
66
+ * // logDeliveryConfiguration: { // LogDeliveryConfiguration
67
+ * // s3Configuration: { // S3Configuration
68
+ * // bucketName: "STRING_VALUE", // required
69
+ * // enabled: true || false, // required
70
+ * // },
71
+ * // },
72
+ * // influxAuthParametersSecretArn: "STRING_VALUE",
73
+ * // dbClusterId: "STRING_VALUE",
74
+ * // instanceMode: "PRIMARY" || "STANDBY" || "REPLICA" || "INGEST" || "QUERY" || "COMPACT" || "PROCESS",
75
+ * // instanceModes: [ // InstanceModeList
76
+ * // "PRIMARY" || "STANDBY" || "REPLICA" || "INGEST" || "QUERY" || "COMPACT" || "PROCESS",
77
+ * // ],
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param RebootDbInstanceCommandInput - {@link RebootDbInstanceCommandInput}
83
+ * @returns {@link RebootDbInstanceCommandOutput}
84
+ * @see {@link RebootDbInstanceCommandInput} for command's `input` shape.
85
+ * @see {@link RebootDbInstanceCommandOutput} for command's `response` shape.
86
+ * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
87
+ *
88
+ * @throws {@link AccessDeniedException} (client fault)
89
+ * <p>You do not have sufficient access to perform this action.</p>
90
+ *
91
+ * @throws {@link ConflictException} (client fault)
92
+ * <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The requested resource was not found or does not exist.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>The request was denied due to request throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
105
+ *
106
+ * @throws {@link TimestreamInfluxDBServiceException}
107
+ * <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class RebootDbInstanceCommand extends RebootDbInstanceCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: RebootDbInstanceInput;
117
+ output: RebootDbInstanceOutput;
118
+ };
119
+ sdk: {
120
+ input: RebootDbInstanceCommandInput;
121
+ output: RebootDbInstanceCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -52,7 +52,7 @@ declare const UpdateDbClusterCommand_base: {
52
52
  * const command = new UpdateDbClusterCommand(input);
53
53
  * const response = await client.send(command);
54
54
  * // { // UpdateDbClusterOutput
55
- * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE",
55
+ * // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED" || "MAINTENANCE" || "UPDATING_INSTANCE_TYPE" || "REBOOTING" || "REBOOT_FAILED" || "PARTIALLY_AVAILABLE",
56
56
  * // };
57
57
  *
58
58
  * ```
@@ -57,7 +57,7 @@ declare const UpdateDbInstanceCommand_base: {
57
57
  * // id: "STRING_VALUE", // required
58
58
  * // name: "STRING_VALUE", // required
59
59
  * // arn: "STRING_VALUE", // required
60
- * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE",
60
+ * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED",
61
61
  * // endpoint: "STRING_VALUE",
62
62
  * // port: Number("int"),
63
63
  * // networkType: "IPV4" || "DUAL",
@@ -11,6 +11,8 @@ export * from "./ListDbInstancesCommand";
11
11
  export * from "./ListDbInstancesForClusterCommand";
12
12
  export * from "./ListDbParameterGroupsCommand";
13
13
  export * from "./ListTagsForResourceCommand";
14
+ export * from "./RebootDbClusterCommand";
15
+ export * from "./RebootDbInstanceCommand";
14
16
  export * from "./TagResourceCommand";
15
17
  export * from "./UntagResourceCommand";
16
18
  export * from "./UpdateDbClusterCommand";
@@ -10,6 +10,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
10
10
  export type { RuntimeExtension } from "./runtimeExtensions";
11
11
  export type { TimestreamInfluxDBExtensionConfiguration } from "./extensionConfiguration";
12
12
  export * from "./commands";
13
+ export * from "./schemas/schemas_0";
13
14
  export * from "./pagination";
14
15
  export * from "./models/enums";
15
16
  export * from "./models/errors";
@@ -76,7 +76,11 @@ export declare const ClusterStatus: {
76
76
  readonly DELETING: "DELETING";
77
77
  readonly FAILED: "FAILED";
78
78
  readonly MAINTENANCE: "MAINTENANCE";
79
+ readonly PARTIALLY_AVAILABLE: "PARTIALLY_AVAILABLE";
80
+ readonly REBOOTING: "REBOOTING";
81
+ readonly REBOOT_FAILED: "REBOOT_FAILED";
79
82
  readonly UPDATING: "UPDATING";
83
+ readonly UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE";
80
84
  };
81
85
  /**
82
86
  * @public
@@ -148,6 +152,8 @@ export declare const Status: {
148
152
  readonly FAILED: "FAILED";
149
153
  readonly MAINTENANCE: "MAINTENANCE";
150
154
  readonly MODIFYING: "MODIFYING";
155
+ readonly REBOOTING: "REBOOTING";
156
+ readonly REBOOT_FAILED: "REBOOT_FAILED";
151
157
  readonly UPDATING: "UPDATING";
152
158
  readonly UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE";
153
159
  readonly UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE";
@@ -497,6 +497,31 @@ export interface ListDbInstancesForClusterOutput {
497
497
  */
498
498
  nextToken?: string | undefined;
499
499
  }
500
+ /**
501
+ * @public
502
+ */
503
+ export interface RebootDbClusterInput {
504
+ /**
505
+ * <p>Service-generated unique identifier of the DB cluster to reboot.</p>
506
+ * @public
507
+ */
508
+ dbClusterId: string | undefined;
509
+ /**
510
+ * <p>A list of service-generated unique DB Instance Ids belonging to the DB Cluster to reboot.</p>
511
+ * @public
512
+ */
513
+ instanceIds?: string[] | undefined;
514
+ }
515
+ /**
516
+ * @public
517
+ */
518
+ export interface RebootDbClusterOutput {
519
+ /**
520
+ * <p>The status of the DB Cluster.</p>
521
+ * @public
522
+ */
523
+ dbClusterStatus?: ClusterStatus | undefined;
524
+ }
500
525
  /**
501
526
  * @public
502
527
  */
@@ -1108,6 +1133,131 @@ export interface ListDbInstancesOutput {
1108
1133
  */
1109
1134
  nextToken?: string | undefined;
1110
1135
  }
1136
+ /**
1137
+ * @public
1138
+ */
1139
+ export interface RebootDbInstanceInput {
1140
+ /**
1141
+ * <p>The id of the DB instance to reboot.</p>
1142
+ * @public
1143
+ */
1144
+ identifier: string | undefined;
1145
+ }
1146
+ /**
1147
+ * @public
1148
+ */
1149
+ export interface RebootDbInstanceOutput {
1150
+ /**
1151
+ * <p>A service-generated unique identifier.</p>
1152
+ * @public
1153
+ */
1154
+ id: string | undefined;
1155
+ /**
1156
+ * <p>The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.</p>
1157
+ * @public
1158
+ */
1159
+ name: string | undefined;
1160
+ /**
1161
+ * <p>The Amazon Resource Name (ARN) of the DB instance.</p>
1162
+ * @public
1163
+ */
1164
+ arn: string | undefined;
1165
+ /**
1166
+ * <p>The status of the DB instance.</p>
1167
+ * @public
1168
+ */
1169
+ status?: Status | undefined;
1170
+ /**
1171
+ * <p>The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.</p>
1172
+ * @public
1173
+ */
1174
+ endpoint?: string | undefined;
1175
+ /**
1176
+ * <p>The port number on which InfluxDB accepts connections.</p>
1177
+ * @public
1178
+ */
1179
+ port?: number | undefined;
1180
+ /**
1181
+ * <p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>
1182
+ * @public
1183
+ */
1184
+ networkType?: NetworkType | undefined;
1185
+ /**
1186
+ * <p>The Timestream for InfluxDB instance type that InfluxDB runs on.</p>
1187
+ * @public
1188
+ */
1189
+ dbInstanceType?: DbInstanceType | undefined;
1190
+ /**
1191
+ * <p>The Timestream for InfluxDB DB storage type that InfluxDB stores data on.</p>
1192
+ * @public
1193
+ */
1194
+ dbStorageType?: DbStorageType | undefined;
1195
+ /**
1196
+ * <p>The amount of storage allocated for your DB storage type (in gibibytes).</p>
1197
+ * @public
1198
+ */
1199
+ allocatedStorage?: number | undefined;
1200
+ /**
1201
+ * <p>Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.</p>
1202
+ * @public
1203
+ */
1204
+ deploymentType?: DeploymentType | undefined;
1205
+ /**
1206
+ * <p>A list of VPC subnet IDs associated with the DB instance.</p>
1207
+ * @public
1208
+ */
1209
+ vpcSubnetIds: string[] | undefined;
1210
+ /**
1211
+ * <p>Indicates if the DB instance has a public IP to facilitate access.</p>
1212
+ * @public
1213
+ */
1214
+ publiclyAccessible?: boolean | undefined;
1215
+ /**
1216
+ * <p>A list of VPC security group IDs associated with the DB instance.</p>
1217
+ * @public
1218
+ */
1219
+ vpcSecurityGroupIds?: string[] | undefined;
1220
+ /**
1221
+ * <p>The id of the DB parameter group assigned to your DB instance.</p>
1222
+ * @public
1223
+ */
1224
+ dbParameterGroupIdentifier?: string | undefined;
1225
+ /**
1226
+ * <p>The Availability Zone in which the DB instance resides.</p>
1227
+ * @public
1228
+ */
1229
+ availabilityZone?: string | undefined;
1230
+ /**
1231
+ * <p>The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.</p>
1232
+ * @public
1233
+ */
1234
+ secondaryAvailabilityZone?: string | undefined;
1235
+ /**
1236
+ * <p>Configuration for sending InfluxDB engine logs to send to specified S3 bucket.</p>
1237
+ * @public
1238
+ */
1239
+ logDeliveryConfiguration?: LogDeliveryConfiguration | undefined;
1240
+ /**
1241
+ * <p>The Amazon Resource Name (ARN) of the Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>
1242
+ * @public
1243
+ */
1244
+ influxAuthParametersSecretArn?: string | undefined;
1245
+ /**
1246
+ * <p>Specifies the DbCluster to which this DbInstance belongs to.</p>
1247
+ * @public
1248
+ */
1249
+ dbClusterId?: string | undefined;
1250
+ /**
1251
+ * <p>Specifies the DbInstance's role in the cluster.</p>
1252
+ * @public
1253
+ */
1254
+ instanceMode?: InstanceMode | undefined;
1255
+ /**
1256
+ * <p>Specifies the DbInstance's roles in the cluster.</p>
1257
+ * @public
1258
+ */
1259
+ instanceModes?: InstanceMode[] | undefined;
1260
+ }
1111
1261
  /**
1112
1262
  * @public
1113
1263
  */