@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/dist-es/Glue.js CHANGED
@@ -6,6 +6,7 @@ import { BatchDeleteTableCommand, } from "./commands/BatchDeleteTableCommand";
6
6
  import { BatchDeleteTableVersionCommand, } from "./commands/BatchDeleteTableVersionCommand";
7
7
  import { BatchGetBlueprintsCommand, } from "./commands/BatchGetBlueprintsCommand";
8
8
  import { BatchGetCrawlersCommand, } from "./commands/BatchGetCrawlersCommand";
9
+ import { BatchGetCustomEntityTypesCommand, } from "./commands/BatchGetCustomEntityTypesCommand";
9
10
  import { BatchGetDevEndpointsCommand, } from "./commands/BatchGetDevEndpointsCommand";
10
11
  import { BatchGetJobsCommand, } from "./commands/BatchGetJobsCommand";
11
12
  import { BatchGetPartitionCommand, } from "./commands/BatchGetPartitionCommand";
@@ -20,6 +21,7 @@ import { CreateBlueprintCommand, } from "./commands/CreateBlueprintCommand";
20
21
  import { CreateClassifierCommand, } from "./commands/CreateClassifierCommand";
21
22
  import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
22
23
  import { CreateCrawlerCommand, } from "./commands/CreateCrawlerCommand";
24
+ import { CreateCustomEntityTypeCommand, } from "./commands/CreateCustomEntityTypeCommand";
23
25
  import { CreateDatabaseCommand, } from "./commands/CreateDatabaseCommand";
24
26
  import { CreateDevEndpointCommand, } from "./commands/CreateDevEndpointCommand";
25
27
  import { CreateJobCommand } from "./commands/CreateJobCommand";
@@ -41,6 +43,7 @@ import { DeleteColumnStatisticsForPartitionCommand, } from "./commands/DeleteCol
41
43
  import { DeleteColumnStatisticsForTableCommand, } from "./commands/DeleteColumnStatisticsForTableCommand";
42
44
  import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
43
45
  import { DeleteCrawlerCommand, } from "./commands/DeleteCrawlerCommand";
46
+ import { DeleteCustomEntityTypeCommand, } from "./commands/DeleteCustomEntityTypeCommand";
44
47
  import { DeleteDatabaseCommand, } from "./commands/DeleteDatabaseCommand";
45
48
  import { DeleteDevEndpointCommand, } from "./commands/DeleteDevEndpointCommand";
46
49
  import { DeleteJobCommand } from "./commands/DeleteJobCommand";
@@ -71,6 +74,7 @@ import { GetConnectionsCommand, } from "./commands/GetConnectionsCommand";
71
74
  import { GetCrawlerCommand } from "./commands/GetCrawlerCommand";
72
75
  import { GetCrawlerMetricsCommand, } from "./commands/GetCrawlerMetricsCommand";
73
76
  import { GetCrawlersCommand } from "./commands/GetCrawlersCommand";
77
+ import { GetCustomEntityTypeCommand, } from "./commands/GetCustomEntityTypeCommand";
74
78
  import { GetDatabaseCommand } from "./commands/GetDatabaseCommand";
75
79
  import { GetDatabasesCommand, } from "./commands/GetDatabasesCommand";
76
80
  import { GetDataCatalogEncryptionSettingsCommand, } from "./commands/GetDataCatalogEncryptionSettingsCommand";
@@ -121,6 +125,7 @@ import { GetWorkflowRunsCommand, } from "./commands/GetWorkflowRunsCommand";
121
125
  import { ImportCatalogToGlueCommand, } from "./commands/ImportCatalogToGlueCommand";
122
126
  import { ListBlueprintsCommand, } from "./commands/ListBlueprintsCommand";
123
127
  import { ListCrawlersCommand, } from "./commands/ListCrawlersCommand";
128
+ import { ListCustomEntityTypesCommand, } from "./commands/ListCustomEntityTypesCommand";
124
129
  import { ListDevEndpointsCommand, } from "./commands/ListDevEndpointsCommand";
125
130
  import { ListJobsCommand } from "./commands/ListJobsCommand";
126
131
  import { ListMLTransformsCommand, } from "./commands/ListMLTransformsCommand";
@@ -281,6 +286,20 @@ var Glue = (function (_super) {
281
286
  return this.send(command, optionsOrCb);
282
287
  }
283
288
  };
289
+ Glue.prototype.batchGetCustomEntityTypes = function (args, optionsOrCb, cb) {
290
+ var command = new BatchGetCustomEntityTypesCommand(args);
291
+ if (typeof optionsOrCb === "function") {
292
+ this.send(command, optionsOrCb);
293
+ }
294
+ else if (typeof cb === "function") {
295
+ if (typeof optionsOrCb !== "object")
296
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
297
+ this.send(command, optionsOrCb || {}, cb);
298
+ }
299
+ else {
300
+ return this.send(command, optionsOrCb);
301
+ }
302
+ };
284
303
  Glue.prototype.batchGetDevEndpoints = function (args, optionsOrCb, cb) {
285
304
  var command = new BatchGetDevEndpointsCommand(args);
286
305
  if (typeof optionsOrCb === "function") {
@@ -477,6 +496,20 @@ var Glue = (function (_super) {
477
496
  return this.send(command, optionsOrCb);
478
497
  }
479
498
  };
499
+ Glue.prototype.createCustomEntityType = function (args, optionsOrCb, cb) {
500
+ var command = new CreateCustomEntityTypeCommand(args);
501
+ if (typeof optionsOrCb === "function") {
502
+ this.send(command, optionsOrCb);
503
+ }
504
+ else if (typeof cb === "function") {
505
+ if (typeof optionsOrCb !== "object")
506
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
507
+ this.send(command, optionsOrCb || {}, cb);
508
+ }
509
+ else {
510
+ return this.send(command, optionsOrCb);
511
+ }
512
+ };
480
513
  Glue.prototype.createDatabase = function (args, optionsOrCb, cb) {
481
514
  var command = new CreateDatabaseCommand(args);
482
515
  if (typeof optionsOrCb === "function") {
@@ -771,6 +804,20 @@ var Glue = (function (_super) {
771
804
  return this.send(command, optionsOrCb);
772
805
  }
773
806
  };
807
+ Glue.prototype.deleteCustomEntityType = function (args, optionsOrCb, cb) {
808
+ var command = new DeleteCustomEntityTypeCommand(args);
809
+ if (typeof optionsOrCb === "function") {
810
+ this.send(command, optionsOrCb);
811
+ }
812
+ else if (typeof cb === "function") {
813
+ if (typeof optionsOrCb !== "object")
814
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
815
+ this.send(command, optionsOrCb || {}, cb);
816
+ }
817
+ else {
818
+ return this.send(command, optionsOrCb);
819
+ }
820
+ };
774
821
  Glue.prototype.deleteDatabase = function (args, optionsOrCb, cb) {
775
822
  var command = new DeleteDatabaseCommand(args);
776
823
  if (typeof optionsOrCb === "function") {
@@ -1191,6 +1238,20 @@ var Glue = (function (_super) {
1191
1238
  return this.send(command, optionsOrCb);
1192
1239
  }
1193
1240
  };
1241
+ Glue.prototype.getCustomEntityType = function (args, optionsOrCb, cb) {
1242
+ var command = new GetCustomEntityTypeCommand(args);
1243
+ if (typeof optionsOrCb === "function") {
1244
+ this.send(command, optionsOrCb);
1245
+ }
1246
+ else if (typeof cb === "function") {
1247
+ if (typeof optionsOrCb !== "object")
1248
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1249
+ this.send(command, optionsOrCb || {}, cb);
1250
+ }
1251
+ else {
1252
+ return this.send(command, optionsOrCb);
1253
+ }
1254
+ };
1194
1255
  Glue.prototype.getDatabase = function (args, optionsOrCb, cb) {
1195
1256
  var command = new GetDatabaseCommand(args);
1196
1257
  if (typeof optionsOrCb === "function") {
@@ -1891,6 +1952,20 @@ var Glue = (function (_super) {
1891
1952
  return this.send(command, optionsOrCb);
1892
1953
  }
1893
1954
  };
1955
+ Glue.prototype.listCustomEntityTypes = function (args, optionsOrCb, cb) {
1956
+ var command = new ListCustomEntityTypesCommand(args);
1957
+ if (typeof optionsOrCb === "function") {
1958
+ this.send(command, optionsOrCb);
1959
+ }
1960
+ else if (typeof cb === "function") {
1961
+ if (typeof optionsOrCb !== "object")
1962
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
1963
+ this.send(command, optionsOrCb || {}, cb);
1964
+ }
1965
+ else {
1966
+ return this.send(command, optionsOrCb);
1967
+ }
1968
+ };
1894
1969
  Glue.prototype.listDevEndpoints = function (args, optionsOrCb, cb) {
1895
1970
  var command = new ListDevEndpointsCommand(args);
1896
1971
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { BatchGetCustomEntityTypesRequest, BatchGetCustomEntityTypesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1BatchGetCustomEntityTypesCommand, serializeAws_json1_1BatchGetCustomEntityTypesCommand, } from "../protocols/Aws_json1_1";
6
+ var BatchGetCustomEntityTypesCommand = (function (_super) {
7
+ __extends(BatchGetCustomEntityTypesCommand, _super);
8
+ function BatchGetCustomEntityTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ BatchGetCustomEntityTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "BatchGetCustomEntityTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: BatchGetCustomEntityTypesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: BatchGetCustomEntityTypesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ BatchGetCustomEntityTypesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1BatchGetCustomEntityTypesCommand(input, context);
33
+ };
34
+ BatchGetCustomEntityTypesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1BatchGetCustomEntityTypesCommand(output, context);
36
+ };
37
+ return BatchGetCustomEntityTypesCommand;
38
+ }($Command));
39
+ export { BatchGetCustomEntityTypesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateCustomEntityTypeRequest, CreateCustomEntityTypeResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1CreateCustomEntityTypeCommand, serializeAws_json1_1CreateCustomEntityTypeCommand, } from "../protocols/Aws_json1_1";
6
+ var CreateCustomEntityTypeCommand = (function (_super) {
7
+ __extends(CreateCustomEntityTypeCommand, _super);
8
+ function CreateCustomEntityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateCustomEntityTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "CreateCustomEntityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateCustomEntityTypeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1CreateCustomEntityTypeCommand(input, context);
33
+ };
34
+ CreateCustomEntityTypeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1CreateCustomEntityTypeCommand(output, context);
36
+ };
37
+ return CreateCustomEntityTypeCommand;
38
+ }($Command));
39
+ export { CreateCustomEntityTypeCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteCustomEntityTypeRequest, DeleteCustomEntityTypeResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteCustomEntityTypeCommand, serializeAws_json1_1DeleteCustomEntityTypeCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteCustomEntityTypeCommand = (function (_super) {
7
+ __extends(DeleteCustomEntityTypeCommand, _super);
8
+ function DeleteCustomEntityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteCustomEntityTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "DeleteCustomEntityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DeleteCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCustomEntityTypeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1DeleteCustomEntityTypeCommand(input, context);
33
+ };
34
+ DeleteCustomEntityTypeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DeleteCustomEntityTypeCommand(output, context);
36
+ };
37
+ return DeleteCustomEntityTypeCommand;
38
+ }($Command));
39
+ export { DeleteCustomEntityTypeCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetColumnStatisticsForPartitionRequest, GetColumnStatisticsForPartitionResponse } from "../models/models_0";
4
+ import { GetColumnStatisticsForPartitionRequest } from "../models/models_0";
5
+ import { GetColumnStatisticsForPartitionResponse } from "../models/models_1";
5
6
  import { deserializeAws_json1_1GetColumnStatisticsForPartitionCommand, serializeAws_json1_1GetColumnStatisticsForPartitionCommand, } from "../protocols/Aws_json1_1";
6
7
  var GetColumnStatisticsForPartitionCommand = (function (_super) {
7
8
  __extends(GetColumnStatisticsForPartitionCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetColumnStatisticsForTableRequest, GetColumnStatisticsForTableResponse } from "../models/models_0";
4
+ import { GetColumnStatisticsForTableRequest, GetColumnStatisticsForTableResponse } from "../models/models_1";
5
5
  import { deserializeAws_json1_1GetColumnStatisticsForTableCommand, serializeAws_json1_1GetColumnStatisticsForTableCommand, } from "../protocols/Aws_json1_1";
6
6
  var GetColumnStatisticsForTableCommand = (function (_super) {
7
7
  __extends(GetColumnStatisticsForTableCommand, _super);
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetCustomEntityTypeRequest, GetCustomEntityTypeResponse } from "../models/models_1";
5
+ import { deserializeAws_json1_1GetCustomEntityTypeCommand, serializeAws_json1_1GetCustomEntityTypeCommand, } from "../protocols/Aws_json1_1";
6
+ var GetCustomEntityTypeCommand = (function (_super) {
7
+ __extends(GetCustomEntityTypeCommand, _super);
8
+ function GetCustomEntityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetCustomEntityTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "GetCustomEntityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetCustomEntityTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetCustomEntityTypeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetCustomEntityTypeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetCustomEntityTypeCommand(input, context);
33
+ };
34
+ GetCustomEntityTypeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetCustomEntityTypeCommand(output, context);
36
+ };
37
+ return GetCustomEntityTypeCommand;
38
+ }($Command));
39
+ export { GetCustomEntityTypeCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCustomEntityTypesRequest, ListCustomEntityTypesResponse } from "../models/models_1";
5
+ import { deserializeAws_json1_1ListCustomEntityTypesCommand, serializeAws_json1_1ListCustomEntityTypesCommand, } from "../protocols/Aws_json1_1";
6
+ var ListCustomEntityTypesCommand = (function (_super) {
7
+ __extends(ListCustomEntityTypesCommand, _super);
8
+ function ListCustomEntityTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCustomEntityTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlueClient";
18
+ var commandName = "ListCustomEntityTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCustomEntityTypesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCustomEntityTypesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCustomEntityTypesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ListCustomEntityTypesCommand(input, context);
33
+ };
34
+ ListCustomEntityTypesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ListCustomEntityTypesCommand(output, context);
36
+ };
37
+ return ListCustomEntityTypesCommand;
38
+ }($Command));
39
+ export { ListCustomEntityTypesCommand };
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateJobRequest, UpdateJobResponse } from "../models/models_1";
4
+ import { UpdateJobRequest } from "../models/models_1";
5
+ import { UpdateJobResponse } from "../models/models_2";
5
6
  import { deserializeAws_json1_1UpdateJobCommand, serializeAws_json1_1UpdateJobCommand } from "../protocols/Aws_json1_1";
6
7
  var UpdateJobCommand = (function (_super) {
7
8
  __extends(UpdateJobCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateMLTransformRequest, UpdateMLTransformResponse } from "../models/models_1";
4
+ import { UpdateMLTransformRequest, UpdateMLTransformResponse } from "../models/models_2";
5
5
  import { deserializeAws_json1_1UpdateMLTransformCommand, serializeAws_json1_1UpdateMLTransformCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdateMLTransformCommand = (function (_super) {
7
7
  __extends(UpdateMLTransformCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdatePartitionRequest, UpdatePartitionResponse } from "../models/models_1";
4
+ import { UpdatePartitionRequest, UpdatePartitionResponse } from "../models/models_2";
5
5
  import { deserializeAws_json1_1UpdatePartitionCommand, serializeAws_json1_1UpdatePartitionCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdatePartitionCommand = (function (_super) {
7
7
  __extends(UpdatePartitionCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateRegistryInput, UpdateRegistryResponse } from "../models/models_1";
4
+ import { UpdateRegistryInput, UpdateRegistryResponse } from "../models/models_2";
5
5
  import { deserializeAws_json1_1UpdateRegistryCommand, serializeAws_json1_1UpdateRegistryCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdateRegistryCommand = (function (_super) {
7
7
  __extends(UpdateRegistryCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateSchemaInput, UpdateSchemaResponse } from "../models/models_1";
4
+ import { UpdateSchemaInput, UpdateSchemaResponse } from "../models/models_2";
5
5
  import { deserializeAws_json1_1UpdateSchemaCommand, serializeAws_json1_1UpdateSchemaCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdateSchemaCommand = (function (_super) {
7
7
  __extends(UpdateSchemaCommand, _super);
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateTableRequest, UpdateTableResponse } from "../models/models_1";
4
+ import { UpdateTableRequest, UpdateTableResponse } from "../models/models_2";
5
5
  import { deserializeAws_json1_1UpdateTableCommand, serializeAws_json1_1UpdateTableCommand, } from "../protocols/Aws_json1_1";
6
6
  var UpdateTableCommand = (function (_super) {
7
7
  __extends(UpdateTableCommand, _super);
@@ -5,6 +5,7 @@ export * from "./BatchDeleteTableCommand";
5
5
  export * from "./BatchDeleteTableVersionCommand";
6
6
  export * from "./BatchGetBlueprintsCommand";
7
7
  export * from "./BatchGetCrawlersCommand";
8
+ export * from "./BatchGetCustomEntityTypesCommand";
8
9
  export * from "./BatchGetDevEndpointsCommand";
9
10
  export * from "./BatchGetJobsCommand";
10
11
  export * from "./BatchGetPartitionCommand";
@@ -19,6 +20,7 @@ export * from "./CreateBlueprintCommand";
19
20
  export * from "./CreateClassifierCommand";
20
21
  export * from "./CreateConnectionCommand";
21
22
  export * from "./CreateCrawlerCommand";
23
+ export * from "./CreateCustomEntityTypeCommand";
22
24
  export * from "./CreateDatabaseCommand";
23
25
  export * from "./CreateDevEndpointCommand";
24
26
  export * from "./CreateJobCommand";
@@ -40,6 +42,7 @@ export * from "./DeleteColumnStatisticsForPartitionCommand";
40
42
  export * from "./DeleteColumnStatisticsForTableCommand";
41
43
  export * from "./DeleteConnectionCommand";
42
44
  export * from "./DeleteCrawlerCommand";
45
+ export * from "./DeleteCustomEntityTypeCommand";
43
46
  export * from "./DeleteDatabaseCommand";
44
47
  export * from "./DeleteDevEndpointCommand";
45
48
  export * from "./DeleteJobCommand";
@@ -70,6 +73,7 @@ export * from "./GetConnectionsCommand";
70
73
  export * from "./GetCrawlerCommand";
71
74
  export * from "./GetCrawlerMetricsCommand";
72
75
  export * from "./GetCrawlersCommand";
76
+ export * from "./GetCustomEntityTypeCommand";
73
77
  export * from "./GetDataCatalogEncryptionSettingsCommand";
74
78
  export * from "./GetDatabaseCommand";
75
79
  export * from "./GetDatabasesCommand";
@@ -120,6 +124,7 @@ export * from "./GetWorkflowRunsCommand";
120
124
  export * from "./ImportCatalogToGlueCommand";
121
125
  export * from "./ListBlueprintsCommand";
122
126
  export * from "./ListCrawlersCommand";
127
+ export * from "./ListCustomEntityTypesCommand";
123
128
  export * from "./ListDevEndpointsCommand";
124
129
  export * from "./ListJobsCommand";
125
130
  export * from "./ListMLTransformsCommand";
@@ -348,6 +348,18 @@ export var BatchGetCrawlersResponse;
348
348
  (function (BatchGetCrawlersResponse) {
349
349
  BatchGetCrawlersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
350
350
  })(BatchGetCrawlersResponse || (BatchGetCrawlersResponse = {}));
351
+ export var BatchGetCustomEntityTypesRequest;
352
+ (function (BatchGetCustomEntityTypesRequest) {
353
+ BatchGetCustomEntityTypesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
354
+ })(BatchGetCustomEntityTypesRequest || (BatchGetCustomEntityTypesRequest = {}));
355
+ export var CustomEntityType;
356
+ (function (CustomEntityType) {
357
+ CustomEntityType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
358
+ })(CustomEntityType || (CustomEntityType = {}));
359
+ export var BatchGetCustomEntityTypesResponse;
360
+ (function (BatchGetCustomEntityTypesResponse) {
361
+ BatchGetCustomEntityTypesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
362
+ })(BatchGetCustomEntityTypesResponse || (BatchGetCustomEntityTypesResponse = {}));
351
363
  export var BatchGetDevEndpointsRequest;
352
364
  (function (BatchGetDevEndpointsRequest) {
353
365
  BatchGetDevEndpointsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -746,6 +758,27 @@ export var CreateCrawlerResponse;
746
758
  (function (CreateCrawlerResponse) {
747
759
  CreateCrawlerResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
748
760
  })(CreateCrawlerResponse || (CreateCrawlerResponse = {}));
761
+ export var CreateCustomEntityTypeRequest;
762
+ (function (CreateCustomEntityTypeRequest) {
763
+ CreateCustomEntityTypeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
764
+ })(CreateCustomEntityTypeRequest || (CreateCustomEntityTypeRequest = {}));
765
+ export var CreateCustomEntityTypeResponse;
766
+ (function (CreateCustomEntityTypeResponse) {
767
+ CreateCustomEntityTypeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
768
+ })(CreateCustomEntityTypeResponse || (CreateCustomEntityTypeResponse = {}));
769
+ var IdempotentParameterMismatchException = (function (_super) {
770
+ __extends(IdempotentParameterMismatchException, _super);
771
+ function IdempotentParameterMismatchException(opts) {
772
+ var _this = _super.call(this, __assign({ name: "IdempotentParameterMismatchException", $fault: "client" }, opts)) || this;
773
+ _this.name = "IdempotentParameterMismatchException";
774
+ _this.$fault = "client";
775
+ Object.setPrototypeOf(_this, IdempotentParameterMismatchException.prototype);
776
+ _this.Message = opts.Message;
777
+ return _this;
778
+ }
779
+ return IdempotentParameterMismatchException;
780
+ }(__BaseException));
781
+ export { IdempotentParameterMismatchException };
749
782
  var ConcurrentModificationException = (function (_super) {
750
783
  __extends(ConcurrentModificationException, _super);
751
784
  function ConcurrentModificationException(opts) {
@@ -803,19 +836,6 @@ export var CreateDevEndpointResponse;
803
836
  (function (CreateDevEndpointResponse) {
804
837
  CreateDevEndpointResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
805
838
  })(CreateDevEndpointResponse || (CreateDevEndpointResponse = {}));
806
- var IdempotentParameterMismatchException = (function (_super) {
807
- __extends(IdempotentParameterMismatchException, _super);
808
- function IdempotentParameterMismatchException(opts) {
809
- var _this = _super.call(this, __assign({ name: "IdempotentParameterMismatchException", $fault: "client" }, opts)) || this;
810
- _this.name = "IdempotentParameterMismatchException";
811
- _this.$fault = "client";
812
- Object.setPrototypeOf(_this, IdempotentParameterMismatchException.prototype);
813
- _this.Message = opts.Message;
814
- return _this;
815
- }
816
- return IdempotentParameterMismatchException;
817
- }(__BaseException));
818
- export { IdempotentParameterMismatchException };
819
839
  var ValidationException = (function (_super) {
820
840
  __extends(ValidationException, _super);
821
841
  function ValidationException(opts) {
@@ -1162,6 +1182,14 @@ var SchedulerTransitioningException = (function (_super) {
1162
1182
  return SchedulerTransitioningException;
1163
1183
  }(__BaseException));
1164
1184
  export { SchedulerTransitioningException };
1185
+ export var DeleteCustomEntityTypeRequest;
1186
+ (function (DeleteCustomEntityTypeRequest) {
1187
+ DeleteCustomEntityTypeRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1188
+ })(DeleteCustomEntityTypeRequest || (DeleteCustomEntityTypeRequest = {}));
1189
+ export var DeleteCustomEntityTypeResponse;
1190
+ (function (DeleteCustomEntityTypeResponse) {
1191
+ DeleteCustomEntityTypeResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1192
+ })(DeleteCustomEntityTypeResponse || (DeleteCustomEntityTypeResponse = {}));
1165
1193
  export var DeleteDatabaseRequest;
1166
1194
  (function (DeleteDatabaseRequest) {
1167
1195
  DeleteDatabaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1456,37 +1484,3 @@ export var StringColumnStatisticsData;
1456
1484
  (function (StringColumnStatisticsData) {
1457
1485
  StringColumnStatisticsData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1458
1486
  })(StringColumnStatisticsData || (StringColumnStatisticsData = {}));
1459
- export var ColumnStatisticsType;
1460
- (function (ColumnStatisticsType) {
1461
- ColumnStatisticsType["BINARY"] = "BINARY";
1462
- ColumnStatisticsType["BOOLEAN"] = "BOOLEAN";
1463
- ColumnStatisticsType["DATE"] = "DATE";
1464
- ColumnStatisticsType["DECIMAL"] = "DECIMAL";
1465
- ColumnStatisticsType["DOUBLE"] = "DOUBLE";
1466
- ColumnStatisticsType["LONG"] = "LONG";
1467
- ColumnStatisticsType["STRING"] = "STRING";
1468
- })(ColumnStatisticsType || (ColumnStatisticsType = {}));
1469
- export var ColumnStatisticsData;
1470
- (function (ColumnStatisticsData) {
1471
- ColumnStatisticsData.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1472
- })(ColumnStatisticsData || (ColumnStatisticsData = {}));
1473
- export var ColumnStatistics;
1474
- (function (ColumnStatistics) {
1475
- ColumnStatistics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1476
- })(ColumnStatistics || (ColumnStatistics = {}));
1477
- export var ColumnError;
1478
- (function (ColumnError) {
1479
- ColumnError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1480
- })(ColumnError || (ColumnError = {}));
1481
- export var GetColumnStatisticsForPartitionResponse;
1482
- (function (GetColumnStatisticsForPartitionResponse) {
1483
- GetColumnStatisticsForPartitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1484
- })(GetColumnStatisticsForPartitionResponse || (GetColumnStatisticsForPartitionResponse = {}));
1485
- export var GetColumnStatisticsForTableRequest;
1486
- (function (GetColumnStatisticsForTableRequest) {
1487
- GetColumnStatisticsForTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1488
- })(GetColumnStatisticsForTableRequest || (GetColumnStatisticsForTableRequest = {}));
1489
- export var GetColumnStatisticsForTableResponse;
1490
- (function (GetColumnStatisticsForTableResponse) {
1491
- GetColumnStatisticsForTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1492
- })(GetColumnStatisticsForTableResponse || (GetColumnStatisticsForTableResponse = {}));