@aws-sdk/client-finspace-data 3.43.0 → 3.47.1
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 +47 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +6 -44
- package/dist-cjs/protocols/Aws_restJson1.js +39 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +5 -28
- package/dist-es/protocols/Aws_restJson1.js +37 -2
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/FinspaceDataClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +22 -45
- 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/FinspaceDataClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +16 -31
- 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 +39 -46
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
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.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-finspace-data
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **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))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **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))
|
|
36
|
+
* 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))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
54
|
|
|
8
55
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListDataViewsRequest = exports.ListDatasetsResponse = exports.Dataset = exports.ListDatasetsRequest = exports.ListChangesetsResponse = exports.ChangesetSummary = exports.ListChangesetsRequest = exports.GetWorkingLocationResponse = exports.GetWorkingLocationRequest = exports.LocationType = exports.GetProgrammaticAccessCredentialsResponse = exports.Credentials = exports.GetProgrammaticAccessCredentialsRequest = exports.GetDataViewResponse = exports.DataViewStatus = exports.DataViewErrorInfo = exports.GetDataViewRequest = exports.GetDatasetResponse = exports.DatasetStatus = exports.GetDatasetRequest = exports.GetChangesetResponse = exports.IngestionStatus = exports.ChangesetErrorInfo = exports.ErrorCategory = exports.GetChangesetRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.CreateDataViewResponse = exports.CreateDataViewRequest = exports.DataViewDestinationTypeParams = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.SchemaUnion = exports.SchemaDefinition = exports.ColumnDefinition = exports.ColumnDataType = exports.PermissionGroupParams = exports.ResourcePermission = exports.DatasetOwnerInfo = exports.DatasetKind = exports.
|
|
4
|
-
exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UpdateChangesetResponse = exports.UpdateChangesetRequest = exports.ListDataViewsResponse = exports.DataViewSummary = void 0;
|
|
5
|
-
var AccessDeniedException;
|
|
6
|
-
(function (AccessDeniedException) {
|
|
7
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
});
|
|
10
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
11
|
-
var ConflictException;
|
|
12
|
-
(function (ConflictException) {
|
|
13
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
14
|
-
...obj,
|
|
15
|
-
});
|
|
16
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
3
|
+
exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UpdateChangesetResponse = exports.UpdateChangesetRequest = exports.ListDataViewsResponse = exports.DataViewSummary = exports.ListDataViewsRequest = exports.ListDatasetsResponse = exports.Dataset = exports.ListDatasetsRequest = exports.ListChangesetsResponse = exports.ChangesetSummary = exports.ListChangesetsRequest = exports.GetWorkingLocationResponse = exports.GetWorkingLocationRequest = exports.LocationType = exports.GetProgrammaticAccessCredentialsResponse = exports.Credentials = exports.GetProgrammaticAccessCredentialsRequest = exports.GetDataViewResponse = exports.DataViewStatus = exports.DataViewErrorInfo = exports.GetDataViewRequest = exports.GetDatasetResponse = exports.DatasetStatus = exports.GetDatasetRequest = exports.GetChangesetResponse = exports.IngestionStatus = exports.ChangesetErrorInfo = exports.ErrorCategory = exports.GetChangesetRequest = exports.DeleteDatasetResponse = exports.DeleteDatasetRequest = exports.CreateDataViewResponse = exports.CreateDataViewRequest = exports.DataViewDestinationTypeParams = exports.ExportFileFormat = exports.CreateDatasetResponse = exports.CreateDatasetRequest = exports.SchemaUnion = exports.SchemaDefinition = exports.ColumnDefinition = exports.ColumnDataType = exports.PermissionGroupParams = exports.ResourcePermission = exports.DatasetOwnerInfo = exports.DatasetKind = exports.CreateChangesetResponse = exports.CreateChangesetRequest = exports.ChangeType = void 0;
|
|
17
4
|
var ChangeType;
|
|
18
5
|
(function (ChangeType) {
|
|
19
6
|
ChangeType["APPEND"] = "APPEND";
|
|
@@ -32,36 +19,6 @@ var CreateChangesetResponse;
|
|
|
32
19
|
...obj,
|
|
33
20
|
});
|
|
34
21
|
})(CreateChangesetResponse = exports.CreateChangesetResponse || (exports.CreateChangesetResponse = {}));
|
|
35
|
-
var InternalServerException;
|
|
36
|
-
(function (InternalServerException) {
|
|
37
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
38
|
-
...obj,
|
|
39
|
-
});
|
|
40
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
41
|
-
var LimitExceededException;
|
|
42
|
-
(function (LimitExceededException) {
|
|
43
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
});
|
|
46
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
47
|
-
var ResourceNotFoundException;
|
|
48
|
-
(function (ResourceNotFoundException) {
|
|
49
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
50
|
-
...obj,
|
|
51
|
-
});
|
|
52
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
53
|
-
var ThrottlingException;
|
|
54
|
-
(function (ThrottlingException) {
|
|
55
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
56
|
-
...obj,
|
|
57
|
-
});
|
|
58
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
59
|
-
var ValidationException;
|
|
60
|
-
(function (ValidationException) {
|
|
61
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
62
|
-
...obj,
|
|
63
|
-
});
|
|
64
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
65
22
|
var DatasetKind;
|
|
66
23
|
(function (DatasetKind) {
|
|
67
24
|
DatasetKind["NON_TABULAR"] = "NON_TABULAR";
|
|
@@ -130,6 +87,11 @@ var CreateDatasetResponse;
|
|
|
130
87
|
...obj,
|
|
131
88
|
});
|
|
132
89
|
})(CreateDatasetResponse = exports.CreateDatasetResponse || (exports.CreateDatasetResponse = {}));
|
|
90
|
+
var ExportFileFormat;
|
|
91
|
+
(function (ExportFileFormat) {
|
|
92
|
+
ExportFileFormat["DELIMITED_TEXT"] = "DELIMITED_TEXT";
|
|
93
|
+
ExportFileFormat["PARQUET"] = "PARQUET";
|
|
94
|
+
})(ExportFileFormat = exports.ExportFileFormat || (exports.ExportFileFormat = {}));
|
|
133
95
|
var DataViewDestinationTypeParams;
|
|
134
96
|
(function (DataViewDestinationTypeParams) {
|
|
135
97
|
DataViewDestinationTypeParams.filterSensitiveLog = (obj) => ({
|
|
@@ -855,6 +855,7 @@ const deserializeAws_restJson1GetChangesetCommand = async (output, context) => {
|
|
|
855
855
|
}
|
|
856
856
|
const contents = {
|
|
857
857
|
$metadata: deserializeMetadata(output),
|
|
858
|
+
activeFromTimestamp: undefined,
|
|
858
859
|
activeUntilTimestamp: undefined,
|
|
859
860
|
changeType: undefined,
|
|
860
861
|
changesetArn: undefined,
|
|
@@ -869,6 +870,9 @@ const deserializeAws_restJson1GetChangesetCommand = async (output, context) => {
|
|
|
869
870
|
updatesChangesetId: undefined,
|
|
870
871
|
};
|
|
871
872
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
873
|
+
if (data.activeFromTimestamp !== undefined && data.activeFromTimestamp !== null) {
|
|
874
|
+
contents.activeFromTimestamp = smithy_client_1.expectLong(data.activeFromTimestamp);
|
|
875
|
+
}
|
|
872
876
|
if (data.activeUntilTimestamp !== undefined && data.activeUntilTimestamp !== null) {
|
|
873
877
|
contents.activeUntilTimestamp = smithy_client_1.expectLong(data.activeUntilTimestamp);
|
|
874
878
|
}
|
|
@@ -1951,6 +1955,14 @@ const serializeAws_restJson1DataViewDestinationTypeParams = (input, context) =>
|
|
|
1951
1955
|
return {
|
|
1952
1956
|
...(input.destinationType !== undefined &&
|
|
1953
1957
|
input.destinationType !== null && { destinationType: input.destinationType }),
|
|
1958
|
+
...(input.s3DestinationExportFileFormat !== undefined &&
|
|
1959
|
+
input.s3DestinationExportFileFormat !== null && {
|
|
1960
|
+
s3DestinationExportFileFormat: input.s3DestinationExportFileFormat,
|
|
1961
|
+
}),
|
|
1962
|
+
...(input.s3DestinationExportFileFormatOptions !== undefined &&
|
|
1963
|
+
input.s3DestinationExportFileFormatOptions !== null && {
|
|
1964
|
+
s3DestinationExportFileFormatOptions: serializeAws_restJson1S3DestinationFormatOptions(input.s3DestinationExportFileFormatOptions, context),
|
|
1965
|
+
}),
|
|
1954
1966
|
};
|
|
1955
1967
|
};
|
|
1956
1968
|
const serializeAws_restJson1FormatParams = (input, context) => {
|
|
@@ -1999,6 +2011,17 @@ const serializeAws_restJson1ResourcePermissionsList = (input, context) => {
|
|
|
1999
2011
|
return serializeAws_restJson1ResourcePermission(entry, context);
|
|
2000
2012
|
});
|
|
2001
2013
|
};
|
|
2014
|
+
const serializeAws_restJson1S3DestinationFormatOptions = (input, context) => {
|
|
2015
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2016
|
+
if (value === null) {
|
|
2017
|
+
return acc;
|
|
2018
|
+
}
|
|
2019
|
+
return {
|
|
2020
|
+
...acc,
|
|
2021
|
+
[key]: value,
|
|
2022
|
+
};
|
|
2023
|
+
}, {});
|
|
2024
|
+
};
|
|
2002
2025
|
const serializeAws_restJson1SchemaDefinition = (input, context) => {
|
|
2003
2026
|
return {
|
|
2004
2027
|
...(input.columns !== undefined &&
|
|
@@ -2056,6 +2079,7 @@ const deserializeAws_restJson1ChangesetList = (output, context) => {
|
|
|
2056
2079
|
};
|
|
2057
2080
|
const deserializeAws_restJson1ChangesetSummary = (output, context) => {
|
|
2058
2081
|
return {
|
|
2082
|
+
activeFromTimestamp: smithy_client_1.expectLong(output.activeFromTimestamp),
|
|
2059
2083
|
activeUntilTimestamp: smithy_client_1.expectLong(output.activeUntilTimestamp),
|
|
2060
2084
|
changeType: smithy_client_1.expectString(output.changeType),
|
|
2061
2085
|
changesetArn: smithy_client_1.expectString(output.changesetArn),
|
|
@@ -2148,6 +2172,10 @@ const deserializeAws_restJson1DatasetOwnerInfo = (output, context) => {
|
|
|
2148
2172
|
const deserializeAws_restJson1DataViewDestinationTypeParams = (output, context) => {
|
|
2149
2173
|
return {
|
|
2150
2174
|
destinationType: smithy_client_1.expectString(output.destinationType),
|
|
2175
|
+
s3DestinationExportFileFormat: smithy_client_1.expectString(output.s3DestinationExportFileFormat),
|
|
2176
|
+
s3DestinationExportFileFormatOptions: output.s3DestinationExportFileFormatOptions !== undefined && output.s3DestinationExportFileFormatOptions !== null
|
|
2177
|
+
? deserializeAws_restJson1S3DestinationFormatOptions(output.s3DestinationExportFileFormatOptions, context)
|
|
2178
|
+
: undefined,
|
|
2151
2179
|
};
|
|
2152
2180
|
};
|
|
2153
2181
|
const deserializeAws_restJson1DataViewErrorInfo = (output, context) => {
|
|
@@ -2211,6 +2239,17 @@ const deserializeAws_restJson1PartitionColumnList = (output, context) => {
|
|
|
2211
2239
|
return smithy_client_1.expectString(entry);
|
|
2212
2240
|
});
|
|
2213
2241
|
};
|
|
2242
|
+
const deserializeAws_restJson1S3DestinationFormatOptions = (output, context) => {
|
|
2243
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2244
|
+
if (value === null) {
|
|
2245
|
+
return acc;
|
|
2246
|
+
}
|
|
2247
|
+
return {
|
|
2248
|
+
...acc,
|
|
2249
|
+
[key]: smithy_client_1.expectString(value),
|
|
2250
|
+
};
|
|
2251
|
+
}, {});
|
|
2252
|
+
};
|
|
2214
2253
|
const deserializeAws_restJson1SchemaDefinition = (output, context) => {
|
|
2215
2254
|
return {
|
|
2216
2255
|
columns: output.columns !== undefined && output.columns !== null
|
|
@@ -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;
|
|
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,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
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 }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
20
|
const getRuntimeConfig = (config) => {
|
|
20
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
25
|
return {
|
|
24
26
|
...clientSharedValues,
|
|
25
27
|
...config,
|
|
26
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
27
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
28
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
29
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
34
|
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 }),
|
|
32
35
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
36
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(
|
|
37
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
39
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
|
+
}),
|
|
36
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
44
|
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
export var AccessDeniedException;
|
|
3
|
-
(function (AccessDeniedException) {
|
|
4
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
|
-
export var ConflictException;
|
|
7
|
-
(function (ConflictException) {
|
|
8
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
-
})(ConflictException || (ConflictException = {}));
|
|
10
2
|
export var ChangeType;
|
|
11
3
|
(function (ChangeType) {
|
|
12
4
|
ChangeType["APPEND"] = "APPEND";
|
|
@@ -21,26 +13,6 @@ export var CreateChangesetResponse;
|
|
|
21
13
|
(function (CreateChangesetResponse) {
|
|
22
14
|
CreateChangesetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
15
|
})(CreateChangesetResponse || (CreateChangesetResponse = {}));
|
|
24
|
-
export var InternalServerException;
|
|
25
|
-
(function (InternalServerException) {
|
|
26
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
28
|
-
export var LimitExceededException;
|
|
29
|
-
(function (LimitExceededException) {
|
|
30
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
32
|
-
export var ResourceNotFoundException;
|
|
33
|
-
(function (ResourceNotFoundException) {
|
|
34
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
36
|
-
export var ThrottlingException;
|
|
37
|
-
(function (ThrottlingException) {
|
|
38
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
40
|
-
export var ValidationException;
|
|
41
|
-
(function (ValidationException) {
|
|
42
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
-
})(ValidationException || (ValidationException = {}));
|
|
44
16
|
export var DatasetKind;
|
|
45
17
|
(function (DatasetKind) {
|
|
46
18
|
DatasetKind["NON_TABULAR"] = "NON_TABULAR";
|
|
@@ -93,6 +65,11 @@ export var CreateDatasetResponse;
|
|
|
93
65
|
(function (CreateDatasetResponse) {
|
|
94
66
|
CreateDatasetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
67
|
})(CreateDatasetResponse || (CreateDatasetResponse = {}));
|
|
68
|
+
export var ExportFileFormat;
|
|
69
|
+
(function (ExportFileFormat) {
|
|
70
|
+
ExportFileFormat["DELIMITED_TEXT"] = "DELIMITED_TEXT";
|
|
71
|
+
ExportFileFormat["PARQUET"] = "PARQUET";
|
|
72
|
+
})(ExportFileFormat || (ExportFileFormat = {}));
|
|
96
73
|
export var DataViewDestinationTypeParams;
|
|
97
74
|
(function (DataViewDestinationTypeParams) {
|
|
98
75
|
DataViewDestinationTypeParams.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -935,6 +935,7 @@ export var deserializeAws_restJson1GetChangesetCommand = function (output, conte
|
|
|
935
935
|
}
|
|
936
936
|
contents = {
|
|
937
937
|
$metadata: deserializeMetadata(output),
|
|
938
|
+
activeFromTimestamp: undefined,
|
|
938
939
|
activeUntilTimestamp: undefined,
|
|
939
940
|
changeType: undefined,
|
|
940
941
|
changesetArn: undefined,
|
|
@@ -953,6 +954,9 @@ export var deserializeAws_restJson1GetChangesetCommand = function (output, conte
|
|
|
953
954
|
return [4, parseBody(output.body, context)];
|
|
954
955
|
case 1:
|
|
955
956
|
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
957
|
+
if (data.activeFromTimestamp !== undefined && data.activeFromTimestamp !== null) {
|
|
958
|
+
contents.activeFromTimestamp = __expectLong(data.activeFromTimestamp);
|
|
959
|
+
}
|
|
956
960
|
if (data.activeUntilTimestamp !== undefined && data.activeUntilTimestamp !== null) {
|
|
957
961
|
contents.activeUntilTimestamp = __expectLong(data.activeUntilTimestamp);
|
|
958
962
|
}
|
|
@@ -2177,8 +2181,14 @@ var serializeAws_restJson1DatasetOwnerInfo = function (input, context) {
|
|
|
2177
2181
|
return __assign(__assign(__assign({}, (input.email !== undefined && input.email !== null && { email: input.email })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.phoneNumber !== undefined && input.phoneNumber !== null && { phoneNumber: input.phoneNumber }));
|
|
2178
2182
|
};
|
|
2179
2183
|
var serializeAws_restJson1DataViewDestinationTypeParams = function (input, context) {
|
|
2180
|
-
return __assign({}, (input.destinationType !== undefined &&
|
|
2181
|
-
input.destinationType !== null && { destinationType: input.destinationType }))
|
|
2184
|
+
return __assign(__assign(__assign({}, (input.destinationType !== undefined &&
|
|
2185
|
+
input.destinationType !== null && { destinationType: input.destinationType })), (input.s3DestinationExportFileFormat !== undefined &&
|
|
2186
|
+
input.s3DestinationExportFileFormat !== null && {
|
|
2187
|
+
s3DestinationExportFileFormat: input.s3DestinationExportFileFormat,
|
|
2188
|
+
})), (input.s3DestinationExportFileFormatOptions !== undefined &&
|
|
2189
|
+
input.s3DestinationExportFileFormatOptions !== null && {
|
|
2190
|
+
s3DestinationExportFileFormatOptions: serializeAws_restJson1S3DestinationFormatOptions(input.s3DestinationExportFileFormatOptions, context),
|
|
2191
|
+
}));
|
|
2182
2192
|
};
|
|
2183
2193
|
var serializeAws_restJson1FormatParams = function (input, context) {
|
|
2184
2194
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -2220,6 +2230,16 @@ var serializeAws_restJson1ResourcePermissionsList = function (input, context) {
|
|
|
2220
2230
|
return serializeAws_restJson1ResourcePermission(entry, context);
|
|
2221
2231
|
});
|
|
2222
2232
|
};
|
|
2233
|
+
var serializeAws_restJson1S3DestinationFormatOptions = function (input, context) {
|
|
2234
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
2235
|
+
var _b;
|
|
2236
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
2237
|
+
if (value === null) {
|
|
2238
|
+
return acc;
|
|
2239
|
+
}
|
|
2240
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
2241
|
+
}, {});
|
|
2242
|
+
};
|
|
2223
2243
|
var serializeAws_restJson1SchemaDefinition = function (input, context) {
|
|
2224
2244
|
return __assign(__assign({}, (input.columns !== undefined &&
|
|
2225
2245
|
input.columns !== null && { columns: serializeAws_restJson1ColumnList(input.columns, context) })), (input.primaryKeyColumns !== undefined &&
|
|
@@ -2271,6 +2291,7 @@ var deserializeAws_restJson1ChangesetList = function (output, context) {
|
|
|
2271
2291
|
};
|
|
2272
2292
|
var deserializeAws_restJson1ChangesetSummary = function (output, context) {
|
|
2273
2293
|
return {
|
|
2294
|
+
activeFromTimestamp: __expectLong(output.activeFromTimestamp),
|
|
2274
2295
|
activeUntilTimestamp: __expectLong(output.activeUntilTimestamp),
|
|
2275
2296
|
changeType: __expectString(output.changeType),
|
|
2276
2297
|
changesetArn: __expectString(output.changesetArn),
|
|
@@ -2363,6 +2384,10 @@ var deserializeAws_restJson1DatasetOwnerInfo = function (output, context) {
|
|
|
2363
2384
|
var deserializeAws_restJson1DataViewDestinationTypeParams = function (output, context) {
|
|
2364
2385
|
return {
|
|
2365
2386
|
destinationType: __expectString(output.destinationType),
|
|
2387
|
+
s3DestinationExportFileFormat: __expectString(output.s3DestinationExportFileFormat),
|
|
2388
|
+
s3DestinationExportFileFormatOptions: output.s3DestinationExportFileFormatOptions !== undefined && output.s3DestinationExportFileFormatOptions !== null
|
|
2389
|
+
? deserializeAws_restJson1S3DestinationFormatOptions(output.s3DestinationExportFileFormatOptions, context)
|
|
2390
|
+
: undefined,
|
|
2366
2391
|
};
|
|
2367
2392
|
};
|
|
2368
2393
|
var deserializeAws_restJson1DataViewErrorInfo = function (output, context) {
|
|
@@ -2425,6 +2450,16 @@ var deserializeAws_restJson1PartitionColumnList = function (output, context) {
|
|
|
2425
2450
|
return __expectString(entry);
|
|
2426
2451
|
});
|
|
2427
2452
|
};
|
|
2453
|
+
var deserializeAws_restJson1S3DestinationFormatOptions = function (output, context) {
|
|
2454
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
2455
|
+
var _b;
|
|
2456
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
2457
|
+
if (value === null) {
|
|
2458
|
+
return acc;
|
|
2459
|
+
}
|
|
2460
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
2461
|
+
}, {});
|
|
2462
|
+
};
|
|
2428
2463
|
var deserializeAws_restJson1SchemaDefinition = function (output, context) {
|
|
2429
2464
|
return {
|
|
2430
2465
|
columns: output.columns !== undefined && output.columns !== null
|
|
@@ -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;
|
|
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 }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : 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 }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (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: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
17
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
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
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
10
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
11
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import {
|
|
15
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
export var getRuntimeConfig = function (config) {
|
|
17
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
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 }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new
|
|
22
|
+
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 }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
23
|
+
switch (_a.label) {
|
|
24
|
+
case 0: return [4, defaultConfigProvider()];
|
|
25
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
26
|
+
}
|
|
27
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
28
|
};
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
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";
|
|
9
9
|
import { CreateChangesetCommandInput, CreateChangesetCommandOutput } from "./commands/CreateChangesetCommand";
|
|
10
10
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
@@ -122,6 +122,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
122
122
|
* @internal
|
|
123
123
|
*/
|
|
124
124
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
125
|
+
/**
|
|
126
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
127
|
+
*/
|
|
128
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
125
129
|
}
|
|
126
130
|
declare type FinspaceDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
127
131
|
/**
|
|
@@ -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
|
/**
|
|
17
11
|
* <p>The request conflicts with an existing resource.</p>
|
|
18
12
|
*/
|
|
@@ -21,12 +15,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
21
15
|
$fault: "client";
|
|
22
16
|
message?: string;
|
|
23
17
|
}
|
|
24
|
-
export declare namespace ConflictException {
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
29
|
-
}
|
|
30
18
|
export declare enum ChangeType {
|
|
31
19
|
APPEND = "APPEND",
|
|
32
20
|
MODIFY = "MODIFY",
|
|
@@ -149,12 +137,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
149
137
|
$fault: "server";
|
|
150
138
|
message?: string;
|
|
151
139
|
}
|
|
152
|
-
export declare namespace InternalServerException {
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
157
|
-
}
|
|
158
140
|
/**
|
|
159
141
|
* <p>A limit has exceeded.</p>
|
|
160
142
|
*/
|
|
@@ -163,12 +145,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
163
145
|
$fault: "client";
|
|
164
146
|
message?: string;
|
|
165
147
|
}
|
|
166
|
-
export declare namespace LimitExceededException {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
171
|
-
}
|
|
172
148
|
/**
|
|
173
149
|
* <p>One or more resources can't be found.</p>
|
|
174
150
|
*/
|
|
@@ -177,12 +153,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
177
153
|
$fault: "client";
|
|
178
154
|
message?: string;
|
|
179
155
|
}
|
|
180
|
-
export declare namespace ResourceNotFoundException {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
185
|
-
}
|
|
186
156
|
/**
|
|
187
157
|
* <p>The request was denied due to request throttling.</p>
|
|
188
158
|
*/
|
|
@@ -190,12 +160,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
190
160
|
name: "ThrottlingException";
|
|
191
161
|
$fault: "client";
|
|
192
162
|
}
|
|
193
|
-
export declare namespace ThrottlingException {
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
198
|
-
}
|
|
199
163
|
/**
|
|
200
164
|
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
201
165
|
*/
|
|
@@ -204,12 +168,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
204
168
|
$fault: "client";
|
|
205
169
|
message?: string;
|
|
206
170
|
}
|
|
207
|
-
export declare namespace ValidationException {
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
212
|
-
}
|
|
213
171
|
export declare enum DatasetKind {
|
|
214
172
|
NON_TABULAR = "NON_TABULAR",
|
|
215
173
|
TABULAR = "TABULAR"
|
|
@@ -399,7 +357,7 @@ export interface CreateDatasetRequest {
|
|
|
399
357
|
/**
|
|
400
358
|
* <p>Description of a Dataset.</p>
|
|
401
359
|
*/
|
|
402
|
-
datasetDescription
|
|
360
|
+
datasetDescription?: string;
|
|
403
361
|
/**
|
|
404
362
|
* <p>Contact information for a Dataset owner.</p>
|
|
405
363
|
*/
|
|
@@ -411,7 +369,7 @@ export interface CreateDatasetRequest {
|
|
|
411
369
|
/**
|
|
412
370
|
* <p>The unique resource identifier for a Dataset.</p>
|
|
413
371
|
*/
|
|
414
|
-
alias
|
|
372
|
+
alias?: string;
|
|
415
373
|
/**
|
|
416
374
|
* <p>Definition for a schema on a tabular Dataset.</p>
|
|
417
375
|
*/
|
|
@@ -438,6 +396,10 @@ export declare namespace CreateDatasetResponse {
|
|
|
438
396
|
*/
|
|
439
397
|
const filterSensitiveLog: (obj: CreateDatasetResponse) => any;
|
|
440
398
|
}
|
|
399
|
+
export declare enum ExportFileFormat {
|
|
400
|
+
DELIMITED_TEXT = "DELIMITED_TEXT",
|
|
401
|
+
PARQUET = "PARQUET"
|
|
402
|
+
}
|
|
441
403
|
/**
|
|
442
404
|
* <p>Structure for the Dataview destination type parameters.</p>
|
|
443
405
|
*/
|
|
@@ -452,6 +414,13 @@ export interface DataViewDestinationTypeParams {
|
|
|
452
414
|
* </ul>
|
|
453
415
|
*/
|
|
454
416
|
destinationType: string | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* Data View Export File Format
|
|
419
|
+
*/
|
|
420
|
+
s3DestinationExportFileFormat?: ExportFileFormat | string;
|
|
421
|
+
s3DestinationExportFileFormatOptions?: {
|
|
422
|
+
[key: string]: string;
|
|
423
|
+
};
|
|
455
424
|
}
|
|
456
425
|
export declare namespace DataViewDestinationTypeParams {
|
|
457
426
|
/**
|
|
@@ -707,6 +676,10 @@ export interface GetChangesetResponse {
|
|
|
707
676
|
* <p>Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.</p>
|
|
708
677
|
*/
|
|
709
678
|
activeUntilTimestamp?: number;
|
|
679
|
+
/**
|
|
680
|
+
* Milliseconds since UTC epoch
|
|
681
|
+
*/
|
|
682
|
+
activeFromTimestamp?: number;
|
|
710
683
|
/**
|
|
711
684
|
* <p>The unique identifier of the Changeset that is being updated.</p>
|
|
712
685
|
*/
|
|
@@ -1221,6 +1194,10 @@ export interface ChangesetSummary {
|
|
|
1221
1194
|
* <p>Time until which the Changeset is active. The value is determined as Epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.</p>
|
|
1222
1195
|
*/
|
|
1223
1196
|
activeUntilTimestamp?: number;
|
|
1197
|
+
/**
|
|
1198
|
+
* Milliseconds since UTC epoch
|
|
1199
|
+
*/
|
|
1200
|
+
activeFromTimestamp?: number;
|
|
1224
1201
|
/**
|
|
1225
1202
|
* <p>The unique identifier of the Changeset that is updated.</p>
|
|
1226
1203
|
*/
|
|
@@ -1577,7 +1554,7 @@ export interface UpdateDatasetRequest {
|
|
|
1577
1554
|
/**
|
|
1578
1555
|
* <p>The unique resource identifier for a Dataset.</p>
|
|
1579
1556
|
*/
|
|
1580
|
-
alias
|
|
1557
|
+
alias?: string;
|
|
1581
1558
|
/**
|
|
1582
1559
|
* <p>Definition for a schema on a tabular Dataset.</p>
|
|
1583
1560
|
*/
|
|
@@ -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 { FinspaceDataClientConfig } from "./FinspaceDataClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
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;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { FinspaceDataClientConfig } from "./FinspaceDataClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
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
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
|
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
|
+
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>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
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";
|
|
9
9
|
import { CreateChangesetCommandInput, CreateChangesetCommandOutput } from "./commands/CreateChangesetCommand";
|
|
10
10
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
@@ -65,6 +65,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
65
65
|
regionInfoProvider?: RegionInfoProvider;
|
|
66
66
|
|
|
67
67
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
68
|
+
|
|
69
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
68
70
|
}
|
|
69
71
|
declare type FinspaceDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
70
72
|
|
|
@@ -5,20 +5,12 @@ 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
|
|
|
13
9
|
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
14
10
|
name: "ConflictException";
|
|
15
11
|
$fault: "client";
|
|
16
12
|
message?: string;
|
|
17
13
|
}
|
|
18
|
-
export declare namespace ConflictException {
|
|
19
|
-
|
|
20
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
21
|
-
}
|
|
22
14
|
export declare enum ChangeType {
|
|
23
15
|
APPEND = "APPEND",
|
|
24
16
|
MODIFY = "MODIFY",
|
|
@@ -62,49 +54,29 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
62
54
|
$fault: "server";
|
|
63
55
|
message?: string;
|
|
64
56
|
}
|
|
65
|
-
export declare namespace InternalServerException {
|
|
66
|
-
|
|
67
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
68
|
-
}
|
|
69
57
|
|
|
70
58
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
71
59
|
name: "LimitExceededException";
|
|
72
60
|
$fault: "client";
|
|
73
61
|
message?: string;
|
|
74
62
|
}
|
|
75
|
-
export declare namespace LimitExceededException {
|
|
76
|
-
|
|
77
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
78
|
-
}
|
|
79
63
|
|
|
80
64
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
81
65
|
name: "ResourceNotFoundException";
|
|
82
66
|
$fault: "client";
|
|
83
67
|
message?: string;
|
|
84
68
|
}
|
|
85
|
-
export declare namespace ResourceNotFoundException {
|
|
86
|
-
|
|
87
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
88
|
-
}
|
|
89
69
|
|
|
90
70
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
91
71
|
name: "ThrottlingException";
|
|
92
72
|
$fault: "client";
|
|
93
73
|
}
|
|
94
|
-
export declare namespace ThrottlingException {
|
|
95
|
-
|
|
96
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
97
|
-
}
|
|
98
74
|
|
|
99
75
|
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
100
76
|
name: "ValidationException";
|
|
101
77
|
$fault: "client";
|
|
102
78
|
message?: string;
|
|
103
79
|
}
|
|
104
|
-
export declare namespace ValidationException {
|
|
105
|
-
|
|
106
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
107
|
-
}
|
|
108
80
|
export declare enum DatasetKind {
|
|
109
81
|
NON_TABULAR = "NON_TABULAR",
|
|
110
82
|
TABULAR = "TABULAR"
|
|
@@ -198,13 +170,13 @@ export interface CreateDatasetRequest {
|
|
|
198
170
|
|
|
199
171
|
kind: DatasetKind | string | undefined;
|
|
200
172
|
|
|
201
|
-
datasetDescription
|
|
173
|
+
datasetDescription?: string;
|
|
202
174
|
|
|
203
175
|
ownerInfo?: DatasetOwnerInfo;
|
|
204
176
|
|
|
205
177
|
permissionGroupParams: PermissionGroupParams | undefined;
|
|
206
178
|
|
|
207
|
-
alias
|
|
179
|
+
alias?: string;
|
|
208
180
|
|
|
209
181
|
schemaDefinition?: SchemaUnion;
|
|
210
182
|
}
|
|
@@ -221,10 +193,19 @@ export declare namespace CreateDatasetResponse {
|
|
|
221
193
|
|
|
222
194
|
const filterSensitiveLog: (obj: CreateDatasetResponse) => any;
|
|
223
195
|
}
|
|
196
|
+
export declare enum ExportFileFormat {
|
|
197
|
+
DELIMITED_TEXT = "DELIMITED_TEXT",
|
|
198
|
+
PARQUET = "PARQUET"
|
|
199
|
+
}
|
|
224
200
|
|
|
225
201
|
export interface DataViewDestinationTypeParams {
|
|
226
202
|
|
|
227
203
|
destinationType: string | undefined;
|
|
204
|
+
|
|
205
|
+
s3DestinationExportFileFormat?: ExportFileFormat | string;
|
|
206
|
+
s3DestinationExportFileFormatOptions?: {
|
|
207
|
+
[key: string]: string;
|
|
208
|
+
};
|
|
228
209
|
}
|
|
229
210
|
export declare namespace DataViewDestinationTypeParams {
|
|
230
211
|
|
|
@@ -348,6 +329,8 @@ export interface GetChangesetResponse {
|
|
|
348
329
|
|
|
349
330
|
activeUntilTimestamp?: number;
|
|
350
331
|
|
|
332
|
+
activeFromTimestamp?: number;
|
|
333
|
+
|
|
351
334
|
updatesChangesetId?: string;
|
|
352
335
|
|
|
353
336
|
updatedByChangesetId?: string;
|
|
@@ -560,6 +543,8 @@ export interface ChangesetSummary {
|
|
|
560
543
|
|
|
561
544
|
activeUntilTimestamp?: number;
|
|
562
545
|
|
|
546
|
+
activeFromTimestamp?: number;
|
|
547
|
+
|
|
563
548
|
updatesChangesetId?: string;
|
|
564
549
|
|
|
565
550
|
updatedByChangesetId?: string;
|
|
@@ -727,7 +712,7 @@ export interface UpdateDatasetRequest {
|
|
|
727
712
|
|
|
728
713
|
datasetDescription?: string;
|
|
729
714
|
|
|
730
|
-
alias
|
|
715
|
+
alias?: string;
|
|
731
716
|
|
|
732
717
|
schemaDefinition?: SchemaUnion;
|
|
733
718
|
}
|
|
@@ -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 { FinspaceDataClientConfig } from "./FinspaceDataClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
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;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { FinspaceDataClientConfig } from "./FinspaceDataClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
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
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: FinspaceDataClientConfig) => {
|
|
|
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
|
+
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>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-finspace-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.47.1",
|
|
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,50 +18,46 @@
|
|
|
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-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.1",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.1",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.1",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.1",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.1",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.1",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.1",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.1",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.1",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.1",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.1",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.1",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.1",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.1",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.1",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.1",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.1",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.1",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.1",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.1",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.1",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.1",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.1",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.1",
|
|
52
51
|
"tslib": "^2.3.0",
|
|
53
52
|
"uuid": "^8.3.2"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
57
56
|
"@types/node": "^12.7.5",
|
|
58
|
-
"@types/uuid": "^8.3.0"
|
|
59
|
-
"downlevel-dts": "0.7.0",
|
|
60
|
-
"jest": "^26.1.0",
|
|
61
|
-
"rimraf": "^3.0.0",
|
|
62
|
-
"ts-jest": "^26.4.1",
|
|
63
|
-
"typedoc": "^0.19.2",
|
|
64
|
-
"typescript": "~4.3.5"
|
|
57
|
+
"@types/uuid": "^8.3.0"
|
|
65
58
|
},
|
|
66
59
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
60
|
+
"node": ">=12.0.0"
|
|
68
61
|
},
|
|
69
62
|
"typesVersions": {
|
|
70
63
|
"<4.0": {
|