@aws-sdk/client-timestream-influxdb 3.893.0 → 3.894.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/dist-cjs/index.js +1301 -10
- package/package.json +6 -6
- package/dist-cjs/TimestreamInfluxDB.js +0 -45
- package/dist-cjs/TimestreamInfluxDBClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateDbClusterCommand.js +0 -27
- package/dist-cjs/commands/CreateDbInstanceCommand.js +0 -27
- package/dist-cjs/commands/CreateDbParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteDbClusterCommand.js +0 -26
- package/dist-cjs/commands/DeleteDbInstanceCommand.js +0 -26
- package/dist-cjs/commands/GetDbClusterCommand.js +0 -26
- package/dist-cjs/commands/GetDbInstanceCommand.js +0 -26
- package/dist-cjs/commands/GetDbParameterGroupCommand.js +0 -26
- package/dist-cjs/commands/ListDbClustersCommand.js +0 -26
- package/dist-cjs/commands/ListDbInstancesCommand.js +0 -26
- package/dist-cjs/commands/ListDbInstancesForClusterCommand.js +0 -26
- package/dist-cjs/commands/ListDbParameterGroupsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateDbClusterCommand.js +0 -26
- package/dist-cjs/commands/UpdateDbInstanceCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -20
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/TimestreamInfluxDBServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -206
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListDbClustersPaginator.js +0 -7
- package/dist-cjs/pagination/ListDbInstancesForClusterPaginator.js +0 -7
- package/dist-cjs/pagination/ListDbInstancesPaginator.js +0 -7
- package/dist-cjs/pagination/ListDbParameterGroupsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -8
- package/dist-cjs/protocols/Aws_json1_0.js +0 -491
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1302 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ClusterDeploymentType: () => ClusterDeploymentType,
|
|
26
|
+
ClusterStatus: () => ClusterStatus,
|
|
27
|
+
ConflictException: () => ConflictException,
|
|
28
|
+
CreateDbClusterCommand: () => CreateDbClusterCommand,
|
|
29
|
+
CreateDbClusterInputFilterSensitiveLog: () => CreateDbClusterInputFilterSensitiveLog,
|
|
30
|
+
CreateDbInstanceCommand: () => CreateDbInstanceCommand,
|
|
31
|
+
CreateDbInstanceInputFilterSensitiveLog: () => CreateDbInstanceInputFilterSensitiveLog,
|
|
32
|
+
CreateDbParameterGroupCommand: () => CreateDbParameterGroupCommand,
|
|
33
|
+
DbInstanceType: () => DbInstanceType,
|
|
34
|
+
DbStorageType: () => DbStorageType,
|
|
35
|
+
DeleteDbClusterCommand: () => DeleteDbClusterCommand,
|
|
36
|
+
DeleteDbInstanceCommand: () => DeleteDbInstanceCommand,
|
|
37
|
+
DeploymentType: () => DeploymentType,
|
|
38
|
+
DurationType: () => DurationType,
|
|
39
|
+
FailoverMode: () => FailoverMode,
|
|
40
|
+
GetDbClusterCommand: () => GetDbClusterCommand,
|
|
41
|
+
GetDbInstanceCommand: () => GetDbInstanceCommand,
|
|
42
|
+
GetDbParameterGroupCommand: () => GetDbParameterGroupCommand,
|
|
43
|
+
InstanceMode: () => InstanceMode,
|
|
44
|
+
InternalServerException: () => InternalServerException,
|
|
45
|
+
ListDbClustersCommand: () => ListDbClustersCommand,
|
|
46
|
+
ListDbInstancesCommand: () => ListDbInstancesCommand,
|
|
47
|
+
ListDbInstancesForClusterCommand: () => ListDbInstancesForClusterCommand,
|
|
48
|
+
ListDbParameterGroupsCommand: () => ListDbParameterGroupsCommand,
|
|
49
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
50
|
+
LogLevel: () => LogLevel,
|
|
51
|
+
NetworkType: () => NetworkType,
|
|
52
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
53
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
54
|
+
Status: () => Status,
|
|
55
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
56
|
+
ThrottlingException: () => ThrottlingException,
|
|
57
|
+
TimestreamInfluxDB: () => TimestreamInfluxDB,
|
|
58
|
+
TimestreamInfluxDBClient: () => TimestreamInfluxDBClient,
|
|
59
|
+
TimestreamInfluxDBServiceException: () => TimestreamInfluxDBServiceException,
|
|
60
|
+
TracingType: () => TracingType,
|
|
61
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
62
|
+
UpdateDbClusterCommand: () => UpdateDbClusterCommand,
|
|
63
|
+
UpdateDbInstanceCommand: () => UpdateDbInstanceCommand,
|
|
64
|
+
ValidationException: () => ValidationException,
|
|
65
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
66
|
+
_Parameters: () => _Parameters,
|
|
67
|
+
__Client: () => import_smithy_client.Client,
|
|
68
|
+
paginateListDbClusters: () => paginateListDbClusters,
|
|
69
|
+
paginateListDbInstances: () => paginateListDbInstances,
|
|
70
|
+
paginateListDbInstancesForCluster: () => paginateListDbInstancesForCluster,
|
|
71
|
+
paginateListDbParameterGroups: () => paginateListDbParameterGroups
|
|
72
|
+
});
|
|
73
|
+
module.exports = __toCommonJS(index_exports);
|
|
74
|
+
|
|
75
|
+
// src/TimestreamInfluxDBClient.ts
|
|
76
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
77
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
78
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
79
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
80
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
81
|
+
var import_core = require("@smithy/core");
|
|
82
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
83
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
84
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
85
|
+
|
|
86
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
87
|
+
|
|
88
|
+
// src/endpoint/EndpointParameters.ts
|
|
89
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
90
|
+
return Object.assign(options, {
|
|
91
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
92
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
93
|
+
defaultSigningName: "timestream-influxdb"
|
|
94
|
+
});
|
|
95
|
+
}, "resolveClientEndpointParameters");
|
|
96
|
+
var commonParams = {
|
|
97
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
98
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
99
|
+
Region: { type: "builtInParams", name: "region" },
|
|
100
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
// src/TimestreamInfluxDBClient.ts
|
|
104
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
105
|
+
|
|
106
|
+
// src/runtimeExtensions.ts
|
|
107
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
108
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
109
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
110
|
+
|
|
111
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
112
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
113
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
114
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
115
|
+
let _credentials = runtimeConfig.credentials;
|
|
116
|
+
return {
|
|
117
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
118
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
119
|
+
if (index === -1) {
|
|
120
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
121
|
+
} else {
|
|
122
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
httpAuthSchemes() {
|
|
126
|
+
return _httpAuthSchemes;
|
|
127
|
+
},
|
|
128
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
129
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
130
|
+
},
|
|
131
|
+
httpAuthSchemeProvider() {
|
|
132
|
+
return _httpAuthSchemeProvider;
|
|
133
|
+
},
|
|
134
|
+
setCredentials(credentials) {
|
|
135
|
+
_credentials = credentials;
|
|
136
|
+
},
|
|
137
|
+
credentials() {
|
|
138
|
+
return _credentials;
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
142
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
143
|
+
return {
|
|
144
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
145
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
146
|
+
credentials: config.credentials()
|
|
147
|
+
};
|
|
148
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
149
|
+
|
|
150
|
+
// src/runtimeExtensions.ts
|
|
151
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
152
|
+
const extensionConfiguration = Object.assign(
|
|
153
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
154
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
155
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
156
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
157
|
+
);
|
|
158
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
159
|
+
return Object.assign(
|
|
160
|
+
runtimeConfig,
|
|
161
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
162
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
163
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
164
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
165
|
+
);
|
|
166
|
+
}, "resolveRuntimeExtensions");
|
|
167
|
+
|
|
168
|
+
// src/TimestreamInfluxDBClient.ts
|
|
169
|
+
var TimestreamInfluxDBClient = class extends import_smithy_client.Client {
|
|
170
|
+
static {
|
|
171
|
+
__name(this, "TimestreamInfluxDBClient");
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* The resolved configuration of TimestreamInfluxDBClient class. This is resolved and normalized from the {@link TimestreamInfluxDBClientConfig | constructor configuration interface}.
|
|
175
|
+
*/
|
|
176
|
+
config;
|
|
177
|
+
constructor(...[configuration]) {
|
|
178
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
179
|
+
super(_config_0);
|
|
180
|
+
this.initConfig = _config_0;
|
|
181
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
182
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
183
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
184
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
185
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
186
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
187
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
188
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
189
|
+
this.config = _config_8;
|
|
190
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
191
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
192
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
193
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
194
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
195
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
196
|
+
this.middlewareStack.use(
|
|
197
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
198
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTimestreamInfluxDBHttpAuthSchemeParametersProvider,
|
|
199
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
200
|
+
"aws.auth#sigv4": config.credentials
|
|
201
|
+
}), "identityProviderConfigProvider")
|
|
202
|
+
})
|
|
203
|
+
);
|
|
204
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
208
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
209
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
210
|
+
*/
|
|
211
|
+
destroy() {
|
|
212
|
+
super.destroy();
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
// src/TimestreamInfluxDB.ts
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
// src/commands/CreateDbClusterCommand.ts
|
|
220
|
+
|
|
221
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
// src/models/models_0.ts
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
// src/models/TimestreamInfluxDBServiceException.ts
|
|
228
|
+
|
|
229
|
+
var TimestreamInfluxDBServiceException = class _TimestreamInfluxDBServiceException extends import_smithy_client.ServiceException {
|
|
230
|
+
static {
|
|
231
|
+
__name(this, "TimestreamInfluxDBServiceException");
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @internal
|
|
235
|
+
*/
|
|
236
|
+
constructor(options) {
|
|
237
|
+
super(options);
|
|
238
|
+
Object.setPrototypeOf(this, _TimestreamInfluxDBServiceException.prototype);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
// src/models/models_0.ts
|
|
243
|
+
var AccessDeniedException = class _AccessDeniedException extends TimestreamInfluxDBServiceException {
|
|
244
|
+
static {
|
|
245
|
+
__name(this, "AccessDeniedException");
|
|
246
|
+
}
|
|
247
|
+
name = "AccessDeniedException";
|
|
248
|
+
$fault = "client";
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts) {
|
|
253
|
+
super({
|
|
254
|
+
name: "AccessDeniedException",
|
|
255
|
+
$fault: "client",
|
|
256
|
+
...opts
|
|
257
|
+
});
|
|
258
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
var ConflictException = class _ConflictException extends TimestreamInfluxDBServiceException {
|
|
262
|
+
static {
|
|
263
|
+
__name(this, "ConflictException");
|
|
264
|
+
}
|
|
265
|
+
name = "ConflictException";
|
|
266
|
+
$fault = "client";
|
|
267
|
+
/**
|
|
268
|
+
* <p>The identifier for the Timestream for InfluxDB resource associated with the request.</p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
resourceId;
|
|
272
|
+
/**
|
|
273
|
+
* <p>The type of Timestream for InfluxDB resource associated with the request.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
resourceType;
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "ConflictException",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts
|
|
285
|
+
});
|
|
286
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
287
|
+
this.resourceId = opts.resourceId;
|
|
288
|
+
this.resourceType = opts.resourceType;
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
var DbInstanceType = {
|
|
292
|
+
DB_INFLUX_12XLARGE: "db.influx.12xlarge",
|
|
293
|
+
DB_INFLUX_16XLARGE: "db.influx.16xlarge",
|
|
294
|
+
DB_INFLUX_24XLARGE: "db.influx.24xlarge",
|
|
295
|
+
DB_INFLUX_2XLARGE: "db.influx.2xlarge",
|
|
296
|
+
DB_INFLUX_4XLARGE: "db.influx.4xlarge",
|
|
297
|
+
DB_INFLUX_8XLARGE: "db.influx.8xlarge",
|
|
298
|
+
DB_INFLUX_LARGE: "db.influx.large",
|
|
299
|
+
DB_INFLUX_MEDIUM: "db.influx.medium",
|
|
300
|
+
DB_INFLUX_XLARGE: "db.influx.xlarge"
|
|
301
|
+
};
|
|
302
|
+
var DbStorageType = {
|
|
303
|
+
INFLUX_IO_INCLUDED_T1: "InfluxIOIncludedT1",
|
|
304
|
+
INFLUX_IO_INCLUDED_T2: "InfluxIOIncludedT2",
|
|
305
|
+
INFLUX_IO_INCLUDED_T3: "InfluxIOIncludedT3"
|
|
306
|
+
};
|
|
307
|
+
var ClusterDeploymentType = {
|
|
308
|
+
MULTI_NODE_READ_REPLICAS: "MULTI_NODE_READ_REPLICAS"
|
|
309
|
+
};
|
|
310
|
+
var FailoverMode = {
|
|
311
|
+
AUTOMATIC: "AUTOMATIC",
|
|
312
|
+
NO_FAILOVER: "NO_FAILOVER"
|
|
313
|
+
};
|
|
314
|
+
var NetworkType = {
|
|
315
|
+
DUAL: "DUAL",
|
|
316
|
+
IPV4: "IPV4"
|
|
317
|
+
};
|
|
318
|
+
var ClusterStatus = {
|
|
319
|
+
AVAILABLE: "AVAILABLE",
|
|
320
|
+
CREATING: "CREATING",
|
|
321
|
+
DELETED: "DELETED",
|
|
322
|
+
DELETING: "DELETING",
|
|
323
|
+
FAILED: "FAILED",
|
|
324
|
+
MAINTENANCE: "MAINTENANCE",
|
|
325
|
+
UPDATING: "UPDATING"
|
|
326
|
+
};
|
|
327
|
+
var InternalServerException = class _InternalServerException extends TimestreamInfluxDBServiceException {
|
|
328
|
+
static {
|
|
329
|
+
__name(this, "InternalServerException");
|
|
330
|
+
}
|
|
331
|
+
name = "InternalServerException";
|
|
332
|
+
$fault = "server";
|
|
333
|
+
$retryable = {};
|
|
334
|
+
/**
|
|
335
|
+
* @internal
|
|
336
|
+
*/
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "InternalServerException",
|
|
340
|
+
$fault: "server",
|
|
341
|
+
...opts
|
|
342
|
+
});
|
|
343
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends TimestreamInfluxDBServiceException {
|
|
347
|
+
static {
|
|
348
|
+
__name(this, "ResourceNotFoundException");
|
|
349
|
+
}
|
|
350
|
+
name = "ResourceNotFoundException";
|
|
351
|
+
$fault = "client";
|
|
352
|
+
/**
|
|
353
|
+
* <p>The identifier for the Timestream for InfluxDB resource associated with the request.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
resourceId;
|
|
357
|
+
/**
|
|
358
|
+
* <p>The type of Timestream for InfluxDB resource associated with the request.</p>
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
resourceType;
|
|
362
|
+
/**
|
|
363
|
+
* @internal
|
|
364
|
+
*/
|
|
365
|
+
constructor(opts) {
|
|
366
|
+
super({
|
|
367
|
+
name: "ResourceNotFoundException",
|
|
368
|
+
$fault: "client",
|
|
369
|
+
...opts
|
|
370
|
+
});
|
|
371
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
372
|
+
this.resourceId = opts.resourceId;
|
|
373
|
+
this.resourceType = opts.resourceType;
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TimestreamInfluxDBServiceException {
|
|
377
|
+
static {
|
|
378
|
+
__name(this, "ServiceQuotaExceededException");
|
|
379
|
+
}
|
|
380
|
+
name = "ServiceQuotaExceededException";
|
|
381
|
+
$fault = "client";
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "ServiceQuotaExceededException",
|
|
388
|
+
$fault: "client",
|
|
389
|
+
...opts
|
|
390
|
+
});
|
|
391
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
var ThrottlingException = class _ThrottlingException extends TimestreamInfluxDBServiceException {
|
|
395
|
+
static {
|
|
396
|
+
__name(this, "ThrottlingException");
|
|
397
|
+
}
|
|
398
|
+
name = "ThrottlingException";
|
|
399
|
+
$fault = "client";
|
|
400
|
+
$retryable = {};
|
|
401
|
+
/**
|
|
402
|
+
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
retryAfterSeconds;
|
|
406
|
+
/**
|
|
407
|
+
* @internal
|
|
408
|
+
*/
|
|
409
|
+
constructor(opts) {
|
|
410
|
+
super({
|
|
411
|
+
name: "ThrottlingException",
|
|
412
|
+
$fault: "client",
|
|
413
|
+
...opts
|
|
414
|
+
});
|
|
415
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
416
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
var ValidationExceptionReason = {
|
|
420
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
421
|
+
OTHER: "OTHER"
|
|
422
|
+
};
|
|
423
|
+
var ValidationException = class _ValidationException extends TimestreamInfluxDBServiceException {
|
|
424
|
+
static {
|
|
425
|
+
__name(this, "ValidationException");
|
|
426
|
+
}
|
|
427
|
+
name = "ValidationException";
|
|
428
|
+
$fault = "client";
|
|
429
|
+
/**
|
|
430
|
+
* <p>The reason that validation failed.</p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
reason;
|
|
434
|
+
/**
|
|
435
|
+
* @internal
|
|
436
|
+
*/
|
|
437
|
+
constructor(opts) {
|
|
438
|
+
super({
|
|
439
|
+
name: "ValidationException",
|
|
440
|
+
$fault: "client",
|
|
441
|
+
...opts
|
|
442
|
+
});
|
|
443
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
444
|
+
this.reason = opts.reason;
|
|
445
|
+
}
|
|
446
|
+
};
|
|
447
|
+
var DeploymentType = {
|
|
448
|
+
SINGLE_AZ: "SINGLE_AZ",
|
|
449
|
+
WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY"
|
|
450
|
+
};
|
|
451
|
+
var InstanceMode = {
|
|
452
|
+
PRIMARY: "PRIMARY",
|
|
453
|
+
REPLICA: "REPLICA",
|
|
454
|
+
STANDBY: "STANDBY"
|
|
455
|
+
};
|
|
456
|
+
var Status = {
|
|
457
|
+
AVAILABLE: "AVAILABLE",
|
|
458
|
+
CREATING: "CREATING",
|
|
459
|
+
DELETED: "DELETED",
|
|
460
|
+
DELETING: "DELETING",
|
|
461
|
+
FAILED: "FAILED",
|
|
462
|
+
MAINTENANCE: "MAINTENANCE",
|
|
463
|
+
MODIFYING: "MODIFYING",
|
|
464
|
+
UPDATING: "UPDATING",
|
|
465
|
+
UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
|
|
466
|
+
UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE"
|
|
467
|
+
};
|
|
468
|
+
var DurationType = {
|
|
469
|
+
HOURS: "hours",
|
|
470
|
+
MILLISECONDS: "milliseconds",
|
|
471
|
+
MINUTES: "minutes",
|
|
472
|
+
SECONDS: "seconds"
|
|
473
|
+
};
|
|
474
|
+
var LogLevel = {
|
|
475
|
+
DEBUG: "debug",
|
|
476
|
+
ERROR: "error",
|
|
477
|
+
INFO: "info"
|
|
478
|
+
};
|
|
479
|
+
var TracingType = {
|
|
480
|
+
JAEGER: "jaeger",
|
|
481
|
+
LOG: "log"
|
|
482
|
+
};
|
|
483
|
+
var _Parameters;
|
|
484
|
+
((_Parameters3) => {
|
|
485
|
+
_Parameters3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
486
|
+
if (value.InfluxDBv2 !== void 0) return visitor.InfluxDBv2(value.InfluxDBv2);
|
|
487
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
488
|
+
}, "visit");
|
|
489
|
+
})(_Parameters || (_Parameters = {}));
|
|
490
|
+
var CreateDbClusterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
...obj.username && { username: import_smithy_client.SENSITIVE_STRING },
|
|
493
|
+
...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
|
|
494
|
+
}), "CreateDbClusterInputFilterSensitiveLog");
|
|
495
|
+
var CreateDbInstanceInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
496
|
+
...obj,
|
|
497
|
+
...obj.username && { username: import_smithy_client.SENSITIVE_STRING },
|
|
498
|
+
...obj.password && { password: import_smithy_client.SENSITIVE_STRING }
|
|
499
|
+
}), "CreateDbInstanceInputFilterSensitiveLog");
|
|
500
|
+
|
|
501
|
+
// src/protocols/Aws_json1_0.ts
|
|
502
|
+
var import_core2 = require("@aws-sdk/core");
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
var se_CreateDbClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("CreateDbCluster");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
510
|
+
}, "se_CreateDbClusterCommand");
|
|
511
|
+
var se_CreateDbInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("CreateDbInstance");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
516
|
+
}, "se_CreateDbInstanceCommand");
|
|
517
|
+
var se_CreateDbParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("CreateDbParameterGroup");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
522
|
+
}, "se_CreateDbParameterGroupCommand");
|
|
523
|
+
var se_DeleteDbClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("DeleteDbCluster");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
528
|
+
}, "se_DeleteDbClusterCommand");
|
|
529
|
+
var se_DeleteDbInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("DeleteDbInstance");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
534
|
+
}, "se_DeleteDbInstanceCommand");
|
|
535
|
+
var se_GetDbClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("GetDbCluster");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
540
|
+
}, "se_GetDbClusterCommand");
|
|
541
|
+
var se_GetDbInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("GetDbInstance");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
546
|
+
}, "se_GetDbInstanceCommand");
|
|
547
|
+
var se_GetDbParameterGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("GetDbParameterGroup");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
552
|
+
}, "se_GetDbParameterGroupCommand");
|
|
553
|
+
var se_ListDbClustersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("ListDbClusters");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
558
|
+
}, "se_ListDbClustersCommand");
|
|
559
|
+
var se_ListDbInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("ListDbInstances");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
564
|
+
}, "se_ListDbInstancesCommand");
|
|
565
|
+
var se_ListDbInstancesForClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("ListDbInstancesForCluster");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
570
|
+
}, "se_ListDbInstancesForClusterCommand");
|
|
571
|
+
var se_ListDbParameterGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("ListDbParameterGroups");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
576
|
+
}, "se_ListDbParameterGroupsCommand");
|
|
577
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
581
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
582
|
+
}, "se_ListTagsForResourceCommand");
|
|
583
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
+
const headers = sharedHeaders("TagResource");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
587
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
588
|
+
}, "se_TagResourceCommand");
|
|
589
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
+
const headers = sharedHeaders("UntagResource");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
593
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
594
|
+
}, "se_UntagResourceCommand");
|
|
595
|
+
var se_UpdateDbClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
596
|
+
const headers = sharedHeaders("UpdateDbCluster");
|
|
597
|
+
let body;
|
|
598
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
599
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
600
|
+
}, "se_UpdateDbClusterCommand");
|
|
601
|
+
var se_UpdateDbInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
602
|
+
const headers = sharedHeaders("UpdateDbInstance");
|
|
603
|
+
let body;
|
|
604
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
605
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
606
|
+
}, "se_UpdateDbInstanceCommand");
|
|
607
|
+
var de_CreateDbClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
608
|
+
if (output.statusCode >= 300) {
|
|
609
|
+
return de_CommandError(output, context);
|
|
610
|
+
}
|
|
611
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
612
|
+
let contents = {};
|
|
613
|
+
contents = (0, import_smithy_client._json)(data);
|
|
614
|
+
const response = {
|
|
615
|
+
$metadata: deserializeMetadata(output),
|
|
616
|
+
...contents
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
}, "de_CreateDbClusterCommand");
|
|
620
|
+
var de_CreateDbInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
621
|
+
if (output.statusCode >= 300) {
|
|
622
|
+
return de_CommandError(output, context);
|
|
623
|
+
}
|
|
624
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
625
|
+
let contents = {};
|
|
626
|
+
contents = (0, import_smithy_client._json)(data);
|
|
627
|
+
const response = {
|
|
628
|
+
$metadata: deserializeMetadata(output),
|
|
629
|
+
...contents
|
|
630
|
+
};
|
|
631
|
+
return response;
|
|
632
|
+
}, "de_CreateDbInstanceCommand");
|
|
633
|
+
var de_CreateDbParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
634
|
+
if (output.statusCode >= 300) {
|
|
635
|
+
return de_CommandError(output, context);
|
|
636
|
+
}
|
|
637
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
638
|
+
let contents = {};
|
|
639
|
+
contents = (0, import_smithy_client._json)(data);
|
|
640
|
+
const response = {
|
|
641
|
+
$metadata: deserializeMetadata(output),
|
|
642
|
+
...contents
|
|
643
|
+
};
|
|
644
|
+
return response;
|
|
645
|
+
}, "de_CreateDbParameterGroupCommand");
|
|
646
|
+
var de_DeleteDbClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
647
|
+
if (output.statusCode >= 300) {
|
|
648
|
+
return de_CommandError(output, context);
|
|
649
|
+
}
|
|
650
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
651
|
+
let contents = {};
|
|
652
|
+
contents = (0, import_smithy_client._json)(data);
|
|
653
|
+
const response = {
|
|
654
|
+
$metadata: deserializeMetadata(output),
|
|
655
|
+
...contents
|
|
656
|
+
};
|
|
657
|
+
return response;
|
|
658
|
+
}, "de_DeleteDbClusterCommand");
|
|
659
|
+
var de_DeleteDbInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
660
|
+
if (output.statusCode >= 300) {
|
|
661
|
+
return de_CommandError(output, context);
|
|
662
|
+
}
|
|
663
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
664
|
+
let contents = {};
|
|
665
|
+
contents = (0, import_smithy_client._json)(data);
|
|
666
|
+
const response = {
|
|
667
|
+
$metadata: deserializeMetadata(output),
|
|
668
|
+
...contents
|
|
669
|
+
};
|
|
670
|
+
return response;
|
|
671
|
+
}, "de_DeleteDbInstanceCommand");
|
|
672
|
+
var de_GetDbClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
673
|
+
if (output.statusCode >= 300) {
|
|
674
|
+
return de_CommandError(output, context);
|
|
675
|
+
}
|
|
676
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
677
|
+
let contents = {};
|
|
678
|
+
contents = (0, import_smithy_client._json)(data);
|
|
679
|
+
const response = {
|
|
680
|
+
$metadata: deserializeMetadata(output),
|
|
681
|
+
...contents
|
|
682
|
+
};
|
|
683
|
+
return response;
|
|
684
|
+
}, "de_GetDbClusterCommand");
|
|
685
|
+
var de_GetDbInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
686
|
+
if (output.statusCode >= 300) {
|
|
687
|
+
return de_CommandError(output, context);
|
|
688
|
+
}
|
|
689
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
690
|
+
let contents = {};
|
|
691
|
+
contents = (0, import_smithy_client._json)(data);
|
|
692
|
+
const response = {
|
|
693
|
+
$metadata: deserializeMetadata(output),
|
|
694
|
+
...contents
|
|
695
|
+
};
|
|
696
|
+
return response;
|
|
697
|
+
}, "de_GetDbInstanceCommand");
|
|
698
|
+
var de_GetDbParameterGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
699
|
+
if (output.statusCode >= 300) {
|
|
700
|
+
return de_CommandError(output, context);
|
|
701
|
+
}
|
|
702
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
703
|
+
let contents = {};
|
|
704
|
+
contents = (0, import_smithy_client._json)(data);
|
|
705
|
+
const response = {
|
|
706
|
+
$metadata: deserializeMetadata(output),
|
|
707
|
+
...contents
|
|
708
|
+
};
|
|
709
|
+
return response;
|
|
710
|
+
}, "de_GetDbParameterGroupCommand");
|
|
711
|
+
var de_ListDbClustersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
712
|
+
if (output.statusCode >= 300) {
|
|
713
|
+
return de_CommandError(output, context);
|
|
714
|
+
}
|
|
715
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
716
|
+
let contents = {};
|
|
717
|
+
contents = (0, import_smithy_client._json)(data);
|
|
718
|
+
const response = {
|
|
719
|
+
$metadata: deserializeMetadata(output),
|
|
720
|
+
...contents
|
|
721
|
+
};
|
|
722
|
+
return response;
|
|
723
|
+
}, "de_ListDbClustersCommand");
|
|
724
|
+
var de_ListDbInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
725
|
+
if (output.statusCode >= 300) {
|
|
726
|
+
return de_CommandError(output, context);
|
|
727
|
+
}
|
|
728
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
729
|
+
let contents = {};
|
|
730
|
+
contents = (0, import_smithy_client._json)(data);
|
|
731
|
+
const response = {
|
|
732
|
+
$metadata: deserializeMetadata(output),
|
|
733
|
+
...contents
|
|
734
|
+
};
|
|
735
|
+
return response;
|
|
736
|
+
}, "de_ListDbInstancesCommand");
|
|
737
|
+
var de_ListDbInstancesForClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
738
|
+
if (output.statusCode >= 300) {
|
|
739
|
+
return de_CommandError(output, context);
|
|
740
|
+
}
|
|
741
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
742
|
+
let contents = {};
|
|
743
|
+
contents = (0, import_smithy_client._json)(data);
|
|
744
|
+
const response = {
|
|
745
|
+
$metadata: deserializeMetadata(output),
|
|
746
|
+
...contents
|
|
747
|
+
};
|
|
748
|
+
return response;
|
|
749
|
+
}, "de_ListDbInstancesForClusterCommand");
|
|
750
|
+
var de_ListDbParameterGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
751
|
+
if (output.statusCode >= 300) {
|
|
752
|
+
return de_CommandError(output, context);
|
|
753
|
+
}
|
|
754
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
755
|
+
let contents = {};
|
|
756
|
+
contents = (0, import_smithy_client._json)(data);
|
|
757
|
+
const response = {
|
|
758
|
+
$metadata: deserializeMetadata(output),
|
|
759
|
+
...contents
|
|
760
|
+
};
|
|
761
|
+
return response;
|
|
762
|
+
}, "de_ListDbParameterGroupsCommand");
|
|
763
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
764
|
+
if (output.statusCode >= 300) {
|
|
765
|
+
return de_CommandError(output, context);
|
|
766
|
+
}
|
|
767
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
768
|
+
let contents = {};
|
|
769
|
+
contents = (0, import_smithy_client._json)(data);
|
|
770
|
+
const response = {
|
|
771
|
+
$metadata: deserializeMetadata(output),
|
|
772
|
+
...contents
|
|
773
|
+
};
|
|
774
|
+
return response;
|
|
775
|
+
}, "de_ListTagsForResourceCommand");
|
|
776
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
777
|
+
if (output.statusCode >= 300) {
|
|
778
|
+
return de_CommandError(output, context);
|
|
779
|
+
}
|
|
780
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
781
|
+
const response = {
|
|
782
|
+
$metadata: deserializeMetadata(output)
|
|
783
|
+
};
|
|
784
|
+
return response;
|
|
785
|
+
}, "de_TagResourceCommand");
|
|
786
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
787
|
+
if (output.statusCode >= 300) {
|
|
788
|
+
return de_CommandError(output, context);
|
|
789
|
+
}
|
|
790
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
791
|
+
const response = {
|
|
792
|
+
$metadata: deserializeMetadata(output)
|
|
793
|
+
};
|
|
794
|
+
return response;
|
|
795
|
+
}, "de_UntagResourceCommand");
|
|
796
|
+
var de_UpdateDbClusterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
797
|
+
if (output.statusCode >= 300) {
|
|
798
|
+
return de_CommandError(output, context);
|
|
799
|
+
}
|
|
800
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
801
|
+
let contents = {};
|
|
802
|
+
contents = (0, import_smithy_client._json)(data);
|
|
803
|
+
const response = {
|
|
804
|
+
$metadata: deserializeMetadata(output),
|
|
805
|
+
...contents
|
|
806
|
+
};
|
|
807
|
+
return response;
|
|
808
|
+
}, "de_UpdateDbClusterCommand");
|
|
809
|
+
var de_UpdateDbInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
810
|
+
if (output.statusCode >= 300) {
|
|
811
|
+
return de_CommandError(output, context);
|
|
812
|
+
}
|
|
813
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
814
|
+
let contents = {};
|
|
815
|
+
contents = (0, import_smithy_client._json)(data);
|
|
816
|
+
const response = {
|
|
817
|
+
$metadata: deserializeMetadata(output),
|
|
818
|
+
...contents
|
|
819
|
+
};
|
|
820
|
+
return response;
|
|
821
|
+
}, "de_UpdateDbInstanceCommand");
|
|
822
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
823
|
+
const parsedOutput = {
|
|
824
|
+
...output,
|
|
825
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
826
|
+
};
|
|
827
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
828
|
+
switch (errorCode) {
|
|
829
|
+
case "AccessDeniedException":
|
|
830
|
+
case "com.amazonaws.timestreaminfluxdb#AccessDeniedException":
|
|
831
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
832
|
+
case "ConflictException":
|
|
833
|
+
case "com.amazonaws.timestreaminfluxdb#ConflictException":
|
|
834
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
835
|
+
case "InternalServerException":
|
|
836
|
+
case "com.amazonaws.timestreaminfluxdb#InternalServerException":
|
|
837
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
838
|
+
case "ResourceNotFoundException":
|
|
839
|
+
case "com.amazonaws.timestreaminfluxdb#ResourceNotFoundException":
|
|
840
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
841
|
+
case "ServiceQuotaExceededException":
|
|
842
|
+
case "com.amazonaws.timestreaminfluxdb#ServiceQuotaExceededException":
|
|
843
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
844
|
+
case "ThrottlingException":
|
|
845
|
+
case "com.amazonaws.timestreaminfluxdb#ThrottlingException":
|
|
846
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
847
|
+
case "ValidationException":
|
|
848
|
+
case "com.amazonaws.timestreaminfluxdb#ValidationException":
|
|
849
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
850
|
+
default:
|
|
851
|
+
const parsedBody = parsedOutput.body;
|
|
852
|
+
return throwDefaultError({
|
|
853
|
+
output,
|
|
854
|
+
parsedBody,
|
|
855
|
+
errorCode
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
}, "de_CommandError");
|
|
859
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
860
|
+
const body = parsedOutput.body;
|
|
861
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
862
|
+
const exception = new AccessDeniedException({
|
|
863
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
864
|
+
...deserialized
|
|
865
|
+
});
|
|
866
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
867
|
+
}, "de_AccessDeniedExceptionRes");
|
|
868
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
869
|
+
const body = parsedOutput.body;
|
|
870
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
871
|
+
const exception = new ConflictException({
|
|
872
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
873
|
+
...deserialized
|
|
874
|
+
});
|
|
875
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
876
|
+
}, "de_ConflictExceptionRes");
|
|
877
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
878
|
+
const body = parsedOutput.body;
|
|
879
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
880
|
+
const exception = new InternalServerException({
|
|
881
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
882
|
+
...deserialized
|
|
883
|
+
});
|
|
884
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
885
|
+
}, "de_InternalServerExceptionRes");
|
|
886
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
887
|
+
const body = parsedOutput.body;
|
|
888
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
889
|
+
const exception = new ResourceNotFoundException({
|
|
890
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
891
|
+
...deserialized
|
|
892
|
+
});
|
|
893
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
894
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
895
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
896
|
+
const body = parsedOutput.body;
|
|
897
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
898
|
+
const exception = new ServiceQuotaExceededException({
|
|
899
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
900
|
+
...deserialized
|
|
901
|
+
});
|
|
902
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
903
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
904
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
905
|
+
const body = parsedOutput.body;
|
|
906
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
907
|
+
const exception = new ThrottlingException({
|
|
908
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
909
|
+
...deserialized
|
|
910
|
+
});
|
|
911
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
912
|
+
}, "de_ThrottlingExceptionRes");
|
|
913
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
914
|
+
const body = parsedOutput.body;
|
|
915
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
916
|
+
const exception = new ValidationException({
|
|
917
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
918
|
+
...deserialized
|
|
919
|
+
});
|
|
920
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
921
|
+
}, "de_ValidationExceptionRes");
|
|
922
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
923
|
+
httpStatusCode: output.statusCode,
|
|
924
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
925
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
926
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
927
|
+
}), "deserializeMetadata");
|
|
928
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(TimestreamInfluxDBServiceException);
|
|
929
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
930
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
931
|
+
const contents = {
|
|
932
|
+
protocol,
|
|
933
|
+
hostname,
|
|
934
|
+
port,
|
|
935
|
+
method: "POST",
|
|
936
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
937
|
+
headers
|
|
938
|
+
};
|
|
939
|
+
if (resolvedHostname !== void 0) {
|
|
940
|
+
contents.hostname = resolvedHostname;
|
|
941
|
+
}
|
|
942
|
+
if (body !== void 0) {
|
|
943
|
+
contents.body = body;
|
|
944
|
+
}
|
|
945
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
946
|
+
}, "buildHttpRpcRequest");
|
|
947
|
+
function sharedHeaders(operation) {
|
|
948
|
+
return {
|
|
949
|
+
"content-type": "application/x-amz-json-1.0",
|
|
950
|
+
"x-amz-target": `AmazonTimestreamInfluxDB.${operation}`
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
954
|
+
|
|
955
|
+
// src/commands/CreateDbClusterCommand.ts
|
|
956
|
+
var CreateDbClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
957
|
+
return [
|
|
958
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
959
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
960
|
+
];
|
|
961
|
+
}).s("AmazonTimestreamInfluxDB", "CreateDbCluster", {}).n("TimestreamInfluxDBClient", "CreateDbClusterCommand").f(CreateDbClusterInputFilterSensitiveLog, void 0).ser(se_CreateDbClusterCommand).de(de_CreateDbClusterCommand).build() {
|
|
962
|
+
static {
|
|
963
|
+
__name(this, "CreateDbClusterCommand");
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
|
|
967
|
+
// src/commands/CreateDbInstanceCommand.ts
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
var CreateDbInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
972
|
+
return [
|
|
973
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
974
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
975
|
+
];
|
|
976
|
+
}).s("AmazonTimestreamInfluxDB", "CreateDbInstance", {}).n("TimestreamInfluxDBClient", "CreateDbInstanceCommand").f(CreateDbInstanceInputFilterSensitiveLog, void 0).ser(se_CreateDbInstanceCommand).de(de_CreateDbInstanceCommand).build() {
|
|
977
|
+
static {
|
|
978
|
+
__name(this, "CreateDbInstanceCommand");
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
// src/commands/CreateDbParameterGroupCommand.ts
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
var CreateDbParameterGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
987
|
+
return [
|
|
988
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
989
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
990
|
+
];
|
|
991
|
+
}).s("AmazonTimestreamInfluxDB", "CreateDbParameterGroup", {}).n("TimestreamInfluxDBClient", "CreateDbParameterGroupCommand").f(void 0, void 0).ser(se_CreateDbParameterGroupCommand).de(de_CreateDbParameterGroupCommand).build() {
|
|
992
|
+
static {
|
|
993
|
+
__name(this, "CreateDbParameterGroupCommand");
|
|
994
|
+
}
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
// src/commands/DeleteDbClusterCommand.ts
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
var DeleteDbClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1002
|
+
return [
|
|
1003
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1004
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1005
|
+
];
|
|
1006
|
+
}).s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {}).n("TimestreamInfluxDBClient", "DeleteDbClusterCommand").f(void 0, void 0).ser(se_DeleteDbClusterCommand).de(de_DeleteDbClusterCommand).build() {
|
|
1007
|
+
static {
|
|
1008
|
+
__name(this, "DeleteDbClusterCommand");
|
|
1009
|
+
}
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
// src/commands/DeleteDbInstanceCommand.ts
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
var DeleteDbInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1017
|
+
return [
|
|
1018
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1019
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1020
|
+
];
|
|
1021
|
+
}).s("AmazonTimestreamInfluxDB", "DeleteDbInstance", {}).n("TimestreamInfluxDBClient", "DeleteDbInstanceCommand").f(void 0, void 0).ser(se_DeleteDbInstanceCommand).de(de_DeleteDbInstanceCommand).build() {
|
|
1022
|
+
static {
|
|
1023
|
+
__name(this, "DeleteDbInstanceCommand");
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
// src/commands/GetDbClusterCommand.ts
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
|
|
1031
|
+
var GetDbClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1032
|
+
return [
|
|
1033
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1034
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1035
|
+
];
|
|
1036
|
+
}).s("AmazonTimestreamInfluxDB", "GetDbCluster", {}).n("TimestreamInfluxDBClient", "GetDbClusterCommand").f(void 0, void 0).ser(se_GetDbClusterCommand).de(de_GetDbClusterCommand).build() {
|
|
1037
|
+
static {
|
|
1038
|
+
__name(this, "GetDbClusterCommand");
|
|
1039
|
+
}
|
|
1040
|
+
};
|
|
1041
|
+
|
|
1042
|
+
// src/commands/GetDbInstanceCommand.ts
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
var GetDbInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1047
|
+
return [
|
|
1048
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1049
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1050
|
+
];
|
|
1051
|
+
}).s("AmazonTimestreamInfluxDB", "GetDbInstance", {}).n("TimestreamInfluxDBClient", "GetDbInstanceCommand").f(void 0, void 0).ser(se_GetDbInstanceCommand).de(de_GetDbInstanceCommand).build() {
|
|
1052
|
+
static {
|
|
1053
|
+
__name(this, "GetDbInstanceCommand");
|
|
1054
|
+
}
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
// src/commands/GetDbParameterGroupCommand.ts
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
var GetDbParameterGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1062
|
+
return [
|
|
1063
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1064
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1065
|
+
];
|
|
1066
|
+
}).s("AmazonTimestreamInfluxDB", "GetDbParameterGroup", {}).n("TimestreamInfluxDBClient", "GetDbParameterGroupCommand").f(void 0, void 0).ser(se_GetDbParameterGroupCommand).de(de_GetDbParameterGroupCommand).build() {
|
|
1067
|
+
static {
|
|
1068
|
+
__name(this, "GetDbParameterGroupCommand");
|
|
1069
|
+
}
|
|
1070
|
+
};
|
|
1071
|
+
|
|
1072
|
+
// src/commands/ListDbClustersCommand.ts
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
var ListDbClustersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1077
|
+
return [
|
|
1078
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1079
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1080
|
+
];
|
|
1081
|
+
}).s("AmazonTimestreamInfluxDB", "ListDbClusters", {}).n("TimestreamInfluxDBClient", "ListDbClustersCommand").f(void 0, void 0).ser(se_ListDbClustersCommand).de(de_ListDbClustersCommand).build() {
|
|
1082
|
+
static {
|
|
1083
|
+
__name(this, "ListDbClustersCommand");
|
|
1084
|
+
}
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
// src/commands/ListDbInstancesCommand.ts
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
var ListDbInstancesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1092
|
+
return [
|
|
1093
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1094
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1095
|
+
];
|
|
1096
|
+
}).s("AmazonTimestreamInfluxDB", "ListDbInstances", {}).n("TimestreamInfluxDBClient", "ListDbInstancesCommand").f(void 0, void 0).ser(se_ListDbInstancesCommand).de(de_ListDbInstancesCommand).build() {
|
|
1097
|
+
static {
|
|
1098
|
+
__name(this, "ListDbInstancesCommand");
|
|
1099
|
+
}
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
// src/commands/ListDbInstancesForClusterCommand.ts
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
var ListDbInstancesForClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1107
|
+
return [
|
|
1108
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1109
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1110
|
+
];
|
|
1111
|
+
}).s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {}).n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand").f(void 0, void 0).ser(se_ListDbInstancesForClusterCommand).de(de_ListDbInstancesForClusterCommand).build() {
|
|
1112
|
+
static {
|
|
1113
|
+
__name(this, "ListDbInstancesForClusterCommand");
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
// src/commands/ListDbParameterGroupsCommand.ts
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
var ListDbParameterGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1122
|
+
return [
|
|
1123
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1124
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1125
|
+
];
|
|
1126
|
+
}).s("AmazonTimestreamInfluxDB", "ListDbParameterGroups", {}).n("TimestreamInfluxDBClient", "ListDbParameterGroupsCommand").f(void 0, void 0).ser(se_ListDbParameterGroupsCommand).de(de_ListDbParameterGroupsCommand).build() {
|
|
1127
|
+
static {
|
|
1128
|
+
__name(this, "ListDbParameterGroupsCommand");
|
|
1129
|
+
}
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1137
|
+
return [
|
|
1138
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1139
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1140
|
+
];
|
|
1141
|
+
}).s("AmazonTimestreamInfluxDB", "ListTagsForResource", {}).n("TimestreamInfluxDBClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1142
|
+
static {
|
|
1143
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1144
|
+
}
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
// src/commands/TagResourceCommand.ts
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1152
|
+
return [
|
|
1153
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1154
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1155
|
+
];
|
|
1156
|
+
}).s("AmazonTimestreamInfluxDB", "TagResource", {}).n("TimestreamInfluxDBClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1157
|
+
static {
|
|
1158
|
+
__name(this, "TagResourceCommand");
|
|
1159
|
+
}
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
// src/commands/UntagResourceCommand.ts
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1167
|
+
return [
|
|
1168
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1169
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1170
|
+
];
|
|
1171
|
+
}).s("AmazonTimestreamInfluxDB", "UntagResource", {}).n("TimestreamInfluxDBClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1172
|
+
static {
|
|
1173
|
+
__name(this, "UntagResourceCommand");
|
|
1174
|
+
}
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
// src/commands/UpdateDbClusterCommand.ts
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
var UpdateDbClusterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1182
|
+
return [
|
|
1183
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1184
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1185
|
+
];
|
|
1186
|
+
}).s("AmazonTimestreamInfluxDB", "UpdateDbCluster", {}).n("TimestreamInfluxDBClient", "UpdateDbClusterCommand").f(void 0, void 0).ser(se_UpdateDbClusterCommand).de(de_UpdateDbClusterCommand).build() {
|
|
1187
|
+
static {
|
|
1188
|
+
__name(this, "UpdateDbClusterCommand");
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
// src/commands/UpdateDbInstanceCommand.ts
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
var UpdateDbInstanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1197
|
+
return [
|
|
1198
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1199
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1200
|
+
];
|
|
1201
|
+
}).s("AmazonTimestreamInfluxDB", "UpdateDbInstance", {}).n("TimestreamInfluxDBClient", "UpdateDbInstanceCommand").f(void 0, void 0).ser(se_UpdateDbInstanceCommand).de(de_UpdateDbInstanceCommand).build() {
|
|
1202
|
+
static {
|
|
1203
|
+
__name(this, "UpdateDbInstanceCommand");
|
|
1204
|
+
}
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
// src/TimestreamInfluxDB.ts
|
|
1208
|
+
var commands = {
|
|
1209
|
+
CreateDbClusterCommand,
|
|
1210
|
+
CreateDbInstanceCommand,
|
|
1211
|
+
CreateDbParameterGroupCommand,
|
|
1212
|
+
DeleteDbClusterCommand,
|
|
1213
|
+
DeleteDbInstanceCommand,
|
|
1214
|
+
GetDbClusterCommand,
|
|
1215
|
+
GetDbInstanceCommand,
|
|
1216
|
+
GetDbParameterGroupCommand,
|
|
1217
|
+
ListDbClustersCommand,
|
|
1218
|
+
ListDbInstancesCommand,
|
|
1219
|
+
ListDbInstancesForClusterCommand,
|
|
1220
|
+
ListDbParameterGroupsCommand,
|
|
1221
|
+
ListTagsForResourceCommand,
|
|
1222
|
+
TagResourceCommand,
|
|
1223
|
+
UntagResourceCommand,
|
|
1224
|
+
UpdateDbClusterCommand,
|
|
1225
|
+
UpdateDbInstanceCommand
|
|
1226
|
+
};
|
|
1227
|
+
var TimestreamInfluxDB = class extends TimestreamInfluxDBClient {
|
|
1228
|
+
static {
|
|
1229
|
+
__name(this, "TimestreamInfluxDB");
|
|
1230
|
+
}
|
|
1231
|
+
};
|
|
1232
|
+
(0, import_smithy_client.createAggregatedClient)(commands, TimestreamInfluxDB);
|
|
1233
|
+
|
|
1234
|
+
// src/pagination/ListDbClustersPaginator.ts
|
|
1235
|
+
|
|
1236
|
+
var paginateListDbClusters = (0, import_core.createPaginator)(TimestreamInfluxDBClient, ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
1237
|
+
|
|
1238
|
+
// src/pagination/ListDbInstancesForClusterPaginator.ts
|
|
1239
|
+
|
|
1240
|
+
var paginateListDbInstancesForCluster = (0, import_core.createPaginator)(TimestreamInfluxDBClient, ListDbInstancesForClusterCommand, "nextToken", "nextToken", "maxResults");
|
|
1241
|
+
|
|
1242
|
+
// src/pagination/ListDbInstancesPaginator.ts
|
|
1243
|
+
|
|
1244
|
+
var paginateListDbInstances = (0, import_core.createPaginator)(TimestreamInfluxDBClient, ListDbInstancesCommand, "nextToken", "nextToken", "maxResults");
|
|
1245
|
+
|
|
1246
|
+
// src/pagination/ListDbParameterGroupsPaginator.ts
|
|
1247
|
+
|
|
1248
|
+
var paginateListDbParameterGroups = (0, import_core.createPaginator)(TimestreamInfluxDBClient, ListDbParameterGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
1249
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1250
|
+
|
|
1251
|
+
0 && (module.exports = {
|
|
1252
|
+
TimestreamInfluxDBServiceException,
|
|
1253
|
+
__Client,
|
|
1254
|
+
TimestreamInfluxDBClient,
|
|
1255
|
+
TimestreamInfluxDB,
|
|
1256
|
+
$Command,
|
|
1257
|
+
CreateDbClusterCommand,
|
|
1258
|
+
CreateDbInstanceCommand,
|
|
1259
|
+
CreateDbParameterGroupCommand,
|
|
1260
|
+
DeleteDbClusterCommand,
|
|
1261
|
+
DeleteDbInstanceCommand,
|
|
1262
|
+
GetDbClusterCommand,
|
|
1263
|
+
GetDbInstanceCommand,
|
|
1264
|
+
GetDbParameterGroupCommand,
|
|
1265
|
+
ListDbClustersCommand,
|
|
1266
|
+
ListDbInstancesCommand,
|
|
1267
|
+
ListDbInstancesForClusterCommand,
|
|
1268
|
+
ListDbParameterGroupsCommand,
|
|
1269
|
+
ListTagsForResourceCommand,
|
|
1270
|
+
TagResourceCommand,
|
|
1271
|
+
UntagResourceCommand,
|
|
1272
|
+
UpdateDbClusterCommand,
|
|
1273
|
+
UpdateDbInstanceCommand,
|
|
1274
|
+
paginateListDbClusters,
|
|
1275
|
+
paginateListDbInstancesForCluster,
|
|
1276
|
+
paginateListDbInstances,
|
|
1277
|
+
paginateListDbParameterGroups,
|
|
1278
|
+
AccessDeniedException,
|
|
1279
|
+
ConflictException,
|
|
1280
|
+
DbInstanceType,
|
|
1281
|
+
DbStorageType,
|
|
1282
|
+
ClusterDeploymentType,
|
|
1283
|
+
FailoverMode,
|
|
1284
|
+
NetworkType,
|
|
1285
|
+
ClusterStatus,
|
|
1286
|
+
InternalServerException,
|
|
1287
|
+
ResourceNotFoundException,
|
|
1288
|
+
ServiceQuotaExceededException,
|
|
1289
|
+
ThrottlingException,
|
|
1290
|
+
ValidationExceptionReason,
|
|
1291
|
+
ValidationException,
|
|
1292
|
+
DeploymentType,
|
|
1293
|
+
InstanceMode,
|
|
1294
|
+
Status,
|
|
1295
|
+
DurationType,
|
|
1296
|
+
LogLevel,
|
|
1297
|
+
TracingType,
|
|
1298
|
+
_Parameters,
|
|
1299
|
+
CreateDbClusterInputFilterSensitiveLog,
|
|
1300
|
+
CreateDbInstanceInputFilterSensitiveLog
|
|
1301
|
+
});
|
|
1302
|
+
|