@aws-sdk/client-lakeformation 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/LakeFormation.js +189 -182
  4. package/dist-es/LakeFormationClient.js +28 -22
  5. package/dist-es/commands/AddLFTagsToResourceCommand.js +28 -21
  6. package/dist-es/commands/AssumeDecoratedRoleWithSAMLCommand.js +28 -21
  7. package/dist-es/commands/BatchGrantPermissionsCommand.js +28 -21
  8. package/dist-es/commands/BatchRevokePermissionsCommand.js +28 -21
  9. package/dist-es/commands/CancelTransactionCommand.js +28 -21
  10. package/dist-es/commands/CommitTransactionCommand.js +28 -21
  11. package/dist-es/commands/CreateDataCellsFilterCommand.js +28 -21
  12. package/dist-es/commands/CreateLFTagCommand.js +28 -21
  13. package/dist-es/commands/DeleteDataCellsFilterCommand.js +28 -21
  14. package/dist-es/commands/DeleteLFTagCommand.js +28 -21
  15. package/dist-es/commands/DeleteObjectsOnCancelCommand.js +28 -21
  16. package/dist-es/commands/DeregisterResourceCommand.js +28 -21
  17. package/dist-es/commands/DescribeResourceCommand.js +28 -21
  18. package/dist-es/commands/DescribeTransactionCommand.js +28 -21
  19. package/dist-es/commands/ExtendTransactionCommand.js +28 -21
  20. package/dist-es/commands/GetDataLakeSettingsCommand.js +28 -21
  21. package/dist-es/commands/GetEffectivePermissionsForPathCommand.js +28 -21
  22. package/dist-es/commands/GetLFTagCommand.js +28 -21
  23. package/dist-es/commands/GetQueryStateCommand.js +28 -21
  24. package/dist-es/commands/GetQueryStatisticsCommand.js +28 -21
  25. package/dist-es/commands/GetResourceLFTagsCommand.js +28 -21
  26. package/dist-es/commands/GetTableObjectsCommand.js +28 -21
  27. package/dist-es/commands/GetTemporaryGluePartitionCredentialsCommand.js +28 -21
  28. package/dist-es/commands/GetTemporaryGlueTableCredentialsCommand.js +28 -21
  29. package/dist-es/commands/GetWorkUnitResultsCommand.js +28 -21
  30. package/dist-es/commands/GetWorkUnitsCommand.js +28 -21
  31. package/dist-es/commands/GrantPermissionsCommand.js +28 -21
  32. package/dist-es/commands/ListDataCellsFilterCommand.js +28 -21
  33. package/dist-es/commands/ListLFTagsCommand.js +28 -21
  34. package/dist-es/commands/ListPermissionsCommand.js +28 -21
  35. package/dist-es/commands/ListResourcesCommand.js +28 -21
  36. package/dist-es/commands/ListTableStorageOptimizersCommand.js +28 -21
  37. package/dist-es/commands/ListTransactionsCommand.js +28 -21
  38. package/dist-es/commands/PutDataLakeSettingsCommand.js +28 -21
  39. package/dist-es/commands/RegisterResourceCommand.js +28 -21
  40. package/dist-es/commands/RemoveLFTagsFromResourceCommand.js +28 -21
  41. package/dist-es/commands/RevokePermissionsCommand.js +28 -21
  42. package/dist-es/commands/SearchDatabasesByLFTagsCommand.js +28 -21
  43. package/dist-es/commands/SearchTablesByLFTagsCommand.js +28 -21
  44. package/dist-es/commands/StartQueryPlanningCommand.js +28 -21
  45. package/dist-es/commands/StartTransactionCommand.js +28 -21
  46. package/dist-es/commands/UpdateLFTagCommand.js +28 -21
  47. package/dist-es/commands/UpdateResourceCommand.js +28 -21
  48. package/dist-es/commands/UpdateTableObjectsCommand.js +28 -21
  49. package/dist-es/commands/UpdateTableStorageOptimizerCommand.js +28 -21
  50. package/dist-es/endpoints.js +8 -8
  51. package/dist-es/models/LakeFormationServiceException.js +10 -5
  52. package/dist-es/models/models_0.js +352 -621
  53. package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +68 -25
  54. package/dist-es/pagination/GetTableObjectsPaginator.js +68 -25
  55. package/dist-es/pagination/GetWorkUnitsPaginator.js +68 -25
  56. package/dist-es/pagination/ListDataCellsFilterPaginator.js +68 -25
  57. package/dist-es/pagination/ListLFTagsPaginator.js +68 -25
  58. package/dist-es/pagination/ListPermissionsPaginator.js +68 -25
  59. package/dist-es/pagination/ListResourcesPaginator.js +68 -25
  60. package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +68 -25
  61. package/dist-es/pagination/ListTransactionsPaginator.js +68 -25
  62. package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +68 -25
  63. package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +68 -25
  64. package/dist-es/protocols/Aws_restJson1.js +4826 -3651
  65. package/dist-es/runtimeConfig.browser.js +12 -26
  66. package/dist-es/runtimeConfig.js +12 -30
  67. package/dist-es/runtimeConfig.native.js +5 -8
  68. package/dist-es/runtimeConfig.shared.js +11 -8
  69. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
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));
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;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ LakeFormationClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return LakeFormationClient;
38
+ }(__Client));
39
+ export { LakeFormationClient };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AddLFTagsToResourceRequestFilterSensitiveLog, AddLFTagsToResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddLFTagsToResourceCommand, serializeAws_restJson1AddLFTagsToResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class AddLFTagsToResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddLFTagsToResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "AddLFTagsToResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "AddLFTagsToResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddLFTagsToResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddLFTagsToResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AddLFTagsToResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AddLFTagsToResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddLFTagsToResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddLFTagsToResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddLFTagsToResourceCommand;
38
+ }($Command));
39
+ export { AddLFTagsToResourceCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AssumeDecoratedRoleWithSAMLRequestFilterSensitiveLog, AssumeDecoratedRoleWithSAMLResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand, serializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand, } from "../protocols/Aws_restJson1";
5
- export class AssumeDecoratedRoleWithSAMLCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssumeDecoratedRoleWithSAMLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "AssumeDecoratedRoleWithSAMLCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "AssumeDecoratedRoleWithSAMLCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssumeDecoratedRoleWithSAMLRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssumeDecoratedRoleWithSAMLResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssumeDecoratedRoleWithSAMLCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssumeDecoratedRoleWithSAMLCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AssumeDecoratedRoleWithSAMLCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssumeDecoratedRoleWithSAMLCommand;
38
+ }($Command));
39
+ export { AssumeDecoratedRoleWithSAMLCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchGrantPermissionsRequestFilterSensitiveLog, BatchGrantPermissionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchGrantPermissionsCommand, serializeAws_restJson1BatchGrantPermissionsCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchGrantPermissionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchGrantPermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "BatchGrantPermissionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "BatchGrantPermissionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchGrantPermissionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchGrantPermissionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchGrantPermissionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchGrantPermissionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchGrantPermissionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchGrantPermissionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchGrantPermissionsCommand;
38
+ }($Command));
39
+ export { BatchGrantPermissionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchRevokePermissionsRequestFilterSensitiveLog, BatchRevokePermissionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchRevokePermissionsCommand, serializeAws_restJson1BatchRevokePermissionsCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchRevokePermissionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchRevokePermissionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "BatchRevokePermissionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "BatchRevokePermissionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchRevokePermissionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchRevokePermissionsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchRevokePermissionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchRevokePermissionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchRevokePermissionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchRevokePermissionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchRevokePermissionsCommand;
38
+ }($Command));
39
+ export { BatchRevokePermissionsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelTransactionRequestFilterSensitiveLog, CancelTransactionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CancelTransactionCommand, serializeAws_restJson1CancelTransactionCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelTransactionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "CancelTransactionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "CancelTransactionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelTransactionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelTransactionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelTransactionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelTransactionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelTransactionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelTransactionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelTransactionCommand;
38
+ }($Command));
39
+ export { CancelTransactionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CommitTransactionRequestFilterSensitiveLog, CommitTransactionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CommitTransactionCommand, serializeAws_restJson1CommitTransactionCommand, } from "../protocols/Aws_restJson1";
5
- export class CommitTransactionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CommitTransactionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "CommitTransactionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "CommitTransactionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CommitTransactionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CommitTransactionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CommitTransactionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CommitTransactionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CommitTransactionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CommitTransactionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CommitTransactionCommand;
38
+ }($Command));
39
+ export { CommitTransactionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDataCellsFilterRequestFilterSensitiveLog, CreateDataCellsFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDataCellsFilterCommand, serializeAws_restJson1CreateDataCellsFilterCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDataCellsFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataCellsFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "CreateDataCellsFilterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "CreateDataCellsFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataCellsFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataCellsFilterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataCellsFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDataCellsFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataCellsFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDataCellsFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataCellsFilterCommand;
38
+ }($Command));
39
+ export { CreateDataCellsFilterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateLFTagRequestFilterSensitiveLog, CreateLFTagResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateLFTagCommand, serializeAws_restJson1CreateLFTagCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateLFTagCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLFTagCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "CreateLFTagCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "CreateLFTagCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLFTagRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLFTagResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLFTagCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateLFTagCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLFTagCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateLFTagCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLFTagCommand;
38
+ }($Command));
39
+ export { CreateLFTagCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteDataCellsFilterRequestFilterSensitiveLog, DeleteDataCellsFilterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDataCellsFilterCommand, serializeAws_restJson1DeleteDataCellsFilterCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDataCellsFilterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDataCellsFilterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LakeFormationClient";
15
- const commandName = "DeleteDataCellsFilterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LakeFormationClient";
18
+ var commandName = "DeleteDataCellsFilterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDataCellsFilterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDataCellsFilterResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDataCellsFilterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDataCellsFilterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDataCellsFilterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDataCellsFilterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDataCellsFilterCommand;
38
+ }($Command));
39
+ export { DeleteDataCellsFilterCommand };