@aws-sdk/client-lakeformation 3.354.0 → 3.358.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +17 -23
- package/dist-cjs/runtimeConfig.browser.js +0 -2
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/LakeFormationClient.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +29 -30
|
@@ -1307,7 +1307,7 @@ const de_CancelTransactionCommand = async (output, context) => {
|
|
|
1307
1307
|
const contents = (0, smithy_client_1.map)({
|
|
1308
1308
|
$metadata: deserializeMetadata(output),
|
|
1309
1309
|
});
|
|
1310
|
-
await collectBody(output.body, context);
|
|
1310
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1311
1311
|
return contents;
|
|
1312
1312
|
};
|
|
1313
1313
|
exports.de_CancelTransactionCommand = de_CancelTransactionCommand;
|
|
@@ -1404,7 +1404,7 @@ const de_CreateDataCellsFilterCommand = async (output, context) => {
|
|
|
1404
1404
|
const contents = (0, smithy_client_1.map)({
|
|
1405
1405
|
$metadata: deserializeMetadata(output),
|
|
1406
1406
|
});
|
|
1407
|
-
await collectBody(output.body, context);
|
|
1407
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1408
1408
|
return contents;
|
|
1409
1409
|
};
|
|
1410
1410
|
exports.de_CreateDataCellsFilterCommand = de_CreateDataCellsFilterCommand;
|
|
@@ -1452,7 +1452,7 @@ const de_CreateLFTagCommand = async (output, context) => {
|
|
|
1452
1452
|
const contents = (0, smithy_client_1.map)({
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
});
|
|
1455
|
-
await collectBody(output.body, context);
|
|
1455
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1456
1456
|
return contents;
|
|
1457
1457
|
};
|
|
1458
1458
|
exports.de_CreateLFTagCommand = de_CreateLFTagCommand;
|
|
@@ -1497,7 +1497,7 @@ const de_DeleteDataCellsFilterCommand = async (output, context) => {
|
|
|
1497
1497
|
const contents = (0, smithy_client_1.map)({
|
|
1498
1498
|
$metadata: deserializeMetadata(output),
|
|
1499
1499
|
});
|
|
1500
|
-
await collectBody(output.body, context);
|
|
1500
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1501
1501
|
return contents;
|
|
1502
1502
|
};
|
|
1503
1503
|
exports.de_DeleteDataCellsFilterCommand = de_DeleteDataCellsFilterCommand;
|
|
@@ -1539,7 +1539,7 @@ const de_DeleteLFTagCommand = async (output, context) => {
|
|
|
1539
1539
|
const contents = (0, smithy_client_1.map)({
|
|
1540
1540
|
$metadata: deserializeMetadata(output),
|
|
1541
1541
|
});
|
|
1542
|
-
await collectBody(output.body, context);
|
|
1542
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1543
1543
|
return contents;
|
|
1544
1544
|
};
|
|
1545
1545
|
exports.de_DeleteLFTagCommand = de_DeleteLFTagCommand;
|
|
@@ -1581,7 +1581,7 @@ const de_DeleteObjectsOnCancelCommand = async (output, context) => {
|
|
|
1581
1581
|
const contents = (0, smithy_client_1.map)({
|
|
1582
1582
|
$metadata: deserializeMetadata(output),
|
|
1583
1583
|
});
|
|
1584
|
-
await collectBody(output.body, context);
|
|
1584
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1585
1585
|
return contents;
|
|
1586
1586
|
};
|
|
1587
1587
|
exports.de_DeleteObjectsOnCancelCommand = de_DeleteObjectsOnCancelCommand;
|
|
@@ -1632,7 +1632,7 @@ const de_DeregisterResourceCommand = async (output, context) => {
|
|
|
1632
1632
|
const contents = (0, smithy_client_1.map)({
|
|
1633
1633
|
$metadata: deserializeMetadata(output),
|
|
1634
1634
|
});
|
|
1635
|
-
await collectBody(output.body, context);
|
|
1635
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1636
1636
|
return contents;
|
|
1637
1637
|
};
|
|
1638
1638
|
exports.de_DeregisterResourceCommand = de_DeregisterResourceCommand;
|
|
@@ -1757,7 +1757,7 @@ const de_ExtendTransactionCommand = async (output, context) => {
|
|
|
1757
1757
|
const contents = (0, smithy_client_1.map)({
|
|
1758
1758
|
$metadata: deserializeMetadata(output),
|
|
1759
1759
|
});
|
|
1760
|
-
await collectBody(output.body, context);
|
|
1760
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1761
1761
|
return contents;
|
|
1762
1762
|
};
|
|
1763
1763
|
exports.de_ExtendTransactionCommand = de_ExtendTransactionCommand;
|
|
@@ -2375,7 +2375,7 @@ const de_GrantPermissionsCommand = async (output, context) => {
|
|
|
2375
2375
|
const contents = (0, smithy_client_1.map)({
|
|
2376
2376
|
$metadata: deserializeMetadata(output),
|
|
2377
2377
|
});
|
|
2378
|
-
await collectBody(output.body, context);
|
|
2378
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2379
2379
|
return contents;
|
|
2380
2380
|
};
|
|
2381
2381
|
exports.de_GrantPermissionsCommand = de_GrantPermissionsCommand;
|
|
@@ -2669,7 +2669,7 @@ const de_PutDataLakeSettingsCommand = async (output, context) => {
|
|
|
2669
2669
|
const contents = (0, smithy_client_1.map)({
|
|
2670
2670
|
$metadata: deserializeMetadata(output),
|
|
2671
2671
|
});
|
|
2672
|
-
await collectBody(output.body, context);
|
|
2672
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2673
2673
|
return contents;
|
|
2674
2674
|
};
|
|
2675
2675
|
exports.de_PutDataLakeSettingsCommand = de_PutDataLakeSettingsCommand;
|
|
@@ -2702,7 +2702,7 @@ const de_RegisterResourceCommand = async (output, context) => {
|
|
|
2702
2702
|
const contents = (0, smithy_client_1.map)({
|
|
2703
2703
|
$metadata: deserializeMetadata(output),
|
|
2704
2704
|
});
|
|
2705
|
-
await collectBody(output.body, context);
|
|
2705
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2706
2706
|
return contents;
|
|
2707
2707
|
};
|
|
2708
2708
|
exports.de_RegisterResourceCommand = de_RegisterResourceCommand;
|
|
@@ -2802,7 +2802,7 @@ const de_RevokePermissionsCommand = async (output, context) => {
|
|
|
2802
2802
|
const contents = (0, smithy_client_1.map)({
|
|
2803
2803
|
$metadata: deserializeMetadata(output),
|
|
2804
2804
|
});
|
|
2805
|
-
await collectBody(output.body, context);
|
|
2805
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2806
2806
|
return contents;
|
|
2807
2807
|
};
|
|
2808
2808
|
exports.de_RevokePermissionsCommand = de_RevokePermissionsCommand;
|
|
@@ -3018,7 +3018,7 @@ const de_UpdateDataCellsFilterCommand = async (output, context) => {
|
|
|
3018
3018
|
const contents = (0, smithy_client_1.map)({
|
|
3019
3019
|
$metadata: deserializeMetadata(output),
|
|
3020
3020
|
});
|
|
3021
|
-
await collectBody(output.body, context);
|
|
3021
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3022
3022
|
return contents;
|
|
3023
3023
|
};
|
|
3024
3024
|
exports.de_UpdateDataCellsFilterCommand = de_UpdateDataCellsFilterCommand;
|
|
@@ -3063,7 +3063,7 @@ const de_UpdateLFTagCommand = async (output, context) => {
|
|
|
3063
3063
|
const contents = (0, smithy_client_1.map)({
|
|
3064
3064
|
$metadata: deserializeMetadata(output),
|
|
3065
3065
|
});
|
|
3066
|
-
await collectBody(output.body, context);
|
|
3066
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3067
3067
|
return contents;
|
|
3068
3068
|
};
|
|
3069
3069
|
exports.de_UpdateLFTagCommand = de_UpdateLFTagCommand;
|
|
@@ -3108,7 +3108,7 @@ const de_UpdateResourceCommand = async (output, context) => {
|
|
|
3108
3108
|
const contents = (0, smithy_client_1.map)({
|
|
3109
3109
|
$metadata: deserializeMetadata(output),
|
|
3110
3110
|
});
|
|
3111
|
-
await collectBody(output.body, context);
|
|
3111
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3112
3112
|
return contents;
|
|
3113
3113
|
};
|
|
3114
3114
|
exports.de_UpdateResourceCommand = de_UpdateResourceCommand;
|
|
@@ -3147,7 +3147,7 @@ const de_UpdateTableObjectsCommand = async (output, context) => {
|
|
|
3147
3147
|
const contents = (0, smithy_client_1.map)({
|
|
3148
3148
|
$metadata: deserializeMetadata(output),
|
|
3149
3149
|
});
|
|
3150
|
-
await collectBody(output.body, context);
|
|
3150
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3151
3151
|
return contents;
|
|
3152
3152
|
};
|
|
3153
3153
|
exports.de_UpdateTableObjectsCommand = de_UpdateTableObjectsCommand;
|
|
@@ -3519,13 +3519,7 @@ const deserializeMetadata = (output) => ({
|
|
|
3519
3519
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3520
3520
|
cfId: output.headers["x-amz-cf-id"],
|
|
3521
3521
|
});
|
|
3522
|
-
const
|
|
3523
|
-
if (streamBody instanceof Uint8Array) {
|
|
3524
|
-
return Promise.resolve(streamBody);
|
|
3525
|
-
}
|
|
3526
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3527
|
-
};
|
|
3528
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3522
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3529
3523
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3530
3524
|
value !== null &&
|
|
3531
3525
|
value !== "" &&
|
|
@@ -9,7 +9,6 @@ const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
|
-
const util_stream_browser_1 = require("@aws-sdk/util-stream-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -31,7 +30,6 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
32
31
|
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
33
32
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
34
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_browser_1.sdkStreamMixin,
|
|
35
33
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
36
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
37
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -12,7 +12,6 @@ const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
|
-
const util_stream_node_1 = require("@aws-sdk/util-stream-node");
|
|
16
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -40,7 +39,6 @@ const getRuntimeConfig = (config) => {
|
|
|
40
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
40
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
41
|
}),
|
|
43
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_node_1.sdkStreamMixin,
|
|
44
42
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
45
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
46
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_stream_1 = require("@aws-sdk/util-stream");
|
|
7
8
|
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
8
9
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
10
|
const getRuntimeConfig = (config) => ({
|
|
@@ -13,6 +14,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
13
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
15
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
16
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
17
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
|
|
16
18
|
serviceId: config?.serviceId ?? "LakeFormation",
|
|
17
19
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
20
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
3
3
|
import { LakeFormationServiceException as __BaseException } from "../models/LakeFormationServiceException";
|
|
4
4
|
import { AccessDeniedException, AlreadyExistsException, ConcurrentModificationException, EntityNotFoundException, ExpiredException, GlueEncryptionException, InternalServiceException, InvalidInputException, OperationTimeoutException, PermissionTypeMismatchException, ResourceNotReadyException, ResourceNumberLimitExceededException, StatisticsNotReadyYetException, ThrottledException, TransactionCanceledException, TransactionCommitInProgressException, TransactionCommittedException, WorkUnitsNotReadyYetException, } from "../models/models_0";
|
|
@@ -3421,12 +3421,6 @@ const deserializeMetadata = (output) => ({
|
|
|
3421
3421
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3422
3422
|
cfId: output.headers["x-amz-cf-id"],
|
|
3423
3423
|
});
|
|
3424
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
3425
|
-
if (streamBody instanceof Uint8Array) {
|
|
3426
|
-
return Promise.resolve(streamBody);
|
|
3427
|
-
}
|
|
3428
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3429
|
-
};
|
|
3430
3424
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3431
3425
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3432
3426
|
value !== null &&
|
|
@@ -5,7 +5,6 @@ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fe
|
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
|
-
import { sdkStreamMixin } from "@aws-sdk/util-stream-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
@@ -27,7 +26,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
27
|
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
29
28
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
31
29
|
sha256: config?.sha256 ?? Sha256,
|
|
32
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
33
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -8,7 +8,6 @@ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
|
-
import { sdkStreamMixin } from "@aws-sdk/util-stream-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
@@ -36,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
36
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
37
|
}),
|
|
39
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
40
38
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { sdkStreamMixin } from "@aws-sdk/util-stream";
|
|
4
5
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
5
6
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
7
|
export const getRuntimeConfig = (config) => ({
|
|
@@ -10,6 +11,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
10
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
12
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
13
|
logger: config?.logger ?? new NoOpLogger(),
|
|
14
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
13
15
|
serviceId: config?.serviceId ?? "LakeFormation",
|
|
14
16
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
17
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -120,7 +120,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
120
120
|
*/
|
|
121
121
|
runtime?: string;
|
|
122
122
|
/**
|
|
123
|
-
* Disable
|
|
123
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
124
124
|
* trait of an operation.
|
|
125
125
|
*/
|
|
126
126
|
disableHostPrefix?: boolean;
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
14
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
17
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
27
26
|
disableHostPrefix: boolean;
|
|
28
27
|
serviceId: string;
|
|
29
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
30
30
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
31
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
32
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
14
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
17
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
27
26
|
disableHostPrefix: boolean;
|
|
28
27
|
serviceId: string;
|
|
29
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
30
30
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
31
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
32
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
12
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -24,7 +24,6 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
24
24
|
import("@smithy/protocol-http").HttpHandler)
|
|
25
25
|
| RequestHandler;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
28
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
28
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
30
29
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
@@ -40,6 +39,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
40
39
|
disableHostPrefix: boolean;
|
|
41
40
|
serviceId: string;
|
|
42
41
|
logger: import("@aws-sdk/types").Logger;
|
|
42
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
43
43
|
endpoint?:
|
|
44
44
|
| ((
|
|
45
45
|
| string
|
|
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
23
23
|
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
27
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
28
27
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
@@ -37,6 +36,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
37
36
|
disableHostPrefix: boolean;
|
|
38
37
|
serviceId: string;
|
|
39
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
40
40
|
endpoint?:
|
|
41
41
|
| ((
|
|
42
42
|
| string
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (config: LakeFormationClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@aws-sdk/types").EndpointV2;
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.358.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.358.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.358.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-stream
|
|
53
|
-
"@aws-sdk/util-
|
|
54
|
-
"@aws-sdk/util-user-agent-
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.354.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.358.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.358.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-stream": "3.358.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
56
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
57
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
57
|
"@smithy/types": "^1.0.0",
|