@aws-sdk/client-glue 3.71.0 → 3.75.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 (88) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Glue.js +75 -0
  3. package/dist-cjs/commands/BatchGetCustomEntityTypesCommand.js +36 -0
  4. package/dist-cjs/commands/CreateCustomEntityTypeCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteCustomEntityTypeCommand.js +36 -0
  6. package/dist-cjs/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
  7. package/dist-cjs/commands/GetColumnStatisticsForTableCommand.js +3 -3
  8. package/dist-cjs/commands/GetCustomEntityTypeCommand.js +36 -0
  9. package/dist-cjs/commands/ListCustomEntityTypesCommand.js +36 -0
  10. package/dist-cjs/commands/UpdateJobCommand.js +2 -1
  11. package/dist-cjs/commands/UpdateMLTransformCommand.js +3 -3
  12. package/dist-cjs/commands/UpdatePartitionCommand.js +3 -3
  13. package/dist-cjs/commands/UpdateRegistryCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateSchemaCommand.js +3 -3
  15. package/dist-cjs/commands/UpdateTableCommand.js +3 -3
  16. package/dist-cjs/commands/index.js +5 -0
  17. package/dist-cjs/models/models_0.js +61 -65
  18. package/dist-cjs/models/models_1.js +76 -72
  19. package/dist-cjs/models/models_2.js +67 -1
  20. package/dist-cjs/pagination/ListCustomEntityTypesPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +1 -0
  22. package/dist-cjs/protocols/Aws_json1_1.js +421 -8
  23. package/dist-es/Glue.js +75 -0
  24. package/dist-es/commands/BatchGetCustomEntityTypesCommand.js +39 -0
  25. package/dist-es/commands/CreateCustomEntityTypeCommand.js +39 -0
  26. package/dist-es/commands/DeleteCustomEntityTypeCommand.js +39 -0
  27. package/dist-es/commands/GetColumnStatisticsForPartitionCommand.js +2 -1
  28. package/dist-es/commands/GetColumnStatisticsForTableCommand.js +1 -1
  29. package/dist-es/commands/GetCustomEntityTypeCommand.js +39 -0
  30. package/dist-es/commands/ListCustomEntityTypesCommand.js +39 -0
  31. package/dist-es/commands/UpdateJobCommand.js +2 -1
  32. package/dist-es/commands/UpdateMLTransformCommand.js +1 -1
  33. package/dist-es/commands/UpdatePartitionCommand.js +1 -1
  34. package/dist-es/commands/UpdateRegistryCommand.js +1 -1
  35. package/dist-es/commands/UpdateSchemaCommand.js +1 -1
  36. package/dist-es/commands/UpdateTableCommand.js +1 -1
  37. package/dist-es/commands/index.js +5 -0
  38. package/dist-es/models/models_0.js +41 -47
  39. package/dist-es/models/models_1.js +50 -44
  40. package/dist-es/models/models_2.js +44 -0
  41. package/dist-es/pagination/ListCustomEntityTypesPaginator.js +74 -0
  42. package/dist-es/pagination/index.js +1 -0
  43. package/dist-es/protocols/Aws_json1_1.js +493 -0
  44. package/dist-types/Glue.d.ts +20 -0
  45. package/dist-types/GlueClient.d.ts +7 -2
  46. package/dist-types/commands/BatchGetCustomEntityTypesCommand.d.ts +18 -0
  47. package/dist-types/commands/CreateCustomEntityTypeCommand.d.ts +18 -0
  48. package/dist-types/commands/DeleteCustomEntityTypeCommand.d.ts +18 -0
  49. package/dist-types/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
  50. package/dist-types/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
  51. package/dist-types/commands/GetCustomEntityTypeCommand.d.ts +18 -0
  52. package/dist-types/commands/ListCustomEntityTypesCommand.d.ts +18 -0
  53. package/dist-types/commands/UpdateJobCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateMLTransformCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdatePartitionCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateRegistryCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateSchemaCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateTableCommand.d.ts +1 -1
  59. package/dist-types/commands/index.d.ts +5 -0
  60. package/dist-types/models/models_0.d.ts +83 -170
  61. package/dist-types/models/models_1.d.ts +196 -261
  62. package/dist-types/models/models_2.d.ts +262 -1
  63. package/dist-types/pagination/ListCustomEntityTypesPaginator.d.ts +4 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  66. package/dist-types/ts3.4/Glue.d.ts +20 -0
  67. package/dist-types/ts3.4/GlueClient.d.ts +7 -2
  68. package/dist-types/ts3.4/commands/BatchGetCustomEntityTypesCommand.d.ts +16 -0
  69. package/dist-types/ts3.4/commands/CreateCustomEntityTypeCommand.d.ts +16 -0
  70. package/dist-types/ts3.4/commands/DeleteCustomEntityTypeCommand.d.ts +16 -0
  71. package/dist-types/ts3.4/commands/GetColumnStatisticsForPartitionCommand.d.ts +2 -1
  72. package/dist-types/ts3.4/commands/GetColumnStatisticsForTableCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/GetCustomEntityTypeCommand.d.ts +16 -0
  74. package/dist-types/ts3.4/commands/ListCustomEntityTypesCommand.d.ts +16 -0
  75. package/dist-types/ts3.4/commands/UpdateJobCommand.d.ts +2 -1
  76. package/dist-types/ts3.4/commands/UpdateMLTransformCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdatePartitionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateRegistryCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateSchemaCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +24 -0
  83. package/dist-types/ts3.4/models/models_1.d.ts +125 -1
  84. package/dist-types/ts3.4/models/models_2.d.ts +137 -1
  85. package/dist-types/ts3.4/pagination/ListCustomEntityTypesPaginator.d.ts +4 -0
  86. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  87. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +15 -0
  88. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-glue:** This release adds APIs to create, read, delete, list, and batch read of Glue custom entity types ([546dab6](https://github.com/aws/aws-sdk-js-v3/commit/546dab6995d14c3fbdc960a0131aab435dbe4188))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-glue
20
+
21
+
22
+
23
+
24
+
25
+ # [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-glue
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.71.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.70.0...v3.71.0) (2022-04-14)
7
34
 
8
35
 
package/dist-cjs/Glue.js CHANGED
@@ -8,6 +8,7 @@ const BatchDeleteTableCommand_1 = require("./commands/BatchDeleteTableCommand");
8
8
  const BatchDeleteTableVersionCommand_1 = require("./commands/BatchDeleteTableVersionCommand");
9
9
  const BatchGetBlueprintsCommand_1 = require("./commands/BatchGetBlueprintsCommand");
10
10
  const BatchGetCrawlersCommand_1 = require("./commands/BatchGetCrawlersCommand");
11
+ const BatchGetCustomEntityTypesCommand_1 = require("./commands/BatchGetCustomEntityTypesCommand");
11
12
  const BatchGetDevEndpointsCommand_1 = require("./commands/BatchGetDevEndpointsCommand");
12
13
  const BatchGetJobsCommand_1 = require("./commands/BatchGetJobsCommand");
13
14
  const BatchGetPartitionCommand_1 = require("./commands/BatchGetPartitionCommand");
@@ -22,6 +23,7 @@ const CreateBlueprintCommand_1 = require("./commands/CreateBlueprintCommand");
22
23
  const CreateClassifierCommand_1 = require("./commands/CreateClassifierCommand");
23
24
  const CreateConnectionCommand_1 = require("./commands/CreateConnectionCommand");
24
25
  const CreateCrawlerCommand_1 = require("./commands/CreateCrawlerCommand");
26
+ const CreateCustomEntityTypeCommand_1 = require("./commands/CreateCustomEntityTypeCommand");
25
27
  const CreateDatabaseCommand_1 = require("./commands/CreateDatabaseCommand");
26
28
  const CreateDevEndpointCommand_1 = require("./commands/CreateDevEndpointCommand");
27
29
  const CreateJobCommand_1 = require("./commands/CreateJobCommand");
@@ -43,6 +45,7 @@ const DeleteColumnStatisticsForPartitionCommand_1 = require("./commands/DeleteCo
43
45
  const DeleteColumnStatisticsForTableCommand_1 = require("./commands/DeleteColumnStatisticsForTableCommand");
44
46
  const DeleteConnectionCommand_1 = require("./commands/DeleteConnectionCommand");
45
47
  const DeleteCrawlerCommand_1 = require("./commands/DeleteCrawlerCommand");
48
+ const DeleteCustomEntityTypeCommand_1 = require("./commands/DeleteCustomEntityTypeCommand");
46
49
  const DeleteDatabaseCommand_1 = require("./commands/DeleteDatabaseCommand");
47
50
  const DeleteDevEndpointCommand_1 = require("./commands/DeleteDevEndpointCommand");
48
51
  const DeleteJobCommand_1 = require("./commands/DeleteJobCommand");
@@ -73,6 +76,7 @@ const GetConnectionsCommand_1 = require("./commands/GetConnectionsCommand");
73
76
  const GetCrawlerCommand_1 = require("./commands/GetCrawlerCommand");
74
77
  const GetCrawlerMetricsCommand_1 = require("./commands/GetCrawlerMetricsCommand");
75
78
  const GetCrawlersCommand_1 = require("./commands/GetCrawlersCommand");
79
+ const GetCustomEntityTypeCommand_1 = require("./commands/GetCustomEntityTypeCommand");
76
80
  const GetDatabaseCommand_1 = require("./commands/GetDatabaseCommand");
77
81
  const GetDatabasesCommand_1 = require("./commands/GetDatabasesCommand");
78
82
  const GetDataCatalogEncryptionSettingsCommand_1 = require("./commands/GetDataCatalogEncryptionSettingsCommand");
@@ -123,6 +127,7 @@ const GetWorkflowRunsCommand_1 = require("./commands/GetWorkflowRunsCommand");
123
127
  const ImportCatalogToGlueCommand_1 = require("./commands/ImportCatalogToGlueCommand");
124
128
  const ListBlueprintsCommand_1 = require("./commands/ListBlueprintsCommand");
125
129
  const ListCrawlersCommand_1 = require("./commands/ListCrawlersCommand");
130
+ const ListCustomEntityTypesCommand_1 = require("./commands/ListCustomEntityTypesCommand");
126
131
  const ListDevEndpointsCommand_1 = require("./commands/ListDevEndpointsCommand");
127
132
  const ListJobsCommand_1 = require("./commands/ListJobsCommand");
128
133
  const ListMLTransformsCommand_1 = require("./commands/ListMLTransformsCommand");
@@ -279,6 +284,20 @@ class Glue extends GlueClient_1.GlueClient {
279
284
  return this.send(command, optionsOrCb);
280
285
  }
281
286
  }
287
+ batchGetCustomEntityTypes(args, optionsOrCb, cb) {
288
+ const command = new BatchGetCustomEntityTypesCommand_1.BatchGetCustomEntityTypesCommand(args);
289
+ if (typeof optionsOrCb === "function") {
290
+ this.send(command, optionsOrCb);
291
+ }
292
+ else if (typeof cb === "function") {
293
+ if (typeof optionsOrCb !== "object")
294
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
295
+ this.send(command, optionsOrCb || {}, cb);
296
+ }
297
+ else {
298
+ return this.send(command, optionsOrCb);
299
+ }
300
+ }
282
301
  batchGetDevEndpoints(args, optionsOrCb, cb) {
283
302
  const command = new BatchGetDevEndpointsCommand_1.BatchGetDevEndpointsCommand(args);
284
303
  if (typeof optionsOrCb === "function") {
@@ -475,6 +494,20 @@ class Glue extends GlueClient_1.GlueClient {
475
494
  return this.send(command, optionsOrCb);
476
495
  }
477
496
  }
497
+ createCustomEntityType(args, optionsOrCb, cb) {
498
+ const command = new CreateCustomEntityTypeCommand_1.CreateCustomEntityTypeCommand(args);
499
+ if (typeof optionsOrCb === "function") {
500
+ this.send(command, optionsOrCb);
501
+ }
502
+ else if (typeof cb === "function") {
503
+ if (typeof optionsOrCb !== "object")
504
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
505
+ this.send(command, optionsOrCb || {}, cb);
506
+ }
507
+ else {
508
+ return this.send(command, optionsOrCb);
509
+ }
510
+ }
478
511
  createDatabase(args, optionsOrCb, cb) {
479
512
  const command = new CreateDatabaseCommand_1.CreateDatabaseCommand(args);
480
513
  if (typeof optionsOrCb === "function") {
@@ -769,6 +802,20 @@ class Glue extends GlueClient_1.GlueClient {
769
802
  return this.send(command, optionsOrCb);
770
803
  }
771
804
  }
805
+ deleteCustomEntityType(args, optionsOrCb, cb) {
806
+ const command = new DeleteCustomEntityTypeCommand_1.DeleteCustomEntityTypeCommand(args);
807
+ if (typeof optionsOrCb === "function") {
808
+ this.send(command, optionsOrCb);
809
+ }
810
+ else if (typeof cb === "function") {
811
+ if (typeof optionsOrCb !== "object")
812
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
813
+ this.send(command, optionsOrCb || {}, cb);
814
+ }
815
+ else {
816
+ return this.send(command, optionsOrCb);
817
+ }
818
+ }
772
819
  deleteDatabase(args, optionsOrCb, cb) {
773
820
  const command = new DeleteDatabaseCommand_1.DeleteDatabaseCommand(args);
774
821
  if (typeof optionsOrCb === "function") {
@@ -1189,6 +1236,20 @@ class Glue extends GlueClient_1.GlueClient {
1189
1236
  return this.send(command, optionsOrCb);
1190
1237
  }
1191
1238
  }
1239
+ getCustomEntityType(args, optionsOrCb, cb) {
1240
+ const command = new GetCustomEntityTypeCommand_1.GetCustomEntityTypeCommand(args);
1241
+ if (typeof optionsOrCb === "function") {
1242
+ this.send(command, optionsOrCb);
1243
+ }
1244
+ else if (typeof cb === "function") {
1245
+ if (typeof optionsOrCb !== "object")
1246
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1247
+ this.send(command, optionsOrCb || {}, cb);
1248
+ }
1249
+ else {
1250
+ return this.send(command, optionsOrCb);
1251
+ }
1252
+ }
1192
1253
  getDatabase(args, optionsOrCb, cb) {
1193
1254
  const command = new GetDatabaseCommand_1.GetDatabaseCommand(args);
1194
1255
  if (typeof optionsOrCb === "function") {
@@ -1889,6 +1950,20 @@ class Glue extends GlueClient_1.GlueClient {
1889
1950
  return this.send(command, optionsOrCb);
1890
1951
  }
1891
1952
  }
1953
+ listCustomEntityTypes(args, optionsOrCb, cb) {
1954
+ const command = new ListCustomEntityTypesCommand_1.ListCustomEntityTypesCommand(args);
1955
+ if (typeof optionsOrCb === "function") {
1956
+ this.send(command, optionsOrCb);
1957
+ }
1958
+ else if (typeof cb === "function") {
1959
+ if (typeof optionsOrCb !== "object")
1960
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1961
+ this.send(command, optionsOrCb || {}, cb);
1962
+ }
1963
+ else {
1964
+ return this.send(command, optionsOrCb);
1965
+ }
1966
+ }
1892
1967
  listDevEndpoints(args, optionsOrCb, cb) {
1893
1968
  const command = new ListDevEndpointsCommand_1.ListDevEndpointsCommand(args);
1894
1969
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetCustomEntityTypesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class BatchGetCustomEntityTypesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "GlueClient";
18
+ const commandName = "BatchGetCustomEntityTypesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.BatchGetCustomEntityTypesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.BatchGetCustomEntityTypesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1BatchGetCustomEntityTypesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1BatchGetCustomEntityTypesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.BatchGetCustomEntityTypesCommand = BatchGetCustomEntityTypesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCustomEntityTypeCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateCustomEntityTypeCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "GlueClient";
18
+ const commandName = "CreateCustomEntityTypeCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateCustomEntityTypeCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateCustomEntityTypeCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateCustomEntityTypeCommand = CreateCustomEntityTypeCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteCustomEntityTypeCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteCustomEntityTypeCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "GlueClient";
18
+ const commandName = "DeleteCustomEntityTypeCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteCustomEntityTypeCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteCustomEntityTypeCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteCustomEntityTypeCommand = DeleteCustomEntityTypeCommand;
@@ -4,6 +4,7 @@ exports.GetColumnStatisticsForPartitionCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class GetColumnStatisticsForPartitionCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -21,7 +22,7 @@ class GetColumnStatisticsForPartitionCommand extends smithy_client_1.Command {
21
22
  clientName,
22
23
  commandName,
23
24
  inputFilterSensitiveLog: models_0_1.GetColumnStatisticsForPartitionRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetColumnStatisticsForPartitionResponse.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_1_1.GetColumnStatisticsForPartitionResponse.filterSensitiveLog,
25
26
  };
26
27
  const { requestHandler } = configuration;
27
28
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetColumnStatisticsForTableCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_0_1 = require("../models/models_0");
6
+ const models_1_1 = require("../models/models_1");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class GetColumnStatisticsForTableCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class GetColumnStatisticsForTableCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetColumnStatisticsForTableRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetColumnStatisticsForTableResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_1_1.GetColumnStatisticsForTableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.GetColumnStatisticsForTableResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCustomEntityTypeCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_1_1 = require("../models/models_1");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetCustomEntityTypeCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "GlueClient";
18
+ const commandName = "GetCustomEntityTypeCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_1_1.GetCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.GetCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetCustomEntityTypeCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetCustomEntityTypeCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetCustomEntityTypeCommand = GetCustomEntityTypeCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListCustomEntityTypesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_1_1 = require("../models/models_1");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListCustomEntityTypesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "GlueClient";
18
+ const commandName = "ListCustomEntityTypesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_1_1.ListCustomEntityTypesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_1_1.ListCustomEntityTypesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListCustomEntityTypesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListCustomEntityTypesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListCustomEntityTypesCommand = ListCustomEntityTypesCommand;
@@ -4,6 +4,7 @@ exports.UpdateJobCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_1_1 = require("../models/models_1");
7
+ const models_2_1 = require("../models/models_2");
7
8
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
9
  class UpdateJobCommand extends smithy_client_1.Command {
9
10
  constructor(input) {
@@ -21,7 +22,7 @@ class UpdateJobCommand extends smithy_client_1.Command {
21
22
  clientName,
22
23
  commandName,
23
24
  inputFilterSensitiveLog: models_1_1.UpdateJobRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdateJobResponse.filterSensitiveLog,
25
+ outputFilterSensitiveLog: models_2_1.UpdateJobResponse.filterSensitiveLog,
25
26
  };
26
27
  const { requestHandler } = configuration;
27
28
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateMLTransformCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class UpdateMLTransformCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateMLTransformCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.UpdateMLTransformRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdateMLTransformResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.UpdateMLTransformRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.UpdateMLTransformResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdatePartitionCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class UpdatePartitionCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdatePartitionCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.UpdatePartitionRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdatePartitionResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.UpdatePartitionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.UpdatePartitionResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRegistryCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class UpdateRegistryCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateRegistryCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.UpdateRegistryInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdateRegistryResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.UpdateRegistryInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.UpdateRegistryResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateSchemaCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class UpdateSchemaCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateSchemaCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.UpdateSchemaInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdateSchemaResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.UpdateSchemaInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.UpdateSchemaResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTableCommand = void 0;
4
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- const models_1_1 = require("../models/models_1");
6
+ const models_2_1 = require("../models/models_2");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  class UpdateTableCommand extends smithy_client_1.Command {
9
9
  constructor(input) {
@@ -20,8 +20,8 @@ class UpdateTableCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_1_1.UpdateTableRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_1_1.UpdateTableResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_2_1.UpdateTableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_2_1.UpdateTableResponse.filterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./BatchDeleteTableCommand"), exports);
8
8
  tslib_1.__exportStar(require("./BatchDeleteTableVersionCommand"), exports);
9
9
  tslib_1.__exportStar(require("./BatchGetBlueprintsCommand"), exports);
10
10
  tslib_1.__exportStar(require("./BatchGetCrawlersCommand"), exports);
11
+ tslib_1.__exportStar(require("./BatchGetCustomEntityTypesCommand"), exports);
11
12
  tslib_1.__exportStar(require("./BatchGetDevEndpointsCommand"), exports);
12
13
  tslib_1.__exportStar(require("./BatchGetJobsCommand"), exports);
13
14
  tslib_1.__exportStar(require("./BatchGetPartitionCommand"), exports);
@@ -22,6 +23,7 @@ tslib_1.__exportStar(require("./CreateBlueprintCommand"), exports);
22
23
  tslib_1.__exportStar(require("./CreateClassifierCommand"), exports);
23
24
  tslib_1.__exportStar(require("./CreateConnectionCommand"), exports);
24
25
  tslib_1.__exportStar(require("./CreateCrawlerCommand"), exports);
26
+ tslib_1.__exportStar(require("./CreateCustomEntityTypeCommand"), exports);
25
27
  tslib_1.__exportStar(require("./CreateDatabaseCommand"), exports);
26
28
  tslib_1.__exportStar(require("./CreateDevEndpointCommand"), exports);
27
29
  tslib_1.__exportStar(require("./CreateJobCommand"), exports);
@@ -43,6 +45,7 @@ tslib_1.__exportStar(require("./DeleteColumnStatisticsForPartitionCommand"), exp
43
45
  tslib_1.__exportStar(require("./DeleteColumnStatisticsForTableCommand"), exports);
44
46
  tslib_1.__exportStar(require("./DeleteConnectionCommand"), exports);
45
47
  tslib_1.__exportStar(require("./DeleteCrawlerCommand"), exports);
48
+ tslib_1.__exportStar(require("./DeleteCustomEntityTypeCommand"), exports);
46
49
  tslib_1.__exportStar(require("./DeleteDatabaseCommand"), exports);
47
50
  tslib_1.__exportStar(require("./DeleteDevEndpointCommand"), exports);
48
51
  tslib_1.__exportStar(require("./DeleteJobCommand"), exports);
@@ -73,6 +76,7 @@ tslib_1.__exportStar(require("./GetConnectionsCommand"), exports);
73
76
  tslib_1.__exportStar(require("./GetCrawlerCommand"), exports);
74
77
  tslib_1.__exportStar(require("./GetCrawlerMetricsCommand"), exports);
75
78
  tslib_1.__exportStar(require("./GetCrawlersCommand"), exports);
79
+ tslib_1.__exportStar(require("./GetCustomEntityTypeCommand"), exports);
76
80
  tslib_1.__exportStar(require("./GetDataCatalogEncryptionSettingsCommand"), exports);
77
81
  tslib_1.__exportStar(require("./GetDatabaseCommand"), exports);
78
82
  tslib_1.__exportStar(require("./GetDatabasesCommand"), exports);
@@ -123,6 +127,7 @@ tslib_1.__exportStar(require("./GetWorkflowRunsCommand"), exports);
123
127
  tslib_1.__exportStar(require("./ImportCatalogToGlueCommand"), exports);
124
128
  tslib_1.__exportStar(require("./ListBlueprintsCommand"), exports);
125
129
  tslib_1.__exportStar(require("./ListCrawlersCommand"), exports);
130
+ tslib_1.__exportStar(require("./ListCustomEntityTypesCommand"), exports);
126
131
  tslib_1.__exportStar(require("./ListDevEndpointsCommand"), exports);
127
132
  tslib_1.__exportStar(require("./ListJobsCommand"), exports);
128
133
  tslib_1.__exportStar(require("./ListMLTransformsCommand"), exports);