@aws-sdk/client-lakeformation 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 +35 -0
- package/dist-cjs/endpoints.js +0 -20
- package/dist-cjs/models/models_0.js +3 -112
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -20
- package/dist-es/models/models_0.js +0 -72
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/LakeFormationClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -108
- 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/LakeFormationClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -72
- 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,41 @@
|
|
|
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
|
+
**Note:** Version bump only for package @aws-sdk/client-lakeformation
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-lakeformation
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-lakeformation
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **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))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
42
|
|
|
8
43
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "lakeformation.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "lakeformation-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "lakeformation.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "lakeformation-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-gov-west-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "lakeformation.us-gov-west-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "lakeformation-fips.us-gov-west-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-west-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "lakeformation.us-west-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "lakeformation-fips.us-west-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-west-2": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "lakeformation.us-west-2.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "lakeformation-fips.us-west-2.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateTableStorageOptimizerResponse = exports.UpdateTableStorageOptimizerRequest = exports.UpdateTableObjectsResponse = exports.UpdateTableObjectsRequest = exports.WriteOperation = exports.DeleteObjectInput = exports.UpdateResourceResponse = exports.UpdateResourceRequest = exports.UpdateLFTagResponse = exports.UpdateLFTagRequest = exports.StartTransactionResponse = exports.StartTransactionRequest = void 0;
|
|
3
|
+
exports.DescribeResourceRequest = exports.DeregisterResourceResponse = exports.DeregisterResourceRequest = exports.DeleteObjectsOnCancelResponse = exports.DeleteObjectsOnCancelRequest = exports.VirtualObject = exports.DeleteLFTagResponse = exports.DeleteLFTagRequest = exports.DeleteDataCellsFilterResponse = exports.DeleteDataCellsFilterRequest = exports.CreateLFTagResponse = exports.CreateLFTagRequest = exports.CreateDataCellsFilterResponse = exports.CreateDataCellsFilterRequest = exports.DataCellsFilter = exports.RowFilter = exports.CommitTransactionResponse = exports.TransactionStatus = exports.CommitTransactionRequest = exports.CancelTransactionResponse = exports.CancelTransactionRequest = exports.BatchRevokePermissionsResponse = exports.BatchRevokePermissionsRequest = exports.BatchGrantPermissionsResponse = exports.BatchPermissionsFailureEntry = exports.BatchGrantPermissionsRequest = exports.BatchPermissionsRequestEntry = exports.DataLakePrincipal = exports.Permission = exports.AuditContext = exports.AllRowsWildcard = exports.AddObjectInput = exports.AddLFTagsToResourceResponse = exports.LFTagError = exports.ErrorDetail = exports.AddLFTagsToResourceRequest = exports.Resource = exports.TableWithColumnsResource = exports.ColumnWildcard = exports.TableResource = exports.TableWildcard = exports.LFTagPolicyResource = exports.ResourceType = exports.LFTag = exports.LFTagKeyResource = exports.DataLocationResource = exports.DataCellsFilterResource = exports.DatabaseResource = exports.CatalogResource = exports.LFTagPair = void 0;
|
|
4
|
+
exports.DataLakeResourceType = exports.ListLFTagsResponse = exports.ListLFTagsRequest = exports.ResourceShareType = exports.ListDataCellsFilterResponse = exports.ListDataCellsFilterRequest = exports.GrantPermissionsResponse = exports.GrantPermissionsRequest = exports.GetWorkUnitsResponse = exports.WorkUnitRange = exports.GetWorkUnitsRequest = exports.GetWorkUnitResultsResponse = exports.GetWorkUnitResultsRequest = exports.GetTemporaryGlueTableCredentialsResponse = exports.GetTemporaryGlueTableCredentialsRequest = exports.GetTemporaryGluePartitionCredentialsResponse = exports.GetTemporaryGluePartitionCredentialsRequest = exports.PermissionType = exports.PartitionValueList = exports.GetTableObjectsResponse = exports.PartitionObjects = exports.TableObject = exports.GetTableObjectsRequest = exports.GetResourceLFTagsResponse = exports.ColumnLFTag = exports.GetResourceLFTagsRequest = exports.GetQueryStatisticsResponse = exports.PlanningStatistics = exports.ExecutionStatistics = exports.GetQueryStatisticsRequest = exports.GetQueryStateResponse = exports.QueryStateString = exports.GetQueryStateRequest = exports.GetLFTagResponse = exports.GetLFTagRequest = exports.GetEffectivePermissionsForPathResponse = exports.PrincipalResourcePermissions = exports.DetailsMap = exports.GetEffectivePermissionsForPathRequest = exports.GetDataLakeSettingsResponse = exports.DataLakeSettings = exports.PrincipalPermissions = exports.GetDataLakeSettingsRequest = exports.ExtendTransactionResponse = exports.ExtendTransactionRequest = exports.DescribeTransactionResponse = exports.TransactionDescription = exports.DescribeTransactionRequest = exports.DescribeResourceResponse = exports.ResourceInfo = void 0;
|
|
5
|
+
exports.UpdateTableStorageOptimizerResponse = exports.UpdateTableStorageOptimizerRequest = exports.UpdateTableObjectsResponse = exports.UpdateTableObjectsRequest = exports.WriteOperation = exports.DeleteObjectInput = exports.UpdateResourceResponse = exports.UpdateResourceRequest = exports.UpdateLFTagResponse = exports.UpdateLFTagRequest = exports.StartTransactionResponse = exports.StartTransactionRequest = exports.TransactionType = exports.StartQueryPlanningResponse = exports.StartQueryPlanningRequest = exports.QueryPlanningContext = exports.SearchTablesByLFTagsResponse = exports.TaggedTable = exports.SearchTablesByLFTagsRequest = exports.SearchDatabasesByLFTagsResponse = exports.TaggedDatabase = exports.SearchDatabasesByLFTagsRequest = exports.RevokePermissionsResponse = exports.RevokePermissionsRequest = exports.RemoveLFTagsFromResourceResponse = exports.RemoveLFTagsFromResourceRequest = exports.RegisterResourceResponse = exports.RegisterResourceRequest = exports.PutDataLakeSettingsResponse = exports.PutDataLakeSettingsRequest = exports.ListTransactionsResponse = exports.ListTransactionsRequest = exports.TransactionStatusFilter = exports.ListTableStorageOptimizersResponse = exports.StorageOptimizer = exports.ListTableStorageOptimizersRequest = exports.OptimizerType = exports.ListResourcesResponse = exports.ListResourcesRequest = exports.FilterCondition = exports.FieldNameString = exports.ComparisonOperator = exports.ListPermissionsResponse = exports.ListPermissionsRequest = void 0;
|
|
7
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
var AccessDeniedException;
|
|
9
|
-
(function (AccessDeniedException) {
|
|
10
|
-
AccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
11
|
-
...obj,
|
|
12
|
-
});
|
|
13
|
-
})(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
|
|
14
7
|
var LFTagPair;
|
|
15
8
|
(function (LFTagPair) {
|
|
16
9
|
LFTagPair.filterSensitiveLog = (obj) => ({
|
|
@@ -118,36 +111,6 @@ var AddLFTagsToResourceResponse;
|
|
|
118
111
|
...obj,
|
|
119
112
|
});
|
|
120
113
|
})(AddLFTagsToResourceResponse = exports.AddLFTagsToResourceResponse || (exports.AddLFTagsToResourceResponse = {}));
|
|
121
|
-
var ConcurrentModificationException;
|
|
122
|
-
(function (ConcurrentModificationException) {
|
|
123
|
-
ConcurrentModificationException.filterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
});
|
|
126
|
-
})(ConcurrentModificationException = exports.ConcurrentModificationException || (exports.ConcurrentModificationException = {}));
|
|
127
|
-
var EntityNotFoundException;
|
|
128
|
-
(function (EntityNotFoundException) {
|
|
129
|
-
EntityNotFoundException.filterSensitiveLog = (obj) => ({
|
|
130
|
-
...obj,
|
|
131
|
-
});
|
|
132
|
-
})(EntityNotFoundException = exports.EntityNotFoundException || (exports.EntityNotFoundException = {}));
|
|
133
|
-
var InternalServiceException;
|
|
134
|
-
(function (InternalServiceException) {
|
|
135
|
-
InternalServiceException.filterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
});
|
|
138
|
-
})(InternalServiceException = exports.InternalServiceException || (exports.InternalServiceException = {}));
|
|
139
|
-
var InvalidInputException;
|
|
140
|
-
(function (InvalidInputException) {
|
|
141
|
-
InvalidInputException.filterSensitiveLog = (obj) => ({
|
|
142
|
-
...obj,
|
|
143
|
-
});
|
|
144
|
-
})(InvalidInputException = exports.InvalidInputException || (exports.InvalidInputException = {}));
|
|
145
|
-
var OperationTimeoutException;
|
|
146
|
-
(function (OperationTimeoutException) {
|
|
147
|
-
OperationTimeoutException.filterSensitiveLog = (obj) => ({
|
|
148
|
-
...obj,
|
|
149
|
-
});
|
|
150
|
-
})(OperationTimeoutException = exports.OperationTimeoutException || (exports.OperationTimeoutException = {}));
|
|
151
114
|
var AddObjectInput;
|
|
152
115
|
(function (AddObjectInput) {
|
|
153
116
|
AddObjectInput.filterSensitiveLog = (obj) => ({
|
|
@@ -160,12 +123,6 @@ var AllRowsWildcard;
|
|
|
160
123
|
...obj,
|
|
161
124
|
});
|
|
162
125
|
})(AllRowsWildcard = exports.AllRowsWildcard || (exports.AllRowsWildcard = {}));
|
|
163
|
-
var AlreadyExistsException;
|
|
164
|
-
(function (AlreadyExistsException) {
|
|
165
|
-
AlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
166
|
-
...obj,
|
|
167
|
-
});
|
|
168
|
-
})(AlreadyExistsException = exports.AlreadyExistsException || (exports.AlreadyExistsException = {}));
|
|
169
126
|
var AuditContext;
|
|
170
127
|
(function (AuditContext) {
|
|
171
128
|
AuditContext.filterSensitiveLog = (obj) => ({
|
|
@@ -244,18 +201,6 @@ var CancelTransactionResponse;
|
|
|
244
201
|
...obj,
|
|
245
202
|
});
|
|
246
203
|
})(CancelTransactionResponse = exports.CancelTransactionResponse || (exports.CancelTransactionResponse = {}));
|
|
247
|
-
var TransactionCommitInProgressException;
|
|
248
|
-
(function (TransactionCommitInProgressException) {
|
|
249
|
-
TransactionCommitInProgressException.filterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
});
|
|
252
|
-
})(TransactionCommitInProgressException = exports.TransactionCommitInProgressException || (exports.TransactionCommitInProgressException = {}));
|
|
253
|
-
var TransactionCommittedException;
|
|
254
|
-
(function (TransactionCommittedException) {
|
|
255
|
-
TransactionCommittedException.filterSensitiveLog = (obj) => ({
|
|
256
|
-
...obj,
|
|
257
|
-
});
|
|
258
|
-
})(TransactionCommittedException = exports.TransactionCommittedException || (exports.TransactionCommittedException = {}));
|
|
259
204
|
var CommitTransactionRequest;
|
|
260
205
|
(function (CommitTransactionRequest) {
|
|
261
206
|
CommitTransactionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -275,12 +220,6 @@ var CommitTransactionResponse;
|
|
|
275
220
|
...obj,
|
|
276
221
|
});
|
|
277
222
|
})(CommitTransactionResponse = exports.CommitTransactionResponse || (exports.CommitTransactionResponse = {}));
|
|
278
|
-
var TransactionCanceledException;
|
|
279
|
-
(function (TransactionCanceledException) {
|
|
280
|
-
TransactionCanceledException.filterSensitiveLog = (obj) => ({
|
|
281
|
-
...obj,
|
|
282
|
-
});
|
|
283
|
-
})(TransactionCanceledException = exports.TransactionCanceledException || (exports.TransactionCanceledException = {}));
|
|
284
223
|
var RowFilter;
|
|
285
224
|
(function (RowFilter) {
|
|
286
225
|
RowFilter.filterSensitiveLog = (obj) => ({
|
|
@@ -305,12 +244,6 @@ var CreateDataCellsFilterResponse;
|
|
|
305
244
|
...obj,
|
|
306
245
|
});
|
|
307
246
|
})(CreateDataCellsFilterResponse = exports.CreateDataCellsFilterResponse || (exports.CreateDataCellsFilterResponse = {}));
|
|
308
|
-
var ResourceNumberLimitExceededException;
|
|
309
|
-
(function (ResourceNumberLimitExceededException) {
|
|
310
|
-
ResourceNumberLimitExceededException.filterSensitiveLog = (obj) => ({
|
|
311
|
-
...obj,
|
|
312
|
-
});
|
|
313
|
-
})(ResourceNumberLimitExceededException = exports.ResourceNumberLimitExceededException || (exports.ResourceNumberLimitExceededException = {}));
|
|
314
247
|
var CreateLFTagRequest;
|
|
315
248
|
(function (CreateLFTagRequest) {
|
|
316
249
|
CreateLFTagRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -365,12 +298,6 @@ var DeleteObjectsOnCancelResponse;
|
|
|
365
298
|
...obj,
|
|
366
299
|
});
|
|
367
300
|
})(DeleteObjectsOnCancelResponse = exports.DeleteObjectsOnCancelResponse || (exports.DeleteObjectsOnCancelResponse = {}));
|
|
368
|
-
var ResourceNotReadyException;
|
|
369
|
-
(function (ResourceNotReadyException) {
|
|
370
|
-
ResourceNotReadyException.filterSensitiveLog = (obj) => ({
|
|
371
|
-
...obj,
|
|
372
|
-
});
|
|
373
|
-
})(ResourceNotReadyException = exports.ResourceNotReadyException || (exports.ResourceNotReadyException = {}));
|
|
374
301
|
var DeregisterResourceRequest;
|
|
375
302
|
(function (DeregisterResourceRequest) {
|
|
376
303
|
DeregisterResourceRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -511,12 +438,6 @@ var GetQueryStateResponse;
|
|
|
511
438
|
...obj,
|
|
512
439
|
});
|
|
513
440
|
})(GetQueryStateResponse = exports.GetQueryStateResponse || (exports.GetQueryStateResponse = {}));
|
|
514
|
-
var ExpiredException;
|
|
515
|
-
(function (ExpiredException) {
|
|
516
|
-
ExpiredException.filterSensitiveLog = (obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
});
|
|
519
|
-
})(ExpiredException = exports.ExpiredException || (exports.ExpiredException = {}));
|
|
520
441
|
var GetQueryStatisticsRequest;
|
|
521
442
|
(function (GetQueryStatisticsRequest) {
|
|
522
443
|
GetQueryStatisticsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -541,18 +462,6 @@ var GetQueryStatisticsResponse;
|
|
|
541
462
|
...obj,
|
|
542
463
|
});
|
|
543
464
|
})(GetQueryStatisticsResponse = exports.GetQueryStatisticsResponse || (exports.GetQueryStatisticsResponse = {}));
|
|
544
|
-
var StatisticsNotReadyYetException;
|
|
545
|
-
(function (StatisticsNotReadyYetException) {
|
|
546
|
-
StatisticsNotReadyYetException.filterSensitiveLog = (obj) => ({
|
|
547
|
-
...obj,
|
|
548
|
-
});
|
|
549
|
-
})(StatisticsNotReadyYetException = exports.StatisticsNotReadyYetException || (exports.StatisticsNotReadyYetException = {}));
|
|
550
|
-
var ThrottledException;
|
|
551
|
-
(function (ThrottledException) {
|
|
552
|
-
ThrottledException.filterSensitiveLog = (obj) => ({
|
|
553
|
-
...obj,
|
|
554
|
-
});
|
|
555
|
-
})(ThrottledException = exports.ThrottledException || (exports.ThrottledException = {}));
|
|
556
465
|
var GetResourceLFTagsRequest;
|
|
557
466
|
(function (GetResourceLFTagsRequest) {
|
|
558
467
|
GetResourceLFTagsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -571,12 +480,6 @@ var GetResourceLFTagsResponse;
|
|
|
571
480
|
...obj,
|
|
572
481
|
});
|
|
573
482
|
})(GetResourceLFTagsResponse = exports.GetResourceLFTagsResponse || (exports.GetResourceLFTagsResponse = {}));
|
|
574
|
-
var GlueEncryptionException;
|
|
575
|
-
(function (GlueEncryptionException) {
|
|
576
|
-
GlueEncryptionException.filterSensitiveLog = (obj) => ({
|
|
577
|
-
...obj,
|
|
578
|
-
});
|
|
579
|
-
})(GlueEncryptionException = exports.GlueEncryptionException || (exports.GlueEncryptionException = {}));
|
|
580
483
|
var GetTableObjectsRequest;
|
|
581
484
|
(function (GetTableObjectsRequest) {
|
|
582
485
|
GetTableObjectsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -624,12 +527,6 @@ var GetTemporaryGluePartitionCredentialsResponse;
|
|
|
624
527
|
...obj,
|
|
625
528
|
});
|
|
626
529
|
})(GetTemporaryGluePartitionCredentialsResponse = exports.GetTemporaryGluePartitionCredentialsResponse || (exports.GetTemporaryGluePartitionCredentialsResponse = {}));
|
|
627
|
-
var PermissionTypeMismatchException;
|
|
628
|
-
(function (PermissionTypeMismatchException) {
|
|
629
|
-
PermissionTypeMismatchException.filterSensitiveLog = (obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
});
|
|
632
|
-
})(PermissionTypeMismatchException = exports.PermissionTypeMismatchException || (exports.PermissionTypeMismatchException = {}));
|
|
633
530
|
var GetTemporaryGlueTableCredentialsRequest;
|
|
634
531
|
(function (GetTemporaryGlueTableCredentialsRequest) {
|
|
635
532
|
GetTemporaryGlueTableCredentialsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -673,12 +570,6 @@ var GetWorkUnitsResponse;
|
|
|
673
570
|
...obj,
|
|
674
571
|
});
|
|
675
572
|
})(GetWorkUnitsResponse = exports.GetWorkUnitsResponse || (exports.GetWorkUnitsResponse = {}));
|
|
676
|
-
var WorkUnitsNotReadyYetException;
|
|
677
|
-
(function (WorkUnitsNotReadyYetException) {
|
|
678
|
-
WorkUnitsNotReadyYetException.filterSensitiveLog = (obj) => ({
|
|
679
|
-
...obj,
|
|
680
|
-
});
|
|
681
|
-
})(WorkUnitsNotReadyYetException = exports.WorkUnitsNotReadyYetException || (exports.WorkUnitsNotReadyYetException = {}));
|
|
682
573
|
var GrantPermissionsRequest;
|
|
683
574
|
(function (GrantPermissionsRequest) {
|
|
684
575
|
GrantPermissionsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
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),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "lakeformation.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "lakeformation-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "lakeformation.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "lakeformation-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -27,10 +19,6 @@ var regionHash = {
|
|
|
27
19
|
},
|
|
28
20
|
"us-gov-west-1": {
|
|
29
21
|
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "lakeformation.us-gov-west-1.amazonaws.com",
|
|
32
|
-
tags: [],
|
|
33
|
-
},
|
|
34
22
|
{
|
|
35
23
|
hostname: "lakeformation-fips.us-gov-west-1.amazonaws.com",
|
|
36
24
|
tags: ["fips"],
|
|
@@ -39,10 +27,6 @@ var regionHash = {
|
|
|
39
27
|
},
|
|
40
28
|
"us-west-1": {
|
|
41
29
|
variants: [
|
|
42
|
-
{
|
|
43
|
-
hostname: "lakeformation.us-west-1.amazonaws.com",
|
|
44
|
-
tags: [],
|
|
45
|
-
},
|
|
46
30
|
{
|
|
47
31
|
hostname: "lakeformation-fips.us-west-1.amazonaws.com",
|
|
48
32
|
tags: ["fips"],
|
|
@@ -51,10 +35,6 @@ var regionHash = {
|
|
|
51
35
|
},
|
|
52
36
|
"us-west-2": {
|
|
53
37
|
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "lakeformation.us-west-2.amazonaws.com",
|
|
56
|
-
tags: [],
|
|
57
|
-
},
|
|
58
38
|
{
|
|
59
39
|
hostname: "lakeformation-fips.us-west-2.amazonaws.com",
|
|
60
40
|
tags: ["fips"],
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
export var AccessDeniedException;
|
|
4
|
-
(function (AccessDeniedException) {
|
|
5
|
-
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
7
3
|
export var LFTagPair;
|
|
8
4
|
(function (LFTagPair) {
|
|
9
5
|
LFTagPair.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -77,26 +73,6 @@ export var AddLFTagsToResourceResponse;
|
|
|
77
73
|
(function (AddLFTagsToResourceResponse) {
|
|
78
74
|
AddLFTagsToResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
75
|
})(AddLFTagsToResourceResponse || (AddLFTagsToResourceResponse = {}));
|
|
80
|
-
export var ConcurrentModificationException;
|
|
81
|
-
(function (ConcurrentModificationException) {
|
|
82
|
-
ConcurrentModificationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
-
})(ConcurrentModificationException || (ConcurrentModificationException = {}));
|
|
84
|
-
export var EntityNotFoundException;
|
|
85
|
-
(function (EntityNotFoundException) {
|
|
86
|
-
EntityNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
-
})(EntityNotFoundException || (EntityNotFoundException = {}));
|
|
88
|
-
export var InternalServiceException;
|
|
89
|
-
(function (InternalServiceException) {
|
|
90
|
-
InternalServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
-
})(InternalServiceException || (InternalServiceException = {}));
|
|
92
|
-
export var InvalidInputException;
|
|
93
|
-
(function (InvalidInputException) {
|
|
94
|
-
InvalidInputException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
-
})(InvalidInputException || (InvalidInputException = {}));
|
|
96
|
-
export var OperationTimeoutException;
|
|
97
|
-
(function (OperationTimeoutException) {
|
|
98
|
-
OperationTimeoutException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
-
})(OperationTimeoutException || (OperationTimeoutException = {}));
|
|
100
76
|
export var AddObjectInput;
|
|
101
77
|
(function (AddObjectInput) {
|
|
102
78
|
AddObjectInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -105,10 +81,6 @@ export var AllRowsWildcard;
|
|
|
105
81
|
(function (AllRowsWildcard) {
|
|
106
82
|
AllRowsWildcard.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
83
|
})(AllRowsWildcard || (AllRowsWildcard = {}));
|
|
108
|
-
export var AlreadyExistsException;
|
|
109
|
-
(function (AlreadyExistsException) {
|
|
110
|
-
AlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
-
})(AlreadyExistsException || (AlreadyExistsException = {}));
|
|
112
84
|
export var AuditContext;
|
|
113
85
|
(function (AuditContext) {
|
|
114
86
|
AuditContext.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -167,14 +139,6 @@ export var CancelTransactionResponse;
|
|
|
167
139
|
(function (CancelTransactionResponse) {
|
|
168
140
|
CancelTransactionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
141
|
})(CancelTransactionResponse || (CancelTransactionResponse = {}));
|
|
170
|
-
export var TransactionCommitInProgressException;
|
|
171
|
-
(function (TransactionCommitInProgressException) {
|
|
172
|
-
TransactionCommitInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
173
|
-
})(TransactionCommitInProgressException || (TransactionCommitInProgressException = {}));
|
|
174
|
-
export var TransactionCommittedException;
|
|
175
|
-
(function (TransactionCommittedException) {
|
|
176
|
-
TransactionCommittedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
-
})(TransactionCommittedException || (TransactionCommittedException = {}));
|
|
178
142
|
export var CommitTransactionRequest;
|
|
179
143
|
(function (CommitTransactionRequest) {
|
|
180
144
|
CommitTransactionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -190,10 +154,6 @@ export var CommitTransactionResponse;
|
|
|
190
154
|
(function (CommitTransactionResponse) {
|
|
191
155
|
CommitTransactionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
156
|
})(CommitTransactionResponse || (CommitTransactionResponse = {}));
|
|
193
|
-
export var TransactionCanceledException;
|
|
194
|
-
(function (TransactionCanceledException) {
|
|
195
|
-
TransactionCanceledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
-
})(TransactionCanceledException || (TransactionCanceledException = {}));
|
|
197
157
|
export var RowFilter;
|
|
198
158
|
(function (RowFilter) {
|
|
199
159
|
RowFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -210,10 +170,6 @@ export var CreateDataCellsFilterResponse;
|
|
|
210
170
|
(function (CreateDataCellsFilterResponse) {
|
|
211
171
|
CreateDataCellsFilterResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
172
|
})(CreateDataCellsFilterResponse || (CreateDataCellsFilterResponse = {}));
|
|
213
|
-
export var ResourceNumberLimitExceededException;
|
|
214
|
-
(function (ResourceNumberLimitExceededException) {
|
|
215
|
-
ResourceNumberLimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
-
})(ResourceNumberLimitExceededException || (ResourceNumberLimitExceededException = {}));
|
|
217
173
|
export var CreateLFTagRequest;
|
|
218
174
|
(function (CreateLFTagRequest) {
|
|
219
175
|
CreateLFTagRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -250,10 +206,6 @@ export var DeleteObjectsOnCancelResponse;
|
|
|
250
206
|
(function (DeleteObjectsOnCancelResponse) {
|
|
251
207
|
DeleteObjectsOnCancelResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
208
|
})(DeleteObjectsOnCancelResponse || (DeleteObjectsOnCancelResponse = {}));
|
|
253
|
-
export var ResourceNotReadyException;
|
|
254
|
-
(function (ResourceNotReadyException) {
|
|
255
|
-
ResourceNotReadyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
-
})(ResourceNotReadyException || (ResourceNotReadyException = {}));
|
|
257
209
|
export var DeregisterResourceRequest;
|
|
258
210
|
(function (DeregisterResourceRequest) {
|
|
259
211
|
DeregisterResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -350,10 +302,6 @@ export var GetQueryStateResponse;
|
|
|
350
302
|
(function (GetQueryStateResponse) {
|
|
351
303
|
GetQueryStateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
352
304
|
})(GetQueryStateResponse || (GetQueryStateResponse = {}));
|
|
353
|
-
export var ExpiredException;
|
|
354
|
-
(function (ExpiredException) {
|
|
355
|
-
ExpiredException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
356
|
-
})(ExpiredException || (ExpiredException = {}));
|
|
357
305
|
export var GetQueryStatisticsRequest;
|
|
358
306
|
(function (GetQueryStatisticsRequest) {
|
|
359
307
|
GetQueryStatisticsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -370,14 +318,6 @@ export var GetQueryStatisticsResponse;
|
|
|
370
318
|
(function (GetQueryStatisticsResponse) {
|
|
371
319
|
GetQueryStatisticsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
372
320
|
})(GetQueryStatisticsResponse || (GetQueryStatisticsResponse = {}));
|
|
373
|
-
export var StatisticsNotReadyYetException;
|
|
374
|
-
(function (StatisticsNotReadyYetException) {
|
|
375
|
-
StatisticsNotReadyYetException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
376
|
-
})(StatisticsNotReadyYetException || (StatisticsNotReadyYetException = {}));
|
|
377
|
-
export var ThrottledException;
|
|
378
|
-
(function (ThrottledException) {
|
|
379
|
-
ThrottledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
380
|
-
})(ThrottledException || (ThrottledException = {}));
|
|
381
321
|
export var GetResourceLFTagsRequest;
|
|
382
322
|
(function (GetResourceLFTagsRequest) {
|
|
383
323
|
GetResourceLFTagsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -390,10 +330,6 @@ export var GetResourceLFTagsResponse;
|
|
|
390
330
|
(function (GetResourceLFTagsResponse) {
|
|
391
331
|
GetResourceLFTagsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
392
332
|
})(GetResourceLFTagsResponse || (GetResourceLFTagsResponse = {}));
|
|
393
|
-
export var GlueEncryptionException;
|
|
394
|
-
(function (GlueEncryptionException) {
|
|
395
|
-
GlueEncryptionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
396
|
-
})(GlueEncryptionException || (GlueEncryptionException = {}));
|
|
397
333
|
export var GetTableObjectsRequest;
|
|
398
334
|
(function (GetTableObjectsRequest) {
|
|
399
335
|
GetTableObjectsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -427,10 +363,6 @@ export var GetTemporaryGluePartitionCredentialsResponse;
|
|
|
427
363
|
(function (GetTemporaryGluePartitionCredentialsResponse) {
|
|
428
364
|
GetTemporaryGluePartitionCredentialsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
429
365
|
})(GetTemporaryGluePartitionCredentialsResponse || (GetTemporaryGluePartitionCredentialsResponse = {}));
|
|
430
|
-
export var PermissionTypeMismatchException;
|
|
431
|
-
(function (PermissionTypeMismatchException) {
|
|
432
|
-
PermissionTypeMismatchException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
433
|
-
})(PermissionTypeMismatchException || (PermissionTypeMismatchException = {}));
|
|
434
366
|
export var GetTemporaryGlueTableCredentialsRequest;
|
|
435
367
|
(function (GetTemporaryGlueTableCredentialsRequest) {
|
|
436
368
|
GetTemporaryGlueTableCredentialsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -459,10 +391,6 @@ export var GetWorkUnitsResponse;
|
|
|
459
391
|
(function (GetWorkUnitsResponse) {
|
|
460
392
|
GetWorkUnitsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
393
|
})(GetWorkUnitsResponse || (GetWorkUnitsResponse = {}));
|
|
462
|
-
export var WorkUnitsNotReadyYetException;
|
|
463
|
-
(function (WorkUnitsNotReadyYetException) {
|
|
464
|
-
WorkUnitsNotReadyYetException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
-
})(WorkUnitsNotReadyYetException || (WorkUnitsNotReadyYetException = {}));
|
|
466
394
|
export var GrantPermissionsRequest;
|
|
467
395
|
(function (GrantPermissionsRequest) {
|
|
468
396
|
GrantPermissionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -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
|
};
|