@aws-sdk/client-timestream-influxdb 3.749.0 → 3.758.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 +12 -12
|
@@ -3,6 +3,12 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { TimestreamInfluxDBServiceException as __BaseException } from "../models/TimestreamInfluxDBServiceException";
|
|
6
|
+
export const se_CreateDbClusterCommand = async (input, context) => {
|
|
7
|
+
const headers = sharedHeaders("CreateDbCluster");
|
|
8
|
+
let body;
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
+
};
|
|
6
12
|
export const se_CreateDbInstanceCommand = async (input, context) => {
|
|
7
13
|
const headers = sharedHeaders("CreateDbInstance");
|
|
8
14
|
let body;
|
|
@@ -15,12 +21,24 @@ export const se_CreateDbParameterGroupCommand = async (input, context) => {
|
|
|
15
21
|
body = JSON.stringify(_json(input));
|
|
16
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
23
|
};
|
|
24
|
+
export const se_DeleteDbClusterCommand = async (input, context) => {
|
|
25
|
+
const headers = sharedHeaders("DeleteDbCluster");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(_json(input));
|
|
28
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
+
};
|
|
18
30
|
export const se_DeleteDbInstanceCommand = async (input, context) => {
|
|
19
31
|
const headers = sharedHeaders("DeleteDbInstance");
|
|
20
32
|
let body;
|
|
21
33
|
body = JSON.stringify(_json(input));
|
|
22
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
35
|
};
|
|
36
|
+
export const se_GetDbClusterCommand = async (input, context) => {
|
|
37
|
+
const headers = sharedHeaders("GetDbCluster");
|
|
38
|
+
let body;
|
|
39
|
+
body = JSON.stringify(_json(input));
|
|
40
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
+
};
|
|
24
42
|
export const se_GetDbInstanceCommand = async (input, context) => {
|
|
25
43
|
const headers = sharedHeaders("GetDbInstance");
|
|
26
44
|
let body;
|
|
@@ -33,12 +51,24 @@ export const se_GetDbParameterGroupCommand = async (input, context) => {
|
|
|
33
51
|
body = JSON.stringify(_json(input));
|
|
34
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
53
|
};
|
|
54
|
+
export const se_ListDbClustersCommand = async (input, context) => {
|
|
55
|
+
const headers = sharedHeaders("ListDbClusters");
|
|
56
|
+
let body;
|
|
57
|
+
body = JSON.stringify(_json(input));
|
|
58
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
+
};
|
|
36
60
|
export const se_ListDbInstancesCommand = async (input, context) => {
|
|
37
61
|
const headers = sharedHeaders("ListDbInstances");
|
|
38
62
|
let body;
|
|
39
63
|
body = JSON.stringify(_json(input));
|
|
40
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
65
|
};
|
|
66
|
+
export const se_ListDbInstancesForClusterCommand = async (input, context) => {
|
|
67
|
+
const headers = sharedHeaders("ListDbInstancesForCluster");
|
|
68
|
+
let body;
|
|
69
|
+
body = JSON.stringify(_json(input));
|
|
70
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
+
};
|
|
42
72
|
export const se_ListDbParameterGroupsCommand = async (input, context) => {
|
|
43
73
|
const headers = sharedHeaders("ListDbParameterGroups");
|
|
44
74
|
let body;
|
|
@@ -63,12 +93,31 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
63
93
|
body = JSON.stringify(_json(input));
|
|
64
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
95
|
};
|
|
96
|
+
export const se_UpdateDbClusterCommand = async (input, context) => {
|
|
97
|
+
const headers = sharedHeaders("UpdateDbCluster");
|
|
98
|
+
let body;
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
100
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
+
};
|
|
66
102
|
export const se_UpdateDbInstanceCommand = async (input, context) => {
|
|
67
103
|
const headers = sharedHeaders("UpdateDbInstance");
|
|
68
104
|
let body;
|
|
69
105
|
body = JSON.stringify(_json(input));
|
|
70
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
107
|
};
|
|
108
|
+
export const de_CreateDbClusterCommand = async (output, context) => {
|
|
109
|
+
if (output.statusCode >= 300) {
|
|
110
|
+
return de_CommandError(output, context);
|
|
111
|
+
}
|
|
112
|
+
const data = await parseBody(output.body, context);
|
|
113
|
+
let contents = {};
|
|
114
|
+
contents = _json(data);
|
|
115
|
+
const response = {
|
|
116
|
+
$metadata: deserializeMetadata(output),
|
|
117
|
+
...contents,
|
|
118
|
+
};
|
|
119
|
+
return response;
|
|
120
|
+
};
|
|
72
121
|
export const de_CreateDbInstanceCommand = async (output, context) => {
|
|
73
122
|
if (output.statusCode >= 300) {
|
|
74
123
|
return de_CommandError(output, context);
|
|
@@ -95,6 +144,19 @@ export const de_CreateDbParameterGroupCommand = async (output, context) => {
|
|
|
95
144
|
};
|
|
96
145
|
return response;
|
|
97
146
|
};
|
|
147
|
+
export const de_DeleteDbClusterCommand = async (output, context) => {
|
|
148
|
+
if (output.statusCode >= 300) {
|
|
149
|
+
return de_CommandError(output, context);
|
|
150
|
+
}
|
|
151
|
+
const data = await parseBody(output.body, context);
|
|
152
|
+
let contents = {};
|
|
153
|
+
contents = _json(data);
|
|
154
|
+
const response = {
|
|
155
|
+
$metadata: deserializeMetadata(output),
|
|
156
|
+
...contents,
|
|
157
|
+
};
|
|
158
|
+
return response;
|
|
159
|
+
};
|
|
98
160
|
export const de_DeleteDbInstanceCommand = async (output, context) => {
|
|
99
161
|
if (output.statusCode >= 300) {
|
|
100
162
|
return de_CommandError(output, context);
|
|
@@ -108,6 +170,19 @@ export const de_DeleteDbInstanceCommand = async (output, context) => {
|
|
|
108
170
|
};
|
|
109
171
|
return response;
|
|
110
172
|
};
|
|
173
|
+
export const de_GetDbClusterCommand = async (output, context) => {
|
|
174
|
+
if (output.statusCode >= 300) {
|
|
175
|
+
return de_CommandError(output, context);
|
|
176
|
+
}
|
|
177
|
+
const data = await parseBody(output.body, context);
|
|
178
|
+
let contents = {};
|
|
179
|
+
contents = _json(data);
|
|
180
|
+
const response = {
|
|
181
|
+
$metadata: deserializeMetadata(output),
|
|
182
|
+
...contents,
|
|
183
|
+
};
|
|
184
|
+
return response;
|
|
185
|
+
};
|
|
111
186
|
export const de_GetDbInstanceCommand = async (output, context) => {
|
|
112
187
|
if (output.statusCode >= 300) {
|
|
113
188
|
return de_CommandError(output, context);
|
|
@@ -134,6 +209,19 @@ export const de_GetDbParameterGroupCommand = async (output, context) => {
|
|
|
134
209
|
};
|
|
135
210
|
return response;
|
|
136
211
|
};
|
|
212
|
+
export const de_ListDbClustersCommand = async (output, context) => {
|
|
213
|
+
if (output.statusCode >= 300) {
|
|
214
|
+
return de_CommandError(output, context);
|
|
215
|
+
}
|
|
216
|
+
const data = await parseBody(output.body, context);
|
|
217
|
+
let contents = {};
|
|
218
|
+
contents = _json(data);
|
|
219
|
+
const response = {
|
|
220
|
+
$metadata: deserializeMetadata(output),
|
|
221
|
+
...contents,
|
|
222
|
+
};
|
|
223
|
+
return response;
|
|
224
|
+
};
|
|
137
225
|
export const de_ListDbInstancesCommand = async (output, context) => {
|
|
138
226
|
if (output.statusCode >= 300) {
|
|
139
227
|
return de_CommandError(output, context);
|
|
@@ -147,6 +235,19 @@ export const de_ListDbInstancesCommand = async (output, context) => {
|
|
|
147
235
|
};
|
|
148
236
|
return response;
|
|
149
237
|
};
|
|
238
|
+
export const de_ListDbInstancesForClusterCommand = async (output, context) => {
|
|
239
|
+
if (output.statusCode >= 300) {
|
|
240
|
+
return de_CommandError(output, context);
|
|
241
|
+
}
|
|
242
|
+
const data = await parseBody(output.body, context);
|
|
243
|
+
let contents = {};
|
|
244
|
+
contents = _json(data);
|
|
245
|
+
const response = {
|
|
246
|
+
$metadata: deserializeMetadata(output),
|
|
247
|
+
...contents,
|
|
248
|
+
};
|
|
249
|
+
return response;
|
|
250
|
+
};
|
|
150
251
|
export const de_ListDbParameterGroupsCommand = async (output, context) => {
|
|
151
252
|
if (output.statusCode >= 300) {
|
|
152
253
|
return de_CommandError(output, context);
|
|
@@ -193,6 +294,19 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
193
294
|
};
|
|
194
295
|
return response;
|
|
195
296
|
};
|
|
297
|
+
export const de_UpdateDbClusterCommand = async (output, context) => {
|
|
298
|
+
if (output.statusCode >= 300) {
|
|
299
|
+
return de_CommandError(output, context);
|
|
300
|
+
}
|
|
301
|
+
const data = await parseBody(output.body, context);
|
|
302
|
+
let contents = {};
|
|
303
|
+
contents = _json(data);
|
|
304
|
+
const response = {
|
|
305
|
+
$metadata: deserializeMetadata(output),
|
|
306
|
+
...contents,
|
|
307
|
+
};
|
|
308
|
+
return response;
|
|
309
|
+
};
|
|
196
310
|
export const de_UpdateDbInstanceCommand = async (output, context) => {
|
|
197
311
|
if (output.statusCode >= 300) {
|
|
198
312
|
return de_CommandError(output, context);
|
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateDbClusterCommandInput, CreateDbClusterCommandOutput } from "./commands/CreateDbClusterCommand";
|
|
2
3
|
import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
|
|
3
4
|
import { CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput } from "./commands/CreateDbParameterGroupCommand";
|
|
5
|
+
import { DeleteDbClusterCommandInput, DeleteDbClusterCommandOutput } from "./commands/DeleteDbClusterCommand";
|
|
4
6
|
import { DeleteDbInstanceCommandInput, DeleteDbInstanceCommandOutput } from "./commands/DeleteDbInstanceCommand";
|
|
7
|
+
import { GetDbClusterCommandInput, GetDbClusterCommandOutput } from "./commands/GetDbClusterCommand";
|
|
5
8
|
import { GetDbInstanceCommandInput, GetDbInstanceCommandOutput } from "./commands/GetDbInstanceCommand";
|
|
6
9
|
import { GetDbParameterGroupCommandInput, GetDbParameterGroupCommandOutput } from "./commands/GetDbParameterGroupCommand";
|
|
10
|
+
import { ListDbClustersCommandInput, ListDbClustersCommandOutput } from "./commands/ListDbClustersCommand";
|
|
7
11
|
import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./commands/ListDbInstancesCommand";
|
|
12
|
+
import { ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput } from "./commands/ListDbInstancesForClusterCommand";
|
|
8
13
|
import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
|
|
9
14
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
10
15
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
11
16
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
|
|
12
18
|
import { UpdateDbInstanceCommandInput, UpdateDbInstanceCommandOutput } from "./commands/UpdateDbInstanceCommand";
|
|
13
19
|
import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
|
|
14
20
|
export interface TimestreamInfluxDB {
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateDbClusterCommand}
|
|
23
|
+
*/
|
|
24
|
+
createDbCluster(args: CreateDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbClusterCommandOutput>;
|
|
25
|
+
createDbCluster(args: CreateDbClusterCommandInput, cb: (err: any, data?: CreateDbClusterCommandOutput) => void): void;
|
|
26
|
+
createDbCluster(args: CreateDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbClusterCommandOutput) => void): void;
|
|
15
27
|
/**
|
|
16
28
|
* @see {@link CreateDbInstanceCommand}
|
|
17
29
|
*/
|
|
@@ -24,12 +36,24 @@ export interface TimestreamInfluxDB {
|
|
|
24
36
|
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbParameterGroupCommandOutput>;
|
|
25
37
|
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
|
|
26
38
|
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DeleteDbClusterCommand}
|
|
41
|
+
*/
|
|
42
|
+
deleteDbCluster(args: DeleteDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbClusterCommandOutput>;
|
|
43
|
+
deleteDbCluster(args: DeleteDbClusterCommandInput, cb: (err: any, data?: DeleteDbClusterCommandOutput) => void): void;
|
|
44
|
+
deleteDbCluster(args: DeleteDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbClusterCommandOutput) => void): void;
|
|
27
45
|
/**
|
|
28
46
|
* @see {@link DeleteDbInstanceCommand}
|
|
29
47
|
*/
|
|
30
48
|
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbInstanceCommandOutput>;
|
|
31
49
|
deleteDbInstance(args: DeleteDbInstanceCommandInput, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
|
|
32
50
|
deleteDbInstance(args: DeleteDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link GetDbClusterCommand}
|
|
53
|
+
*/
|
|
54
|
+
getDbCluster(args: GetDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetDbClusterCommandOutput>;
|
|
55
|
+
getDbCluster(args: GetDbClusterCommandInput, cb: (err: any, data?: GetDbClusterCommandOutput) => void): void;
|
|
56
|
+
getDbCluster(args: GetDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbClusterCommandOutput) => void): void;
|
|
33
57
|
/**
|
|
34
58
|
* @see {@link GetDbInstanceCommand}
|
|
35
59
|
*/
|
|
@@ -42,6 +66,13 @@ export interface TimestreamInfluxDB {
|
|
|
42
66
|
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetDbParameterGroupCommandOutput>;
|
|
43
67
|
getDbParameterGroup(args: GetDbParameterGroupCommandInput, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
|
|
44
68
|
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link ListDbClustersCommand}
|
|
71
|
+
*/
|
|
72
|
+
listDbClusters(): Promise<ListDbClustersCommandOutput>;
|
|
73
|
+
listDbClusters(args: ListDbClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListDbClustersCommandOutput>;
|
|
74
|
+
listDbClusters(args: ListDbClustersCommandInput, cb: (err: any, data?: ListDbClustersCommandOutput) => void): void;
|
|
75
|
+
listDbClusters(args: ListDbClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbClustersCommandOutput) => void): void;
|
|
45
76
|
/**
|
|
46
77
|
* @see {@link ListDbInstancesCommand}
|
|
47
78
|
*/
|
|
@@ -49,6 +80,12 @@ export interface TimestreamInfluxDB {
|
|
|
49
80
|
listDbInstances(args: ListDbInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListDbInstancesCommandOutput>;
|
|
50
81
|
listDbInstances(args: ListDbInstancesCommandInput, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
|
|
51
82
|
listDbInstances(args: ListDbInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link ListDbInstancesForClusterCommand}
|
|
85
|
+
*/
|
|
86
|
+
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: __HttpHandlerOptions): Promise<ListDbInstancesForClusterCommandOutput>;
|
|
87
|
+
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void): void;
|
|
88
|
+
listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void): void;
|
|
52
89
|
/**
|
|
53
90
|
* @see {@link ListDbParameterGroupsCommand}
|
|
54
91
|
*/
|
|
@@ -74,6 +111,12 @@ export interface TimestreamInfluxDB {
|
|
|
74
111
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
75
112
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
76
113
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link UpdateDbClusterCommand}
|
|
116
|
+
*/
|
|
117
|
+
updateDbCluster(args: UpdateDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDbClusterCommandOutput>;
|
|
118
|
+
updateDbCluster(args: UpdateDbClusterCommandInput, cb: (err: any, data?: UpdateDbClusterCommandOutput) => void): void;
|
|
119
|
+
updateDbCluster(args: UpdateDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDbClusterCommandOutput) => void): void;
|
|
77
120
|
/**
|
|
78
121
|
* @see {@link UpdateDbInstanceCommand}
|
|
79
122
|
*/
|
|
@@ -7,16 +7,22 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
|
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateDbClusterCommandInput, CreateDbClusterCommandOutput } from "./commands/CreateDbClusterCommand";
|
|
10
11
|
import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
|
|
11
12
|
import { CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput } from "./commands/CreateDbParameterGroupCommand";
|
|
13
|
+
import { DeleteDbClusterCommandInput, DeleteDbClusterCommandOutput } from "./commands/DeleteDbClusterCommand";
|
|
12
14
|
import { DeleteDbInstanceCommandInput, DeleteDbInstanceCommandOutput } from "./commands/DeleteDbInstanceCommand";
|
|
15
|
+
import { GetDbClusterCommandInput, GetDbClusterCommandOutput } from "./commands/GetDbClusterCommand";
|
|
13
16
|
import { GetDbInstanceCommandInput, GetDbInstanceCommandOutput } from "./commands/GetDbInstanceCommand";
|
|
14
17
|
import { GetDbParameterGroupCommandInput, GetDbParameterGroupCommandOutput } from "./commands/GetDbParameterGroupCommand";
|
|
18
|
+
import { ListDbClustersCommandInput, ListDbClustersCommandOutput } from "./commands/ListDbClustersCommand";
|
|
15
19
|
import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./commands/ListDbInstancesCommand";
|
|
20
|
+
import { ListDbInstancesForClusterCommandInput, ListDbInstancesForClusterCommandOutput } from "./commands/ListDbInstancesForClusterCommand";
|
|
16
21
|
import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
|
|
17
22
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
23
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
24
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { UpdateDbClusterCommandInput, UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
|
|
20
26
|
import { UpdateDbInstanceCommandInput, UpdateDbInstanceCommandOutput } from "./commands/UpdateDbInstanceCommand";
|
|
21
27
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
22
28
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
@@ -24,11 +30,11 @@ export { __Client };
|
|
|
24
30
|
/**
|
|
25
31
|
* @public
|
|
26
32
|
*/
|
|
27
|
-
export type ServiceInputTypes = CreateDbInstanceCommandInput | CreateDbParameterGroupCommandInput | DeleteDbInstanceCommandInput | GetDbInstanceCommandInput | GetDbParameterGroupCommandInput | ListDbInstancesCommandInput | ListDbParameterGroupsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDbInstanceCommandInput;
|
|
33
|
+
export type ServiceInputTypes = CreateDbClusterCommandInput | CreateDbInstanceCommandInput | CreateDbParameterGroupCommandInput | DeleteDbClusterCommandInput | DeleteDbInstanceCommandInput | GetDbClusterCommandInput | GetDbInstanceCommandInput | GetDbParameterGroupCommandInput | ListDbClustersCommandInput | ListDbInstancesCommandInput | ListDbInstancesForClusterCommandInput | ListDbParameterGroupsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDbClusterCommandInput | UpdateDbInstanceCommandInput;
|
|
28
34
|
/**
|
|
29
35
|
* @public
|
|
30
36
|
*/
|
|
31
|
-
export type ServiceOutputTypes = CreateDbInstanceCommandOutput | CreateDbParameterGroupCommandOutput | DeleteDbInstanceCommandOutput | GetDbInstanceCommandOutput | GetDbParameterGroupCommandOutput | ListDbInstancesCommandOutput | ListDbParameterGroupsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDbInstanceCommandOutput;
|
|
37
|
+
export type ServiceOutputTypes = CreateDbClusterCommandOutput | CreateDbInstanceCommandOutput | CreateDbParameterGroupCommandOutput | DeleteDbClusterCommandOutput | DeleteDbInstanceCommandOutput | GetDbClusterCommandOutput | GetDbInstanceCommandOutput | GetDbParameterGroupCommandOutput | ListDbClustersCommandOutput | ListDbInstancesCommandOutput | ListDbInstancesForClusterCommandOutput | ListDbParameterGroupsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDbClusterCommandOutput | UpdateDbInstanceCommandOutput;
|
|
32
38
|
/**
|
|
33
39
|
* @public
|
|
34
40
|
*/
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateDbClusterInput, CreateDbClusterOutput } 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 CreateDbClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDbClusterCommandInput extends CreateDbClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDbClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDbClusterCommandOutput extends CreateDbClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDbClusterCommand_base: {
|
|
25
|
+
new (input: CreateDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDbClusterCommandInput, CreateDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDbClusterCommandInput, CreateDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new 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, CreateDbClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, CreateDbClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // CreateDbClusterInput
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* username: "STRING_VALUE",
|
|
40
|
+
* password: "STRING_VALUE", // required
|
|
41
|
+
* organization: "STRING_VALUE",
|
|
42
|
+
* bucket: "STRING_VALUE",
|
|
43
|
+
* port: Number("int"),
|
|
44
|
+
* dbParameterGroupIdentifier: "STRING_VALUE",
|
|
45
|
+
* 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", // required
|
|
46
|
+
* dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
|
|
47
|
+
* allocatedStorage: Number("int"), // required
|
|
48
|
+
* networkType: "IPV4" || "DUAL",
|
|
49
|
+
* publiclyAccessible: true || false,
|
|
50
|
+
* vpcSubnetIds: [ // VpcSubnetIdList // required
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* vpcSecurityGroupIds: [ // VpcSecurityGroupIdList // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* deploymentType: "MULTI_NODE_READ_REPLICAS", // required
|
|
57
|
+
* failoverMode: "AUTOMATIC" || "NO_FAILOVER",
|
|
58
|
+
* logDeliveryConfiguration: { // LogDeliveryConfiguration
|
|
59
|
+
* s3Configuration: { // S3Configuration
|
|
60
|
+
* bucketName: "STRING_VALUE", // required
|
|
61
|
+
* enabled: true || false, // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* tags: { // RequestTagMap
|
|
65
|
+
* "<keys>": "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* };
|
|
68
|
+
* const command = new CreateDbClusterCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // CreateDbClusterOutput
|
|
71
|
+
* // dbClusterId: "STRING_VALUE",
|
|
72
|
+
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param CreateDbClusterCommandInput - {@link CreateDbClusterCommandInput}
|
|
78
|
+
* @returns {@link CreateDbClusterCommandOutput}
|
|
79
|
+
* @see {@link CreateDbClusterCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link CreateDbClusterCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
96
|
+
* <p>The request exceeds the service quota.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
99
|
+
* <p>The request was denied due to request throttling.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ValidationException} (client fault)
|
|
102
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class CreateDbClusterCommand extends CreateDbClusterCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: CreateDbClusterInput;
|
|
114
|
+
output: CreateDbClusterOutput;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: CreateDbClusterCommandInput;
|
|
118
|
+
output: CreateDbClusterCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteDbClusterInput, DeleteDbClusterOutput } 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 DeleteDbClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDbClusterCommandInput extends DeleteDbClusterInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDbClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDbClusterCommandOutput extends DeleteDbClusterOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDbClusterCommand_base: {
|
|
25
|
+
new (input: DeleteDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDbClusterCommandInput, DeleteDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteDbClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDbClusterCommandInput, DeleteDbClusterCommandOutput, TimestreamInfluxDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes 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, DeleteDbClusterCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import
|
|
35
|
+
* // const { TimestreamInfluxDBClient, DeleteDbClusterCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import
|
|
36
|
+
* const client = new TimestreamInfluxDBClient(config);
|
|
37
|
+
* const input = { // DeleteDbClusterInput
|
|
38
|
+
* dbClusterId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteDbClusterCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DeleteDbClusterOutput
|
|
43
|
+
* // dbClusterStatus: "CREATING" || "UPDATING" || "DELETING" || "AVAILABLE" || "FAILED" || "DELETED",
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteDbClusterCommandInput - {@link DeleteDbClusterCommandInput}
|
|
49
|
+
* @returns {@link DeleteDbClusterCommandOutput}
|
|
50
|
+
* @see {@link DeleteDbClusterCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteDbClusterCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request conflicts with an existing resource in Timestream for InfluxDB.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The requested resource was not found or does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The input fails to satisfy the constraints specified by Timestream for InfluxDB.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link TimestreamInfluxDBServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from TimestreamInfluxDB service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteDbClusterCommand extends DeleteDbClusterCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: DeleteDbClusterInput;
|
|
82
|
+
output: DeleteDbClusterOutput;
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: DeleteDbClusterCommandInput;
|
|
86
|
+
output: DeleteDbClusterCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|