@aws-sdk/client-finspace-data 3.46.0 → 3.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist-cjs/models/models_0.js +1 -44
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/FinspaceDataClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +172 -60
- 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 +1 -28
- 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 +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
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.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-finspace-data
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-finspace-data
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **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))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
45
|
|
|
8
46
|
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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.
|
|
4
|
-
exports.UpdateDatasetResponse = exports.UpdateDatasetRequest = exports.UpdateChangesetResponse = exports.UpdateChangesetRequest = exports.ListDataViewsResponse = exports.DataViewSummary = exports.ListDataViewsRequest = 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";
|
|
@@ -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)),
|
|
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
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
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
18
20
|
const getRuntimeConfig = (config) => {
|
|
19
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
23
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
20
24
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
21
25
|
return {
|
|
22
26
|
...clientSharedValues,
|
|
23
27
|
...config,
|
|
24
28
|
runtime: "node",
|
|
29
|
+
defaultsMode,
|
|
25
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
26
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
27
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
|
|
|
29
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 }),
|
|
30
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),
|
|
31
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),
|
|
32
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
|
|
33
|
-
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
|
+
}),
|
|
34
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
35
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
36
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),
|
|
@@ -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";
|
|
@@ -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,19 +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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
17
|
export var getRuntimeConfig = function (config) {
|
|
16
18
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
19
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
17
21
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
-
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 });
|
|
19
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",
|
|
@@ -37,7 +25,7 @@ export declare enum ChangeType {
|
|
|
37
25
|
*/
|
|
38
26
|
export interface CreateChangesetRequest {
|
|
39
27
|
/**
|
|
40
|
-
* <p>A token
|
|
28
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
41
29
|
*/
|
|
42
30
|
clientToken?: string;
|
|
43
31
|
/**
|
|
@@ -66,7 +54,19 @@ export interface CreateChangesetRequest {
|
|
|
66
54
|
*/
|
|
67
55
|
changeType: ChangeType | string | undefined;
|
|
68
56
|
/**
|
|
69
|
-
* <p>Options that define the location of the data being ingested.</p>
|
|
57
|
+
* <p>Options that define the location of the data being ingested (<code>s3SourcePath</code>) and the source of the changeset (<code>sourceType</code>).</p>
|
|
58
|
+
* <p>Both <code>s3SourcePath</code> and <code>sourceType</code> are required attributes.</p>
|
|
59
|
+
* <p>Here is an example of how you could specify the <code>sourceParams</code>:</p>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>
|
|
62
|
+
* "sourceParams":
|
|
63
|
+
* {
|
|
64
|
+
* "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
|
65
|
+
* "sourceType": "S3"
|
|
66
|
+
* }
|
|
67
|
+
* </code>
|
|
68
|
+
* </p>
|
|
69
|
+
* <p>The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets">Loading data from an Amazon S3 Bucket using the FinSpace API</a>section.</p>
|
|
70
70
|
*/
|
|
71
71
|
sourceParams: {
|
|
72
72
|
[key: string]: string;
|
|
@@ -96,11 +96,9 @@ export interface CreateChangesetRequest {
|
|
|
96
96
|
* </li>
|
|
97
97
|
* </ul>
|
|
98
98
|
*
|
|
99
|
+
* <p>Here is an example of how you could specify the <code>formatParams</code>:</p>
|
|
99
100
|
* <p>
|
|
100
|
-
*
|
|
101
|
-
* For example, you could specify the following for <code>formatParams</code>:
|
|
102
|
-
*
|
|
103
|
-
* <code>
|
|
101
|
+
* <code>
|
|
104
102
|
* "formatParams":
|
|
105
103
|
* {
|
|
106
104
|
* "formatType": "CSV",
|
|
@@ -108,8 +106,18 @@ export interface CreateChangesetRequest {
|
|
|
108
106
|
* "separator": ",",
|
|
109
107
|
* "compression":"None"
|
|
110
108
|
* }
|
|
111
|
-
*
|
|
109
|
+
* </code>
|
|
112
110
|
* </p>
|
|
111
|
+
* <p>Note that if you only provide <code>formatType</code> as <code>CSV</code>, the rest of the attributes will automatically default to CSV values as following:</p>
|
|
112
|
+
* <p>
|
|
113
|
+
* <code>
|
|
114
|
+
* {
|
|
115
|
+
* "withHeader": "true",
|
|
116
|
+
* "separator": ","
|
|
117
|
+
* }
|
|
118
|
+
* </code>
|
|
119
|
+
* </p>
|
|
120
|
+
* <p> For more information about supported file formats, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html">Supported Data Types and File Formats</a> in the FinSpace User Guide.</p>
|
|
113
121
|
*/
|
|
114
122
|
formatParams: {
|
|
115
123
|
[key: string]: string;
|
|
@@ -149,12 +157,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
149
157
|
$fault: "server";
|
|
150
158
|
message?: string;
|
|
151
159
|
}
|
|
152
|
-
export declare namespace InternalServerException {
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
157
|
-
}
|
|
158
160
|
/**
|
|
159
161
|
* <p>A limit has exceeded.</p>
|
|
160
162
|
*/
|
|
@@ -163,12 +165,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
163
165
|
$fault: "client";
|
|
164
166
|
message?: string;
|
|
165
167
|
}
|
|
166
|
-
export declare namespace LimitExceededException {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
171
|
-
}
|
|
172
168
|
/**
|
|
173
169
|
* <p>One or more resources can't be found.</p>
|
|
174
170
|
*/
|
|
@@ -177,12 +173,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
177
173
|
$fault: "client";
|
|
178
174
|
message?: string;
|
|
179
175
|
}
|
|
180
|
-
export declare namespace ResourceNotFoundException {
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
185
|
-
}
|
|
186
176
|
/**
|
|
187
177
|
* <p>The request was denied due to request throttling.</p>
|
|
188
178
|
*/
|
|
@@ -190,12 +180,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
190
180
|
name: "ThrottlingException";
|
|
191
181
|
$fault: "client";
|
|
192
182
|
}
|
|
193
|
-
export declare namespace ThrottlingException {
|
|
194
|
-
/**
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
198
|
-
}
|
|
199
183
|
/**
|
|
200
184
|
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
201
185
|
*/
|
|
@@ -204,12 +188,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
204
188
|
$fault: "client";
|
|
205
189
|
message?: string;
|
|
206
190
|
}
|
|
207
|
-
export declare namespace ValidationException {
|
|
208
|
-
/**
|
|
209
|
-
* @internal
|
|
210
|
-
*/
|
|
211
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
212
|
-
}
|
|
213
191
|
export declare enum DatasetKind {
|
|
214
192
|
NON_TABULAR = "NON_TABULAR",
|
|
215
193
|
TABULAR = "TABULAR"
|
|
@@ -238,7 +216,43 @@ export declare namespace DatasetOwnerInfo {
|
|
|
238
216
|
const filterSensitiveLog: (obj: DatasetOwnerInfo) => any;
|
|
239
217
|
}
|
|
240
218
|
/**
|
|
241
|
-
* <p>Resource permission for a
|
|
219
|
+
* <p>Resource permission for a dataset. When you create a dataset, all the other members of the same user group inherit access to the dataset. You can only create a dataset if your user group has application permission for Create Datasets.</p>
|
|
220
|
+
* <p>The following is a list of valid dataset permissions that you can apply:
|
|
221
|
+
*
|
|
222
|
+
* </p>
|
|
223
|
+
* <ul>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>
|
|
226
|
+
* <code>ViewDatasetDetails</code>
|
|
227
|
+
* </p>
|
|
228
|
+
* </li>
|
|
229
|
+
* <li>
|
|
230
|
+
* <p>
|
|
231
|
+
* <code>ReadDatasetDetails</code>
|
|
232
|
+
* </p>
|
|
233
|
+
* </li>
|
|
234
|
+
* <li>
|
|
235
|
+
* <p>
|
|
236
|
+
* <code>AddDatasetData</code>
|
|
237
|
+
* </p>
|
|
238
|
+
* </li>
|
|
239
|
+
* <li>
|
|
240
|
+
* <p>
|
|
241
|
+
* <code>CreateSnapshot</code>
|
|
242
|
+
* </p>
|
|
243
|
+
* </li>
|
|
244
|
+
* <li>
|
|
245
|
+
* <p>
|
|
246
|
+
* <code>EditDatasetMetadata</code>
|
|
247
|
+
* </p>
|
|
248
|
+
* </li>
|
|
249
|
+
* <li>
|
|
250
|
+
* <p>
|
|
251
|
+
* <code>DeleteDataset</code>
|
|
252
|
+
* </p>
|
|
253
|
+
* </li>
|
|
254
|
+
* </ul>
|
|
255
|
+
* <p>For more information on the ataset permissions, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions">Supported Dataset Permissions</a> in the FinSpace User Guide.</p>
|
|
242
256
|
*/
|
|
243
257
|
export interface ResourcePermission {
|
|
244
258
|
/**
|
|
@@ -254,6 +268,20 @@ export declare namespace ResourcePermission {
|
|
|
254
268
|
}
|
|
255
269
|
/**
|
|
256
270
|
* <p>Permission group parameters for Dataset permissions.</p>
|
|
271
|
+
* <p>Here is an example of how you could specify the <code>PermissionGroupParams</code>:</p>
|
|
272
|
+
* <p>
|
|
273
|
+
* <code>
|
|
274
|
+
* {
|
|
275
|
+
* "permissionGroupId": "0r6fCRtSTUk4XPfXQe3M0g",
|
|
276
|
+
* "datasetPermissions": [
|
|
277
|
+
* {"permission": "ViewDatasetDetails"},
|
|
278
|
+
* {"permission": "AddDatasetData"},
|
|
279
|
+
* {"permission": "EditDatasetMetadata"},
|
|
280
|
+
* {"permission": "DeleteDataset"}
|
|
281
|
+
* ]
|
|
282
|
+
* }
|
|
283
|
+
* </code>
|
|
284
|
+
* </p>
|
|
257
285
|
*/
|
|
258
286
|
export interface PermissionGroupParams {
|
|
259
287
|
/**
|
|
@@ -375,7 +403,7 @@ export declare namespace SchemaUnion {
|
|
|
375
403
|
*/
|
|
376
404
|
export interface CreateDatasetRequest {
|
|
377
405
|
/**
|
|
378
|
-
* <p>A token
|
|
406
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
379
407
|
*/
|
|
380
408
|
clientToken?: string;
|
|
381
409
|
/**
|
|
@@ -453,13 +481,40 @@ export interface DataViewDestinationTypeParams {
|
|
|
453
481
|
* <p>
|
|
454
482
|
* <code>GLUE_TABLE</code> - Glue table destination type.</p>
|
|
455
483
|
* </li>
|
|
484
|
+
* <li>
|
|
485
|
+
* <p>
|
|
486
|
+
* <code>S3</code> - S3 destination type.</p>
|
|
487
|
+
* </li>
|
|
456
488
|
* </ul>
|
|
457
489
|
*/
|
|
458
490
|
destinationType: string | undefined;
|
|
459
491
|
/**
|
|
460
|
-
* Data
|
|
492
|
+
* <p>Data view export file format.</p>
|
|
493
|
+
* <ul>
|
|
494
|
+
* <li>
|
|
495
|
+
* <p>
|
|
496
|
+
* <code>PARQUET</code> - Parquet export file format.</p>
|
|
497
|
+
* </li>
|
|
498
|
+
* <li>
|
|
499
|
+
* <p>
|
|
500
|
+
* <code>DELIMITED_TEXT</code> - Delimited text export file format.</p>
|
|
501
|
+
* </li>
|
|
502
|
+
* </ul>
|
|
461
503
|
*/
|
|
462
504
|
s3DestinationExportFileFormat?: ExportFileFormat | string;
|
|
505
|
+
/**
|
|
506
|
+
* <p>Format Options for S3 Destination type.</p>
|
|
507
|
+
* <p>Here is an example of how you could specify the <code>s3DestinationExportFileFormatOptions</code>
|
|
508
|
+
* </p>
|
|
509
|
+
* <p>
|
|
510
|
+
* <code>
|
|
511
|
+
* {
|
|
512
|
+
* "header": "true",
|
|
513
|
+
* "delimiter": ",",
|
|
514
|
+
* "compression": "gzip"
|
|
515
|
+
* }</code>
|
|
516
|
+
* </p>
|
|
517
|
+
*/
|
|
463
518
|
s3DestinationExportFileFormatOptions?: {
|
|
464
519
|
[key: string]: string;
|
|
465
520
|
};
|
|
@@ -475,7 +530,7 @@ export declare namespace DataViewDestinationTypeParams {
|
|
|
475
530
|
*/
|
|
476
531
|
export interface CreateDataViewRequest {
|
|
477
532
|
/**
|
|
478
|
-
* <p>A token
|
|
533
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
479
534
|
*/
|
|
480
535
|
clientToken?: string;
|
|
481
536
|
/**
|
|
@@ -533,7 +588,7 @@ export declare namespace CreateDataViewResponse {
|
|
|
533
588
|
*/
|
|
534
589
|
export interface DeleteDatasetRequest {
|
|
535
590
|
/**
|
|
536
|
-
* <p>A token
|
|
591
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
537
592
|
*/
|
|
538
593
|
clientToken?: string;
|
|
539
594
|
/**
|
|
@@ -719,7 +774,7 @@ export interface GetChangesetResponse {
|
|
|
719
774
|
*/
|
|
720
775
|
activeUntilTimestamp?: number;
|
|
721
776
|
/**
|
|
722
|
-
*
|
|
777
|
+
* <p>Beginning time from 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>
|
|
723
778
|
*/
|
|
724
779
|
activeFromTimestamp?: number;
|
|
725
780
|
/**
|
|
@@ -1237,7 +1292,7 @@ export interface ChangesetSummary {
|
|
|
1237
1292
|
*/
|
|
1238
1293
|
activeUntilTimestamp?: number;
|
|
1239
1294
|
/**
|
|
1240
|
-
*
|
|
1295
|
+
* <p>Beginning time from 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>
|
|
1241
1296
|
*/
|
|
1242
1297
|
activeFromTimestamp?: number;
|
|
1243
1298
|
/**
|
|
@@ -1510,7 +1565,7 @@ export declare namespace ListDataViewsResponse {
|
|
|
1510
1565
|
*/
|
|
1511
1566
|
export interface UpdateChangesetRequest {
|
|
1512
1567
|
/**
|
|
1513
|
-
* <p>A token
|
|
1568
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
1514
1569
|
*/
|
|
1515
1570
|
clientToken?: string;
|
|
1516
1571
|
/**
|
|
@@ -1522,13 +1577,70 @@ export interface UpdateChangesetRequest {
|
|
|
1522
1577
|
*/
|
|
1523
1578
|
changesetId: string | undefined;
|
|
1524
1579
|
/**
|
|
1525
|
-
* <p>Options that define the location of the data being ingested.</p>
|
|
1580
|
+
* <p>Options that define the location of the data being ingested (<code>s3SourcePath</code>) and the source of the changeset (<code>sourceType</code>).</p>
|
|
1581
|
+
* <p>Both <code>s3SourcePath</code> and <code>sourceType</code> are required attributes.</p>
|
|
1582
|
+
* <p>Here is an example of how you could specify the <code>sourceParams</code>:</p>
|
|
1583
|
+
* <p>
|
|
1584
|
+
* <code>
|
|
1585
|
+
* "sourceParams":
|
|
1586
|
+
* {
|
|
1587
|
+
* "s3SourcePath": "s3://finspace-landing-us-east-2-bk7gcfvitndqa6ebnvys4d/scratch/wr5hh8pwkpqqkxa4sxrmcw/ingestion/equity.csv",
|
|
1588
|
+
* "sourceType": "S3"
|
|
1589
|
+
* }
|
|
1590
|
+
* </code>
|
|
1591
|
+
* </p>
|
|
1592
|
+
* <p>The S3 path that you specify must allow the FinSpace role access. To do that, you first need to configure the IAM policy on S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/finspace/latest/data-api/fs-using-the-finspace-api.html#access-s3-buckets">Loading data from an Amazon S3 Bucket using the FinSpace API</a>section.</p>
|
|
1526
1593
|
*/
|
|
1527
1594
|
sourceParams: {
|
|
1528
1595
|
[key: string]: string;
|
|
1529
1596
|
} | undefined;
|
|
1530
1597
|
/**
|
|
1531
|
-
* <p>Options that define the structure of the source file(s)
|
|
1598
|
+
* <p>Options that define the structure of the source file(s) including the format type (<code>formatType</code>), header row (<code>withHeader</code>), data separation character (<code>separator</code>) and the type of compression (<code>compression</code>).
|
|
1599
|
+
* </p>
|
|
1600
|
+
* <p>
|
|
1601
|
+
* <code>formatType</code> is a required attribute and can have the following values:
|
|
1602
|
+
* </p>
|
|
1603
|
+
* <ul>
|
|
1604
|
+
* <li>
|
|
1605
|
+
* <p>
|
|
1606
|
+
* <code>PARQUET</code> - Parquet source file format.</p>
|
|
1607
|
+
* </li>
|
|
1608
|
+
* <li>
|
|
1609
|
+
* <p>
|
|
1610
|
+
* <code>CSV</code> - CSV source file format.</p>
|
|
1611
|
+
* </li>
|
|
1612
|
+
* <li>
|
|
1613
|
+
* <p>
|
|
1614
|
+
* <code>JSON</code> - JSON source file format.</p>
|
|
1615
|
+
* </li>
|
|
1616
|
+
* <li>
|
|
1617
|
+
* <p>
|
|
1618
|
+
* <code>XML</code> - XML source file format.</p>
|
|
1619
|
+
* </li>
|
|
1620
|
+
* </ul>
|
|
1621
|
+
*
|
|
1622
|
+
* <p>Here is an example of how you could specify the <code>formatParams</code>:</p>
|
|
1623
|
+
* <p>
|
|
1624
|
+
* <code>
|
|
1625
|
+
* "formatParams":
|
|
1626
|
+
* {
|
|
1627
|
+
* "formatType": "CSV",
|
|
1628
|
+
* "withHeader": "true",
|
|
1629
|
+
* "separator": ",",
|
|
1630
|
+
* "compression":"None"
|
|
1631
|
+
* }
|
|
1632
|
+
* </code>
|
|
1633
|
+
* </p>
|
|
1634
|
+
* <p>Note that if you only provide <code>formatType</code> as <code>CSV</code>, the rest of the attributes will automatically default to CSV values as following:</p>
|
|
1635
|
+
* <p>
|
|
1636
|
+
* <code>
|
|
1637
|
+
* {
|
|
1638
|
+
* "withHeader": "true",
|
|
1639
|
+
* "separator": ","
|
|
1640
|
+
* }
|
|
1641
|
+
* </code>
|
|
1642
|
+
* </p>
|
|
1643
|
+
* <p> For more information about supported file formats, see <a href="https://docs.aws.amazon.com/finspace/latest/userguide/supported-data-types.html">Supported Data Types and File Formats</a> in the FinSpace User Guide.</p>
|
|
1532
1644
|
*/
|
|
1533
1645
|
formatParams: {
|
|
1534
1646
|
[key: string]: string;
|
|
@@ -1564,7 +1676,7 @@ export declare namespace UpdateChangesetResponse {
|
|
|
1564
1676
|
*/
|
|
1565
1677
|
export interface UpdateDatasetRequest {
|
|
1566
1678
|
/**
|
|
1567
|
-
* <p>A token
|
|
1679
|
+
* <p>A token that ensures idempotency. This token expires in 10 minutes.</p>
|
|
1568
1680
|
*/
|
|
1569
1681
|
clientToken?: string;
|
|
1570
1682
|
/**
|
|
@@ -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"
|
|
@@ -231,6 +203,7 @@ export interface DataViewDestinationTypeParams {
|
|
|
231
203
|
destinationType: string | undefined;
|
|
232
204
|
|
|
233
205
|
s3DestinationExportFileFormat?: ExportFileFormat | string;
|
|
206
|
+
|
|
234
207
|
s3DestinationExportFileFormatOptions?: {
|
|
235
208
|
[key: string]: string;
|
|
236
209
|
};
|
|
@@ -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,17 +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.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,39 +18,41 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
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-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
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.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
51
51
|
"tslib": "^2.3.0",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"@types/uuid": "^8.3.0"
|
|
58
58
|
},
|