@aws-sdk/client-timestream-query 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +104 -124
- package/dist-cjs/models/TimestreamQueryServiceException.js +4 -8
- package/dist-cjs/models/errors.js +19 -31
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +32 -36
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +235 -159
- package/package.json +9 -9
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultTimestreamQueryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultTimestreamQueryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultTimestreamQueryHttpAuthSchemeParametersProvider = defaultTimestreamQueryHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultTimestreamQueryHttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultTimestreamQueryHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const m = "ref";
|
|
6
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { "fn": f, "argv": [i, "name"] }, k = {}, l = [{ [m]: "Region" }];
|
|
7
4
|
const _data = {
|
|
@@ -56,4 +53,4 @@ const nodes = new Int32Array([
|
|
|
56
53
|
3, r + 1, 18,
|
|
57
54
|
4, r + 2, r + 3,
|
|
58
55
|
]);
|
|
59
|
-
exports.bdd =
|
|
56
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { resolveEndpointDiscoveryConfig, getEndpointDiscoveryPlugin } = require("@aws-sdk/middleware-endpoint-discovery");
|
|
4
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
5
|
+
const { Command, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createAggregatedClient } = require("@smithy/core/client");
|
|
6
|
+
exports.$Command = Command;
|
|
7
|
+
exports.__Client = Client;
|
|
8
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
9
|
+
const { getEndpointPlugin, resolveEndpointConfig } = require("@smithy/core/endpoints");
|
|
10
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
11
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
12
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
13
|
+
const { resolveHttpAuthSchemeConfig, defaultTimestreamQueryHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
14
|
+
const { DescribeEndpoints$, CancelQuery$, CreateScheduledQuery$, DeleteScheduledQuery$, DescribeAccountSettings$, DescribeScheduledQuery$, ExecuteScheduledQuery$, ListScheduledQueries$, ListTagsForResource$, PrepareQuery$, Query$, TagResource$, UntagResource$, UpdateAccountSettings$, UpdateScheduledQuery$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
17
|
+
__exportStar(require("./models/errors"), exports);
|
|
18
|
+
const { TimestreamQueryServiceException } = require("./models/TimestreamQueryServiceException");
|
|
19
|
+
exports.TimestreamQueryServiceException = TimestreamQueryServiceException;
|
|
17
20
|
|
|
18
21
|
const resolveClientEndpointParameters = (options) => {
|
|
19
22
|
return Object.assign(options, {
|
|
@@ -29,15 +32,15 @@ const commonParams = {
|
|
|
29
32
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
30
33
|
};
|
|
31
34
|
|
|
32
|
-
class DescribeEndpointsCommand extends
|
|
35
|
+
class DescribeEndpointsCommand extends Command
|
|
33
36
|
.classBuilder()
|
|
34
37
|
.ep(commonParams)
|
|
35
38
|
.m(function (Command, cs, config, o) {
|
|
36
|
-
return [
|
|
39
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
37
40
|
})
|
|
38
41
|
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
39
42
|
.n("TimestreamQueryClient", "DescribeEndpointsCommand")
|
|
40
|
-
.sc(
|
|
43
|
+
.sc(DescribeEndpoints$)
|
|
41
44
|
.build() {
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -81,54 +84,54 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
81
84
|
};
|
|
82
85
|
|
|
83
86
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
84
|
-
const extensionConfiguration = Object.assign(
|
|
87
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
85
88
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
86
|
-
return Object.assign(runtimeConfig,
|
|
89
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
87
90
|
};
|
|
88
91
|
|
|
89
|
-
class TimestreamQueryClient extends
|
|
92
|
+
class TimestreamQueryClient extends Client {
|
|
90
93
|
config;
|
|
91
94
|
constructor(...[configuration]) {
|
|
92
|
-
const _config_0 =
|
|
95
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
93
96
|
super(_config_0);
|
|
94
97
|
this.initConfig = _config_0;
|
|
95
98
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
96
|
-
const _config_2 =
|
|
97
|
-
const _config_3 =
|
|
98
|
-
const _config_4 =
|
|
99
|
-
const _config_5 =
|
|
100
|
-
const _config_6 =
|
|
101
|
-
const _config_7 =
|
|
102
|
-
const _config_8 =
|
|
99
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
100
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
101
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
102
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
103
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
104
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
105
|
+
const _config_8 = resolveEndpointDiscoveryConfig(_config_7, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
|
|
103
106
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
104
107
|
this.config = _config_9;
|
|
105
|
-
this.middlewareStack.use(
|
|
106
|
-
this.middlewareStack.use(
|
|
107
|
-
this.middlewareStack.use(
|
|
108
|
-
this.middlewareStack.use(
|
|
109
|
-
this.middlewareStack.use(
|
|
110
|
-
this.middlewareStack.use(
|
|
111
|
-
this.middlewareStack.use(
|
|
112
|
-
this.middlewareStack.use(
|
|
113
|
-
httpAuthSchemeParametersProvider:
|
|
114
|
-
identityProviderConfigProvider: async (config) => new
|
|
108
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
109
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
110
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
111
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
112
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
113
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
114
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
115
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
116
|
+
httpAuthSchemeParametersProvider: defaultTimestreamQueryHttpAuthSchemeParametersProvider,
|
|
117
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
115
118
|
"aws.auth#sigv4": config.credentials,
|
|
116
119
|
}),
|
|
117
120
|
}));
|
|
118
|
-
this.middlewareStack.use(
|
|
121
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
119
122
|
}
|
|
120
123
|
destroy() {
|
|
121
124
|
super.destroy();
|
|
122
125
|
}
|
|
123
126
|
}
|
|
124
127
|
|
|
125
|
-
class CancelQueryCommand extends
|
|
128
|
+
class CancelQueryCommand extends Command
|
|
126
129
|
.classBuilder()
|
|
127
130
|
.ep(commonParams)
|
|
128
131
|
.m(function (Command, cs, config, o) {
|
|
129
132
|
return [
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
134
|
+
getEndpointDiscoveryPlugin(config, {
|
|
132
135
|
clientStack: cs,
|
|
133
136
|
isDiscoveredEndpointRequired: true,
|
|
134
137
|
options: o,
|
|
@@ -137,17 +140,17 @@ class CancelQueryCommand extends client.Command
|
|
|
137
140
|
})
|
|
138
141
|
.s("Timestream_20181101", "CancelQuery", {})
|
|
139
142
|
.n("TimestreamQueryClient", "CancelQueryCommand")
|
|
140
|
-
.sc(
|
|
143
|
+
.sc(CancelQuery$)
|
|
141
144
|
.build() {
|
|
142
145
|
}
|
|
143
146
|
|
|
144
|
-
class CreateScheduledQueryCommand extends
|
|
147
|
+
class CreateScheduledQueryCommand extends Command
|
|
145
148
|
.classBuilder()
|
|
146
149
|
.ep(commonParams)
|
|
147
150
|
.m(function (Command, cs, config, o) {
|
|
148
151
|
return [
|
|
149
|
-
|
|
150
|
-
|
|
152
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
153
|
+
getEndpointDiscoveryPlugin(config, {
|
|
151
154
|
clientStack: cs,
|
|
152
155
|
isDiscoveredEndpointRequired: true,
|
|
153
156
|
options: o,
|
|
@@ -156,17 +159,17 @@ class CreateScheduledQueryCommand extends client.Command
|
|
|
156
159
|
})
|
|
157
160
|
.s("Timestream_20181101", "CreateScheduledQuery", {})
|
|
158
161
|
.n("TimestreamQueryClient", "CreateScheduledQueryCommand")
|
|
159
|
-
.sc(
|
|
162
|
+
.sc(CreateScheduledQuery$)
|
|
160
163
|
.build() {
|
|
161
164
|
}
|
|
162
165
|
|
|
163
|
-
class DeleteScheduledQueryCommand extends
|
|
166
|
+
class DeleteScheduledQueryCommand extends Command
|
|
164
167
|
.classBuilder()
|
|
165
168
|
.ep(commonParams)
|
|
166
169
|
.m(function (Command, cs, config, o) {
|
|
167
170
|
return [
|
|
168
|
-
|
|
169
|
-
|
|
171
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
172
|
+
getEndpointDiscoveryPlugin(config, {
|
|
170
173
|
clientStack: cs,
|
|
171
174
|
isDiscoveredEndpointRequired: true,
|
|
172
175
|
options: o,
|
|
@@ -175,17 +178,17 @@ class DeleteScheduledQueryCommand extends client.Command
|
|
|
175
178
|
})
|
|
176
179
|
.s("Timestream_20181101", "DeleteScheduledQuery", {})
|
|
177
180
|
.n("TimestreamQueryClient", "DeleteScheduledQueryCommand")
|
|
178
|
-
.sc(
|
|
181
|
+
.sc(DeleteScheduledQuery$)
|
|
179
182
|
.build() {
|
|
180
183
|
}
|
|
181
184
|
|
|
182
|
-
class DescribeAccountSettingsCommand extends
|
|
185
|
+
class DescribeAccountSettingsCommand extends Command
|
|
183
186
|
.classBuilder()
|
|
184
187
|
.ep(commonParams)
|
|
185
188
|
.m(function (Command, cs, config, o) {
|
|
186
189
|
return [
|
|
187
|
-
|
|
188
|
-
|
|
190
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
191
|
+
getEndpointDiscoveryPlugin(config, {
|
|
189
192
|
clientStack: cs,
|
|
190
193
|
isDiscoveredEndpointRequired: true,
|
|
191
194
|
options: o,
|
|
@@ -194,17 +197,17 @@ class DescribeAccountSettingsCommand extends client.Command
|
|
|
194
197
|
})
|
|
195
198
|
.s("Timestream_20181101", "DescribeAccountSettings", {})
|
|
196
199
|
.n("TimestreamQueryClient", "DescribeAccountSettingsCommand")
|
|
197
|
-
.sc(
|
|
200
|
+
.sc(DescribeAccountSettings$)
|
|
198
201
|
.build() {
|
|
199
202
|
}
|
|
200
203
|
|
|
201
|
-
class DescribeScheduledQueryCommand extends
|
|
204
|
+
class DescribeScheduledQueryCommand extends Command
|
|
202
205
|
.classBuilder()
|
|
203
206
|
.ep(commonParams)
|
|
204
207
|
.m(function (Command, cs, config, o) {
|
|
205
208
|
return [
|
|
206
|
-
|
|
207
|
-
|
|
209
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
210
|
+
getEndpointDiscoveryPlugin(config, {
|
|
208
211
|
clientStack: cs,
|
|
209
212
|
isDiscoveredEndpointRequired: true,
|
|
210
213
|
options: o,
|
|
@@ -213,17 +216,17 @@ class DescribeScheduledQueryCommand extends client.Command
|
|
|
213
216
|
})
|
|
214
217
|
.s("Timestream_20181101", "DescribeScheduledQuery", {})
|
|
215
218
|
.n("TimestreamQueryClient", "DescribeScheduledQueryCommand")
|
|
216
|
-
.sc(
|
|
219
|
+
.sc(DescribeScheduledQuery$)
|
|
217
220
|
.build() {
|
|
218
221
|
}
|
|
219
222
|
|
|
220
|
-
class ExecuteScheduledQueryCommand extends
|
|
223
|
+
class ExecuteScheduledQueryCommand extends Command
|
|
221
224
|
.classBuilder()
|
|
222
225
|
.ep(commonParams)
|
|
223
226
|
.m(function (Command, cs, config, o) {
|
|
224
227
|
return [
|
|
225
|
-
|
|
226
|
-
|
|
228
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
229
|
+
getEndpointDiscoveryPlugin(config, {
|
|
227
230
|
clientStack: cs,
|
|
228
231
|
isDiscoveredEndpointRequired: true,
|
|
229
232
|
options: o,
|
|
@@ -232,17 +235,17 @@ class ExecuteScheduledQueryCommand extends client.Command
|
|
|
232
235
|
})
|
|
233
236
|
.s("Timestream_20181101", "ExecuteScheduledQuery", {})
|
|
234
237
|
.n("TimestreamQueryClient", "ExecuteScheduledQueryCommand")
|
|
235
|
-
.sc(
|
|
238
|
+
.sc(ExecuteScheduledQuery$)
|
|
236
239
|
.build() {
|
|
237
240
|
}
|
|
238
241
|
|
|
239
|
-
class ListScheduledQueriesCommand extends
|
|
242
|
+
class ListScheduledQueriesCommand extends Command
|
|
240
243
|
.classBuilder()
|
|
241
244
|
.ep(commonParams)
|
|
242
245
|
.m(function (Command, cs, config, o) {
|
|
243
246
|
return [
|
|
244
|
-
|
|
245
|
-
|
|
247
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
248
|
+
getEndpointDiscoveryPlugin(config, {
|
|
246
249
|
clientStack: cs,
|
|
247
250
|
isDiscoveredEndpointRequired: true,
|
|
248
251
|
options: o,
|
|
@@ -251,17 +254,17 @@ class ListScheduledQueriesCommand extends client.Command
|
|
|
251
254
|
})
|
|
252
255
|
.s("Timestream_20181101", "ListScheduledQueries", {})
|
|
253
256
|
.n("TimestreamQueryClient", "ListScheduledQueriesCommand")
|
|
254
|
-
.sc(
|
|
257
|
+
.sc(ListScheduledQueries$)
|
|
255
258
|
.build() {
|
|
256
259
|
}
|
|
257
260
|
|
|
258
|
-
class ListTagsForResourceCommand extends
|
|
261
|
+
class ListTagsForResourceCommand extends Command
|
|
259
262
|
.classBuilder()
|
|
260
263
|
.ep(commonParams)
|
|
261
264
|
.m(function (Command, cs, config, o) {
|
|
262
265
|
return [
|
|
263
|
-
|
|
264
|
-
|
|
266
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
267
|
+
getEndpointDiscoveryPlugin(config, {
|
|
265
268
|
clientStack: cs,
|
|
266
269
|
isDiscoveredEndpointRequired: true,
|
|
267
270
|
options: o,
|
|
@@ -270,17 +273,17 @@ class ListTagsForResourceCommand extends client.Command
|
|
|
270
273
|
})
|
|
271
274
|
.s("Timestream_20181101", "ListTagsForResource", {})
|
|
272
275
|
.n("TimestreamQueryClient", "ListTagsForResourceCommand")
|
|
273
|
-
.sc(
|
|
276
|
+
.sc(ListTagsForResource$)
|
|
274
277
|
.build() {
|
|
275
278
|
}
|
|
276
279
|
|
|
277
|
-
class PrepareQueryCommand extends
|
|
280
|
+
class PrepareQueryCommand extends Command
|
|
278
281
|
.classBuilder()
|
|
279
282
|
.ep(commonParams)
|
|
280
283
|
.m(function (Command, cs, config, o) {
|
|
281
284
|
return [
|
|
282
|
-
|
|
283
|
-
|
|
285
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
286
|
+
getEndpointDiscoveryPlugin(config, {
|
|
284
287
|
clientStack: cs,
|
|
285
288
|
isDiscoveredEndpointRequired: true,
|
|
286
289
|
options: o,
|
|
@@ -289,17 +292,17 @@ class PrepareQueryCommand extends client.Command
|
|
|
289
292
|
})
|
|
290
293
|
.s("Timestream_20181101", "PrepareQuery", {})
|
|
291
294
|
.n("TimestreamQueryClient", "PrepareQueryCommand")
|
|
292
|
-
.sc(
|
|
295
|
+
.sc(PrepareQuery$)
|
|
293
296
|
.build() {
|
|
294
297
|
}
|
|
295
298
|
|
|
296
|
-
class QueryCommand extends
|
|
299
|
+
class QueryCommand extends Command
|
|
297
300
|
.classBuilder()
|
|
298
301
|
.ep(commonParams)
|
|
299
302
|
.m(function (Command, cs, config, o) {
|
|
300
303
|
return [
|
|
301
|
-
|
|
302
|
-
|
|
304
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
305
|
+
getEndpointDiscoveryPlugin(config, {
|
|
303
306
|
clientStack: cs,
|
|
304
307
|
isDiscoveredEndpointRequired: true,
|
|
305
308
|
options: o,
|
|
@@ -308,17 +311,17 @@ class QueryCommand extends client.Command
|
|
|
308
311
|
})
|
|
309
312
|
.s("Timestream_20181101", "Query", {})
|
|
310
313
|
.n("TimestreamQueryClient", "QueryCommand")
|
|
311
|
-
.sc(
|
|
314
|
+
.sc(Query$)
|
|
312
315
|
.build() {
|
|
313
316
|
}
|
|
314
317
|
|
|
315
|
-
class TagResourceCommand extends
|
|
318
|
+
class TagResourceCommand extends Command
|
|
316
319
|
.classBuilder()
|
|
317
320
|
.ep(commonParams)
|
|
318
321
|
.m(function (Command, cs, config, o) {
|
|
319
322
|
return [
|
|
320
|
-
|
|
321
|
-
|
|
323
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
324
|
+
getEndpointDiscoveryPlugin(config, {
|
|
322
325
|
clientStack: cs,
|
|
323
326
|
isDiscoveredEndpointRequired: true,
|
|
324
327
|
options: o,
|
|
@@ -327,17 +330,17 @@ class TagResourceCommand extends client.Command
|
|
|
327
330
|
})
|
|
328
331
|
.s("Timestream_20181101", "TagResource", {})
|
|
329
332
|
.n("TimestreamQueryClient", "TagResourceCommand")
|
|
330
|
-
.sc(
|
|
333
|
+
.sc(TagResource$)
|
|
331
334
|
.build() {
|
|
332
335
|
}
|
|
333
336
|
|
|
334
|
-
class UntagResourceCommand extends
|
|
337
|
+
class UntagResourceCommand extends Command
|
|
335
338
|
.classBuilder()
|
|
336
339
|
.ep(commonParams)
|
|
337
340
|
.m(function (Command, cs, config, o) {
|
|
338
341
|
return [
|
|
339
|
-
|
|
340
|
-
|
|
342
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
343
|
+
getEndpointDiscoveryPlugin(config, {
|
|
341
344
|
clientStack: cs,
|
|
342
345
|
isDiscoveredEndpointRequired: true,
|
|
343
346
|
options: o,
|
|
@@ -346,17 +349,17 @@ class UntagResourceCommand extends client.Command
|
|
|
346
349
|
})
|
|
347
350
|
.s("Timestream_20181101", "UntagResource", {})
|
|
348
351
|
.n("TimestreamQueryClient", "UntagResourceCommand")
|
|
349
|
-
.sc(
|
|
352
|
+
.sc(UntagResource$)
|
|
350
353
|
.build() {
|
|
351
354
|
}
|
|
352
355
|
|
|
353
|
-
class UpdateAccountSettingsCommand extends
|
|
356
|
+
class UpdateAccountSettingsCommand extends Command
|
|
354
357
|
.classBuilder()
|
|
355
358
|
.ep(commonParams)
|
|
356
359
|
.m(function (Command, cs, config, o) {
|
|
357
360
|
return [
|
|
358
|
-
|
|
359
|
-
|
|
361
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
362
|
+
getEndpointDiscoveryPlugin(config, {
|
|
360
363
|
clientStack: cs,
|
|
361
364
|
isDiscoveredEndpointRequired: true,
|
|
362
365
|
options: o,
|
|
@@ -365,17 +368,17 @@ class UpdateAccountSettingsCommand extends client.Command
|
|
|
365
368
|
})
|
|
366
369
|
.s("Timestream_20181101", "UpdateAccountSettings", {})
|
|
367
370
|
.n("TimestreamQueryClient", "UpdateAccountSettingsCommand")
|
|
368
|
-
.sc(
|
|
371
|
+
.sc(UpdateAccountSettings$)
|
|
369
372
|
.build() {
|
|
370
373
|
}
|
|
371
374
|
|
|
372
|
-
class UpdateScheduledQueryCommand extends
|
|
375
|
+
class UpdateScheduledQueryCommand extends Command
|
|
373
376
|
.classBuilder()
|
|
374
377
|
.ep(commonParams)
|
|
375
378
|
.m(function (Command, cs, config, o) {
|
|
376
379
|
return [
|
|
377
|
-
|
|
378
|
-
|
|
380
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
381
|
+
getEndpointDiscoveryPlugin(config, {
|
|
379
382
|
clientStack: cs,
|
|
380
383
|
isDiscoveredEndpointRequired: true,
|
|
381
384
|
options: o,
|
|
@@ -384,15 +387,15 @@ class UpdateScheduledQueryCommand extends client.Command
|
|
|
384
387
|
})
|
|
385
388
|
.s("Timestream_20181101", "UpdateScheduledQuery", {})
|
|
386
389
|
.n("TimestreamQueryClient", "UpdateScheduledQueryCommand")
|
|
387
|
-
.sc(
|
|
390
|
+
.sc(UpdateScheduledQuery$)
|
|
388
391
|
.build() {
|
|
389
392
|
}
|
|
390
393
|
|
|
391
|
-
const paginateListScheduledQueries =
|
|
394
|
+
const paginateListScheduledQueries = createPaginator(TimestreamQueryClient, ListScheduledQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
392
395
|
|
|
393
|
-
const paginateListTagsForResource =
|
|
396
|
+
const paginateListTagsForResource = createPaginator(TimestreamQueryClient, ListTagsForResourceCommand, "NextToken", "NextToken", "MaxResults");
|
|
394
397
|
|
|
395
|
-
const paginateQuery =
|
|
398
|
+
const paginateQuery = createPaginator(TimestreamQueryClient, QueryCommand, "NextToken", "NextToken", "MaxRows");
|
|
396
399
|
|
|
397
400
|
const commands = {
|
|
398
401
|
CancelQueryCommand,
|
|
@@ -418,7 +421,7 @@ const paginators = {
|
|
|
418
421
|
};
|
|
419
422
|
class TimestreamQuery extends TimestreamQueryClient {
|
|
420
423
|
}
|
|
421
|
-
|
|
424
|
+
createAggregatedClient(commands, TimestreamQuery, { paginators });
|
|
422
425
|
|
|
423
426
|
const ScalarType = {
|
|
424
427
|
BIGINT: "BIGINT",
|
|
@@ -486,9 +489,6 @@ const QueryInsightsMode = {
|
|
|
486
489
|
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
487
490
|
};
|
|
488
491
|
|
|
489
|
-
exports.$Command = client.Command;
|
|
490
|
-
exports.__Client = client.Client;
|
|
491
|
-
exports.TimestreamQueryServiceException = TimestreamQueryServiceException.TimestreamQueryServiceException;
|
|
492
492
|
exports.CancelQueryCommand = CancelQueryCommand;
|
|
493
493
|
exports.ComputeMode = ComputeMode;
|
|
494
494
|
exports.CreateScheduledQueryCommand = CreateScheduledQueryCommand;
|
|
@@ -521,23 +521,3 @@ exports.UpdateScheduledQueryCommand = UpdateScheduledQueryCommand;
|
|
|
521
521
|
exports.paginateListScheduledQueries = paginateListScheduledQueries;
|
|
522
522
|
exports.paginateListTagsForResource = paginateListTagsForResource;
|
|
523
523
|
exports.paginateQuery = paginateQuery;
|
|
524
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
525
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
526
|
-
Object.defineProperty(exports, '__proto__', {
|
|
527
|
-
enumerable: true,
|
|
528
|
-
value: schemas_0['__proto__']
|
|
529
|
-
});
|
|
530
|
-
|
|
531
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
532
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
533
|
-
});
|
|
534
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
535
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
536
|
-
Object.defineProperty(exports, '__proto__', {
|
|
537
|
-
enumerable: true,
|
|
538
|
-
value: errors['__proto__']
|
|
539
|
-
});
|
|
540
|
-
|
|
541
|
-
Object.keys(errors).forEach(function (k) {
|
|
542
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
543
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.TimestreamQueryServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class TimestreamQueryServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.TimestreamQueryServiceException = class TimestreamQueryServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, TimestreamQueryServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.TimestreamQueryServiceException = TimestreamQueryServiceException;
|
|
8
|
+
};
|