@aws-sdk/client-lakeformation 3.186.0 → 3.188.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 (83) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  3. package/dist-cjs/runtimeConfig.browser.js +9 -7
  4. package/dist-cjs/runtimeConfig.js +9 -7
  5. package/dist-es/LakeFormation.js +182 -189
  6. package/dist-es/LakeFormationClient.js +22 -28
  7. package/dist-es/commands/AddLFTagsToResourceCommand.js +21 -28
  8. package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +21 -28
  9. package/dist-es/commands/BatchGrantPermissionsCommand.js +21 -28
  10. package/dist-es/commands/BatchRevokePermissionsCommand.js +21 -28
  11. package/dist-es/commands/CancelTransactionCommand.js +21 -28
  12. package/dist-es/commands/CommitTransactionCommand.js +21 -28
  13. package/dist-es/commands/CreateDataCellsFilterCommand.js +21 -28
  14. package/dist-es/commands/CreateLFTagCommand.js +21 -28
  15. package/dist-es/commands/DeleteDataCellsFilterCommand.js +21 -28
  16. package/dist-es/commands/DeleteLFTagCommand.js +21 -28
  17. package/dist-es/commands/DeleteObjectsOnCancelCommand.js +21 -28
  18. package/dist-es/commands/DeregisterResourceCommand.js +21 -28
  19. package/dist-es/commands/DescribeResourceCommand.js +21 -28
  20. package/dist-es/commands/DescribeTransactionCommand.js +21 -28
  21. package/dist-es/commands/ExtendTransactionCommand.js +21 -28
  22. package/dist-es/commands/GetDataLakeSettingsCommand.js +21 -28
  23. package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +21 -28
  24. package/dist-es/commands/GetLFTagCommand.js +21 -28
  25. package/dist-es/commands/GetQueryStateCommand.js +21 -28
  26. package/dist-es/commands/GetQueryStatisticsCommand.js +21 -28
  27. package/dist-es/commands/GetResourceLFTagsCommand.js +21 -28
  28. package/dist-es/commands/GetTableObjectsCommand.js +21 -28
  29. package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +21 -28
  30. package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +21 -28
  31. package/dist-es/commands/GetWorkUnitResultsCommand.js +21 -28
  32. package/dist-es/commands/GetWorkUnitsCommand.js +21 -28
  33. package/dist-es/commands/GrantPermissionsCommand.js +21 -28
  34. package/dist-es/commands/ListDataCellsFilterCommand.js +21 -28
  35. package/dist-es/commands/ListLFTagsCommand.js +21 -28
  36. package/dist-es/commands/ListPermissionsCommand.js +21 -28
  37. package/dist-es/commands/ListResourcesCommand.js +21 -28
  38. package/dist-es/commands/ListTableStorageOptimizersCommand.js +21 -28
  39. package/dist-es/commands/ListTransactionsCommand.js +21 -28
  40. package/dist-es/commands/PutDataLakeSettingsCommand.js +21 -28
  41. package/dist-es/commands/RegisterResourceCommand.js +21 -28
  42. package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +21 -28
  43. package/dist-es/commands/RevokePermissionsCommand.js +21 -28
  44. package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +21 -28
  45. package/dist-es/commands/SearchTablesByLFTagsCommand.js +21 -28
  46. package/dist-es/commands/StartQueryPlanningCommand.js +21 -28
  47. package/dist-es/commands/StartTransactionCommand.js +21 -28
  48. package/dist-es/commands/UpdateLFTagCommand.js +21 -28
  49. package/dist-es/commands/UpdateResourceCommand.js +21 -28
  50. package/dist-es/commands/UpdateTableObjectsCommand.js +21 -28
  51. package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +21 -28
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/LakeFormationServiceException.js +5 -10
  54. package/dist-es/models/models_0.js +621 -352
  55. package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +25 -68
  56. package/dist-es/pagination/GetTableObjectsPaginator.js +25 -68
  57. package/dist-es/pagination/GetWorkUnitsPaginator.js +25 -68
  58. package/dist-es/pagination/ListDataCellsFilterPaginator.js +25 -68
  59. package/dist-es/pagination/ListLFTagsPaginator.js +25 -68
  60. package/dist-es/pagination/ListPermissionsPaginator.js +25 -68
  61. package/dist-es/pagination/ListResourcesPaginator.js +25 -68
  62. package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +25 -68
  63. package/dist-es/pagination/ListTransactionsPaginator.js +25 -68
  64. package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +25 -68
  65. package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +25 -68
  66. package/dist-es/protocols/Aws_restJson1.js +3652 -4826
  67. package/dist-es/runtimeConfig.browser.js +28 -12
  68. package/dist-es/runtimeConfig.js +32 -12
  69. package/dist-es/runtimeConfig.native.js +8 -5
  70. package/dist-es/runtimeConfig.shared.js +8 -11
  71. package/dist-types/LakeFormationClient.d.ts +6 -1
  72. package/dist-types/commands/GetWorkUnitResultsCommand.d.ts +2 -2
  73. package/dist-types/protocols/Aws_restJson1.d.ts +2 -2
  74. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  75. package/dist-types/runtimeConfig.d.ts +1 -0
  76. package/dist-types/runtimeConfig.native.d.ts +1 -0
  77. package/dist-types/ts3.4/LakeFormationClient.d.ts +2 -0
  78. package/dist-types/ts3.4/commands/GetWorkUnitResultsCommand.d.ts +2 -1
  79. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +5 -2
  80. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  81. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  82. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  83. package/package.json +35 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteLFTagRequestFilterSensitiveLog, DeleteLFTagResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteLFTagCommand, serializeAws_restJson1DeleteLFTagCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteLFTagCommand = (function (_super) {
7
- __extends(DeleteLFTagCommand, _super);
8
- function DeleteLFTagCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLFTagCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLFTagCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "DeleteLFTagCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "DeleteLFTagCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLFTagRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLFTagResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLFTagCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteLFTagCommand(input, context);
33
- };
34
- DeleteLFTagCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteLFTagCommand(output, context);
36
- };
37
- return DeleteLFTagCommand;
38
- }($Command));
39
- export { DeleteLFTagCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteObjectsOnCancelRequestFilterSensitiveLog, DeleteObjectsOnCancelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteObjectsOnCancelCommand, serializeAws_restJson1DeleteObjectsOnCancelCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteObjectsOnCancelCommand = (function (_super) {
7
- __extends(DeleteObjectsOnCancelCommand, _super);
8
- function DeleteObjectsOnCancelCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteObjectsOnCancelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteObjectsOnCancelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "DeleteObjectsOnCancelCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "DeleteObjectsOnCancelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteObjectsOnCancelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteObjectsOnCancelResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteObjectsOnCancelCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteObjectsOnCancelCommand(input, context);
33
- };
34
- DeleteObjectsOnCancelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteObjectsOnCancelCommand(output, context);
36
- };
37
- return DeleteObjectsOnCancelCommand;
38
- }($Command));
39
- export { DeleteObjectsOnCancelCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeregisterResourceRequestFilterSensitiveLog, DeregisterResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeregisterResourceCommand, serializeAws_restJson1DeregisterResourceCommand, } from "../protocols/Aws_restJson1";
6
- var DeregisterResourceCommand = (function (_super) {
7
- __extends(DeregisterResourceCommand, _super);
8
- function DeregisterResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeregisterResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeregisterResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "DeregisterResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "DeregisterResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeregisterResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeregisterResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeregisterResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeregisterResourceCommand(input, context);
33
- };
34
- DeregisterResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeregisterResourceCommand(output, context);
36
- };
37
- return DeregisterResourceCommand;
38
- }($Command));
39
- export { DeregisterResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeResourceRequestFilterSensitiveLog, DescribeResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeResourceCommand, serializeAws_restJson1DescribeResourceCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeResourceCommand = (function (_super) {
7
- __extends(DescribeResourceCommand, _super);
8
- function DescribeResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "DescribeResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "DescribeResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeResourceCommand(input, context);
33
- };
34
- DescribeResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeResourceCommand(output, context);
36
- };
37
- return DescribeResourceCommand;
38
- }($Command));
39
- export { DescribeResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTransactionRequestFilterSensitiveLog, DescribeTransactionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeTransactionCommand, serializeAws_restJson1DescribeTransactionCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeTransactionCommand = (function (_super) {
7
- __extends(DescribeTransactionCommand, _super);
8
- function DescribeTransactionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTransactionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "DescribeTransactionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "DescribeTransactionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTransactionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTransactionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTransactionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DescribeTransactionCommand(input, context);
33
- };
34
- DescribeTransactionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeTransactionCommand(output, context);
36
- };
37
- return DescribeTransactionCommand;
38
- }($Command));
39
- export { DescribeTransactionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ExtendTransactionRequestFilterSensitiveLog, ExtendTransactionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ExtendTransactionCommand, serializeAws_restJson1ExtendTransactionCommand, } from "../protocols/Aws_restJson1";
6
- var ExtendTransactionCommand = (function (_super) {
7
- __extends(ExtendTransactionCommand, _super);
8
- function ExtendTransactionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ExtendTransactionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ExtendTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "ExtendTransactionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "ExtendTransactionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ExtendTransactionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExtendTransactionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ExtendTransactionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ExtendTransactionCommand(input, context);
33
- };
34
- ExtendTransactionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ExtendTransactionCommand(output, context);
36
- };
37
- return ExtendTransactionCommand;
38
- }($Command));
39
- export { ExtendTransactionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetDataLakeSettingsRequestFilterSensitiveLog, GetDataLakeSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetDataLakeSettingsCommand, serializeAws_restJson1GetDataLakeSettingsCommand, } from "../protocols/Aws_restJson1";
6
- var GetDataLakeSettingsCommand = (function (_super) {
7
- __extends(GetDataLakeSettingsCommand, _super);
8
- function GetDataLakeSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetDataLakeSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetDataLakeSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "GetDataLakeSettingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "GetDataLakeSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetDataLakeSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetDataLakeSettingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetDataLakeSettingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetDataLakeSettingsCommand(input, context);
33
- };
34
- GetDataLakeSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetDataLakeSettingsCommand(output, context);
36
- };
37
- return GetDataLakeSettingsCommand;
38
- }($Command));
39
- export { GetDataLakeSettingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetEffectivePermissionsForPathRequestFilterSensitiveLog, GetEffectivePermissionsForPathResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetEffectivePermissionsForPathCommand, serializeAws_restJson1GetEffectivePermissionsForPathCommand, } from "../protocols/Aws_restJson1";
6
- var GetEffectivePermissionsForPathCommand = (function (_super) {
7
- __extends(GetEffectivePermissionsForPathCommand, _super);
8
- function GetEffectivePermissionsForPathCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetEffectivePermissionsForPathCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetEffectivePermissionsForPathCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "GetEffectivePermissionsForPathCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "GetEffectivePermissionsForPathCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetEffectivePermissionsForPathRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetEffectivePermissionsForPathResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetEffectivePermissionsForPathCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetEffectivePermissionsForPathCommand(input, context);
33
- };
34
- GetEffectivePermissionsForPathCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetEffectivePermissionsForPathCommand(output, context);
36
- };
37
- return GetEffectivePermissionsForPathCommand;
38
- }($Command));
39
- export { GetEffectivePermissionsForPathCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetLFTagRequestFilterSensitiveLog, GetLFTagResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetLFTagCommand, serializeAws_restJson1GetLFTagCommand, } from "../protocols/Aws_restJson1";
6
- var GetLFTagCommand = (function (_super) {
7
- __extends(GetLFTagCommand, _super);
8
- function GetLFTagCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLFTagCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLFTagCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "GetLFTagCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "GetLFTagCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLFTagRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLFTagResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLFTagCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetLFTagCommand(input, context);
33
- };
34
- GetLFTagCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetLFTagCommand(output, context);
36
- };
37
- return GetLFTagCommand;
38
- }($Command));
39
- export { GetLFTagCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetQueryStateRequestFilterSensitiveLog, GetQueryStateResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetQueryStateCommand, serializeAws_restJson1GetQueryStateCommand, } from "../protocols/Aws_restJson1";
6
- var GetQueryStateCommand = (function (_super) {
7
- __extends(GetQueryStateCommand, _super);
8
- function GetQueryStateCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetQueryStateCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetQueryStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LakeFormationClient";
18
- var commandName = "GetQueryStateCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LakeFormationClient";
15
+ const commandName = "GetQueryStateCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetQueryStateRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetQueryStateResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetQueryStateCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1GetQueryStateCommand(input, context);
33
- };
34
- GetQueryStateCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetQueryStateCommand(output, context);
36
- };
37
- return GetQueryStateCommand;
38
- }($Command));
39
- export { GetQueryStateCommand };
31
+ }
32
+ }