@aws-sdk/client-timestream-query 3.1045.0 → 3.1047.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 +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +46 -47
- package/dist-cjs/models/TimestreamQueryServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +19 -23
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/TimestreamQuery.js +1 -1
- package/dist-es/TimestreamQueryClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CancelQueryCommand.js +2 -2
- package/dist-es/commands/CreateScheduledQueryCommand.js +2 -2
- package/dist-es/commands/DeleteScheduledQueryCommand.js +2 -2
- package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -2
- package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
- package/dist-es/commands/DescribeScheduledQueryCommand.js +2 -2
- package/dist-es/commands/ExecuteScheduledQueryCommand.js +2 -2
- package/dist-es/commands/ListScheduledQueriesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PrepareQueryCommand.js +2 -2
- package/dist-es/commands/QueryCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateScheduledQueryCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/TimestreamQueryServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/TimestreamQueryClient.d.ts +5 -5
- package/dist-types/commands/CancelQueryCommand.d.ts +6 -4
- package/dist-types/commands/CreateScheduledQueryCommand.d.ts +6 -4
- package/dist-types/commands/DeleteScheduledQueryCommand.d.ts +6 -4
- package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeScheduledQueryCommand.d.ts +6 -4
- package/dist-types/commands/ExecuteScheduledQueryCommand.d.ts +6 -4
- package/dist-types/commands/ListScheduledQueriesCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PrepareQueryCommand.d.ts +6 -4
- package/dist-types/commands/QueryCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -4
- package/dist-types/commands/UpdateScheduledQueryCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/TimestreamQueryServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/TimestreamQueryClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateScheduledQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteScheduledQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeScheduledQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ExecuteScheduledQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListScheduledQueriesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PrepareQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/TimestreamQueryServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +14 -35
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultTimestreamQueryHttpAuthSchemeProvider = exports.defaultTimestreamQueryHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultTimestreamQueryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultTimestreamQueryHttpAuthSchemeProvider = defaultTimestreamQueryHtt
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const m = "ref";
|
|
6
6
|
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
7
|
const _data = {
|
|
@@ -56,4 +56,4 @@ const nodes = new Int32Array([
|
|
|
56
56
|
3, r + 1, 18,
|
|
57
57
|
4, r + 2, r + 3,
|
|
58
58
|
]);
|
|
59
|
-
exports.bdd =
|
|
59
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,18 +5,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
5
5
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
6
6
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
|
-
var configResolver = require('@smithy/config-resolver');
|
|
9
8
|
var core = require('@smithy/core');
|
|
9
|
+
var client = require('@smithy/core/client');
|
|
10
|
+
var config = require('@smithy/core/config');
|
|
11
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
12
|
+
var protocols = require('@smithy/core/protocols');
|
|
13
|
+
var retry = require('@smithy/core/retry');
|
|
10
14
|
var schema = require('@smithy/core/schema');
|
|
11
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
12
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
13
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
14
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
15
15
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
16
16
|
var schemas_0 = require('./schemas/schemas_0');
|
|
17
17
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
18
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
19
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
20
19
|
var errors = require('./models/errors');
|
|
21
20
|
var TimestreamQueryServiceException = require('./models/TimestreamQueryServiceException');
|
|
22
21
|
|
|
@@ -34,11 +33,11 @@ const commonParams = {
|
|
|
34
33
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
35
34
|
};
|
|
36
35
|
|
|
37
|
-
class DescribeEndpointsCommand extends
|
|
36
|
+
class DescribeEndpointsCommand extends client.Command
|
|
38
37
|
.classBuilder()
|
|
39
38
|
.ep(commonParams)
|
|
40
39
|
.m(function (Command, cs, config, o) {
|
|
41
|
-
return [
|
|
40
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
42
41
|
})
|
|
43
42
|
.s("Timestream_20181101", "DescribeEndpoints", {})
|
|
44
43
|
.n("TimestreamQueryClient", "DescribeEndpointsCommand")
|
|
@@ -86,12 +85,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
86
85
|
};
|
|
87
86
|
|
|
88
87
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
89
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
88
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
90
89
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
91
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
90
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
92
91
|
};
|
|
93
92
|
|
|
94
|
-
class TimestreamQueryClient extends
|
|
93
|
+
class TimestreamQueryClient extends client.Client {
|
|
95
94
|
config;
|
|
96
95
|
constructor(...[configuration]) {
|
|
97
96
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -99,18 +98,18 @@ class TimestreamQueryClient extends smithyClient.Client {
|
|
|
99
98
|
this.initConfig = _config_0;
|
|
100
99
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
101
100
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
102
|
-
const _config_3 =
|
|
103
|
-
const _config_4 =
|
|
101
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
102
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
104
103
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
105
|
-
const _config_6 =
|
|
104
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
106
105
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
107
106
|
const _config_8 = middlewareEndpointDiscovery.resolveEndpointDiscoveryConfig(_config_7, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
|
|
108
107
|
const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
|
|
109
108
|
this.config = _config_9;
|
|
110
109
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
111
110
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
112
|
-
this.middlewareStack.use(
|
|
113
|
-
this.middlewareStack.use(
|
|
111
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
112
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
114
113
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
115
114
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
116
115
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -127,12 +126,12 @@ class TimestreamQueryClient extends smithyClient.Client {
|
|
|
127
126
|
}
|
|
128
127
|
}
|
|
129
128
|
|
|
130
|
-
class CancelQueryCommand extends
|
|
129
|
+
class CancelQueryCommand extends client.Command
|
|
131
130
|
.classBuilder()
|
|
132
131
|
.ep(commonParams)
|
|
133
132
|
.m(function (Command, cs, config, o) {
|
|
134
133
|
return [
|
|
135
|
-
|
|
134
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
136
135
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
137
136
|
clientStack: cs,
|
|
138
137
|
isDiscoveredEndpointRequired: true,
|
|
@@ -146,12 +145,12 @@ class CancelQueryCommand extends smithyClient.Command
|
|
|
146
145
|
.build() {
|
|
147
146
|
}
|
|
148
147
|
|
|
149
|
-
class CreateScheduledQueryCommand extends
|
|
148
|
+
class CreateScheduledQueryCommand extends client.Command
|
|
150
149
|
.classBuilder()
|
|
151
150
|
.ep(commonParams)
|
|
152
151
|
.m(function (Command, cs, config, o) {
|
|
153
152
|
return [
|
|
154
|
-
|
|
153
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
155
154
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
156
155
|
clientStack: cs,
|
|
157
156
|
isDiscoveredEndpointRequired: true,
|
|
@@ -165,12 +164,12 @@ class CreateScheduledQueryCommand extends smithyClient.Command
|
|
|
165
164
|
.build() {
|
|
166
165
|
}
|
|
167
166
|
|
|
168
|
-
class DeleteScheduledQueryCommand extends
|
|
167
|
+
class DeleteScheduledQueryCommand extends client.Command
|
|
169
168
|
.classBuilder()
|
|
170
169
|
.ep(commonParams)
|
|
171
170
|
.m(function (Command, cs, config, o) {
|
|
172
171
|
return [
|
|
173
|
-
|
|
172
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
174
173
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
175
174
|
clientStack: cs,
|
|
176
175
|
isDiscoveredEndpointRequired: true,
|
|
@@ -184,12 +183,12 @@ class DeleteScheduledQueryCommand extends smithyClient.Command
|
|
|
184
183
|
.build() {
|
|
185
184
|
}
|
|
186
185
|
|
|
187
|
-
class DescribeAccountSettingsCommand extends
|
|
186
|
+
class DescribeAccountSettingsCommand extends client.Command
|
|
188
187
|
.classBuilder()
|
|
189
188
|
.ep(commonParams)
|
|
190
189
|
.m(function (Command, cs, config, o) {
|
|
191
190
|
return [
|
|
192
|
-
|
|
191
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
193
192
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
194
193
|
clientStack: cs,
|
|
195
194
|
isDiscoveredEndpointRequired: true,
|
|
@@ -203,12 +202,12 @@ class DescribeAccountSettingsCommand extends smithyClient.Command
|
|
|
203
202
|
.build() {
|
|
204
203
|
}
|
|
205
204
|
|
|
206
|
-
class DescribeScheduledQueryCommand extends
|
|
205
|
+
class DescribeScheduledQueryCommand extends client.Command
|
|
207
206
|
.classBuilder()
|
|
208
207
|
.ep(commonParams)
|
|
209
208
|
.m(function (Command, cs, config, o) {
|
|
210
209
|
return [
|
|
211
|
-
|
|
210
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
212
211
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
213
212
|
clientStack: cs,
|
|
214
213
|
isDiscoveredEndpointRequired: true,
|
|
@@ -222,12 +221,12 @@ class DescribeScheduledQueryCommand extends smithyClient.Command
|
|
|
222
221
|
.build() {
|
|
223
222
|
}
|
|
224
223
|
|
|
225
|
-
class ExecuteScheduledQueryCommand extends
|
|
224
|
+
class ExecuteScheduledQueryCommand extends client.Command
|
|
226
225
|
.classBuilder()
|
|
227
226
|
.ep(commonParams)
|
|
228
227
|
.m(function (Command, cs, config, o) {
|
|
229
228
|
return [
|
|
230
|
-
|
|
229
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
231
230
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
232
231
|
clientStack: cs,
|
|
233
232
|
isDiscoveredEndpointRequired: true,
|
|
@@ -241,12 +240,12 @@ class ExecuteScheduledQueryCommand extends smithyClient.Command
|
|
|
241
240
|
.build() {
|
|
242
241
|
}
|
|
243
242
|
|
|
244
|
-
class ListScheduledQueriesCommand extends
|
|
243
|
+
class ListScheduledQueriesCommand extends client.Command
|
|
245
244
|
.classBuilder()
|
|
246
245
|
.ep(commonParams)
|
|
247
246
|
.m(function (Command, cs, config, o) {
|
|
248
247
|
return [
|
|
249
|
-
|
|
248
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
250
249
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
251
250
|
clientStack: cs,
|
|
252
251
|
isDiscoveredEndpointRequired: true,
|
|
@@ -260,12 +259,12 @@ class ListScheduledQueriesCommand extends smithyClient.Command
|
|
|
260
259
|
.build() {
|
|
261
260
|
}
|
|
262
261
|
|
|
263
|
-
class ListTagsForResourceCommand extends
|
|
262
|
+
class ListTagsForResourceCommand extends client.Command
|
|
264
263
|
.classBuilder()
|
|
265
264
|
.ep(commonParams)
|
|
266
265
|
.m(function (Command, cs, config, o) {
|
|
267
266
|
return [
|
|
268
|
-
|
|
267
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
269
268
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
270
269
|
clientStack: cs,
|
|
271
270
|
isDiscoveredEndpointRequired: true,
|
|
@@ -279,12 +278,12 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
279
278
|
.build() {
|
|
280
279
|
}
|
|
281
280
|
|
|
282
|
-
class PrepareQueryCommand extends
|
|
281
|
+
class PrepareQueryCommand extends client.Command
|
|
283
282
|
.classBuilder()
|
|
284
283
|
.ep(commonParams)
|
|
285
284
|
.m(function (Command, cs, config, o) {
|
|
286
285
|
return [
|
|
287
|
-
|
|
286
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
288
287
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
289
288
|
clientStack: cs,
|
|
290
289
|
isDiscoveredEndpointRequired: true,
|
|
@@ -298,12 +297,12 @@ class PrepareQueryCommand extends smithyClient.Command
|
|
|
298
297
|
.build() {
|
|
299
298
|
}
|
|
300
299
|
|
|
301
|
-
class QueryCommand extends
|
|
300
|
+
class QueryCommand extends client.Command
|
|
302
301
|
.classBuilder()
|
|
303
302
|
.ep(commonParams)
|
|
304
303
|
.m(function (Command, cs, config, o) {
|
|
305
304
|
return [
|
|
306
|
-
|
|
305
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
307
306
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
308
307
|
clientStack: cs,
|
|
309
308
|
isDiscoveredEndpointRequired: true,
|
|
@@ -317,12 +316,12 @@ class QueryCommand extends smithyClient.Command
|
|
|
317
316
|
.build() {
|
|
318
317
|
}
|
|
319
318
|
|
|
320
|
-
class TagResourceCommand extends
|
|
319
|
+
class TagResourceCommand extends client.Command
|
|
321
320
|
.classBuilder()
|
|
322
321
|
.ep(commonParams)
|
|
323
322
|
.m(function (Command, cs, config, o) {
|
|
324
323
|
return [
|
|
325
|
-
|
|
324
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
326
325
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
327
326
|
clientStack: cs,
|
|
328
327
|
isDiscoveredEndpointRequired: true,
|
|
@@ -336,12 +335,12 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
336
335
|
.build() {
|
|
337
336
|
}
|
|
338
337
|
|
|
339
|
-
class UntagResourceCommand extends
|
|
338
|
+
class UntagResourceCommand extends client.Command
|
|
340
339
|
.classBuilder()
|
|
341
340
|
.ep(commonParams)
|
|
342
341
|
.m(function (Command, cs, config, o) {
|
|
343
342
|
return [
|
|
344
|
-
|
|
343
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
345
344
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
346
345
|
clientStack: cs,
|
|
347
346
|
isDiscoveredEndpointRequired: true,
|
|
@@ -355,12 +354,12 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
355
354
|
.build() {
|
|
356
355
|
}
|
|
357
356
|
|
|
358
|
-
class UpdateAccountSettingsCommand extends
|
|
357
|
+
class UpdateAccountSettingsCommand extends client.Command
|
|
359
358
|
.classBuilder()
|
|
360
359
|
.ep(commonParams)
|
|
361
360
|
.m(function (Command, cs, config, o) {
|
|
362
361
|
return [
|
|
363
|
-
|
|
362
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
364
363
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
365
364
|
clientStack: cs,
|
|
366
365
|
isDiscoveredEndpointRequired: true,
|
|
@@ -374,12 +373,12 @@ class UpdateAccountSettingsCommand extends smithyClient.Command
|
|
|
374
373
|
.build() {
|
|
375
374
|
}
|
|
376
375
|
|
|
377
|
-
class UpdateScheduledQueryCommand extends
|
|
376
|
+
class UpdateScheduledQueryCommand extends client.Command
|
|
378
377
|
.classBuilder()
|
|
379
378
|
.ep(commonParams)
|
|
380
379
|
.m(function (Command, cs, config, o) {
|
|
381
380
|
return [
|
|
382
|
-
|
|
381
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
383
382
|
middlewareEndpointDiscovery.getEndpointDiscoveryPlugin(config, {
|
|
384
383
|
clientStack: cs,
|
|
385
384
|
isDiscoveredEndpointRequired: true,
|
|
@@ -423,7 +422,7 @@ const paginators = {
|
|
|
423
422
|
};
|
|
424
423
|
class TimestreamQuery extends TimestreamQueryClient {
|
|
425
424
|
}
|
|
426
|
-
|
|
425
|
+
client.createAggregatedClient(commands, TimestreamQuery, { paginators });
|
|
427
426
|
|
|
428
427
|
const ScalarType = {
|
|
429
428
|
BIGINT: "BIGINT",
|
|
@@ -491,8 +490,8 @@ const QueryInsightsMode = {
|
|
|
491
490
|
ENABLED_WITH_RATE_CONTROL: "ENABLED_WITH_RATE_CONTROL",
|
|
492
491
|
};
|
|
493
492
|
|
|
494
|
-
exports.$Command =
|
|
495
|
-
exports.__Client =
|
|
493
|
+
exports.$Command = client.Command;
|
|
494
|
+
exports.__Client = client.Client;
|
|
496
495
|
exports.TimestreamQueryServiceException = TimestreamQueryServiceException.TimestreamQueryServiceException;
|
|
497
496
|
exports.CancelQueryCommand = CancelQueryCommand;
|
|
498
497
|
exports.ComputeMode = ComputeMode;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TimestreamQueryServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class TimestreamQueryServiceException extends
|
|
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 {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, TimestreamQueryServiceException.prototype);
|
|
@@ -5,35 +5,33 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
8
|
-
const
|
|
8
|
+
const client_1 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const serde_1 = require("@smithy/core/serde");
|
|
9
12
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
14
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
15
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
14
|
const getRuntimeConfig = (config) => {
|
|
17
|
-
const defaultsMode = (0,
|
|
18
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
15
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
19
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
20
18
|
return {
|
|
21
19
|
...clientSharedValues,
|
|
22
20
|
...config,
|
|
23
21
|
runtime: "browser",
|
|
24
22
|
defaultsMode,
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
23
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
26
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
25
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
26
|
endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (() => Promise.resolve(undefined)),
|
|
29
|
-
maxAttempts: config?.maxAttempts ??
|
|
30
|
-
region: config?.region ?? (0,
|
|
27
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
28
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
31
29
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
32
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
30
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
33
31
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
34
32
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
35
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
36
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
33
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
34
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
35
|
};
|
|
38
36
|
};
|
|
39
37
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,20 +8,16 @@ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
9
|
const middleware_endpoint_discovery_1 = require("@aws-sdk/middleware-endpoint-discovery");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
11
|
+
const client_2 = require("@smithy/core/client");
|
|
12
|
+
const config_1 = require("@smithy/core/config");
|
|
13
|
+
const retry_1 = require("@smithy/core/retry");
|
|
14
|
+
const serde_1 = require("@smithy/core/serde");
|
|
15
15
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
16
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
17
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
20
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
21
17
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
(0,
|
|
23
|
-
const defaultsMode = (0,
|
|
24
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
18
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
19
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
25
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
22
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
27
23
|
const loaderConfig = {
|
|
@@ -33,24 +29,24 @@ const getRuntimeConfig = (config) => {
|
|
|
33
29
|
...config,
|
|
34
30
|
runtime: "node",
|
|
35
31
|
defaultsMode,
|
|
36
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
37
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
38
34
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
39
35
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
40
|
-
endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (0,
|
|
41
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
42
|
-
region: config?.region ?? (0,
|
|
36
|
+
endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (0, config_1.loadConfig)(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
43
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
44
40
|
retryMode: config?.retryMode ??
|
|
45
|
-
(0,
|
|
46
|
-
...
|
|
47
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
41
|
+
(0, config_1.loadConfig)({
|
|
42
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
48
44
|
}, config),
|
|
49
|
-
sha256: config?.sha256 ??
|
|
45
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
50
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
51
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
52
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
53
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
54
50
|
};
|
|
55
51
|
};
|
|
56
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
12
|
const getRuntimeConfig = (config) => {
|
|
14
13
|
return {
|
|
15
14
|
apiVersion: "2018-11-01",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
18
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
19
|
extensions: config?.extensions ?? [],
|
|
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
29
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
31
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
31
|
defaultNamespace: "com.amazonaws.timestreamquery",
|
|
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
serviceTarget: "Timestream_20181101",
|
|
36
35
|
},
|
|
37
36
|
serviceId: config?.serviceId ?? "Timestream Query",
|
|
38
|
-
urlParser: config?.urlParser ??
|
|
39
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
40
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
37
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
38
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
39
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { CancelQueryCommand, } from "./commands/CancelQueryCommand";
|
|
3
3
|
import { CreateScheduledQueryCommand, } from "./commands/CreateScheduledQueryCommand";
|
|
4
4
|
import { DeleteScheduledQueryCommand, } from "./commands/DeleteScheduledQueryCommand";
|
|
@@ -3,13 +3,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
3
3
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
4
4
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
7
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
8
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
9
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
10
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
11
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
12
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
10
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
11
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
12
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
13
13
|
import { defaultTimestreamQueryHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
14
14
|
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
15
15
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultTimestreamQueryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CancelQuery$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DeleteScheduledQuery$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DescribeAccountSettings$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeEndpoints$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|