@aws-sdk/client-glue 3.252.0 → 3.256.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 (29) hide show
  1. package/dist-cjs/commands/CreateScriptCommand.js +2 -1
  2. package/dist-cjs/commands/ListCrawlsCommand.js +2 -1
  3. package/dist-cjs/commands/ListCustomEntityTypesCommand.js +3 -3
  4. package/dist-cjs/models/models_0.js +34 -34
  5. package/dist-cjs/models/models_1.js +34 -33
  6. package/dist-cjs/models/models_2.js +31 -4
  7. package/dist-cjs/protocols/Aws_json1_1.js +198 -38
  8. package/dist-es/commands/CreateScriptCommand.js +2 -1
  9. package/dist-es/commands/ListCrawlsCommand.js +2 -1
  10. package/dist-es/commands/ListCustomEntityTypesCommand.js +1 -1
  11. package/dist-es/models/models_0.js +23 -25
  12. package/dist-es/models/models_1.js +25 -22
  13. package/dist-es/models/models_2.js +22 -0
  14. package/dist-es/protocols/Aws_json1_1.js +198 -38
  15. package/dist-types/GlueClient.d.ts +6 -6
  16. package/dist-types/commands/CreateScriptCommand.d.ts +2 -1
  17. package/dist-types/commands/ListCrawlsCommand.d.ts +2 -1
  18. package/dist-types/commands/ListCustomEntityTypesCommand.d.ts +1 -1
  19. package/dist-types/models/models_0.d.ts +169 -61
  20. package/dist-types/models/models_1.d.ts +58 -123
  21. package/dist-types/models/models_2.d.ts +148 -2
  22. package/dist-types/ts3.4/GlueClient.d.ts +4 -3
  23. package/dist-types/ts3.4/commands/CreateScriptCommand.d.ts +2 -1
  24. package/dist-types/ts3.4/commands/ListCrawlsCommand.d.ts +2 -1
  25. package/dist-types/ts3.4/commands/ListCustomEntityTypesCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/models/models_0.d.ts +60 -34
  27. package/dist-types/ts3.4/models/models_1.d.ts +34 -56
  28. package/dist-types/ts3.4/models/models_2.d.ts +63 -1
  29. package/package.json +31 -31
@@ -11631,6 +11631,19 @@ const serializeAws_json1_1CatalogEntry = (input, context) => {
11631
11631
  ...(input.TableName != null && { TableName: input.TableName }),
11632
11632
  };
11633
11633
  };
11634
+ const serializeAws_json1_1CatalogHudiSource = (input, context) => {
11635
+ return {
11636
+ ...(input.AdditionalHudiOptions != null && {
11637
+ AdditionalHudiOptions: serializeAws_json1_1AdditionalOptions(input.AdditionalHudiOptions, context),
11638
+ }),
11639
+ ...(input.Database != null && { Database: input.Database }),
11640
+ ...(input.Name != null && { Name: input.Name }),
11641
+ ...(input.OutputSchemas != null && {
11642
+ OutputSchemas: serializeAws_json1_1GlueSchemas(input.OutputSchemas, context),
11643
+ }),
11644
+ ...(input.Table != null && { Table: input.Table }),
11645
+ };
11646
+ };
11634
11647
  const serializeAws_json1_1CatalogKafkaSource = (input, context) => {
11635
11648
  return {
11636
11649
  ...(input.DataPreviewOptions != null && {
@@ -11723,6 +11736,9 @@ const serializeAws_json1_1CodeGenConfigurationNode = (input, context) => {
11723
11736
  ...(input.AthenaConnectorSource != null && {
11724
11737
  AthenaConnectorSource: serializeAws_json1_1AthenaConnectorSource(input.AthenaConnectorSource, context),
11725
11738
  }),
11739
+ ...(input.CatalogHudiSource != null && {
11740
+ CatalogHudiSource: serializeAws_json1_1CatalogHudiSource(input.CatalogHudiSource, context),
11741
+ }),
11726
11742
  ...(input.CatalogKafkaSource != null && {
11727
11743
  CatalogKafkaSource: serializeAws_json1_1CatalogKafkaSource(input.CatalogKafkaSource, context),
11728
11744
  }),
@@ -11811,6 +11827,9 @@ const serializeAws_json1_1CodeGenConfigurationNode = (input, context) => {
11811
11827
  RelationalCatalogSource: serializeAws_json1_1RelationalCatalogSource(input.RelationalCatalogSource, context),
11812
11828
  }),
11813
11829
  ...(input.RenameField != null && { RenameField: serializeAws_json1_1RenameField(input.RenameField, context) }),
11830
+ ...(input.S3CatalogHudiSource != null && {
11831
+ S3CatalogHudiSource: serializeAws_json1_1S3CatalogHudiSource(input.S3CatalogHudiSource, context),
11832
+ }),
11814
11833
  ...(input.S3CatalogSource != null && {
11815
11834
  S3CatalogSource: serializeAws_json1_1S3CatalogSource(input.S3CatalogSource, context),
11816
11835
  }),
@@ -11824,6 +11843,13 @@ const serializeAws_json1_1CodeGenConfigurationNode = (input, context) => {
11824
11843
  ...(input.S3GlueParquetTarget != null && {
11825
11844
  S3GlueParquetTarget: serializeAws_json1_1S3GlueParquetTarget(input.S3GlueParquetTarget, context),
11826
11845
  }),
11846
+ ...(input.S3HudiCatalogTarget != null && {
11847
+ S3HudiCatalogTarget: serializeAws_json1_1S3HudiCatalogTarget(input.S3HudiCatalogTarget, context),
11848
+ }),
11849
+ ...(input.S3HudiDirectTarget != null && {
11850
+ S3HudiDirectTarget: serializeAws_json1_1S3HudiDirectTarget(input.S3HudiDirectTarget, context),
11851
+ }),
11852
+ ...(input.S3HudiSource != null && { S3HudiSource: serializeAws_json1_1S3HudiSource(input.S3HudiSource, context) }),
11827
11853
  ...(input.S3JsonSource != null && { S3JsonSource: serializeAws_json1_1S3JsonSource(input.S3JsonSource, context) }),
11828
11854
  ...(input.S3ParquetSource != null && {
11829
11855
  S3ParquetSource: serializeAws_json1_1S3ParquetSource(input.S3ParquetSource, context),
@@ -11899,7 +11925,7 @@ const serializeAws_json1_1ColumnList = (input, context) => {
11899
11925
  };
11900
11926
  const serializeAws_json1_1ColumnStatistics = (input, context) => {
11901
11927
  return {
11902
- ...(input.AnalyzedTime != null && { AnalyzedTime: Math.round(input.AnalyzedTime.getTime() / 1000).toString() }),
11928
+ ...(input.AnalyzedTime != null && { AnalyzedTime: Math.round(input.AnalyzedTime.getTime() / 1000) }),
11903
11929
  ...(input.ColumnName != null && { ColumnName: input.ColumnName }),
11904
11930
  ...(input.ColumnType != null && { ColumnType: input.ColumnType }),
11905
11931
  ...(input.StatisticsData != null && {
@@ -12465,8 +12491,8 @@ const serializeAws_json1_1DataQualityResultFilterCriteria = (input, context) =>
12465
12491
  ...(input.DataSource != null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) }),
12466
12492
  ...(input.JobName != null && { JobName: input.JobName }),
12467
12493
  ...(input.JobRunId != null && { JobRunId: input.JobRunId }),
12468
- ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000).toString() }),
12469
- ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000).toString() }),
12494
+ ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000) }),
12495
+ ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000) }),
12470
12496
  };
12471
12497
  };
12472
12498
  const serializeAws_json1_1DataQualityResultIds = (input, context) => {
@@ -12479,27 +12505,25 @@ const serializeAws_json1_1DataQualityResultIds = (input, context) => {
12479
12505
  const serializeAws_json1_1DataQualityRuleRecommendationRunFilter = (input, context) => {
12480
12506
  return {
12481
12507
  ...(input.DataSource != null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) }),
12482
- ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000).toString() }),
12483
- ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000).toString() }),
12508
+ ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000) }),
12509
+ ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000) }),
12484
12510
  };
12485
12511
  };
12486
12512
  const serializeAws_json1_1DataQualityRulesetEvaluationRunFilter = (input, context) => {
12487
12513
  return {
12488
12514
  ...(input.DataSource != null && { DataSource: serializeAws_json1_1DataSource(input.DataSource, context) }),
12489
- ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000).toString() }),
12490
- ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000).toString() }),
12515
+ ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000) }),
12516
+ ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000) }),
12491
12517
  };
12492
12518
  };
12493
12519
  const serializeAws_json1_1DataQualityRulesetFilterCriteria = (input, context) => {
12494
12520
  return {
12495
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
12496
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
12521
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
12522
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
12497
12523
  ...(input.Description != null && { Description: input.Description }),
12498
- ...(input.LastModifiedAfter != null && {
12499
- LastModifiedAfter: Math.round(input.LastModifiedAfter.getTime() / 1000).toString(),
12500
- }),
12524
+ ...(input.LastModifiedAfter != null && { LastModifiedAfter: Math.round(input.LastModifiedAfter.getTime() / 1000) }),
12501
12525
  ...(input.LastModifiedBefore != null && {
12502
- LastModifiedBefore: Math.round(input.LastModifiedBefore.getTime() / 1000).toString(),
12526
+ LastModifiedBefore: Math.round(input.LastModifiedBefore.getTime() / 1000),
12503
12527
  }),
12504
12528
  ...(input.Name != null && { Name: input.Name }),
12505
12529
  ...(input.TargetTable != null && {
@@ -12526,8 +12550,8 @@ const serializeAws_json1_1Datatype = (input, context) => {
12526
12550
  };
12527
12551
  const serializeAws_json1_1DateColumnStatisticsData = (input, context) => {
12528
12552
  return {
12529
- ...(input.MaximumValue != null && { MaximumValue: Math.round(input.MaximumValue.getTime() / 1000).toString() }),
12530
- ...(input.MinimumValue != null && { MinimumValue: Math.round(input.MinimumValue.getTime() / 1000).toString() }),
12553
+ ...(input.MaximumValue != null && { MaximumValue: Math.round(input.MaximumValue.getTime() / 1000) }),
12554
+ ...(input.MinimumValue != null && { MinimumValue: Math.round(input.MinimumValue.getTime() / 1000) }),
12531
12555
  ...(input.NumberOfDistinctValues != null && { NumberOfDistinctValues: input.NumberOfDistinctValues }),
12532
12556
  ...(input.NumberOfNulls != null && { NumberOfNulls: input.NumberOfNulls }),
12533
12557
  };
@@ -13240,7 +13264,7 @@ const serializeAws_json1_1GetPartitionsRequest = (input, context) => {
13240
13264
  ...(input.Expression != null && { Expression: input.Expression }),
13241
13265
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
13242
13266
  ...(input.NextToken != null && { NextToken: input.NextToken }),
13243
- ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000).toString() }),
13267
+ ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) }),
13244
13268
  ...(input.Segment != null && { Segment: serializeAws_json1_1Segment(input.Segment, context) }),
13245
13269
  ...(input.TableName != null && { TableName: input.TableName }),
13246
13270
  ...(input.TransactionId != null && { TransactionId: input.TransactionId }),
@@ -13335,7 +13359,7 @@ const serializeAws_json1_1GetTableRequest = (input, context) => {
13335
13359
  ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
13336
13360
  ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
13337
13361
  ...(input.Name != null && { Name: input.Name }),
13338
- ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000).toString() }),
13362
+ ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) }),
13339
13363
  ...(input.TransactionId != null && { TransactionId: input.TransactionId }),
13340
13364
  };
13341
13365
  };
@@ -13346,7 +13370,7 @@ const serializeAws_json1_1GetTablesRequest = (input, context) => {
13346
13370
  ...(input.Expression != null && { Expression: input.Expression }),
13347
13371
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
13348
13372
  ...(input.NextToken != null && { NextToken: input.NextToken }),
13349
- ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000).toString() }),
13373
+ ...(input.QueryAsOfTime != null && { QueryAsOfTime: Math.round(input.QueryAsOfTime.getTime() / 1000) }),
13350
13374
  ...(input.TransactionId != null && { TransactionId: input.TransactionId }),
13351
13375
  };
13352
13376
  };
@@ -14194,12 +14218,8 @@ const serializeAws_json1_1PartitionIndexList = (input, context) => {
14194
14218
  };
14195
14219
  const serializeAws_json1_1PartitionInput = (input, context) => {
14196
14220
  return {
14197
- ...(input.LastAccessTime != null && {
14198
- LastAccessTime: Math.round(input.LastAccessTime.getTime() / 1000).toString(),
14199
- }),
14200
- ...(input.LastAnalyzedTime != null && {
14201
- LastAnalyzedTime: Math.round(input.LastAnalyzedTime.getTime() / 1000).toString(),
14202
- }),
14221
+ ...(input.LastAccessTime != null && { LastAccessTime: Math.round(input.LastAccessTime.getTime() / 1000) }),
14222
+ ...(input.LastAnalyzedTime != null && { LastAnalyzedTime: Math.round(input.LastAnalyzedTime.getTime() / 1000) }),
14203
14223
  ...(input.Parameters != null && { Parameters: serializeAws_json1_1ParametersMap(input.Parameters, context) }),
14204
14224
  ...(input.StorageDescriptor != null && {
14205
14225
  StorageDescriptor: serializeAws_json1_1StorageDescriptor(input.StorageDescriptor, context),
@@ -14471,6 +14491,19 @@ const serializeAws_json1_1RunStatementRequest = (input, context) => {
14471
14491
  ...(input.SessionId != null && { SessionId: input.SessionId }),
14472
14492
  };
14473
14493
  };
14494
+ const serializeAws_json1_1S3CatalogHudiSource = (input, context) => {
14495
+ return {
14496
+ ...(input.AdditionalHudiOptions != null && {
14497
+ AdditionalHudiOptions: serializeAws_json1_1AdditionalOptions(input.AdditionalHudiOptions, context),
14498
+ }),
14499
+ ...(input.Database != null && { Database: input.Database }),
14500
+ ...(input.Name != null && { Name: input.Name }),
14501
+ ...(input.OutputSchemas != null && {
14502
+ OutputSchemas: serializeAws_json1_1GlueSchemas(input.OutputSchemas, context),
14503
+ }),
14504
+ ...(input.Table != null && { Table: input.Table }),
14505
+ };
14506
+ };
14474
14507
  const serializeAws_json1_1S3CatalogSource = (input, context) => {
14475
14508
  return {
14476
14509
  ...(input.AdditionalOptions != null && {
@@ -14575,6 +14608,56 @@ const serializeAws_json1_1S3GlueParquetTarget = (input, context) => {
14575
14608
  }),
14576
14609
  };
14577
14610
  };
14611
+ const serializeAws_json1_1S3HudiCatalogTarget = (input, context) => {
14612
+ return {
14613
+ ...(input.AdditionalOptions != null && {
14614
+ AdditionalOptions: serializeAws_json1_1AdditionalOptions(input.AdditionalOptions, context),
14615
+ }),
14616
+ ...(input.Database != null && { Database: input.Database }),
14617
+ ...(input.Inputs != null && { Inputs: serializeAws_json1_1OneInput(input.Inputs, context) }),
14618
+ ...(input.Name != null && { Name: input.Name }),
14619
+ ...(input.PartitionKeys != null && {
14620
+ PartitionKeys: serializeAws_json1_1GlueStudioPathList(input.PartitionKeys, context),
14621
+ }),
14622
+ ...(input.SchemaChangePolicy != null && {
14623
+ SchemaChangePolicy: serializeAws_json1_1CatalogSchemaChangePolicy(input.SchemaChangePolicy, context),
14624
+ }),
14625
+ ...(input.Table != null && { Table: input.Table }),
14626
+ };
14627
+ };
14628
+ const serializeAws_json1_1S3HudiDirectTarget = (input, context) => {
14629
+ return {
14630
+ ...(input.AdditionalOptions != null && {
14631
+ AdditionalOptions: serializeAws_json1_1AdditionalOptions(input.AdditionalOptions, context),
14632
+ }),
14633
+ ...(input.Compression != null && { Compression: input.Compression }),
14634
+ ...(input.Format != null && { Format: input.Format }),
14635
+ ...(input.Inputs != null && { Inputs: serializeAws_json1_1OneInput(input.Inputs, context) }),
14636
+ ...(input.Name != null && { Name: input.Name }),
14637
+ ...(input.PartitionKeys != null && {
14638
+ PartitionKeys: serializeAws_json1_1GlueStudioPathList(input.PartitionKeys, context),
14639
+ }),
14640
+ ...(input.Path != null && { Path: input.Path }),
14641
+ ...(input.SchemaChangePolicy != null && {
14642
+ SchemaChangePolicy: serializeAws_json1_1DirectSchemaChangePolicy(input.SchemaChangePolicy, context),
14643
+ }),
14644
+ };
14645
+ };
14646
+ const serializeAws_json1_1S3HudiSource = (input, context) => {
14647
+ return {
14648
+ ...(input.AdditionalHudiOptions != null && {
14649
+ AdditionalHudiOptions: serializeAws_json1_1AdditionalOptions(input.AdditionalHudiOptions, context),
14650
+ }),
14651
+ ...(input.AdditionalOptions != null && {
14652
+ AdditionalOptions: serializeAws_json1_1S3DirectSourceAdditionalOptions(input.AdditionalOptions, context),
14653
+ }),
14654
+ ...(input.Name != null && { Name: input.Name }),
14655
+ ...(input.OutputSchemas != null && {
14656
+ OutputSchemas: serializeAws_json1_1GlueSchemas(input.OutputSchemas, context),
14657
+ }),
14658
+ ...(input.Paths != null && { Paths: serializeAws_json1_1EnclosedInStringProperties(input.Paths, context) }),
14659
+ };
14660
+ };
14578
14661
  const serializeAws_json1_1S3JsonSource = (input, context) => {
14579
14662
  return {
14580
14663
  ...(input.AdditionalOptions != null && {
@@ -15015,12 +15098,8 @@ const serializeAws_json1_1TableIdentifier = (input, context) => {
15015
15098
  const serializeAws_json1_1TableInput = (input, context) => {
15016
15099
  return {
15017
15100
  ...(input.Description != null && { Description: input.Description }),
15018
- ...(input.LastAccessTime != null && {
15019
- LastAccessTime: Math.round(input.LastAccessTime.getTime() / 1000).toString(),
15020
- }),
15021
- ...(input.LastAnalyzedTime != null && {
15022
- LastAnalyzedTime: Math.round(input.LastAnalyzedTime.getTime() / 1000).toString(),
15023
- }),
15101
+ ...(input.LastAccessTime != null && { LastAccessTime: Math.round(input.LastAccessTime.getTime() / 1000) }),
15102
+ ...(input.LastAnalyzedTime != null && { LastAnalyzedTime: Math.round(input.LastAnalyzedTime.getTime() / 1000) }),
15024
15103
  ...(input.Name != null && { Name: input.Name }),
15025
15104
  ...(input.Owner != null && { Owner: input.Owner }),
15026
15105
  ...(input.Parameters != null && { Parameters: serializeAws_json1_1ParametersMap(input.Parameters, context) }),
@@ -15059,8 +15138,8 @@ const serializeAws_json1_1TagsMap = (input, context) => {
15059
15138
  };
15060
15139
  const serializeAws_json1_1TaskRunFilterCriteria = (input, context) => {
15061
15140
  return {
15062
- ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000).toString() }),
15063
- ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000).toString() }),
15141
+ ...(input.StartedAfter != null && { StartedAfter: Math.round(input.StartedAfter.getTime() / 1000) }),
15142
+ ...(input.StartedBefore != null && { StartedBefore: Math.round(input.StartedBefore.getTime() / 1000) }),
15064
15143
  ...(input.Status != null && { Status: input.Status }),
15065
15144
  ...(input.TaskRunType != null && { TaskRunType: input.TaskRunType }),
15066
15145
  };
@@ -15101,14 +15180,12 @@ const serializeAws_json1_1TransformEncryption = (input, context) => {
15101
15180
  };
15102
15181
  const serializeAws_json1_1TransformFilterCriteria = (input, context) => {
15103
15182
  return {
15104
- ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000).toString() }),
15105
- ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000).toString() }),
15183
+ ...(input.CreatedAfter != null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
15184
+ ...(input.CreatedBefore != null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
15106
15185
  ...(input.GlueVersion != null && { GlueVersion: input.GlueVersion }),
15107
- ...(input.LastModifiedAfter != null && {
15108
- LastModifiedAfter: Math.round(input.LastModifiedAfter.getTime() / 1000).toString(),
15109
- }),
15186
+ ...(input.LastModifiedAfter != null && { LastModifiedAfter: Math.round(input.LastModifiedAfter.getTime() / 1000) }),
15110
15187
  ...(input.LastModifiedBefore != null && {
15111
- LastModifiedBefore: Math.round(input.LastModifiedBefore.getTime() / 1000).toString(),
15188
+ LastModifiedBefore: Math.round(input.LastModifiedBefore.getTime() / 1000),
15112
15189
  }),
15113
15190
  ...(input.Name != null && { Name: input.Name }),
15114
15191
  ...(input.Schema != null && { Schema: serializeAws_json1_1TransformSchema(input.Schema, context) }),
@@ -15917,6 +15994,17 @@ const deserializeAws_json1_1CancelMLTaskRunResponse = (output, context) => {
15917
15994
  const deserializeAws_json1_1CancelStatementResponse = (output, context) => {
15918
15995
  return {};
15919
15996
  };
15997
+ const deserializeAws_json1_1CatalogHudiSource = (output, context) => {
15998
+ return {
15999
+ AdditionalHudiOptions: output.AdditionalHudiOptions != null
16000
+ ? deserializeAws_json1_1AdditionalOptions(output.AdditionalHudiOptions, context)
16001
+ : undefined,
16002
+ Database: (0, smithy_client_1.expectString)(output.Database),
16003
+ Name: (0, smithy_client_1.expectString)(output.Name),
16004
+ OutputSchemas: output.OutputSchemas != null ? deserializeAws_json1_1GlueSchemas(output.OutputSchemas, context) : undefined,
16005
+ Table: (0, smithy_client_1.expectString)(output.Table),
16006
+ };
16007
+ };
15920
16008
  const deserializeAws_json1_1CatalogImportStatus = (output, context) => {
15921
16009
  return {
15922
16010
  ImportCompleted: (0, smithy_client_1.expectBoolean)(output.ImportCompleted),
@@ -16047,6 +16135,9 @@ const deserializeAws_json1_1CodeGenConfigurationNode = (output, context) => {
16047
16135
  AthenaConnectorSource: output.AthenaConnectorSource != null
16048
16136
  ? deserializeAws_json1_1AthenaConnectorSource(output.AthenaConnectorSource, context)
16049
16137
  : undefined,
16138
+ CatalogHudiSource: output.CatalogHudiSource != null
16139
+ ? deserializeAws_json1_1CatalogHudiSource(output.CatalogHudiSource, context)
16140
+ : undefined,
16050
16141
  CatalogKafkaSource: output.CatalogKafkaSource != null
16051
16142
  ? deserializeAws_json1_1CatalogKafkaSource(output.CatalogKafkaSource, context)
16052
16143
  : undefined,
@@ -16125,6 +16216,9 @@ const deserializeAws_json1_1CodeGenConfigurationNode = (output, context) => {
16125
16216
  ? deserializeAws_json1_1RelationalCatalogSource(output.RelationalCatalogSource, context)
16126
16217
  : undefined,
16127
16218
  RenameField: output.RenameField != null ? deserializeAws_json1_1RenameField(output.RenameField, context) : undefined,
16219
+ S3CatalogHudiSource: output.S3CatalogHudiSource != null
16220
+ ? deserializeAws_json1_1S3CatalogHudiSource(output.S3CatalogHudiSource, context)
16221
+ : undefined,
16128
16222
  S3CatalogSource: output.S3CatalogSource != null
16129
16223
  ? deserializeAws_json1_1S3CatalogSource(output.S3CatalogSource, context)
16130
16224
  : undefined,
@@ -16136,6 +16230,13 @@ const deserializeAws_json1_1CodeGenConfigurationNode = (output, context) => {
16136
16230
  S3GlueParquetTarget: output.S3GlueParquetTarget != null
16137
16231
  ? deserializeAws_json1_1S3GlueParquetTarget(output.S3GlueParquetTarget, context)
16138
16232
  : undefined,
16233
+ S3HudiCatalogTarget: output.S3HudiCatalogTarget != null
16234
+ ? deserializeAws_json1_1S3HudiCatalogTarget(output.S3HudiCatalogTarget, context)
16235
+ : undefined,
16236
+ S3HudiDirectTarget: output.S3HudiDirectTarget != null
16237
+ ? deserializeAws_json1_1S3HudiDirectTarget(output.S3HudiDirectTarget, context)
16238
+ : undefined,
16239
+ S3HudiSource: output.S3HudiSource != null ? deserializeAws_json1_1S3HudiSource(output.S3HudiSource, context) : undefined,
16139
16240
  S3JsonSource: output.S3JsonSource != null ? deserializeAws_json1_1S3JsonSource(output.S3JsonSource, context) : undefined,
16140
16241
  S3ParquetSource: output.S3ParquetSource != null
16141
16242
  ? deserializeAws_json1_1S3ParquetSource(output.S3ParquetSource, context)
@@ -19582,6 +19683,17 @@ const deserializeAws_json1_1RunStatementResponse = (output, context) => {
19582
19683
  Id: (0, smithy_client_1.expectInt32)(output.Id),
19583
19684
  };
19584
19685
  };
19686
+ const deserializeAws_json1_1S3CatalogHudiSource = (output, context) => {
19687
+ return {
19688
+ AdditionalHudiOptions: output.AdditionalHudiOptions != null
19689
+ ? deserializeAws_json1_1AdditionalOptions(output.AdditionalHudiOptions, context)
19690
+ : undefined,
19691
+ Database: (0, smithy_client_1.expectString)(output.Database),
19692
+ Name: (0, smithy_client_1.expectString)(output.Name),
19693
+ OutputSchemas: output.OutputSchemas != null ? deserializeAws_json1_1GlueSchemas(output.OutputSchemas, context) : undefined,
19694
+ Table: (0, smithy_client_1.expectString)(output.Table),
19695
+ };
19696
+ };
19585
19697
  const deserializeAws_json1_1S3CatalogSource = (output, context) => {
19586
19698
  return {
19587
19699
  AdditionalOptions: output.AdditionalOptions != null
@@ -19688,6 +19800,54 @@ const deserializeAws_json1_1S3GlueParquetTarget = (output, context) => {
19688
19800
  : undefined,
19689
19801
  };
19690
19802
  };
19803
+ const deserializeAws_json1_1S3HudiCatalogTarget = (output, context) => {
19804
+ return {
19805
+ AdditionalOptions: output.AdditionalOptions != null
19806
+ ? deserializeAws_json1_1AdditionalOptions(output.AdditionalOptions, context)
19807
+ : undefined,
19808
+ Database: (0, smithy_client_1.expectString)(output.Database),
19809
+ Inputs: output.Inputs != null ? deserializeAws_json1_1OneInput(output.Inputs, context) : undefined,
19810
+ Name: (0, smithy_client_1.expectString)(output.Name),
19811
+ PartitionKeys: output.PartitionKeys != null
19812
+ ? deserializeAws_json1_1GlueStudioPathList(output.PartitionKeys, context)
19813
+ : undefined,
19814
+ SchemaChangePolicy: output.SchemaChangePolicy != null
19815
+ ? deserializeAws_json1_1CatalogSchemaChangePolicy(output.SchemaChangePolicy, context)
19816
+ : undefined,
19817
+ Table: (0, smithy_client_1.expectString)(output.Table),
19818
+ };
19819
+ };
19820
+ const deserializeAws_json1_1S3HudiDirectTarget = (output, context) => {
19821
+ return {
19822
+ AdditionalOptions: output.AdditionalOptions != null
19823
+ ? deserializeAws_json1_1AdditionalOptions(output.AdditionalOptions, context)
19824
+ : undefined,
19825
+ Compression: (0, smithy_client_1.expectString)(output.Compression),
19826
+ Format: (0, smithy_client_1.expectString)(output.Format),
19827
+ Inputs: output.Inputs != null ? deserializeAws_json1_1OneInput(output.Inputs, context) : undefined,
19828
+ Name: (0, smithy_client_1.expectString)(output.Name),
19829
+ PartitionKeys: output.PartitionKeys != null
19830
+ ? deserializeAws_json1_1GlueStudioPathList(output.PartitionKeys, context)
19831
+ : undefined,
19832
+ Path: (0, smithy_client_1.expectString)(output.Path),
19833
+ SchemaChangePolicy: output.SchemaChangePolicy != null
19834
+ ? deserializeAws_json1_1DirectSchemaChangePolicy(output.SchemaChangePolicy, context)
19835
+ : undefined,
19836
+ };
19837
+ };
19838
+ const deserializeAws_json1_1S3HudiSource = (output, context) => {
19839
+ return {
19840
+ AdditionalHudiOptions: output.AdditionalHudiOptions != null
19841
+ ? deserializeAws_json1_1AdditionalOptions(output.AdditionalHudiOptions, context)
19842
+ : undefined,
19843
+ AdditionalOptions: output.AdditionalOptions != null
19844
+ ? deserializeAws_json1_1S3DirectSourceAdditionalOptions(output.AdditionalOptions, context)
19845
+ : undefined,
19846
+ Name: (0, smithy_client_1.expectString)(output.Name),
19847
+ OutputSchemas: output.OutputSchemas != null ? deserializeAws_json1_1GlueSchemas(output.OutputSchemas, context) : undefined,
19848
+ Paths: output.Paths != null ? deserializeAws_json1_1EnclosedInStringProperties(output.Paths, context) : undefined,
19849
+ };
19850
+ };
19691
19851
  const deserializeAws_json1_1S3JsonSource = (output, context) => {
19692
19852
  return {
19693
19853
  AdditionalOptions: output.AdditionalOptions != null
@@ -1,7 +1,8 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateScriptRequestFilterSensitiveLog, CreateScriptResponseFilterSensitiveLog, } from "../models/models_0";
4
+ import { CreateScriptRequestFilterSensitiveLog } from "../models/models_0";
5
+ import { CreateScriptResponseFilterSensitiveLog } from "../models/models_1";
5
6
  import { deserializeAws_json1_1CreateScriptCommand, serializeAws_json1_1CreateScriptCommand, } from "../protocols/Aws_json1_1";
6
7
  export class CreateScriptCommand extends $Command {
7
8
  constructor(input) {
@@ -1,7 +1,8 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListCrawlsRequestFilterSensitiveLog, ListCrawlsResponseFilterSensitiveLog, } from "../models/models_1";
4
+ import { ListCrawlsRequestFilterSensitiveLog } from "../models/models_1";
5
+ import { ListCrawlsResponseFilterSensitiveLog } from "../models/models_2";
5
6
  import { deserializeAws_json1_1ListCrawlsCommand, serializeAws_json1_1ListCrawlsCommand, } from "../protocols/Aws_json1_1";
6
7
  export class ListCrawlsCommand extends $Command {
7
8
  constructor(input) {
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListCustomEntityTypesRequestFilterSensitiveLog, ListCustomEntityTypesResponseFilterSensitiveLog, } from "../models/models_1";
4
+ import { ListCustomEntityTypesRequestFilterSensitiveLog, ListCustomEntityTypesResponseFilterSensitiveLog, } from "../models/models_2";
5
5
  import { deserializeAws_json1_1ListCustomEntityTypesCommand, serializeAws_json1_1ListCustomEntityTypesCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListCustomEntityTypesCommand extends $Command {
7
7
  constructor(input) {
@@ -345,6 +345,7 @@ export var TargetFormat;
345
345
  (function (TargetFormat) {
346
346
  TargetFormat["AVRO"] = "avro";
347
347
  TargetFormat["CSV"] = "csv";
348
+ TargetFormat["HUDI"] = "hudi";
348
349
  TargetFormat["JSON"] = "json";
349
350
  TargetFormat["ORC"] = "orc";
350
351
  TargetFormat["PARQUET"] = "parquet";
@@ -357,6 +358,13 @@ export var ParquetCompressionType;
357
358
  ParquetCompressionType["SNAPPY"] = "snappy";
358
359
  ParquetCompressionType["UNCOMPRESSED"] = "uncompressed";
359
360
  })(ParquetCompressionType || (ParquetCompressionType = {}));
361
+ export var HudiTargetCompressionType;
362
+ (function (HudiTargetCompressionType) {
363
+ HudiTargetCompressionType["GZIP"] = "gzip";
364
+ HudiTargetCompressionType["LZO"] = "lzo";
365
+ HudiTargetCompressionType["SNAPPY"] = "snappy";
366
+ HudiTargetCompressionType["UNCOMPRESSED"] = "uncompressed";
367
+ })(HudiTargetCompressionType || (HudiTargetCompressionType = {}));
360
368
  export var UnionType;
361
369
  (function (UnionType) {
362
370
  UnionType["ALL"] = "ALL";
@@ -619,22 +627,6 @@ export var Language;
619
627
  Language["PYTHON"] = "PYTHON";
620
628
  Language["SCALA"] = "SCALA";
621
629
  })(Language || (Language = {}));
622
- export var CloudWatchEncryptionMode;
623
- (function (CloudWatchEncryptionMode) {
624
- CloudWatchEncryptionMode["DISABLED"] = "DISABLED";
625
- CloudWatchEncryptionMode["SSEKMS"] = "SSE-KMS";
626
- })(CloudWatchEncryptionMode || (CloudWatchEncryptionMode = {}));
627
- export var JobBookmarksEncryptionMode;
628
- (function (JobBookmarksEncryptionMode) {
629
- JobBookmarksEncryptionMode["CSEKMS"] = "CSE-KMS";
630
- JobBookmarksEncryptionMode["DISABLED"] = "DISABLED";
631
- })(JobBookmarksEncryptionMode || (JobBookmarksEncryptionMode = {}));
632
- export var S3EncryptionMode;
633
- (function (S3EncryptionMode) {
634
- S3EncryptionMode["DISABLED"] = "DISABLED";
635
- S3EncryptionMode["SSEKMS"] = "SSE-KMS";
636
- S3EncryptionMode["SSES3"] = "SSE-S3";
637
- })(S3EncryptionMode || (S3EncryptionMode = {}));
638
630
  export const NotificationPropertyFilterSensitiveLog = (obj) => ({
639
631
  ...obj,
640
632
  });
@@ -827,6 +819,9 @@ export const BatchGetDevEndpointsResponseFilterSensitiveLog = (obj) => ({
827
819
  export const BatchGetJobsRequestFilterSensitiveLog = (obj) => ({
828
820
  ...obj,
829
821
  });
822
+ export const CatalogHudiSourceFilterSensitiveLog = (obj) => ({
823
+ ...obj,
824
+ });
830
825
  export const StreamingDataPreviewOptionsFilterSensitiveLog = (obj) => ({
831
826
  ...obj,
832
827
  });
@@ -977,6 +972,9 @@ export const RelationalCatalogSourceFilterSensitiveLog = (obj) => ({
977
972
  export const RenameFieldFilterSensitiveLog = (obj) => ({
978
973
  ...obj,
979
974
  });
975
+ export const S3CatalogHudiSourceFilterSensitiveLog = (obj) => ({
976
+ ...obj,
977
+ });
980
978
  export const S3CatalogSourceFilterSensitiveLog = (obj) => ({
981
979
  ...obj,
982
980
  });
@@ -998,6 +996,15 @@ export const S3DirectTargetFilterSensitiveLog = (obj) => ({
998
996
  export const S3GlueParquetTargetFilterSensitiveLog = (obj) => ({
999
997
  ...obj,
1000
998
  });
999
+ export const S3HudiCatalogTargetFilterSensitiveLog = (obj) => ({
1000
+ ...obj,
1001
+ });
1002
+ export const S3HudiDirectTargetFilterSensitiveLog = (obj) => ({
1003
+ ...obj,
1004
+ });
1005
+ export const S3HudiSourceFilterSensitiveLog = (obj) => ({
1006
+ ...obj,
1007
+ });
1001
1008
  export const S3JsonSourceFilterSensitiveLog = (obj) => ({
1002
1009
  ...obj,
1003
1010
  });
@@ -1316,12 +1323,3 @@ export const CodeGenNodeFilterSensitiveLog = (obj) => ({
1316
1323
  export const CreateScriptRequestFilterSensitiveLog = (obj) => ({
1317
1324
  ...obj,
1318
1325
  });
1319
- export const CreateScriptResponseFilterSensitiveLog = (obj) => ({
1320
- ...obj,
1321
- });
1322
- export const CloudWatchEncryptionFilterSensitiveLog = (obj) => ({
1323
- ...obj,
1324
- });
1325
- export const JobBookmarksEncryptionFilterSensitiveLog = (obj) => ({
1326
- ...obj,
1327
- });
@@ -1,4 +1,20 @@
1
1
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
+ export var CloudWatchEncryptionMode;
3
+ (function (CloudWatchEncryptionMode) {
4
+ CloudWatchEncryptionMode["DISABLED"] = "DISABLED";
5
+ CloudWatchEncryptionMode["SSEKMS"] = "SSE-KMS";
6
+ })(CloudWatchEncryptionMode || (CloudWatchEncryptionMode = {}));
7
+ export var JobBookmarksEncryptionMode;
8
+ (function (JobBookmarksEncryptionMode) {
9
+ JobBookmarksEncryptionMode["CSEKMS"] = "CSE-KMS";
10
+ JobBookmarksEncryptionMode["DISABLED"] = "DISABLED";
11
+ })(JobBookmarksEncryptionMode || (JobBookmarksEncryptionMode = {}));
12
+ export var S3EncryptionMode;
13
+ (function (S3EncryptionMode) {
14
+ S3EncryptionMode["DISABLED"] = "DISABLED";
15
+ S3EncryptionMode["SSEKMS"] = "SSE-KMS";
16
+ S3EncryptionMode["SSES3"] = "SSE-S3";
17
+ })(S3EncryptionMode || (S3EncryptionMode = {}));
2
18
  export var SessionStatus;
3
19
  (function (SessionStatus) {
4
20
  SessionStatus["FAILED"] = "FAILED";
@@ -200,13 +216,15 @@ export var FilterOperator;
200
216
  FilterOperator["LT"] = "LT";
201
217
  FilterOperator["NE"] = "NE";
202
218
  })(FilterOperator || (FilterOperator = {}));
203
- export var CrawlerHistoryState;
204
- (function (CrawlerHistoryState) {
205
- CrawlerHistoryState["COMPLETED"] = "COMPLETED";
206
- CrawlerHistoryState["FAILED"] = "FAILED";
207
- CrawlerHistoryState["RUNNING"] = "RUNNING";
208
- CrawlerHistoryState["STOPPED"] = "STOPPED";
209
- })(CrawlerHistoryState || (CrawlerHistoryState = {}));
219
+ export const CreateScriptResponseFilterSensitiveLog = (obj) => ({
220
+ ...obj,
221
+ });
222
+ export const CloudWatchEncryptionFilterSensitiveLog = (obj) => ({
223
+ ...obj,
224
+ });
225
+ export const JobBookmarksEncryptionFilterSensitiveLog = (obj) => ({
226
+ ...obj,
227
+ });
210
228
  export const S3EncryptionFilterSensitiveLog = (obj) => ({
211
229
  ...obj,
212
230
  });
@@ -1014,18 +1032,3 @@ export const CrawlsFilterFilterSensitiveLog = (obj) => ({
1014
1032
  export const ListCrawlsRequestFilterSensitiveLog = (obj) => ({
1015
1033
  ...obj,
1016
1034
  });
1017
- export const CrawlerHistoryFilterSensitiveLog = (obj) => ({
1018
- ...obj,
1019
- });
1020
- export const ListCrawlsResponseFilterSensitiveLog = (obj) => ({
1021
- ...obj,
1022
- });
1023
- export const ListCustomEntityTypesRequestFilterSensitiveLog = (obj) => ({
1024
- ...obj,
1025
- });
1026
- export const ListCustomEntityTypesResponseFilterSensitiveLog = (obj) => ({
1027
- ...obj,
1028
- });
1029
- export const DataQualityResultFilterCriteriaFilterSensitiveLog = (obj) => ({
1030
- ...obj,
1031
- });
@@ -1,5 +1,12 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
3
+ export var CrawlerHistoryState;
4
+ (function (CrawlerHistoryState) {
5
+ CrawlerHistoryState["COMPLETED"] = "COMPLETED";
6
+ CrawlerHistoryState["FAILED"] = "FAILED";
7
+ CrawlerHistoryState["RUNNING"] = "RUNNING";
8
+ CrawlerHistoryState["STOPPED"] = "STOPPED";
9
+ })(CrawlerHistoryState || (CrawlerHistoryState = {}));
3
10
  export var EnableHybridValues;
4
11
  (function (EnableHybridValues) {
5
12
  EnableHybridValues["FALSE"] = "FALSE";
@@ -154,6 +161,21 @@ export class VersionMismatchException extends __BaseException {
154
161
  this.Message = opts.Message;
155
162
  }
156
163
  }
164
+ export const CrawlerHistoryFilterSensitiveLog = (obj) => ({
165
+ ...obj,
166
+ });
167
+ export const ListCrawlsResponseFilterSensitiveLog = (obj) => ({
168
+ ...obj,
169
+ });
170
+ export const ListCustomEntityTypesRequestFilterSensitiveLog = (obj) => ({
171
+ ...obj,
172
+ });
173
+ export const ListCustomEntityTypesResponseFilterSensitiveLog = (obj) => ({
174
+ ...obj,
175
+ });
176
+ export const DataQualityResultFilterCriteriaFilterSensitiveLog = (obj) => ({
177
+ ...obj,
178
+ });
157
179
  export const ListDataQualityResultsRequestFilterSensitiveLog = (obj) => ({
158
180
  ...obj,
159
181
  });