@aws-sdk/client-lakeformation 3.183.0 → 3.185.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/LakeFormation.js +189 -182
  4. package/dist-es/LakeFormationClient.js +28 -22
  5. package/dist-es/commands/AddLFTagsToResourceCommand.js +28 -21
  6. package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +28 -21
  7. package/dist-es/commands/BatchGrantPermissionsCommand.js +28 -21
  8. package/dist-es/commands/BatchRevokePermissionsCommand.js +28 -21
  9. package/dist-es/commands/CancelTransactionCommand.js +28 -21
  10. package/dist-es/commands/CommitTransactionCommand.js +28 -21
  11. package/dist-es/commands/CreateDataCellsFilterCommand.js +28 -21
  12. package/dist-es/commands/CreateLFTagCommand.js +28 -21
  13. package/dist-es/commands/DeleteDataCellsFilterCommand.js +28 -21
  14. package/dist-es/commands/DeleteLFTagCommand.js +28 -21
  15. package/dist-es/commands/DeleteObjectsOnCancelCommand.js +28 -21
  16. package/dist-es/commands/DeregisterResourceCommand.js +28 -21
  17. package/dist-es/commands/DescribeResourceCommand.js +28 -21
  18. package/dist-es/commands/DescribeTransactionCommand.js +28 -21
  19. package/dist-es/commands/ExtendTransactionCommand.js +28 -21
  20. package/dist-es/commands/GetDataLakeSettingsCommand.js +28 -21
  21. package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +28 -21
  22. package/dist-es/commands/GetLFTagCommand.js +28 -21
  23. package/dist-es/commands/GetQueryStateCommand.js +28 -21
  24. package/dist-es/commands/GetQueryStatisticsCommand.js +28 -21
  25. package/dist-es/commands/GetResourceLFTagsCommand.js +28 -21
  26. package/dist-es/commands/GetTableObjectsCommand.js +28 -21
  27. package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +28 -21
  28. package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +28 -21
  29. package/dist-es/commands/GetWorkUnitResultsCommand.js +28 -21
  30. package/dist-es/commands/GetWorkUnitsCommand.js +28 -21
  31. package/dist-es/commands/GrantPermissionsCommand.js +28 -21
  32. package/dist-es/commands/ListDataCellsFilterCommand.js +28 -21
  33. package/dist-es/commands/ListLFTagsCommand.js +28 -21
  34. package/dist-es/commands/ListPermissionsCommand.js +28 -21
  35. package/dist-es/commands/ListResourcesCommand.js +28 -21
  36. package/dist-es/commands/ListTableStorageOptimizersCommand.js +28 -21
  37. package/dist-es/commands/ListTransactionsCommand.js +28 -21
  38. package/dist-es/commands/PutDataLakeSettingsCommand.js +28 -21
  39. package/dist-es/commands/RegisterResourceCommand.js +28 -21
  40. package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +28 -21
  41. package/dist-es/commands/RevokePermissionsCommand.js +28 -21
  42. package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +28 -21
  43. package/dist-es/commands/SearchTablesByLFTagsCommand.js +28 -21
  44. package/dist-es/commands/StartQueryPlanningCommand.js +28 -21
  45. package/dist-es/commands/StartTransactionCommand.js +28 -21
  46. package/dist-es/commands/UpdateLFTagCommand.js +28 -21
  47. package/dist-es/commands/UpdateResourceCommand.js +28 -21
  48. package/dist-es/commands/UpdateTableObjectsCommand.js +28 -21
  49. package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +28 -21
  50. package/dist-es/endpoints.js +8 -8
  51. package/dist-es/models/LakeFormationServiceException.js +10 -5
  52. package/dist-es/models/models_0.js +352 -621
  53. package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +68 -25
  54. package/dist-es/pagination/GetTableObjectsPaginator.js +68 -25
  55. package/dist-es/pagination/GetWorkUnitsPaginator.js +68 -25
  56. package/dist-es/pagination/ListDataCellsFilterPaginator.js +68 -25
  57. package/dist-es/pagination/ListLFTagsPaginator.js +68 -25
  58. package/dist-es/pagination/ListPermissionsPaginator.js +68 -25
  59. package/dist-es/pagination/ListResourcesPaginator.js +68 -25
  60. package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +68 -25
  61. package/dist-es/pagination/ListTransactionsPaginator.js +68 -25
  62. package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +68 -25
  63. package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +68 -25
  64. package/dist-es/protocols/Aws_restJson1.js +4826 -3651
  65. package/dist-es/runtimeConfig.browser.js +12 -26
  66. package/dist-es/runtimeConfig.js +12 -30
  67. package/dist-es/runtimeConfig.native.js +5 -8
  68. package/dist-es/runtimeConfig.shared.js +11 -8
  69. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartQueryPlanningRequestFilterSensitiveLog, StartQueryPlanningResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartQueryPlanningCommand, serializeAws_restJson1StartQueryPlanningCommand, } from "../protocols/Aws_restJson1";
5
- export class StartQueryPlanningCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartQueryPlanningCommand = (function (_super) {
7
+ __extends(StartQueryPlanningCommand, _super);
8
+ function StartQueryPlanningCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartQueryPlanningCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "StartQueryPlanningCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "StartQueryPlanningCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartQueryPlanningRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartQueryPlanningResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartQueryPlanningCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartQueryPlanningCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartQueryPlanningCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartQueryPlanningCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartQueryPlanningCommand;
38
+ }($Command));
39
+ export { StartQueryPlanningCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { StartTransactionRequestFilterSensitiveLog, StartTransactionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1StartTransactionCommand, serializeAws_restJson1StartTransactionCommand, } from "../protocols/Aws_restJson1";
5
- export class StartTransactionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartTransactionCommand = (function (_super) {
7
+ __extends(StartTransactionCommand, _super);
8
+ function StartTransactionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "StartTransactionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "StartTransactionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartTransactionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartTransactionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartTransactionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1StartTransactionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartTransactionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1StartTransactionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartTransactionCommand;
38
+ }($Command));
39
+ export { StartTransactionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateLFTagRequestFilterSensitiveLog, UpdateLFTagResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateLFTagCommand, serializeAws_restJson1UpdateLFTagCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateLFTagCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateLFTagCommand = (function (_super) {
7
+ __extends(UpdateLFTagCommand, _super);
8
+ function UpdateLFTagCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateLFTagCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "UpdateLFTagCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "UpdateLFTagCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateLFTagRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateLFTagResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateLFTagCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateLFTagCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateLFTagCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateLFTagCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateLFTagCommand;
38
+ }($Command));
39
+ export { UpdateLFTagCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateResourceRequestFilterSensitiveLog, UpdateResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateResourceCommand, serializeAws_restJson1UpdateResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateResourceCommand = (function (_super) {
7
+ __extends(UpdateResourceCommand, _super);
8
+ function UpdateResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "UpdateResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "UpdateResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateResourceCommand;
38
+ }($Command));
39
+ export { UpdateResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateTableObjectsRequestFilterSensitiveLog, UpdateTableObjectsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateTableObjectsCommand, serializeAws_restJson1UpdateTableObjectsCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateTableObjectsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateTableObjectsCommand = (function (_super) {
7
+ __extends(UpdateTableObjectsCommand, _super);
8
+ function UpdateTableObjectsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateTableObjectsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "UpdateTableObjectsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "UpdateTableObjectsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateTableObjectsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateTableObjectsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateTableObjectsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateTableObjectsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateTableObjectsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateTableObjectsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateTableObjectsCommand;
38
+ }($Command));
39
+ export { UpdateTableObjectsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { UpdateTableStorageOptimizerRequestFilterSensitiveLog, UpdateTableStorageOptimizerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateTableStorageOptimizerCommand, serializeAws_restJson1UpdateTableStorageOptimizerCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateTableStorageOptimizerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateTableStorageOptimizerCommand = (function (_super) {
7
+ __extends(UpdateTableStorageOptimizerCommand, _super);
8
+ function UpdateTableStorageOptimizerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateTableStorageOptimizerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "UpdateTableStorageOptimizerCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "UpdateTableStorageOptimizerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateTableStorageOptimizerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateTableStorageOptimizerResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateTableStorageOptimizerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateTableStorageOptimizerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateTableStorageOptimizerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateTableStorageOptimizerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateTableStorageOptimizerCommand;
38
+ }($Command));
39
+ export { UpdateTableStorageOptimizerCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "us-east-1": {
4
5
  variants: [
5
6
  {
@@ -49,7 +50,7 @@ const regionHash = {
49
50
  ],
50
51
  },
51
52
  };
52
- const partitionHash = {
53
+ var partitionHash = {
53
54
  aws: {
54
55
  regions: [
55
56
  "af-south-1",
@@ -173,9 +174,8 @@ const partitionHash = {
173
174
  ],
174
175
  },
175
176
  };
176
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
177
- ...options,
178
- signingService: "lakeformation",
179
- regionHash,
180
- partitionHash,
181
- });
177
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
178
+ return __generator(this, function (_a) {
179
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "lakeformation", regionHash: regionHash, partitionHash: partitionHash }))];
180
+ });
181
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class LakeFormationServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, LakeFormationServiceException.prototype);
3
+ var LakeFormationServiceException = (function (_super) {
4
+ __extends(LakeFormationServiceException, _super);
5
+ function LakeFormationServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, LakeFormationServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return LakeFormationServiceException;
11
+ }(__ServiceException));
12
+ export { LakeFormationServiceException };