@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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var LakeFormationClient = (function (_super) {
13
- __extends(LakeFormationClient, _super);
14
- function LakeFormationClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class LakeFormationClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- LakeFormationClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return LakeFormationClient;
38
- }(__Client));
39
- export { LakeFormationClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AddLFTagsToResourceRequestFilterSensitiveLog, AddLFTagsToResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AddLFTagsToResourceCommand, serializeAws_restJson1AddLFTagsToResourceCommand, } from "../protocols/Aws_restJson1";
6
- var AddLFTagsToResourceCommand = (function (_super) {
7
- __extends(AddLFTagsToResourceCommand, _super);
8
- function AddLFTagsToResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AddLFTagsToResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AddLFTagsToResourceCommand.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 = "AddLFTagsToResourceCommand";
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 = "AddLFTagsToResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AddLFTagsToResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AddLFTagsToResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AddLFTagsToResourceCommand.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_restJson1AddLFTagsToResourceCommand(input, context);
33
- };
34
- AddLFTagsToResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AddLFTagsToResourceCommand(output, context);
36
- };
37
- return AddLFTagsToResourceCommand;
38
- }($Command));
39
- export { AddLFTagsToResourceCommand };
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 { AssumeDecoratedRoleWithSAMLRequestFilterSensitiveLog, AssumeDecoratedRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand, serializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand, } from "../protocols/Aws_restJson1";
6
- var AssumeDecoratedRoleWithSAMLCommand = (function (_super) {
7
- __extends(AssumeDecoratedRoleWithSAMLCommand, _super);
8
- function AssumeDecoratedRoleWithSAMLCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssumeDecoratedRoleWithSAMLCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssumeDecoratedRoleWithSAMLCommand.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 = "AssumeDecoratedRoleWithSAMLCommand";
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 = "AssumeDecoratedRoleWithSAMLCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssumeDecoratedRoleWithSAMLRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssumeDecoratedRoleWithSAMLResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssumeDecoratedRoleWithSAMLCommand.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_restJson1AssumeDecoratedRoleWithSAMLCommand(input, context);
33
- };
34
- AssumeDecoratedRoleWithSAMLCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand(output, context);
36
- };
37
- return AssumeDecoratedRoleWithSAMLCommand;
38
- }($Command));
39
- export { AssumeDecoratedRoleWithSAMLCommand };
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 { BatchGrantPermissionsRequestFilterSensitiveLog, BatchGrantPermissionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchGrantPermissionsCommand, serializeAws_restJson1BatchGrantPermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var BatchGrantPermissionsCommand = (function (_super) {
7
- __extends(BatchGrantPermissionsCommand, _super);
8
- function BatchGrantPermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchGrantPermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchGrantPermissionsCommand.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 = "BatchGrantPermissionsCommand";
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 = "BatchGrantPermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchGrantPermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchGrantPermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchGrantPermissionsCommand.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_restJson1BatchGrantPermissionsCommand(input, context);
33
- };
34
- BatchGrantPermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchGrantPermissionsCommand(output, context);
36
- };
37
- return BatchGrantPermissionsCommand;
38
- }($Command));
39
- export { BatchGrantPermissionsCommand };
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 { BatchRevokePermissionsRequestFilterSensitiveLog, BatchRevokePermissionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1BatchRevokePermissionsCommand, serializeAws_restJson1BatchRevokePermissionsCommand, } from "../protocols/Aws_restJson1";
6
- var BatchRevokePermissionsCommand = (function (_super) {
7
- __extends(BatchRevokePermissionsCommand, _super);
8
- function BatchRevokePermissionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class BatchRevokePermissionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- BatchRevokePermissionsCommand.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 = "BatchRevokePermissionsCommand";
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 = "BatchRevokePermissionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: BatchRevokePermissionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: BatchRevokePermissionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- BatchRevokePermissionsCommand.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_restJson1BatchRevokePermissionsCommand(input, context);
33
- };
34
- BatchRevokePermissionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1BatchRevokePermissionsCommand(output, context);
36
- };
37
- return BatchRevokePermissionsCommand;
38
- }($Command));
39
- export { BatchRevokePermissionsCommand };
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 { CancelTransactionRequestFilterSensitiveLog, CancelTransactionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CancelTransactionCommand, serializeAws_restJson1CancelTransactionCommand, } from "../protocols/Aws_restJson1";
6
- var CancelTransactionCommand = (function (_super) {
7
- __extends(CancelTransactionCommand, _super);
8
- function CancelTransactionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CancelTransactionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CancelTransactionCommand.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 = "CancelTransactionCommand";
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 = "CancelTransactionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CancelTransactionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CancelTransactionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CancelTransactionCommand.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_restJson1CancelTransactionCommand(input, context);
33
- };
34
- CancelTransactionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CancelTransactionCommand(output, context);
36
- };
37
- return CancelTransactionCommand;
38
- }($Command));
39
- export { CancelTransactionCommand };
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 { CommitTransactionRequestFilterSensitiveLog, CommitTransactionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CommitTransactionCommand, serializeAws_restJson1CommitTransactionCommand, } from "../protocols/Aws_restJson1";
6
- var CommitTransactionCommand = (function (_super) {
7
- __extends(CommitTransactionCommand, _super);
8
- function CommitTransactionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CommitTransactionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CommitTransactionCommand.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 = "CommitTransactionCommand";
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 = "CommitTransactionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CommitTransactionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CommitTransactionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CommitTransactionCommand.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_restJson1CommitTransactionCommand(input, context);
33
- };
34
- CommitTransactionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CommitTransactionCommand(output, context);
36
- };
37
- return CommitTransactionCommand;
38
- }($Command));
39
- export { CommitTransactionCommand };
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 { CreateDataCellsFilterRequestFilterSensitiveLog, CreateDataCellsFilterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateDataCellsFilterCommand, serializeAws_restJson1CreateDataCellsFilterCommand, } from "../protocols/Aws_restJson1";
6
- var CreateDataCellsFilterCommand = (function (_super) {
7
- __extends(CreateDataCellsFilterCommand, _super);
8
- function CreateDataCellsFilterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateDataCellsFilterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateDataCellsFilterCommand.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 = "CreateDataCellsFilterCommand";
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 = "CreateDataCellsFilterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateDataCellsFilterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateDataCellsFilterResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateDataCellsFilterCommand.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_restJson1CreateDataCellsFilterCommand(input, context);
33
- };
34
- CreateDataCellsFilterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateDataCellsFilterCommand(output, context);
36
- };
37
- return CreateDataCellsFilterCommand;
38
- }($Command));
39
- export { CreateDataCellsFilterCommand };
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 { CreateLFTagRequestFilterSensitiveLog, CreateLFTagResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateLFTagCommand, serializeAws_restJson1CreateLFTagCommand, } from "../protocols/Aws_restJson1";
6
- var CreateLFTagCommand = (function (_super) {
7
- __extends(CreateLFTagCommand, _super);
8
- function CreateLFTagCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLFTagCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLFTagCommand.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 = "CreateLFTagCommand";
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 = "CreateLFTagCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLFTagRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLFTagResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLFTagCommand.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_restJson1CreateLFTagCommand(input, context);
33
- };
34
- CreateLFTagCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateLFTagCommand(output, context);
36
- };
37
- return CreateLFTagCommand;
38
- }($Command));
39
- export { CreateLFTagCommand };
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 { DeleteDataCellsFilterRequestFilterSensitiveLog, DeleteDataCellsFilterResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteDataCellsFilterCommand, serializeAws_restJson1DeleteDataCellsFilterCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteDataCellsFilterCommand = (function (_super) {
7
- __extends(DeleteDataCellsFilterCommand, _super);
8
- function DeleteDataCellsFilterCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteDataCellsFilterCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteDataCellsFilterCommand.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 = "DeleteDataCellsFilterCommand";
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 = "DeleteDataCellsFilterCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteDataCellsFilterRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteDataCellsFilterResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteDataCellsFilterCommand.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_restJson1DeleteDataCellsFilterCommand(input, context);
33
- };
34
- DeleteDataCellsFilterCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteDataCellsFilterCommand(output, context);
36
- };
37
- return DeleteDataCellsFilterCommand;
38
- }($Command));
39
- export { DeleteDataCellsFilterCommand };
31
+ }
32
+ }