@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
@@ -1389,6 +1389,36 @@ export declare namespace BatchGetCrawlersResponse {
1389
1389
  */
1390
1390
  const filterSensitiveLog: (obj: BatchGetCrawlersResponse) => any;
1391
1391
  }
1392
+ export interface BatchGetCustomEntityTypesRequest {
1393
+ Names: string[] | undefined;
1394
+ }
1395
+ export declare namespace BatchGetCustomEntityTypesRequest {
1396
+ /**
1397
+ * @internal
1398
+ */
1399
+ const filterSensitiveLog: (obj: BatchGetCustomEntityTypesRequest) => any;
1400
+ }
1401
+ export interface CustomEntityType {
1402
+ Name: string | undefined;
1403
+ RegexString: string | undefined;
1404
+ ContextWords?: string[];
1405
+ }
1406
+ export declare namespace CustomEntityType {
1407
+ /**
1408
+ * @internal
1409
+ */
1410
+ const filterSensitiveLog: (obj: CustomEntityType) => any;
1411
+ }
1412
+ export interface BatchGetCustomEntityTypesResponse {
1413
+ CustomEntityTypes?: CustomEntityType[];
1414
+ CustomEntityTypesNotFound?: string[];
1415
+ }
1416
+ export declare namespace BatchGetCustomEntityTypesResponse {
1417
+ /**
1418
+ * @internal
1419
+ */
1420
+ const filterSensitiveLog: (obj: BatchGetCustomEntityTypesResponse) => any;
1421
+ }
1392
1422
  export interface BatchGetDevEndpointsRequest {
1393
1423
  /**
1394
1424
  * <p>The list of <code>DevEndpoint</code> names, which might be the names returned from the
@@ -3421,6 +3451,41 @@ export declare namespace CreateCrawlerResponse {
3421
3451
  */
3422
3452
  const filterSensitiveLog: (obj: CreateCrawlerResponse) => any;
3423
3453
  }
3454
+ export interface CreateCustomEntityTypeRequest {
3455
+ Name: string | undefined;
3456
+ RegexString: string | undefined;
3457
+ ContextWords?: string[];
3458
+ }
3459
+ export declare namespace CreateCustomEntityTypeRequest {
3460
+ /**
3461
+ * @internal
3462
+ */
3463
+ const filterSensitiveLog: (obj: CreateCustomEntityTypeRequest) => any;
3464
+ }
3465
+ export interface CreateCustomEntityTypeResponse {
3466
+ Name?: string;
3467
+ }
3468
+ export declare namespace CreateCustomEntityTypeResponse {
3469
+ /**
3470
+ * @internal
3471
+ */
3472
+ const filterSensitiveLog: (obj: CreateCustomEntityTypeResponse) => any;
3473
+ }
3474
+ /**
3475
+ * <p>The same unique identifier was associated with two different records.</p>
3476
+ */
3477
+ export declare class IdempotentParameterMismatchException extends __BaseException {
3478
+ readonly name: "IdempotentParameterMismatchException";
3479
+ readonly $fault: "client";
3480
+ /**
3481
+ * <p>A message describing the problem.</p>
3482
+ */
3483
+ Message?: string;
3484
+ /**
3485
+ * @internal
3486
+ */
3487
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
3488
+ }
3424
3489
  /**
3425
3490
  * <p>Two processes are trying to modify a resource simultaneously.</p>
3426
3491
  */
@@ -3783,21 +3848,6 @@ export declare namespace CreateDevEndpointResponse {
3783
3848
  */
3784
3849
  const filterSensitiveLog: (obj: CreateDevEndpointResponse) => any;
3785
3850
  }
3786
- /**
3787
- * <p>The same unique identifier was associated with two different records.</p>
3788
- */
3789
- export declare class IdempotentParameterMismatchException extends __BaseException {
3790
- readonly name: "IdempotentParameterMismatchException";
3791
- readonly $fault: "client";
3792
- /**
3793
- * <p>A message describing the problem.</p>
3794
- */
3795
- Message?: string;
3796
- /**
3797
- * @internal
3798
- */
3799
- constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
3800
- }
3801
3851
  /**
3802
3852
  * <p>A value could not be validated.</p>
3803
3853
  */
@@ -5521,6 +5571,24 @@ export declare class SchedulerTransitioningException extends __BaseException {
5521
5571
  */
5522
5572
  constructor(opts: __ExceptionOptionType<SchedulerTransitioningException, __BaseException>);
5523
5573
  }
5574
+ export interface DeleteCustomEntityTypeRequest {
5575
+ Name: string | undefined;
5576
+ }
5577
+ export declare namespace DeleteCustomEntityTypeRequest {
5578
+ /**
5579
+ * @internal
5580
+ */
5581
+ const filterSensitiveLog: (obj: DeleteCustomEntityTypeRequest) => any;
5582
+ }
5583
+ export interface DeleteCustomEntityTypeResponse {
5584
+ Name?: string;
5585
+ }
5586
+ export declare namespace DeleteCustomEntityTypeResponse {
5587
+ /**
5588
+ * @internal
5589
+ */
5590
+ const filterSensitiveLog: (obj: DeleteCustomEntityTypeResponse) => any;
5591
+ }
5524
5592
  export interface DeleteDatabaseRequest {
5525
5593
  /**
5526
5594
  * <p>The ID of the Data Catalog in which the database resides. If none is provided, the Amazon Web Services
@@ -6775,158 +6843,3 @@ export declare namespace StringColumnStatisticsData {
6775
6843
  */
6776
6844
  const filterSensitiveLog: (obj: StringColumnStatisticsData) => any;
6777
6845
  }
6778
- export declare enum ColumnStatisticsType {
6779
- BINARY = "BINARY",
6780
- BOOLEAN = "BOOLEAN",
6781
- DATE = "DATE",
6782
- DECIMAL = "DECIMAL",
6783
- DOUBLE = "DOUBLE",
6784
- LONG = "LONG",
6785
- STRING = "STRING"
6786
- }
6787
- /**
6788
- * <p>Contains the individual types of column statistics data. Only one data object should be set and indicated by the <code>Type</code> attribute.</p>
6789
- */
6790
- export interface ColumnStatisticsData {
6791
- /**
6792
- * <p>The type of column statistics data.</p>
6793
- */
6794
- Type: ColumnStatisticsType | string | undefined;
6795
- /**
6796
- * <p>Boolean column statistics data.</p>
6797
- */
6798
- BooleanColumnStatisticsData?: BooleanColumnStatisticsData;
6799
- /**
6800
- * <p>Date column statistics data.</p>
6801
- */
6802
- DateColumnStatisticsData?: DateColumnStatisticsData;
6803
- /**
6804
- * <p>Decimal column statistics data.</p>
6805
- */
6806
- DecimalColumnStatisticsData?: DecimalColumnStatisticsData;
6807
- /**
6808
- * <p>Double column statistics data.</p>
6809
- */
6810
- DoubleColumnStatisticsData?: DoubleColumnStatisticsData;
6811
- /**
6812
- * <p>Long column statistics data.</p>
6813
- */
6814
- LongColumnStatisticsData?: LongColumnStatisticsData;
6815
- /**
6816
- * <p>String column statistics data.</p>
6817
- */
6818
- StringColumnStatisticsData?: StringColumnStatisticsData;
6819
- /**
6820
- * <p>Binary column statistics data.</p>
6821
- */
6822
- BinaryColumnStatisticsData?: BinaryColumnStatisticsData;
6823
- }
6824
- export declare namespace ColumnStatisticsData {
6825
- /**
6826
- * @internal
6827
- */
6828
- const filterSensitiveLog: (obj: ColumnStatisticsData) => any;
6829
- }
6830
- /**
6831
- * <p>Represents the generated column-level statistics for a table or partition.</p>
6832
- */
6833
- export interface ColumnStatistics {
6834
- /**
6835
- * <p>Name of column which statistics belong to.</p>
6836
- */
6837
- ColumnName: string | undefined;
6838
- /**
6839
- * <p>The data type of the column.</p>
6840
- */
6841
- ColumnType: string | undefined;
6842
- /**
6843
- * <p>The timestamp of when column statistics were generated.</p>
6844
- */
6845
- AnalyzedTime: Date | undefined;
6846
- /**
6847
- * <p>A <code>ColumnStatisticData</code> object that contains the statistics data values.</p>
6848
- */
6849
- StatisticsData: ColumnStatisticsData | undefined;
6850
- }
6851
- export declare namespace ColumnStatistics {
6852
- /**
6853
- * @internal
6854
- */
6855
- const filterSensitiveLog: (obj: ColumnStatistics) => any;
6856
- }
6857
- /**
6858
- * <p>Encapsulates a column name that failed and the reason for failure.</p>
6859
- */
6860
- export interface ColumnError {
6861
- /**
6862
- * <p>The name of the column that failed.</p>
6863
- */
6864
- ColumnName?: string;
6865
- /**
6866
- * <p>An error message with the reason for the failure of an operation.</p>
6867
- */
6868
- Error?: ErrorDetail;
6869
- }
6870
- export declare namespace ColumnError {
6871
- /**
6872
- * @internal
6873
- */
6874
- const filterSensitiveLog: (obj: ColumnError) => any;
6875
- }
6876
- export interface GetColumnStatisticsForPartitionResponse {
6877
- /**
6878
- * <p>List of ColumnStatistics that failed to be retrieved.</p>
6879
- */
6880
- ColumnStatisticsList?: ColumnStatistics[];
6881
- /**
6882
- * <p>Error occurred during retrieving column statistics data.</p>
6883
- */
6884
- Errors?: ColumnError[];
6885
- }
6886
- export declare namespace GetColumnStatisticsForPartitionResponse {
6887
- /**
6888
- * @internal
6889
- */
6890
- const filterSensitiveLog: (obj: GetColumnStatisticsForPartitionResponse) => any;
6891
- }
6892
- export interface GetColumnStatisticsForTableRequest {
6893
- /**
6894
- * <p>The ID of the Data Catalog where the partitions in question reside.
6895
- * If none is supplied, the Amazon Web Services account ID is used by default.</p>
6896
- */
6897
- CatalogId?: string;
6898
- /**
6899
- * <p>The name of the catalog database where the partitions reside.</p>
6900
- */
6901
- DatabaseName: string | undefined;
6902
- /**
6903
- * <p>The name of the partitions' table.</p>
6904
- */
6905
- TableName: string | undefined;
6906
- /**
6907
- * <p>A list of the column names.</p>
6908
- */
6909
- ColumnNames: string[] | undefined;
6910
- }
6911
- export declare namespace GetColumnStatisticsForTableRequest {
6912
- /**
6913
- * @internal
6914
- */
6915
- const filterSensitiveLog: (obj: GetColumnStatisticsForTableRequest) => any;
6916
- }
6917
- export interface GetColumnStatisticsForTableResponse {
6918
- /**
6919
- * <p>List of ColumnStatistics that failed to be retrieved.</p>
6920
- */
6921
- ColumnStatisticsList?: ColumnStatistics[];
6922
- /**
6923
- * <p>List of ColumnStatistics that failed to be retrieved.</p>
6924
- */
6925
- Errors?: ColumnError[];
6926
- }
6927
- export declare namespace GetColumnStatisticsForTableResponse {
6928
- /**
6929
- * @internal
6930
- */
6931
- const filterSensitiveLog: (obj: GetColumnStatisticsForTableResponse) => any;
6932
- }