@aws-sdk/client-lakeformation 3.181.0 → 3.183.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 (68) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/LakeFormation.js +182 -189
  3. package/dist-es/LakeFormationClient.js +22 -28
  4. package/dist-es/commands/AddLFTagsToResourceCommand.js +21 -28
  5. package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +21 -28
  6. package/dist-es/commands/BatchGrantPermissionsCommand.js +21 -28
  7. package/dist-es/commands/BatchRevokePermissionsCommand.js +21 -28
  8. package/dist-es/commands/CancelTransactionCommand.js +21 -28
  9. package/dist-es/commands/CommitTransactionCommand.js +21 -28
  10. package/dist-es/commands/CreateDataCellsFilterCommand.js +21 -28
  11. package/dist-es/commands/CreateLFTagCommand.js +21 -28
  12. package/dist-es/commands/DeleteDataCellsFilterCommand.js +21 -28
  13. package/dist-es/commands/DeleteLFTagCommand.js +21 -28
  14. package/dist-es/commands/DeleteObjectsOnCancelCommand.js +21 -28
  15. package/dist-es/commands/DeregisterResourceCommand.js +21 -28
  16. package/dist-es/commands/DescribeResourceCommand.js +21 -28
  17. package/dist-es/commands/DescribeTransactionCommand.js +21 -28
  18. package/dist-es/commands/ExtendTransactionCommand.js +21 -28
  19. package/dist-es/commands/GetDataLakeSettingsCommand.js +21 -28
  20. package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +21 -28
  21. package/dist-es/commands/GetLFTagCommand.js +21 -28
  22. package/dist-es/commands/GetQueryStateCommand.js +21 -28
  23. package/dist-es/commands/GetQueryStatisticsCommand.js +21 -28
  24. package/dist-es/commands/GetResourceLFTagsCommand.js +21 -28
  25. package/dist-es/commands/GetTableObjectsCommand.js +21 -28
  26. package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +21 -28
  27. package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +21 -28
  28. package/dist-es/commands/GetWorkUnitResultsCommand.js +21 -28
  29. package/dist-es/commands/GetWorkUnitsCommand.js +21 -28
  30. package/dist-es/commands/GrantPermissionsCommand.js +21 -28
  31. package/dist-es/commands/ListDataCellsFilterCommand.js +21 -28
  32. package/dist-es/commands/ListLFTagsCommand.js +21 -28
  33. package/dist-es/commands/ListPermissionsCommand.js +21 -28
  34. package/dist-es/commands/ListResourcesCommand.js +21 -28
  35. package/dist-es/commands/ListTableStorageOptimizersCommand.js +21 -28
  36. package/dist-es/commands/ListTransactionsCommand.js +21 -28
  37. package/dist-es/commands/PutDataLakeSettingsCommand.js +21 -28
  38. package/dist-es/commands/RegisterResourceCommand.js +21 -28
  39. package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +21 -28
  40. package/dist-es/commands/RevokePermissionsCommand.js +21 -28
  41. package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +21 -28
  42. package/dist-es/commands/SearchTablesByLFTagsCommand.js +21 -28
  43. package/dist-es/commands/StartQueryPlanningCommand.js +21 -28
  44. package/dist-es/commands/StartTransactionCommand.js +21 -28
  45. package/dist-es/commands/UpdateLFTagCommand.js +21 -28
  46. package/dist-es/commands/UpdateResourceCommand.js +21 -28
  47. package/dist-es/commands/UpdateTableObjectsCommand.js +21 -28
  48. package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +21 -28
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/LakeFormationServiceException.js +5 -10
  51. package/dist-es/models/models_0.js +621 -352
  52. package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +25 -68
  53. package/dist-es/pagination/GetTableObjectsPaginator.js +25 -68
  54. package/dist-es/pagination/GetWorkUnitsPaginator.js +25 -68
  55. package/dist-es/pagination/ListDataCellsFilterPaginator.js +25 -68
  56. package/dist-es/pagination/ListLFTagsPaginator.js +25 -68
  57. package/dist-es/pagination/ListPermissionsPaginator.js +25 -68
  58. package/dist-es/pagination/ListResourcesPaginator.js +25 -68
  59. package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +25 -68
  60. package/dist-es/pagination/ListTransactionsPaginator.js +25 -68
  61. package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +25 -68
  62. package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +25 -68
  63. package/dist-es/protocols/Aws_restJson1.js +3651 -4826
  64. package/dist-es/runtimeConfig.browser.js +26 -12
  65. package/dist-es/runtimeConfig.js +30 -12
  66. package/dist-es/runtimeConfig.native.js +8 -5
  67. package/dist-es/runtimeConfig.shared.js +8 -11
  68. package/package.json +33 -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 { GetQueryStatisticsRequestFilterSensitiveLog, GetQueryStatisticsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetQueryStatisticsCommand, serializeAws_restJson1GetQueryStatisticsCommand, } from "../protocols/Aws_restJson1";
6
- var GetQueryStatisticsCommand = (function (_super) {
7
- __extends(GetQueryStatisticsCommand, _super);
8
- function GetQueryStatisticsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetQueryStatisticsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetQueryStatisticsCommand.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 = "GetQueryStatisticsCommand";
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 = "GetQueryStatisticsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetQueryStatisticsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetQueryStatisticsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetQueryStatisticsCommand.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_restJson1GetQueryStatisticsCommand(input, context);
33
- };
34
- GetQueryStatisticsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetQueryStatisticsCommand(output, context);
36
- };
37
- return GetQueryStatisticsCommand;
38
- }($Command));
39
- export { GetQueryStatisticsCommand };
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 { GetResourceLFTagsRequestFilterSensitiveLog, GetResourceLFTagsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetResourceLFTagsCommand, serializeAws_restJson1GetResourceLFTagsCommand, } from "../protocols/Aws_restJson1";
6
- var GetResourceLFTagsCommand = (function (_super) {
7
- __extends(GetResourceLFTagsCommand, _super);
8
- function GetResourceLFTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetResourceLFTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetResourceLFTagsCommand.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 = "GetResourceLFTagsCommand";
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 = "GetResourceLFTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetResourceLFTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetResourceLFTagsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetResourceLFTagsCommand.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_restJson1GetResourceLFTagsCommand(input, context);
33
- };
34
- GetResourceLFTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetResourceLFTagsCommand(output, context);
36
- };
37
- return GetResourceLFTagsCommand;
38
- }($Command));
39
- export { GetResourceLFTagsCommand };
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 { GetTableObjectsRequestFilterSensitiveLog, GetTableObjectsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTableObjectsCommand, serializeAws_restJson1GetTableObjectsCommand, } from "../protocols/Aws_restJson1";
6
- var GetTableObjectsCommand = (function (_super) {
7
- __extends(GetTableObjectsCommand, _super);
8
- function GetTableObjectsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTableObjectsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTableObjectsCommand.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 = "GetTableObjectsCommand";
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 = "GetTableObjectsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTableObjectsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTableObjectsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTableObjectsCommand.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_restJson1GetTableObjectsCommand(input, context);
33
- };
34
- GetTableObjectsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTableObjectsCommand(output, context);
36
- };
37
- return GetTableObjectsCommand;
38
- }($Command));
39
- export { GetTableObjectsCommand };
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 { GetTemporaryGluePartitionCredentialsRequestFilterSensitiveLog, GetTemporaryGluePartitionCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand, serializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand, } from "../protocols/Aws_restJson1";
6
- var GetTemporaryGluePartitionCredentialsCommand = (function (_super) {
7
- __extends(GetTemporaryGluePartitionCredentialsCommand, _super);
8
- function GetTemporaryGluePartitionCredentialsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTemporaryGluePartitionCredentialsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTemporaryGluePartitionCredentialsCommand.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 = "GetTemporaryGluePartitionCredentialsCommand";
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 = "GetTemporaryGluePartitionCredentialsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTemporaryGluePartitionCredentialsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTemporaryGluePartitionCredentialsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTemporaryGluePartitionCredentialsCommand.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_restJson1GetTemporaryGluePartitionCredentialsCommand(input, context);
33
- };
34
- GetTemporaryGluePartitionCredentialsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTemporaryGluePartitionCredentialsCommand(output, context);
36
- };
37
- return GetTemporaryGluePartitionCredentialsCommand;
38
- }($Command));
39
- export { GetTemporaryGluePartitionCredentialsCommand };
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 { GetTemporaryGlueTableCredentialsRequestFilterSensitiveLog, GetTemporaryGlueTableCredentialsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand, serializeAws_restJson1GetTemporaryGlueTableCredentialsCommand, } from "../protocols/Aws_restJson1";
6
- var GetTemporaryGlueTableCredentialsCommand = (function (_super) {
7
- __extends(GetTemporaryGlueTableCredentialsCommand, _super);
8
- function GetTemporaryGlueTableCredentialsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetTemporaryGlueTableCredentialsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetTemporaryGlueTableCredentialsCommand.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 = "GetTemporaryGlueTableCredentialsCommand";
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 = "GetTemporaryGlueTableCredentialsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetTemporaryGlueTableCredentialsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetTemporaryGlueTableCredentialsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetTemporaryGlueTableCredentialsCommand.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_restJson1GetTemporaryGlueTableCredentialsCommand(input, context);
33
- };
34
- GetTemporaryGlueTableCredentialsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetTemporaryGlueTableCredentialsCommand(output, context);
36
- };
37
- return GetTemporaryGlueTableCredentialsCommand;
38
- }($Command));
39
- export { GetTemporaryGlueTableCredentialsCommand };
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 { GetWorkUnitResultsRequestFilterSensitiveLog, GetWorkUnitResultsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetWorkUnitResultsCommand, serializeAws_restJson1GetWorkUnitResultsCommand, } from "../protocols/Aws_restJson1";
6
- var GetWorkUnitResultsCommand = (function (_super) {
7
- __extends(GetWorkUnitResultsCommand, _super);
8
- function GetWorkUnitResultsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetWorkUnitResultsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetWorkUnitResultsCommand.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 = "GetWorkUnitResultsCommand";
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 = "GetWorkUnitResultsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetWorkUnitResultsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetWorkUnitResultsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetWorkUnitResultsCommand.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_restJson1GetWorkUnitResultsCommand(input, context);
33
- };
34
- GetWorkUnitResultsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetWorkUnitResultsCommand(output, context);
36
- };
37
- return GetWorkUnitResultsCommand;
38
- }($Command));
39
- export { GetWorkUnitResultsCommand };
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 { GetWorkUnitsRequestFilterSensitiveLog, GetWorkUnitsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetWorkUnitsCommand, serializeAws_restJson1GetWorkUnitsCommand, } from "../protocols/Aws_restJson1";
6
- var GetWorkUnitsCommand = (function (_super) {
7
- __extends(GetWorkUnitsCommand, _super);
8
- function GetWorkUnitsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetWorkUnitsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetWorkUnitsCommand.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 = "GetWorkUnitsCommand";
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 = "GetWorkUnitsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetWorkUnitsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetWorkUnitsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetWorkUnitsCommand.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_restJson1GetWorkUnitsCommand(input, context);
33
- };
34
- GetWorkUnitsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetWorkUnitsCommand(output, context);
36
- };
37
- return GetWorkUnitsCommand;
38
- }($Command));
39
- export { GetWorkUnitsCommand };
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 { GrantPermissionsRequestFilterSensitiveLog, GrantPermissionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GrantPermissionsCommand, serializeAws_restJson1GrantPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var GrantPermissionsCommand = (function (_super) {
7
- __extends(GrantPermissionsCommand, _super);
8
- function GrantPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GrantPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GrantPermissionsCommand.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 = "GrantPermissionsCommand";
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 = "GrantPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GrantPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GrantPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GrantPermissionsCommand.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_restJson1GrantPermissionsCommand(input, context);
33
- };
34
- GrantPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GrantPermissionsCommand(output, context);
36
- };
37
- return GrantPermissionsCommand;
38
- }($Command));
39
- export { GrantPermissionsCommand };
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 { ListDataCellsFilterRequestFilterSensitiveLog, ListDataCellsFilterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListDataCellsFilterCommand, serializeAws_restJson1ListDataCellsFilterCommand, } from "../protocols/Aws_restJson1";
6
- var ListDataCellsFilterCommand = (function (_super) {
7
- __extends(ListDataCellsFilterCommand, _super);
8
- function ListDataCellsFilterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListDataCellsFilterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListDataCellsFilterCommand.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 = "ListDataCellsFilterCommand";
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 = "ListDataCellsFilterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListDataCellsFilterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListDataCellsFilterResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListDataCellsFilterCommand.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_restJson1ListDataCellsFilterCommand(input, context);
33
- };
34
- ListDataCellsFilterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListDataCellsFilterCommand(output, context);
36
- };
37
- return ListDataCellsFilterCommand;
38
- }($Command));
39
- export { ListDataCellsFilterCommand };
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 { ListLFTagsRequestFilterSensitiveLog, ListLFTagsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLFTagsCommand, serializeAws_restJson1ListLFTagsCommand, } from "../protocols/Aws_restJson1";
6
- var ListLFTagsCommand = (function (_super) {
7
- __extends(ListLFTagsCommand, _super);
8
- function ListLFTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLFTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLFTagsCommand.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 = "ListLFTagsCommand";
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 = "ListLFTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLFTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLFTagsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLFTagsCommand.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_restJson1ListLFTagsCommand(input, context);
33
- };
34
- ListLFTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLFTagsCommand(output, context);
36
- };
37
- return ListLFTagsCommand;
38
- }($Command));
39
- export { ListLFTagsCommand };
31
+ }
32
+ }