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