@aws-sdk/client-timestream-query 3.54.1 → 3.58.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/CHANGELOG.md +27 -0
- package/dist-cjs/TimestreamQueryClient.js +14 -14
- package/dist-cjs/commands/CancelQueryCommand.js +4 -4
- package/dist-cjs/commands/CreateScheduledQueryCommand.js +4 -4
- package/dist-cjs/commands/DeleteScheduledQueryCommand.js +4 -4
- package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DescribeScheduledQueryCommand.js +4 -4
- package/dist-cjs/commands/ExecuteScheduledQueryCommand.js +4 -4
- package/dist-cjs/commands/ListScheduledQueriesCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/PrepareQueryCommand.js +4 -4
- package/dist-cjs/commands/QueryCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateScheduledQueryCommand.js +4 -4
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +107 -107
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/TimestreamQuery.js +13 -13
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/ListScheduledQueriesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-es/pagination/QueryPaginator.js +4 -4
- package/dist-types/models/models_0.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,10 +29,10 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (() => Promise.resolve(undefined)),
|
|
34
34
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
35
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
35
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
36
36
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
37
37
|
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
38
38
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
@@ -20,9 +20,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
20
20
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
23
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
24
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
25
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
25
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
26
26
|
return {
|
|
27
27
|
...clientSharedValues,
|
|
28
28
|
...config,
|
|
@@ -31,20 +31,20 @@ const getRuntimeConfig = (config) => {
|
|
|
31
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
32
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
33
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
34
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
35
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
-
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
-
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
-
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
36
|
+
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS),
|
|
37
|
+
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
39
|
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)({
|
|
41
41
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
42
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
43
|
}),
|
|
44
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
45
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
46
|
-
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
+
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
48
48
|
utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
|
|
49
49
|
utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
|
|
50
50
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -25,7 +25,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
25
25
|
}
|
|
26
26
|
else if (typeof cb === "function") {
|
|
27
27
|
if (typeof optionsOrCb !== "object")
|
|
28
|
-
throw new Error("Expect http options but get "
|
|
28
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
29
29
|
this.send(command, optionsOrCb || {}, cb);
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
@@ -39,7 +39,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
39
39
|
}
|
|
40
40
|
else if (typeof cb === "function") {
|
|
41
41
|
if (typeof optionsOrCb !== "object")
|
|
42
|
-
throw new Error("Expect http options but get "
|
|
42
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
43
43
|
this.send(command, optionsOrCb || {}, cb);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
@@ -53,7 +53,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
53
53
|
}
|
|
54
54
|
else if (typeof cb === "function") {
|
|
55
55
|
if (typeof optionsOrCb !== "object")
|
|
56
|
-
throw new Error("Expect http options but get "
|
|
56
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
57
57
|
this.send(command, optionsOrCb || {}, cb);
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
@@ -67,7 +67,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
67
67
|
}
|
|
68
68
|
else if (typeof cb === "function") {
|
|
69
69
|
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error("Expect http options but get "
|
|
70
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
71
71
|
this.send(command, optionsOrCb || {}, cb);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
@@ -81,7 +81,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
81
81
|
}
|
|
82
82
|
else if (typeof cb === "function") {
|
|
83
83
|
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error("Expect http options but get "
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
85
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
@@ -95,7 +95,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
95
95
|
}
|
|
96
96
|
else if (typeof cb === "function") {
|
|
97
97
|
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error("Expect http options but get "
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
99
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
@@ -109,7 +109,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
109
109
|
}
|
|
110
110
|
else if (typeof cb === "function") {
|
|
111
111
|
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error("Expect http options but get "
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
113
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
@@ -123,7 +123,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
123
123
|
}
|
|
124
124
|
else if (typeof cb === "function") {
|
|
125
125
|
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error("Expect http options but get "
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
127
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -137,7 +137,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
else if (typeof cb === "function") {
|
|
139
139
|
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error("Expect http options but get "
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
141
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
@@ -151,7 +151,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
151
151
|
}
|
|
152
152
|
else if (typeof cb === "function") {
|
|
153
153
|
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error("Expect http options but get "
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
155
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
@@ -165,7 +165,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
165
165
|
}
|
|
166
166
|
else if (typeof cb === "function") {
|
|
167
167
|
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error("Expect http options but get "
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
169
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
@@ -179,7 +179,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
179
179
|
}
|
|
180
180
|
else if (typeof cb === "function") {
|
|
181
181
|
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error("Expect http options but get "
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
183
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
@@ -193,7 +193,7 @@ var TimestreamQuery = (function (_super) {
|
|
|
193
193
|
}
|
|
194
194
|
else if (typeof cb === "function") {
|
|
195
195
|
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error("Expect http options but get "
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
197
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
@@ -151,6 +151,7 @@ export var ScalarMeasureValueType;
|
|
|
151
151
|
ScalarMeasureValueType["BIGINT"] = "BIGINT";
|
|
152
152
|
ScalarMeasureValueType["BOOLEAN"] = "BOOLEAN";
|
|
153
153
|
ScalarMeasureValueType["DOUBLE"] = "DOUBLE";
|
|
154
|
+
ScalarMeasureValueType["TIMESTAMP"] = "TIMESTAMP";
|
|
154
155
|
ScalarMeasureValueType["VARCHAR"] = "VARCHAR";
|
|
155
156
|
})(ScalarMeasureValueType || (ScalarMeasureValueType = {}));
|
|
156
157
|
export var MultiMeasureAttributeMapping;
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListScheduledQueriesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListScheduledQueriesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listScheduledQueries.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listScheduledQueries.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListScheduledQueries(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof TimestreamQuery)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof TimestreamQueryClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTagsForResource(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof TimestreamQuery)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof TimestreamQueryClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new QueryCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new QueryCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.query.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.query.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateQuery(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxRows"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof TimestreamQuery)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof TimestreamQueryClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -21,12 +21,12 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
28
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
29
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
30
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
31
31
|
tls?: boolean | undefined;
|
|
32
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,12 +19,12 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
26
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
27
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
28
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
29
|
tls?: boolean | undefined;
|
|
30
30
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-timestream-query",
|
|
3
3
|
"description": "AWS SDK for JavaScript Timestream Query Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.58.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,42 +18,42 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-node": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.58.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
40
|
+
"@aws-sdk/types": "3.55.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
43
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
52
|
+
"tslib": "^2.3.1",
|
|
53
53
|
"uuid": "^8.3.2"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/node": "^12.7.5",
|
|
59
59
|
"@types/uuid": "^8.3.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"downlevel-dts": "0.7.0",
|
|
62
62
|
"rimraf": "3.0.2",
|
|
63
63
|
"typedoc": "0.19.2",
|
|
64
|
-
"typescript": "~4.
|
|
64
|
+
"typescript": "~4.6.2"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=12.0.0"
|