@aws-sdk/client-timestream-query 3.45.0 → 3.47.2
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 +44 -0
- package/dist-cjs/models/models_0.js +2 -56
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/models/models_0.js +0 -36
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/TimestreamQueryClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -54
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/TimestreamQueryClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -36
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,50 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-query
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-query
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Bug Fixes
|
|
37
|
+
|
|
38
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
44
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
6
50
|
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
51
|
|
|
8
52
|
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScheduledQueriesResponse = exports.ScheduledQuery = exports.TargetDestination = exports.TimestreamDestination = exports.ListScheduledQueriesRequest = exports.ExecuteScheduledQueryRequest = exports.DescribeScheduledQueryResponse = exports.ScheduledQueryDescription = exports.ScheduledQueryState = exports.ScheduledQueryRunSummary = exports.ScheduledQueryRunStatus = exports.ExecutionStats = exports.ErrorReportLocation = exports.S3ReportLocation = exports.DescribeScheduledQueryRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.
|
|
4
|
-
exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo =
|
|
3
|
+
exports.UpdateScheduledQueryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.QueryStatus = exports.QueryRequest = exports.PrepareQueryRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScheduledQueriesResponse = exports.ScheduledQuery = exports.TargetDestination = exports.TimestreamDestination = exports.ListScheduledQueriesRequest = exports.ExecuteScheduledQueryRequest = exports.DescribeScheduledQueryResponse = exports.ScheduledQueryDescription = exports.ScheduledQueryState = exports.ScheduledQueryRunSummary = exports.ScheduledQueryRunStatus = exports.ExecutionStats = exports.ErrorReportLocation = exports.S3ReportLocation = exports.DescribeScheduledQueryRequest = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DeleteScheduledQueryRequest = exports.CreateScheduledQueryResponse = exports.CreateScheduledQueryRequest = exports.TargetConfiguration = exports.TimestreamConfiguration = exports.MultiMeasureMappings = exports.MixedMeasureMapping = exports.MultiMeasureAttributeMapping = exports.ScalarMeasureValueType = exports.MeasureValueType = exports.DimensionMapping = exports.DimensionValueType = exports.Tag = exports.ScheduleConfiguration = exports.NotificationConfiguration = exports.SnsConfiguration = exports.ErrorReportConfiguration = exports.S3Configuration = exports.S3EncryptionOption = exports.ScalarType = exports.CancelQueryResponse = exports.CancelQueryRequest = void 0;
|
|
4
|
+
exports.PrepareQueryResponse = exports.QueryResponse = exports.Row = exports.TimeSeriesDataPoint = exports.SelectColumn = exports.ParameterMapping = exports.Datum = exports.Type = exports.ColumnInfo = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
var AccessDeniedException;
|
|
7
|
-
(function (AccessDeniedException) {
|
|
8
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
9
|
-
...obj,
|
|
10
|
-
});
|
|
11
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
12
6
|
var CancelQueryRequest;
|
|
13
7
|
(function (CancelQueryRequest) {
|
|
14
8
|
CancelQueryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -21,30 +15,6 @@ var CancelQueryResponse;
|
|
|
21
15
|
...obj,
|
|
22
16
|
});
|
|
23
17
|
})(CancelQueryResponse = exports.CancelQueryResponse || (exports.CancelQueryResponse = {}));
|
|
24
|
-
var InternalServerException;
|
|
25
|
-
(function (InternalServerException) {
|
|
26
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
27
|
-
...obj,
|
|
28
|
-
});
|
|
29
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
30
|
-
var InvalidEndpointException;
|
|
31
|
-
(function (InvalidEndpointException) {
|
|
32
|
-
InvalidEndpointException.filterSensitiveLog = (obj) => ({
|
|
33
|
-
...obj,
|
|
34
|
-
});
|
|
35
|
-
})(InvalidEndpointException = exports.InvalidEndpointException || (exports.InvalidEndpointException = {}));
|
|
36
|
-
var ThrottlingException;
|
|
37
|
-
(function (ThrottlingException) {
|
|
38
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
39
|
-
...obj,
|
|
40
|
-
});
|
|
41
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
42
|
-
var ValidationException;
|
|
43
|
-
(function (ValidationException) {
|
|
44
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
45
|
-
...obj,
|
|
46
|
-
});
|
|
47
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
48
18
|
var ScalarType;
|
|
49
19
|
(function (ScalarType) {
|
|
50
20
|
ScalarType["BIGINT"] = "BIGINT";
|
|
@@ -59,12 +29,6 @@ var ScalarType;
|
|
|
59
29
|
ScalarType["UNKNOWN"] = "UNKNOWN";
|
|
60
30
|
ScalarType["VARCHAR"] = "VARCHAR";
|
|
61
31
|
})(ScalarType = exports.ScalarType || (exports.ScalarType = {}));
|
|
62
|
-
var ConflictException;
|
|
63
|
-
(function (ConflictException) {
|
|
64
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
65
|
-
...obj,
|
|
66
|
-
});
|
|
67
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
68
32
|
var S3EncryptionOption;
|
|
69
33
|
(function (S3EncryptionOption) {
|
|
70
34
|
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
@@ -175,24 +139,12 @@ var CreateScheduledQueryResponse;
|
|
|
175
139
|
...obj,
|
|
176
140
|
});
|
|
177
141
|
})(CreateScheduledQueryResponse = exports.CreateScheduledQueryResponse || (exports.CreateScheduledQueryResponse = {}));
|
|
178
|
-
var ServiceQuotaExceededException;
|
|
179
|
-
(function (ServiceQuotaExceededException) {
|
|
180
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
});
|
|
183
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
184
142
|
var DeleteScheduledQueryRequest;
|
|
185
143
|
(function (DeleteScheduledQueryRequest) {
|
|
186
144
|
DeleteScheduledQueryRequest.filterSensitiveLog = (obj) => ({
|
|
187
145
|
...obj,
|
|
188
146
|
});
|
|
189
147
|
})(DeleteScheduledQueryRequest = exports.DeleteScheduledQueryRequest || (exports.DeleteScheduledQueryRequest = {}));
|
|
190
|
-
var ResourceNotFoundException;
|
|
191
|
-
(function (ResourceNotFoundException) {
|
|
192
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
});
|
|
195
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
196
148
|
var DescribeEndpointsRequest;
|
|
197
149
|
(function (DescribeEndpointsRequest) {
|
|
198
150
|
DescribeEndpointsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -323,12 +275,6 @@ var PrepareQueryRequest;
|
|
|
323
275
|
...(obj.QueryString && { QueryString: smithy_client_1.SENSITIVE_STRING }),
|
|
324
276
|
});
|
|
325
277
|
})(PrepareQueryRequest = exports.PrepareQueryRequest || (exports.PrepareQueryRequest = {}));
|
|
326
|
-
var QueryExecutionException;
|
|
327
|
-
(function (QueryExecutionException) {
|
|
328
|
-
QueryExecutionException.filterSensitiveLog = (obj) => ({
|
|
329
|
-
...obj,
|
|
330
|
-
});
|
|
331
|
-
})(QueryExecutionException = exports.QueryExecutionException || (exports.QueryExecutionException = {}));
|
|
332
278
|
var QueryRequest;
|
|
333
279
|
(function (QueryRequest) {
|
|
334
280
|
QueryRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
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);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -28,8 +33,8 @@ const getRuntimeConfig = (config) => {
|
|
|
28
33
|
endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (() => Promise.resolve(undefined)),
|
|
29
34
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
30
35
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
31
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
|
|
32
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() =>
|
|
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
|
+
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),
|
|
33
38
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
34
39
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
35
40
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -17,14 +17,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
17
17
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
19
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
21
|
const getRuntimeConfig = (config) => {
|
|
21
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
22
|
-
|
|
23
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
25
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
26
|
return {
|
|
25
27
|
...clientSharedValues,
|
|
26
28
|
...config,
|
|
27
29
|
runtime: "node",
|
|
30
|
+
defaultsMode,
|
|
28
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -33,8 +36,11 @@ const getRuntimeConfig = (config) => {
|
|
|
33
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),
|
|
34
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),
|
|
35
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),
|
|
36
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
|
|
37
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(
|
|
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({
|
|
41
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
|
+
}),
|
|
38
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
39
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
40
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),
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
export var AccessDeniedException;
|
|
4
|
-
(function (AccessDeniedException) {
|
|
5
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
7
3
|
export var CancelQueryRequest;
|
|
8
4
|
(function (CancelQueryRequest) {
|
|
9
5
|
CancelQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -12,22 +8,6 @@ export var CancelQueryResponse;
|
|
|
12
8
|
(function (CancelQueryResponse) {
|
|
13
9
|
CancelQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
10
|
})(CancelQueryResponse || (CancelQueryResponse = {}));
|
|
15
|
-
export var InternalServerException;
|
|
16
|
-
(function (InternalServerException) {
|
|
17
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
19
|
-
export var InvalidEndpointException;
|
|
20
|
-
(function (InvalidEndpointException) {
|
|
21
|
-
InvalidEndpointException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
22
|
-
})(InvalidEndpointException || (InvalidEndpointException = {}));
|
|
23
|
-
export var ThrottlingException;
|
|
24
|
-
(function (ThrottlingException) {
|
|
25
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
26
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
27
|
-
export var ValidationException;
|
|
28
|
-
(function (ValidationException) {
|
|
29
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
-
})(ValidationException || (ValidationException = {}));
|
|
31
11
|
export var ScalarType;
|
|
32
12
|
(function (ScalarType) {
|
|
33
13
|
ScalarType["BIGINT"] = "BIGINT";
|
|
@@ -42,10 +22,6 @@ export var ScalarType;
|
|
|
42
22
|
ScalarType["UNKNOWN"] = "UNKNOWN";
|
|
43
23
|
ScalarType["VARCHAR"] = "VARCHAR";
|
|
44
24
|
})(ScalarType || (ScalarType = {}));
|
|
45
|
-
export var ConflictException;
|
|
46
|
-
(function (ConflictException) {
|
|
47
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
48
|
-
})(ConflictException || (ConflictException = {}));
|
|
49
25
|
export var S3EncryptionOption;
|
|
50
26
|
(function (S3EncryptionOption) {
|
|
51
27
|
S3EncryptionOption["SSE_KMS"] = "SSE_KMS";
|
|
@@ -126,18 +102,10 @@ export var CreateScheduledQueryResponse;
|
|
|
126
102
|
(function (CreateScheduledQueryResponse) {
|
|
127
103
|
CreateScheduledQueryResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
104
|
})(CreateScheduledQueryResponse || (CreateScheduledQueryResponse = {}));
|
|
129
|
-
export var ServiceQuotaExceededException;
|
|
130
|
-
(function (ServiceQuotaExceededException) {
|
|
131
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
133
105
|
export var DeleteScheduledQueryRequest;
|
|
134
106
|
(function (DeleteScheduledQueryRequest) {
|
|
135
107
|
DeleteScheduledQueryRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
108
|
})(DeleteScheduledQueryRequest || (DeleteScheduledQueryRequest = {}));
|
|
137
|
-
export var ResourceNotFoundException;
|
|
138
|
-
(function (ResourceNotFoundException) {
|
|
139
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
141
109
|
export var DescribeEndpointsRequest;
|
|
142
110
|
(function (DescribeEndpointsRequest) {
|
|
143
111
|
DescribeEndpointsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -226,10 +194,6 @@ export var PrepareQueryRequest;
|
|
|
226
194
|
(function (PrepareQueryRequest) {
|
|
227
195
|
PrepareQueryRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING }))); };
|
|
228
196
|
})(PrepareQueryRequest || (PrepareQueryRequest = {}));
|
|
229
|
-
export var QueryExecutionException;
|
|
230
|
-
(function (QueryExecutionException) {
|
|
231
|
-
QueryExecutionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
-
})(QueryExecutionException || (QueryExecutionException = {}));
|
|
233
197
|
export var QueryRequest;
|
|
234
198
|
(function (QueryRequest) {
|
|
235
199
|
QueryRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.QueryString && { QueryString: SENSITIVE_STRING })), (obj.ClientToken && { ClientToken: SENSITIVE_STRING }))); };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
10
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
11
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
12
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
15
|
export var getRuntimeConfig = function (config) {
|
|
14
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
15
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : (function () { return Promise.resolve(undefined); }), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
9
9
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
10
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
11
11
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
12
12
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
13
13
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
14
14
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
15
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import {
|
|
16
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
17
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
19
|
-
|
|
20
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
21
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
20
22
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
23
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), endpointDiscoveryEnabledProvider: (_f = config === null || config === void 0 ? void 0 : config.endpointDiscoveryEnabledProvider) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS), maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0: return [4, defaultConfigProvider()];
|
|
26
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
27
|
+
}
|
|
28
|
+
}); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
22
29
|
};
|
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
|
|
11
11
|
import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
|
|
@@ -128,6 +128,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
128
128
|
* @internal
|
|
129
129
|
*/
|
|
130
130
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
133
|
+
*/
|
|
134
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
131
135
|
}
|
|
132
136
|
declare type TimestreamQueryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
|
|
133
137
|
/**
|
|
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
$fault: "client";
|
|
8
8
|
Message?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
10
|
export interface CancelQueryRequest {
|
|
17
11
|
/**
|
|
18
12
|
* <p> The ID of the query that needs to be cancelled. <code>QueryID</code> is returned as
|
|
@@ -49,12 +43,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
49
43
|
$fault: "server";
|
|
50
44
|
Message?: string;
|
|
51
45
|
}
|
|
52
|
-
export declare namespace InternalServerException {
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
57
|
-
}
|
|
58
46
|
/**
|
|
59
47
|
* <p>The requested endpoint was not valid.</p>
|
|
60
48
|
*/
|
|
@@ -63,12 +51,6 @@ export interface InvalidEndpointException extends __SmithyException, $MetadataBe
|
|
|
63
51
|
$fault: "client";
|
|
64
52
|
Message?: string;
|
|
65
53
|
}
|
|
66
|
-
export declare namespace InvalidEndpointException {
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
const filterSensitiveLog: (obj: InvalidEndpointException) => any;
|
|
71
|
-
}
|
|
72
54
|
/**
|
|
73
55
|
* <p>The request was denied due to request throttling.</p>
|
|
74
56
|
*/
|
|
@@ -77,12 +59,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
77
59
|
$fault: "client";
|
|
78
60
|
Message?: string;
|
|
79
61
|
}
|
|
80
|
-
export declare namespace ThrottlingException {
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
85
|
-
}
|
|
86
62
|
/**
|
|
87
63
|
* <p> Invalid or malformed request. </p>
|
|
88
64
|
*/
|
|
@@ -91,12 +67,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
91
67
|
$fault: "client";
|
|
92
68
|
Message?: string;
|
|
93
69
|
}
|
|
94
|
-
export declare namespace ValidationException {
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
99
|
-
}
|
|
100
70
|
export declare enum ScalarType {
|
|
101
71
|
BIGINT = "BIGINT",
|
|
102
72
|
BOOLEAN = "BOOLEAN",
|
|
@@ -118,12 +88,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
118
88
|
$fault: "client";
|
|
119
89
|
Message?: string;
|
|
120
90
|
}
|
|
121
|
-
export declare namespace ConflictException {
|
|
122
|
-
/**
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
126
|
-
}
|
|
127
91
|
export declare enum S3EncryptionOption {
|
|
128
92
|
SSE_KMS = "SSE_KMS",
|
|
129
93
|
SSE_S3 = "SSE_S3"
|
|
@@ -509,12 +473,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
509
473
|
$fault: "client";
|
|
510
474
|
Message?: string;
|
|
511
475
|
}
|
|
512
|
-
export declare namespace ServiceQuotaExceededException {
|
|
513
|
-
/**
|
|
514
|
-
* @internal
|
|
515
|
-
*/
|
|
516
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
517
|
-
}
|
|
518
476
|
export interface DeleteScheduledQueryRequest {
|
|
519
477
|
/**
|
|
520
478
|
* <p>The ARN of the scheduled query. </p>
|
|
@@ -539,12 +497,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
539
497
|
*/
|
|
540
498
|
ScheduledQueryArn?: string;
|
|
541
499
|
}
|
|
542
|
-
export declare namespace ResourceNotFoundException {
|
|
543
|
-
/**
|
|
544
|
-
* @internal
|
|
545
|
-
*/
|
|
546
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
547
|
-
}
|
|
548
500
|
export interface DescribeEndpointsRequest {
|
|
549
501
|
}
|
|
550
502
|
export declare namespace DescribeEndpointsRequest {
|
|
@@ -1000,12 +952,6 @@ export interface QueryExecutionException extends __SmithyException, $MetadataBea
|
|
|
1000
952
|
$fault: "client";
|
|
1001
953
|
Message?: string;
|
|
1002
954
|
}
|
|
1003
|
-
export declare namespace QueryExecutionException {
|
|
1004
|
-
/**
|
|
1005
|
-
* @internal
|
|
1006
|
-
*/
|
|
1007
|
-
const filterSensitiveLog: (obj: QueryExecutionException) => any;
|
|
1008
|
-
}
|
|
1009
955
|
export interface QueryRequest {
|
|
1010
956
|
/**
|
|
1011
957
|
* <p> The query to be run by Timestream. </p>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TimestreamQueryClientConfig } from "./TimestreamQueryClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
13
14
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TimestreamQueryClientConfig } from "./TimestreamQueryClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
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> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
|
|
11
11
|
import { CreateScheduledQueryCommandInput, CreateScheduledQueryCommandOutput } from "./commands/CreateScheduledQueryCommand";
|
|
@@ -67,6 +67,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
67
67
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
68
68
|
|
|
69
69
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
70
|
+
|
|
71
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
70
72
|
}
|
|
71
73
|
declare type TimestreamQueryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
|
|
72
74
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
Message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export interface CancelQueryRequest {
|
|
13
9
|
|
|
14
10
|
QueryId: string | undefined;
|
|
@@ -31,40 +27,24 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
31
27
|
$fault: "server";
|
|
32
28
|
Message?: string;
|
|
33
29
|
}
|
|
34
|
-
export declare namespace InternalServerException {
|
|
35
|
-
|
|
36
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
37
|
-
}
|
|
38
30
|
|
|
39
31
|
export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
|
|
40
32
|
name: "InvalidEndpointException";
|
|
41
33
|
$fault: "client";
|
|
42
34
|
Message?: string;
|
|
43
35
|
}
|
|
44
|
-
export declare namespace InvalidEndpointException {
|
|
45
|
-
|
|
46
|
-
const filterSensitiveLog: (obj: InvalidEndpointException) => any;
|
|
47
|
-
}
|
|
48
36
|
|
|
49
37
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
50
38
|
name: "ThrottlingException";
|
|
51
39
|
$fault: "client";
|
|
52
40
|
Message?: string;
|
|
53
41
|
}
|
|
54
|
-
export declare namespace ThrottlingException {
|
|
55
|
-
|
|
56
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
57
|
-
}
|
|
58
42
|
|
|
59
43
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
60
44
|
name: "ValidationException";
|
|
61
45
|
$fault: "client";
|
|
62
46
|
Message?: string;
|
|
63
47
|
}
|
|
64
|
-
export declare namespace ValidationException {
|
|
65
|
-
|
|
66
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
67
|
-
}
|
|
68
48
|
export declare enum ScalarType {
|
|
69
49
|
BIGINT = "BIGINT",
|
|
70
50
|
BOOLEAN = "BOOLEAN",
|
|
@@ -84,10 +64,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
84
64
|
$fault: "client";
|
|
85
65
|
Message?: string;
|
|
86
66
|
}
|
|
87
|
-
export declare namespace ConflictException {
|
|
88
|
-
|
|
89
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
90
|
-
}
|
|
91
67
|
export declare enum S3EncryptionOption {
|
|
92
68
|
SSE_KMS = "SSE_KMS",
|
|
93
69
|
SSE_S3 = "SSE_S3"
|
|
@@ -290,10 +266,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
290
266
|
$fault: "client";
|
|
291
267
|
Message?: string;
|
|
292
268
|
}
|
|
293
|
-
export declare namespace ServiceQuotaExceededException {
|
|
294
|
-
|
|
295
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
296
|
-
}
|
|
297
269
|
export interface DeleteScheduledQueryRequest {
|
|
298
270
|
|
|
299
271
|
ScheduledQueryArn: string | undefined;
|
|
@@ -310,10 +282,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
310
282
|
|
|
311
283
|
ScheduledQueryArn?: string;
|
|
312
284
|
}
|
|
313
|
-
export declare namespace ResourceNotFoundException {
|
|
314
|
-
|
|
315
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
316
|
-
}
|
|
317
285
|
export interface DescribeEndpointsRequest {
|
|
318
286
|
}
|
|
319
287
|
export declare namespace DescribeEndpointsRequest {
|
|
@@ -573,10 +541,6 @@ export interface QueryExecutionException extends __SmithyException, $MetadataBea
|
|
|
573
541
|
$fault: "client";
|
|
574
542
|
Message?: string;
|
|
575
543
|
}
|
|
576
|
-
export declare namespace QueryExecutionException {
|
|
577
|
-
|
|
578
|
-
const filterSensitiveLog: (obj: QueryExecutionException) => any;
|
|
579
|
-
}
|
|
580
544
|
export interface QueryRequest {
|
|
581
545
|
|
|
582
546
|
QueryString: string | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TimestreamQueryClientConfig } from "./TimestreamQueryClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -11,7 +12,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
11
12
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TimestreamQueryClientConfig } from "./TimestreamQueryClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: TimestreamQueryClientConfig) =>
|
|
|
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> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
29
|
tls?: boolean | undefined;
|
|
29
30
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.2",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "jest --coverage --passWithNoTests"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,51 +18,47 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.2",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.2",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
40
|
+
"@aws-sdk/types": "3.47.1",
|
|
41
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
42
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
43
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
44
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
50
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
51
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
53
52
|
"tslib": "^2.3.0",
|
|
54
53
|
"uuid": "^8.3.2"
|
|
55
54
|
},
|
|
56
55
|
"devDependencies": {
|
|
57
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
58
57
|
"@types/node": "^12.7.5",
|
|
59
|
-
"@types/uuid": "^8.3.0"
|
|
60
|
-
"downlevel-dts": "0.7.0",
|
|
61
|
-
"jest": "^26.1.0",
|
|
62
|
-
"rimraf": "^3.0.0",
|
|
63
|
-
"ts-jest": "^26.4.1",
|
|
64
|
-
"typedoc": "^0.19.2",
|
|
65
|
-
"typescript": "~4.3.5"
|
|
58
|
+
"@types/uuid": "^8.3.0"
|
|
66
59
|
},
|
|
67
60
|
"engines": {
|
|
68
|
-
"node": ">=
|
|
61
|
+
"node": ">=12.0.0"
|
|
69
62
|
},
|
|
70
63
|
"typesVersions": {
|
|
71
64
|
"<4.0": {
|