@aws-sdk/client-timestream-influxdb 3.744.0 → 3.750.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 +55 -7
- package/dist-cjs/TimestreamInfluxDB.js +12 -0
- package/dist-cjs/commands/CreateDbClusterCommand.js +27 -0
- package/dist-cjs/commands/DeleteDbClusterCommand.js +26 -0
- package/dist-cjs/commands/GetDbClusterCommand.js +26 -0
- package/dist-cjs/commands/ListDbClustersCommand.js +26 -0
- package/dist-cjs/commands/ListDbInstancesForClusterCommand.js +26 -0
- package/dist-cjs/commands/UpdateDbClusterCommand.js +26 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +34 -8
- package/dist-cjs/pagination/ListDbClustersPaginator.js +7 -0
- package/dist-cjs/pagination/ListDbInstancesForClusterPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +127 -1
- package/dist-es/TimestreamInfluxDB.js +12 -0
- package/dist-es/commands/CreateDbClusterCommand.js +23 -0
- package/dist-es/commands/DeleteDbClusterCommand.js +22 -0
- package/dist-es/commands/GetDbClusterCommand.js +22 -0
- package/dist-es/commands/ListDbClustersCommand.js +22 -0
- package/dist-es/commands/ListDbInstancesForClusterCommand.js +22 -0
- package/dist-es/commands/UpdateDbClusterCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +32 -7
- package/dist-es/pagination/ListDbClustersPaginator.js +4 -0
- package/dist-es/pagination/ListDbInstancesForClusterPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +114 -0
- package/dist-types/TimestreamInfluxDB.d.ts +43 -0
- package/dist-types/TimestreamInfluxDBClient.d.ts +8 -2
- package/dist-types/commands/CreateDbClusterCommand.d.ts +121 -0
- package/dist-types/commands/CreateDbInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDbClusterCommand.d.ts +89 -0
- package/dist-types/commands/DeleteDbInstanceCommand.d.ts +2 -0
- package/dist-types/commands/GetDbClusterCommand.d.ts +113 -0
- package/dist-types/commands/GetDbInstanceCommand.d.ts +2 -0
- package/dist-types/commands/ListDbClustersCommand.d.ts +103 -0
- package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +104 -0
- package/dist-types/commands/UpdateDbClusterCommand.d.ts +99 -0
- package/dist-types/commands/UpdateDbInstanceCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +718 -123
- package/dist-types/pagination/ListDbClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDbInstancesForClusterPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
- package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +103 -0
- package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateDbClusterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDbClusterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetDbClusterCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDbClustersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDbInstancesForClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDbClusterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +184 -38
- package/dist-types/ts3.4/pagination/ListDbClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDbInstancesForClusterPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
- package/package.json +11 -11
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetDbClusterInput, GetDbClusterOutput } from "../models/models_0";
|
|
4
|
+
import { 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 GetDbClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDbClusterCommandInput extends GetDbClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDbClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDbClusterCommandOutput extends GetDbClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDbClusterCommand_base: {
|
|
25
|
+
new (input: GetDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<GetDbClusterCommandInput, GetDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<GetDbClusterCommandInput, GetDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves information about 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, GetDbClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, GetDbClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // GetDbClusterInput
|
|
38
|
+
* dbClusterId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetDbClusterCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetDbClusterOutput
|
|
43
|
+
* // id: "STRING_VALUE", // required
|
|
44
|
+
* // name: "STRING_VALUE", // required
|
|
45
|
+
* // arn: "STRING_VALUE", // required
|
|
46
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED",
|
|
47
|
+
* // endpoint: "STRING_VALUE",
|
|
48
|
+
* // readerEndpoint: "STRING_VALUE",
|
|
49
|
+
* // port: Number("int"),
|
|
50
|
+
* // deploymentType: "MULTI_NODE_READ_REPLICAS",
|
|
51
|
+
* // 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",
|
|
52
|
+
* // networkType: "IPV4" || "DUAL",
|
|
53
|
+
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
|
|
54
|
+
* // allocatedStorage: Number("int"),
|
|
55
|
+
* // publiclyAccessible: true || false,
|
|
56
|
+
* // dbParameterGroupIdentifier: "STRING_VALUE",
|
|
57
|
+
* // logDeliveryConfiguration: { // LogDeliveryConfiguration
|
|
58
|
+
* // s3Configuration: { // S3Configuration
|
|
59
|
+
* // bucketName: "STRING_VALUE", // required
|
|
60
|
+
* // enabled: true || false, // required
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // influxAuthParametersSecretArn: "STRING_VALUE",
|
|
64
|
+
* // vpcSubnetIds: [ // VpcSubnetIdList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // vpcSecurityGroupIds: [ // VpcSecurityGroupIdList
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // failoverMode: "AUTOMATIC" || "NO_FAILOVER",
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param GetDbClusterCommandInput - {@link GetDbClusterCommandInput}
|
|
76
|
+
* @returns {@link GetDbClusterCommandOutput}
|
|
77
|
+
* @see {@link GetDbClusterCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link GetDbClusterCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InternalServerException} (server fault)
|
|
85
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
88
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ValidationException} (client fault)
|
|
94
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
97
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
98
|
+
*
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export declare class GetDbClusterCommand extends GetDbClusterCommand_base {
|
|
102
|
+
/** @internal type navigation helper, not in runtime. */
|
|
103
|
+
protected static __types: {
|
|
104
|
+
api: {
|
|
105
|
+
input: GetDbClusterInput;
|
|
106
|
+
output: GetDbClusterOutput;
|
|
107
|
+
};
|
|
108
|
+
sdk: {
|
|
109
|
+
input: GetDbClusterCommandInput;
|
|
110
|
+
output: GetDbClusterCommandOutput;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListDbClustersInput, ListDbClustersOutput } from "../models/models_0";
|
|
4
|
+
import { 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 ListDbClustersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDbClustersCommandInput extends ListDbClustersInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDbClustersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDbClustersCommandOutput extends ListDbClustersOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDbClustersCommand_base: {
|
|
25
|
+
new (input: ListDbClustersCommandInput): import("@smithy/smithy-client").CommandImpl<ListDbClustersCommandInput, ListDbClustersCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDbClustersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDbClustersCommandInput, ListDbClustersCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of Timestream for InfluxDB DB clusters.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TimestreamInfluxDBClient, ListDbClustersCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, ListDbClustersCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // ListDbClustersInput
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListDbClustersCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListDbClustersOutput
|
|
44
|
+
* // items: [ // DbClusterSummaryList // required
|
|
45
|
+
* // { // DbClusterSummary
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // status: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED",
|
|
50
|
+
* // endpoint: "STRING_VALUE",
|
|
51
|
+
* // readerEndpoint: "STRING_VALUE",
|
|
52
|
+
* // port: Number("int"),
|
|
53
|
+
* // deploymentType: "MULTI_NODE_READ_REPLICAS",
|
|
54
|
+
* // 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",
|
|
55
|
+
* // networkType: "IPV4" || "DUAL",
|
|
56
|
+
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
|
|
57
|
+
* // allocatedStorage: Number("int"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // nextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListDbClustersCommandInput - {@link ListDbClustersCommandInput}
|
|
66
|
+
* @returns {@link ListDbClustersCommandOutput}
|
|
67
|
+
* @see {@link ListDbClustersCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListDbClustersCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListDbClustersCommand extends ListDbClustersCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListDbClustersInput;
|
|
96
|
+
output: ListDbClustersOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListDbClustersCommandInput;
|
|
100
|
+
output: ListDbClustersCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListDbInstancesForClusterInput, ListDbInstancesForClusterOutput } from "../models/models_0";
|
|
4
|
+
import { 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 ListDbInstancesForClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDbInstancesForClusterCommandInput extends ListDbInstancesForClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDbInstancesForClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDbInstancesForClusterCommandOutput extends ListDbInstancesForClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDbInstancesForClusterCommand_base: {
|
|
25
|
+
new (input: ListDbInstancesForClusterCommandInput): import("@smithy/smithy-client").CommandImpl<ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListDbInstancesForClusterCommandInput): import("@smithy/smithy-client").CommandImpl<ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of Timestream for InfluxDB clusters.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { TimestreamInfluxDBClient, ListDbInstancesForClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, ListDbInstancesForClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // ListDbInstancesForClusterInput
|
|
38
|
+
* dbClusterId: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListDbInstancesForClusterCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListDbInstancesForClusterOutput
|
|
45
|
+
* // items: [ // DbInstanceForClusterSummaryList // required
|
|
46
|
+
* // { // DbInstanceForClusterSummary
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // name: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
|
|
51
|
+
* // endpoint: "STRING_VALUE",
|
|
52
|
+
* // port: Number("int"),
|
|
53
|
+
* // networkType: "IPV4" || "DUAL",
|
|
54
|
+
* // 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",
|
|
55
|
+
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
|
|
56
|
+
* // allocatedStorage: Number("int"),
|
|
57
|
+
* // deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
|
|
58
|
+
* // instanceMode: "PRIMARY" || "STANDBY" || "REPLICA",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // nextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListDbInstancesForClusterCommandInput - {@link ListDbInstancesForClusterCommandInput}
|
|
67
|
+
* @returns {@link ListDbInstancesForClusterCommandOutput}
|
|
68
|
+
* @see {@link ListDbInstancesForClusterCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListDbInstancesForClusterCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The request was denied due to request throttling.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListDbInstancesForClusterCommand extends ListDbInstancesForClusterCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListDbInstancesForClusterInput;
|
|
97
|
+
output: ListDbInstancesForClusterOutput;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListDbInstancesForClusterCommandInput;
|
|
101
|
+
output: ListDbInstancesForClusterCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UpdateDbClusterInput, UpdateDbClusterOutput } from "../models/models_0";
|
|
4
|
+
import { 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 UpdateDbClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDbClusterCommandInput extends UpdateDbClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDbClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDbClusterCommandOutput extends UpdateDbClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDbClusterCommand_base: {
|
|
25
|
+
new (input: UpdateDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates 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, UpdateDbClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, UpdateDbClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // UpdateDbClusterInput
|
|
38
|
+
* dbClusterId: "STRING_VALUE", // required
|
|
39
|
+
* logDeliveryConfiguration: { // LogDeliveryConfiguration
|
|
40
|
+
* s3Configuration: { // S3Configuration
|
|
41
|
+
* bucketName: "STRING_VALUE", // required
|
|
42
|
+
* enabled: true || false, // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* dbParameterGroupIdentifier: "STRING_VALUE",
|
|
46
|
+
* port: Number("int"),
|
|
47
|
+
* 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",
|
|
48
|
+
* failoverMode: "AUTOMATIC" || "NO_FAILOVER",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateDbClusterCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateDbClusterOutput
|
|
53
|
+
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param UpdateDbClusterCommandInput - {@link UpdateDbClusterCommandInput}
|
|
59
|
+
* @returns {@link UpdateDbClusterCommandOutput}
|
|
60
|
+
* @see {@link UpdateDbClusterCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link UpdateDbClusterCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class UpdateDbClusterCommand extends UpdateDbClusterCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: UpdateDbClusterInput;
|
|
92
|
+
output: UpdateDbClusterOutput;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: UpdateDbClusterCommandInput;
|
|
96
|
+
output: UpdateDbClusterCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
export * from "./CreateDbClusterCommand";
|
|
1
2
|
export * from "./CreateDbInstanceCommand";
|
|
2
3
|
export * from "./CreateDbParameterGroupCommand";
|
|
4
|
+
export * from "./DeleteDbClusterCommand";
|
|
3
5
|
export * from "./DeleteDbInstanceCommand";
|
|
6
|
+
export * from "./GetDbClusterCommand";
|
|
4
7
|
export * from "./GetDbInstanceCommand";
|
|
5
8
|
export * from "./GetDbParameterGroupCommand";
|
|
9
|
+
export * from "./ListDbClustersCommand";
|
|
6
10
|
export * from "./ListDbInstancesCommand";
|
|
11
|
+
export * from "./ListDbInstancesForClusterCommand";
|
|
7
12
|
export * from "./ListDbParameterGroupsCommand";
|
|
8
13
|
export * from "./ListTagsForResourceCommand";
|
|
9
14
|
export * from "./TagResourceCommand";
|
|
10
15
|
export * from "./UntagResourceCommand";
|
|
16
|
+
export * from "./UpdateDbClusterCommand";
|
|
11
17
|
export * from "./UpdateDbInstanceCommand";
|