@aws-sdk/client-timestream-influxdb 3.534.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/TimestreamInfluxDB.js +33 -0
- package/dist-cjs/TimestreamInfluxDBClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateDbInstanceCommand.js +29 -0
- package/dist-cjs/commands/CreateDbParameterGroupCommand.js +28 -0
- package/dist-cjs/commands/DeleteDbInstanceCommand.js +28 -0
- package/dist-cjs/commands/GetDbInstanceCommand.js +28 -0
- package/dist-cjs/commands/GetDbParameterGroupCommand.js +28 -0
- package/dist-cjs/commands/ListDbInstancesCommand.js +28 -0
- package/dist-cjs/commands/ListDbParameterGroupsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateDbInstanceCommand.js +28 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/TimestreamInfluxDBServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +159 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListDbInstancesPaginator.js +7 -0
- package/dist-cjs/pagination/ListDbParameterGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +365 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/TimestreamInfluxDB.js +29 -0
- package/dist-es/TimestreamInfluxDBClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateDbInstanceCommand.js +25 -0
- package/dist-es/commands/CreateDbParameterGroupCommand.js +24 -0
- package/dist-es/commands/DeleteDbInstanceCommand.js +24 -0
- package/dist-es/commands/GetDbInstanceCommand.js +24 -0
- package/dist-es/commands/GetDbParameterGroupCommand.js +24 -0
- package/dist-es/commands/ListDbInstancesCommand.js +24 -0
- package/dist-es/commands/ListDbParameterGroupsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateDbInstanceCommand.js +24 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/TimestreamInfluxDBServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +148 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDbInstancesPaginator.js +4 -0
- package/dist-es/pagination/ListDbParameterGroupsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +340 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/TimestreamInfluxDB.d.ts +87 -0
- package/dist-types/TimestreamInfluxDBClient.d.ts +182 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateDbInstanceCommand.d.ts +129 -0
- package/dist-types/commands/CreateDbParameterGroupCommand.d.ts +108 -0
- package/dist-types/commands/DeleteDbInstanceCommand.d.ts +101 -0
- package/dist-types/commands/GetDbInstanceCommand.d.ts +98 -0
- package/dist-types/commands/GetDbParameterGroupCommand.d.ts +87 -0
- package/dist-types/commands/ListDbInstancesCommand.d.ts +87 -0
- package/dist-types/commands/ListDbParameterGroupsCommand.d.ts +82 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +63 -0
- package/dist-types/commands/TagResourceCommand.d.ts +62 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +62 -0
- package/dist-types/commands/UpdateDbInstanceCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/TimestreamInfluxDBServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1099 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDbInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDbParameterGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +194 -0
- package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +189 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateDbInstanceCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/CreateDbParameterGroupCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteDbInstanceCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetDbInstanceCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/GetDbParameterGroupCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListDbInstancesCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/ListDbParameterGroupsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/UpdateDbInstanceCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/TimestreamInfluxDBServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +319 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDbInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDbParameterGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { TimestreamInfluxDBServiceException as __BaseException } from "../models/TimestreamInfluxDBServiceException";
|
|
6
|
+
export const se_CreateDbInstanceCommand = async (input, context) => {
|
|
7
|
+
const headers = sharedHeaders("CreateDbInstance");
|
|
8
|
+
let body;
|
|
9
|
+
body = JSON.stringify(_json(input));
|
|
10
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
+
};
|
|
12
|
+
export const se_CreateDbParameterGroupCommand = async (input, context) => {
|
|
13
|
+
const headers = sharedHeaders("CreateDbParameterGroup");
|
|
14
|
+
let body;
|
|
15
|
+
body = JSON.stringify(_json(input));
|
|
16
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
+
};
|
|
18
|
+
export const se_DeleteDbInstanceCommand = async (input, context) => {
|
|
19
|
+
const headers = sharedHeaders("DeleteDbInstance");
|
|
20
|
+
let body;
|
|
21
|
+
body = JSON.stringify(_json(input));
|
|
22
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
+
};
|
|
24
|
+
export const se_GetDbInstanceCommand = async (input, context) => {
|
|
25
|
+
const headers = sharedHeaders("GetDbInstance");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(_json(input));
|
|
28
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
+
};
|
|
30
|
+
export const se_GetDbParameterGroupCommand = async (input, context) => {
|
|
31
|
+
const headers = sharedHeaders("GetDbParameterGroup");
|
|
32
|
+
let body;
|
|
33
|
+
body = JSON.stringify(_json(input));
|
|
34
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
+
};
|
|
36
|
+
export const se_ListDbInstancesCommand = async (input, context) => {
|
|
37
|
+
const headers = sharedHeaders("ListDbInstances");
|
|
38
|
+
let body;
|
|
39
|
+
body = JSON.stringify(_json(input));
|
|
40
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
+
};
|
|
42
|
+
export const se_ListDbParameterGroupsCommand = async (input, context) => {
|
|
43
|
+
const headers = sharedHeaders("ListDbParameterGroups");
|
|
44
|
+
let body;
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
+
};
|
|
48
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
49
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
50
|
+
let body;
|
|
51
|
+
body = JSON.stringify(_json(input));
|
|
52
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
+
};
|
|
54
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
55
|
+
const headers = sharedHeaders("TagResource");
|
|
56
|
+
let body;
|
|
57
|
+
body = JSON.stringify(_json(input));
|
|
58
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
+
};
|
|
60
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
61
|
+
const headers = sharedHeaders("UntagResource");
|
|
62
|
+
let body;
|
|
63
|
+
body = JSON.stringify(_json(input));
|
|
64
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
+
};
|
|
66
|
+
export const se_UpdateDbInstanceCommand = async (input, context) => {
|
|
67
|
+
const headers = sharedHeaders("UpdateDbInstance");
|
|
68
|
+
let body;
|
|
69
|
+
body = JSON.stringify(_json(input));
|
|
70
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
+
};
|
|
72
|
+
export const de_CreateDbInstanceCommand = async (output, context) => {
|
|
73
|
+
if (output.statusCode >= 300) {
|
|
74
|
+
return de_CommandError(output, context);
|
|
75
|
+
}
|
|
76
|
+
const data = await parseBody(output.body, context);
|
|
77
|
+
let contents = {};
|
|
78
|
+
contents = _json(data);
|
|
79
|
+
const response = {
|
|
80
|
+
$metadata: deserializeMetadata(output),
|
|
81
|
+
...contents,
|
|
82
|
+
};
|
|
83
|
+
return response;
|
|
84
|
+
};
|
|
85
|
+
export const de_CreateDbParameterGroupCommand = async (output, context) => {
|
|
86
|
+
if (output.statusCode >= 300) {
|
|
87
|
+
return de_CommandError(output, context);
|
|
88
|
+
}
|
|
89
|
+
const data = await parseBody(output.body, context);
|
|
90
|
+
let contents = {};
|
|
91
|
+
contents = _json(data);
|
|
92
|
+
const response = {
|
|
93
|
+
$metadata: deserializeMetadata(output),
|
|
94
|
+
...contents,
|
|
95
|
+
};
|
|
96
|
+
return response;
|
|
97
|
+
};
|
|
98
|
+
export const de_DeleteDbInstanceCommand = async (output, context) => {
|
|
99
|
+
if (output.statusCode >= 300) {
|
|
100
|
+
return de_CommandError(output, context);
|
|
101
|
+
}
|
|
102
|
+
const data = await parseBody(output.body, context);
|
|
103
|
+
let contents = {};
|
|
104
|
+
contents = _json(data);
|
|
105
|
+
const response = {
|
|
106
|
+
$metadata: deserializeMetadata(output),
|
|
107
|
+
...contents,
|
|
108
|
+
};
|
|
109
|
+
return response;
|
|
110
|
+
};
|
|
111
|
+
export const de_GetDbInstanceCommand = async (output, context) => {
|
|
112
|
+
if (output.statusCode >= 300) {
|
|
113
|
+
return de_CommandError(output, context);
|
|
114
|
+
}
|
|
115
|
+
const data = await parseBody(output.body, context);
|
|
116
|
+
let contents = {};
|
|
117
|
+
contents = _json(data);
|
|
118
|
+
const response = {
|
|
119
|
+
$metadata: deserializeMetadata(output),
|
|
120
|
+
...contents,
|
|
121
|
+
};
|
|
122
|
+
return response;
|
|
123
|
+
};
|
|
124
|
+
export const de_GetDbParameterGroupCommand = async (output, context) => {
|
|
125
|
+
if (output.statusCode >= 300) {
|
|
126
|
+
return de_CommandError(output, context);
|
|
127
|
+
}
|
|
128
|
+
const data = await parseBody(output.body, context);
|
|
129
|
+
let contents = {};
|
|
130
|
+
contents = _json(data);
|
|
131
|
+
const response = {
|
|
132
|
+
$metadata: deserializeMetadata(output),
|
|
133
|
+
...contents,
|
|
134
|
+
};
|
|
135
|
+
return response;
|
|
136
|
+
};
|
|
137
|
+
export const de_ListDbInstancesCommand = async (output, context) => {
|
|
138
|
+
if (output.statusCode >= 300) {
|
|
139
|
+
return de_CommandError(output, context);
|
|
140
|
+
}
|
|
141
|
+
const data = await parseBody(output.body, context);
|
|
142
|
+
let contents = {};
|
|
143
|
+
contents = _json(data);
|
|
144
|
+
const response = {
|
|
145
|
+
$metadata: deserializeMetadata(output),
|
|
146
|
+
...contents,
|
|
147
|
+
};
|
|
148
|
+
return response;
|
|
149
|
+
};
|
|
150
|
+
export const de_ListDbParameterGroupsCommand = async (output, context) => {
|
|
151
|
+
if (output.statusCode >= 300) {
|
|
152
|
+
return de_CommandError(output, context);
|
|
153
|
+
}
|
|
154
|
+
const data = await parseBody(output.body, context);
|
|
155
|
+
let contents = {};
|
|
156
|
+
contents = _json(data);
|
|
157
|
+
const response = {
|
|
158
|
+
$metadata: deserializeMetadata(output),
|
|
159
|
+
...contents,
|
|
160
|
+
};
|
|
161
|
+
return response;
|
|
162
|
+
};
|
|
163
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
164
|
+
if (output.statusCode >= 300) {
|
|
165
|
+
return de_CommandError(output, context);
|
|
166
|
+
}
|
|
167
|
+
const data = await parseBody(output.body, context);
|
|
168
|
+
let contents = {};
|
|
169
|
+
contents = _json(data);
|
|
170
|
+
const response = {
|
|
171
|
+
$metadata: deserializeMetadata(output),
|
|
172
|
+
...contents,
|
|
173
|
+
};
|
|
174
|
+
return response;
|
|
175
|
+
};
|
|
176
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
177
|
+
if (output.statusCode >= 300) {
|
|
178
|
+
return de_CommandError(output, context);
|
|
179
|
+
}
|
|
180
|
+
await collectBody(output.body, context);
|
|
181
|
+
const response = {
|
|
182
|
+
$metadata: deserializeMetadata(output),
|
|
183
|
+
};
|
|
184
|
+
return response;
|
|
185
|
+
};
|
|
186
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
187
|
+
if (output.statusCode >= 300) {
|
|
188
|
+
return de_CommandError(output, context);
|
|
189
|
+
}
|
|
190
|
+
await collectBody(output.body, context);
|
|
191
|
+
const response = {
|
|
192
|
+
$metadata: deserializeMetadata(output),
|
|
193
|
+
};
|
|
194
|
+
return response;
|
|
195
|
+
};
|
|
196
|
+
export const de_UpdateDbInstanceCommand = async (output, context) => {
|
|
197
|
+
if (output.statusCode >= 300) {
|
|
198
|
+
return de_CommandError(output, context);
|
|
199
|
+
}
|
|
200
|
+
const data = await parseBody(output.body, context);
|
|
201
|
+
let contents = {};
|
|
202
|
+
contents = _json(data);
|
|
203
|
+
const response = {
|
|
204
|
+
$metadata: deserializeMetadata(output),
|
|
205
|
+
...contents,
|
|
206
|
+
};
|
|
207
|
+
return response;
|
|
208
|
+
};
|
|
209
|
+
const de_CommandError = async (output, context) => {
|
|
210
|
+
const parsedOutput = {
|
|
211
|
+
...output,
|
|
212
|
+
body: await parseErrorBody(output.body, context),
|
|
213
|
+
};
|
|
214
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
215
|
+
switch (errorCode) {
|
|
216
|
+
case "AccessDeniedException":
|
|
217
|
+
case "com.amazonaws.timestreaminfluxdb#AccessDeniedException":
|
|
218
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
219
|
+
case "ConflictException":
|
|
220
|
+
case "com.amazonaws.timestreaminfluxdb#ConflictException":
|
|
221
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
222
|
+
case "InternalServerException":
|
|
223
|
+
case "com.amazonaws.timestreaminfluxdb#InternalServerException":
|
|
224
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
225
|
+
case "ResourceNotFoundException":
|
|
226
|
+
case "com.amazonaws.timestreaminfluxdb#ResourceNotFoundException":
|
|
227
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
228
|
+
case "ServiceQuotaExceededException":
|
|
229
|
+
case "com.amazonaws.timestreaminfluxdb#ServiceQuotaExceededException":
|
|
230
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
231
|
+
case "ThrottlingException":
|
|
232
|
+
case "com.amazonaws.timestreaminfluxdb#ThrottlingException":
|
|
233
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
234
|
+
case "ValidationException":
|
|
235
|
+
case "com.amazonaws.timestreaminfluxdb#ValidationException":
|
|
236
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
237
|
+
default:
|
|
238
|
+
const parsedBody = parsedOutput.body;
|
|
239
|
+
return throwDefaultError({
|
|
240
|
+
output,
|
|
241
|
+
parsedBody,
|
|
242
|
+
errorCode,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
247
|
+
const body = parsedOutput.body;
|
|
248
|
+
const deserialized = _json(body);
|
|
249
|
+
const exception = new AccessDeniedException({
|
|
250
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
251
|
+
...deserialized,
|
|
252
|
+
});
|
|
253
|
+
return __decorateServiceException(exception, body);
|
|
254
|
+
};
|
|
255
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
256
|
+
const body = parsedOutput.body;
|
|
257
|
+
const deserialized = _json(body);
|
|
258
|
+
const exception = new ConflictException({
|
|
259
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
260
|
+
...deserialized,
|
|
261
|
+
});
|
|
262
|
+
return __decorateServiceException(exception, body);
|
|
263
|
+
};
|
|
264
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
265
|
+
const body = parsedOutput.body;
|
|
266
|
+
const deserialized = _json(body);
|
|
267
|
+
const exception = new InternalServerException({
|
|
268
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
269
|
+
...deserialized,
|
|
270
|
+
});
|
|
271
|
+
return __decorateServiceException(exception, body);
|
|
272
|
+
};
|
|
273
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
274
|
+
const body = parsedOutput.body;
|
|
275
|
+
const deserialized = _json(body);
|
|
276
|
+
const exception = new ResourceNotFoundException({
|
|
277
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
278
|
+
...deserialized,
|
|
279
|
+
});
|
|
280
|
+
return __decorateServiceException(exception, body);
|
|
281
|
+
};
|
|
282
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
283
|
+
const body = parsedOutput.body;
|
|
284
|
+
const deserialized = _json(body);
|
|
285
|
+
const exception = new ServiceQuotaExceededException({
|
|
286
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
287
|
+
...deserialized,
|
|
288
|
+
});
|
|
289
|
+
return __decorateServiceException(exception, body);
|
|
290
|
+
};
|
|
291
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
292
|
+
const body = parsedOutput.body;
|
|
293
|
+
const deserialized = _json(body);
|
|
294
|
+
const exception = new ThrottlingException({
|
|
295
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
296
|
+
...deserialized,
|
|
297
|
+
});
|
|
298
|
+
return __decorateServiceException(exception, body);
|
|
299
|
+
};
|
|
300
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
301
|
+
const body = parsedOutput.body;
|
|
302
|
+
const deserialized = _json(body);
|
|
303
|
+
const exception = new ValidationException({
|
|
304
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
305
|
+
...deserialized,
|
|
306
|
+
});
|
|
307
|
+
return __decorateServiceException(exception, body);
|
|
308
|
+
};
|
|
309
|
+
const deserializeMetadata = (output) => ({
|
|
310
|
+
httpStatusCode: output.statusCode,
|
|
311
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
312
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
313
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
314
|
+
});
|
|
315
|
+
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
316
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
317
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
318
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
319
|
+
const contents = {
|
|
320
|
+
protocol,
|
|
321
|
+
hostname,
|
|
322
|
+
port,
|
|
323
|
+
method: "POST",
|
|
324
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
325
|
+
headers,
|
|
326
|
+
};
|
|
327
|
+
if (resolvedHostname !== undefined) {
|
|
328
|
+
contents.hostname = resolvedHostname;
|
|
329
|
+
}
|
|
330
|
+
if (body !== undefined) {
|
|
331
|
+
contents.body = body;
|
|
332
|
+
}
|
|
333
|
+
return new __HttpRequest(contents);
|
|
334
|
+
};
|
|
335
|
+
function sharedHeaders(operation) {
|
|
336
|
+
return {
|
|
337
|
+
"content-type": "application/x-amz-json-1.0",
|
|
338
|
+
"x-amz-target": `AmazonTimestreamInfluxDB.${operation}`,
|
|
339
|
+
};
|
|
340
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
awsCheckVersion(process.version);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
|
+
retryMode: config?.retryMode ??
|
|
35
|
+
loadNodeConfig({
|
|
36
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
+
}),
|
|
39
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
4
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
5
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
6
|
+
import { defaultTimestreamInfluxDBHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
7
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
8
|
+
export const getRuntimeConfig = (config) => {
|
|
9
|
+
return {
|
|
10
|
+
apiVersion: "2023-01-27",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
16
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultTimestreamInfluxDBHttpAuthSchemeProvider,
|
|
17
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
18
|
+
{
|
|
19
|
+
schemeId: "aws.auth#sigv4",
|
|
20
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
21
|
+
signer: new AwsSdkSigV4Signer(),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
25
|
+
serviceId: config?.serviceId ?? "Timestream InfluxDB",
|
|
26
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
27
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
28
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
+
};
|
|
13
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
+
return {
|
|
15
|
+
...runtimeConfig,
|
|
16
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateDbInstanceCommandInput, CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
|
|
3
|
+
import { CreateDbParameterGroupCommandInput, CreateDbParameterGroupCommandOutput } from "./commands/CreateDbParameterGroupCommand";
|
|
4
|
+
import { DeleteDbInstanceCommandInput, DeleteDbInstanceCommandOutput } from "./commands/DeleteDbInstanceCommand";
|
|
5
|
+
import { GetDbInstanceCommandInput, GetDbInstanceCommandOutput } from "./commands/GetDbInstanceCommand";
|
|
6
|
+
import { GetDbParameterGroupCommandInput, GetDbParameterGroupCommandOutput } from "./commands/GetDbParameterGroupCommand";
|
|
7
|
+
import { ListDbInstancesCommandInput, ListDbInstancesCommandOutput } from "./commands/ListDbInstancesCommand";
|
|
8
|
+
import { ListDbParameterGroupsCommandInput, ListDbParameterGroupsCommandOutput } from "./commands/ListDbParameterGroupsCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
10
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
11
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
12
|
+
import { UpdateDbInstanceCommandInput, UpdateDbInstanceCommandOutput } from "./commands/UpdateDbInstanceCommand";
|
|
13
|
+
import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
|
|
14
|
+
export interface TimestreamInfluxDB {
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link CreateDbInstanceCommand}
|
|
17
|
+
*/
|
|
18
|
+
createDbInstance(args: CreateDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbInstanceCommandOutput>;
|
|
19
|
+
createDbInstance(args: CreateDbInstanceCommandInput, cb: (err: any, data?: CreateDbInstanceCommandOutput) => void): void;
|
|
20
|
+
createDbInstance(args: CreateDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbInstanceCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateDbParameterGroupCommand}
|
|
23
|
+
*/
|
|
24
|
+
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbParameterGroupCommandOutput>;
|
|
25
|
+
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
|
|
26
|
+
createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link DeleteDbInstanceCommand}
|
|
29
|
+
*/
|
|
30
|
+
deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbInstanceCommandOutput>;
|
|
31
|
+
deleteDbInstance(args: DeleteDbInstanceCommandInput, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
|
|
32
|
+
deleteDbInstance(args: DeleteDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link GetDbInstanceCommand}
|
|
35
|
+
*/
|
|
36
|
+
getDbInstance(args: GetDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetDbInstanceCommandOutput>;
|
|
37
|
+
getDbInstance(args: GetDbInstanceCommandInput, cb: (err: any, data?: GetDbInstanceCommandOutput) => void): void;
|
|
38
|
+
getDbInstance(args: GetDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbInstanceCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link GetDbParameterGroupCommand}
|
|
41
|
+
*/
|
|
42
|
+
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetDbParameterGroupCommandOutput>;
|
|
43
|
+
getDbParameterGroup(args: GetDbParameterGroupCommandInput, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
|
|
44
|
+
getDbParameterGroup(args: GetDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link ListDbInstancesCommand}
|
|
47
|
+
*/
|
|
48
|
+
listDbInstances(args: ListDbInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListDbInstancesCommandOutput>;
|
|
49
|
+
listDbInstances(args: ListDbInstancesCommandInput, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
|
|
50
|
+
listDbInstances(args: ListDbInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link ListDbParameterGroupsCommand}
|
|
53
|
+
*/
|
|
54
|
+
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListDbParameterGroupsCommandOutput>;
|
|
55
|
+
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void): void;
|
|
56
|
+
listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link ListTagsForResourceCommand}
|
|
59
|
+
*/
|
|
60
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
61
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
62
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link TagResourceCommand}
|
|
65
|
+
*/
|
|
66
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
67
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
68
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link UntagResourceCommand}
|
|
71
|
+
*/
|
|
72
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
73
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
74
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link UpdateDbInstanceCommand}
|
|
77
|
+
*/
|
|
78
|
+
updateDbInstance(args: UpdateDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDbInstanceCommandOutput>;
|
|
79
|
+
updateDbInstance(args: UpdateDbInstanceCommandInput, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
|
|
80
|
+
updateDbInstance(args: UpdateDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* <p>Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers and DevOps teams to run InfluxDB databases on AWS for near real-time time-series applications using open-source APIs. With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer queries with single-digit millisecond query response time.</p>
|
|
85
|
+
*/
|
|
86
|
+
export declare class TimestreamInfluxDB extends TimestreamInfluxDBClient implements TimestreamInfluxDB {
|
|
87
|
+
}
|