@aws-sdk/client-glue 3.301.0 → 3.305.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 (39) hide show
  1. package/dist-cjs/models/models_0.js +434 -444
  2. package/dist-cjs/models/models_1.js +141 -154
  3. package/dist-cjs/models/models_2.js +41 -48
  4. package/dist-cjs/protocols/Aws_json1_1.js +126 -1
  5. package/dist-es/models/models_0.js +429 -442
  6. package/dist-es/models/models_1.js +140 -153
  7. package/dist-es/models/models_2.js +41 -48
  8. package/dist-es/protocols/Aws_json1_1.js +127 -2
  9. package/dist-types/commands/BatchGetPartitionCommand.d.ts +5 -0
  10. package/dist-types/commands/CreateDatabaseCommand.d.ts +7 -0
  11. package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateSchemaCommand.d.ts +1 -2
  13. package/dist-types/commands/GetDatabaseCommand.d.ts +3 -0
  14. package/dist-types/commands/GetDatabasesCommand.d.ts +1 -1
  15. package/dist-types/commands/GetPartitionCommand.d.ts +5 -0
  16. package/dist-types/commands/GetPartitionsCommand.d.ts +5 -0
  17. package/dist-types/commands/GetTableCommand.d.ts +5 -0
  18. package/dist-types/commands/GetTablesCommand.d.ts +5 -0
  19. package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +6 -0
  20. package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +6 -0
  21. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +6 -0
  22. package/dist-types/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
  23. package/dist-types/commands/GetWorkflowRunsCommand.d.ts +1 -1
  24. package/dist-types/commands/ImportCatalogToGlueCommand.d.ts +1 -1
  25. package/dist-types/commands/SearchTablesCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +0 -1
  27. package/dist-types/commands/UpdateDatabaseCommand.d.ts +4 -0
  28. package/dist-types/models/models_0.d.ts +741 -520
  29. package/dist-types/models/models_1.d.ts +437 -203
  30. package/dist-types/models/models_2.d.ts +149 -48
  31. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +1 -2
  33. package/dist-types/ts3.4/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/GetWorkflowRunsCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/ImportCatalogToGlueCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/models/models_0.d.ts +510 -413
  37. package/dist-types/ts3.4/models/models_1.d.ts +213 -150
  38. package/dist-types/ts3.4/models/models_2.d.ts +76 -44
  39. package/package.json +34 -34
@@ -2523,6 +2523,12 @@ const deserializeAws_json1_1BatchGetPartitionCommandError = async (output, conte
2523
2523
  case "EntityNotFoundException":
2524
2524
  case "com.amazonaws.glue#EntityNotFoundException":
2525
2525
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
2526
+ case "FederationSourceException":
2527
+ case "com.amazonaws.glue#FederationSourceException":
2528
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
2529
+ case "FederationSourceRetryableException":
2530
+ case "com.amazonaws.glue#FederationSourceRetryableException":
2531
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
2526
2532
  case "GlueEncryptionException":
2527
2533
  case "com.amazonaws.glue#GlueEncryptionException":
2528
2534
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -3186,6 +3192,9 @@ const deserializeAws_json1_1CreateDatabaseCommandError = async (output, context)
3186
3192
  case "ConcurrentModificationException":
3187
3193
  case "com.amazonaws.glue#ConcurrentModificationException":
3188
3194
  throw await deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context);
3195
+ case "FederatedResourceAlreadyExistsException":
3196
+ case "com.amazonaws.glue#FederatedResourceAlreadyExistsException":
3197
+ throw await deserializeAws_json1_1FederatedResourceAlreadyExistsExceptionResponse(parsedOutput, context);
3189
3198
  case "GlueEncryptionException":
3190
3199
  case "com.amazonaws.glue#GlueEncryptionException":
3191
3200
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -5653,6 +5662,9 @@ const deserializeAws_json1_1GetDatabaseCommandError = async (output, context) =>
5653
5662
  case "EntityNotFoundException":
5654
5663
  case "com.amazonaws.glue#EntityNotFoundException":
5655
5664
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
5665
+ case "FederationSourceException":
5666
+ case "com.amazonaws.glue#FederationSourceException":
5667
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
5656
5668
  case "GlueEncryptionException":
5657
5669
  case "com.amazonaws.glue#GlueEncryptionException":
5658
5670
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -6513,6 +6525,12 @@ const deserializeAws_json1_1GetPartitionCommandError = async (output, context) =
6513
6525
  case "EntityNotFoundException":
6514
6526
  case "com.amazonaws.glue#EntityNotFoundException":
6515
6527
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
6528
+ case "FederationSourceException":
6529
+ case "com.amazonaws.glue#FederationSourceException":
6530
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
6531
+ case "FederationSourceRetryableException":
6532
+ case "com.amazonaws.glue#FederationSourceRetryableException":
6533
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
6516
6534
  case "GlueEncryptionException":
6517
6535
  case "com.amazonaws.glue#GlueEncryptionException":
6518
6536
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -6605,6 +6623,12 @@ const deserializeAws_json1_1GetPartitionsCommandError = async (output, context)
6605
6623
  case "EntityNotFoundException":
6606
6624
  case "com.amazonaws.glue#EntityNotFoundException":
6607
6625
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
6626
+ case "FederationSourceException":
6627
+ case "com.amazonaws.glue#FederationSourceException":
6628
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
6629
+ case "FederationSourceRetryableException":
6630
+ case "com.amazonaws.glue#FederationSourceRetryableException":
6631
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
6608
6632
  case "GlueEncryptionException":
6609
6633
  case "com.amazonaws.glue#GlueEncryptionException":
6610
6634
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -7179,6 +7203,12 @@ const deserializeAws_json1_1GetTableCommandError = async (output, context) => {
7179
7203
  case "EntityNotFoundException":
7180
7204
  case "com.amazonaws.glue#EntityNotFoundException":
7181
7205
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
7206
+ case "FederationSourceException":
7207
+ case "com.amazonaws.glue#FederationSourceException":
7208
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
7209
+ case "FederationSourceRetryableException":
7210
+ case "com.amazonaws.glue#FederationSourceRetryableException":
7211
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
7182
7212
  case "GlueEncryptionException":
7183
7213
  case "com.amazonaws.glue#GlueEncryptionException":
7184
7214
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -7228,6 +7258,12 @@ const deserializeAws_json1_1GetTablesCommandError = async (output, context) => {
7228
7258
  case "EntityNotFoundException":
7229
7259
  case "com.amazonaws.glue#EntityNotFoundException":
7230
7260
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
7261
+ case "FederationSourceException":
7262
+ case "com.amazonaws.glue#FederationSourceException":
7263
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
7264
+ case "FederationSourceRetryableException":
7265
+ case "com.amazonaws.glue#FederationSourceRetryableException":
7266
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
7231
7267
  case "GlueEncryptionException":
7232
7268
  case "com.amazonaws.glue#GlueEncryptionException":
7233
7269
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -7495,6 +7531,12 @@ const deserializeAws_json1_1GetUnfilteredPartitionMetadataCommandError = async (
7495
7531
  case "EntityNotFoundException":
7496
7532
  case "com.amazonaws.glue#EntityNotFoundException":
7497
7533
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
7534
+ case "FederationSourceException":
7535
+ case "com.amazonaws.glue#FederationSourceException":
7536
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
7537
+ case "FederationSourceRetryableException":
7538
+ case "com.amazonaws.glue#FederationSourceRetryableException":
7539
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
7498
7540
  case "GlueEncryptionException":
7499
7541
  case "com.amazonaws.glue#GlueEncryptionException":
7500
7542
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -7544,6 +7586,12 @@ const deserializeAws_json1_1GetUnfilteredPartitionsMetadataCommandError = async
7544
7586
  case "EntityNotFoundException":
7545
7587
  case "com.amazonaws.glue#EntityNotFoundException":
7546
7588
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
7589
+ case "FederationSourceException":
7590
+ case "com.amazonaws.glue#FederationSourceException":
7591
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
7592
+ case "FederationSourceRetryableException":
7593
+ case "com.amazonaws.glue#FederationSourceRetryableException":
7594
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
7547
7595
  case "GlueEncryptionException":
7548
7596
  case "com.amazonaws.glue#GlueEncryptionException":
7549
7597
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -7593,6 +7641,12 @@ const deserializeAws_json1_1GetUnfilteredTableMetadataCommandError = async (outp
7593
7641
  case "EntityNotFoundException":
7594
7642
  case "com.amazonaws.glue#EntityNotFoundException":
7595
7643
  throw await deserializeAws_json1_1EntityNotFoundExceptionResponse(parsedOutput, context);
7644
+ case "FederationSourceException":
7645
+ case "com.amazonaws.glue#FederationSourceException":
7646
+ throw await deserializeAws_json1_1FederationSourceExceptionResponse(parsedOutput, context);
7647
+ case "FederationSourceRetryableException":
7648
+ case "com.amazonaws.glue#FederationSourceRetryableException":
7649
+ throw await deserializeAws_json1_1FederationSourceRetryableExceptionResponse(parsedOutput, context);
7596
7650
  case "GlueEncryptionException":
7597
7651
  case "com.amazonaws.glue#GlueEncryptionException":
7598
7652
  throw await deserializeAws_json1_1GlueEncryptionExceptionResponse(parsedOutput, context);
@@ -11117,6 +11171,33 @@ const deserializeAws_json1_1EntityNotFoundExceptionResponse = async (parsedOutpu
11117
11171
  });
11118
11172
  return (0, smithy_client_1.decorateServiceException)(exception, body);
11119
11173
  };
11174
+ const deserializeAws_json1_1FederatedResourceAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
11175
+ const body = parsedOutput.body;
11176
+ const deserialized = deserializeAws_json1_1FederatedResourceAlreadyExistsException(body, context);
11177
+ const exception = new models_0_1.FederatedResourceAlreadyExistsException({
11178
+ $metadata: deserializeMetadata(parsedOutput),
11179
+ ...deserialized,
11180
+ });
11181
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
11182
+ };
11183
+ const deserializeAws_json1_1FederationSourceExceptionResponse = async (parsedOutput, context) => {
11184
+ const body = parsedOutput.body;
11185
+ const deserialized = deserializeAws_json1_1FederationSourceException(body, context);
11186
+ const exception = new models_0_1.FederationSourceException({
11187
+ $metadata: deserializeMetadata(parsedOutput),
11188
+ ...deserialized,
11189
+ });
11190
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
11191
+ };
11192
+ const deserializeAws_json1_1FederationSourceRetryableExceptionResponse = async (parsedOutput, context) => {
11193
+ const body = parsedOutput.body;
11194
+ const deserialized = deserializeAws_json1_1FederationSourceRetryableException(body, context);
11195
+ const exception = new models_0_1.FederationSourceRetryableException({
11196
+ $metadata: deserializeMetadata(parsedOutput),
11197
+ ...deserialized,
11198
+ });
11199
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
11200
+ };
11120
11201
  const deserializeAws_json1_1GlueEncryptionExceptionResponse = async (parsedOutput, context) => {
11121
11202
  const body = parsedOutput.body;
11122
11203
  const deserialized = deserializeAws_json1_1GlueEncryptionException(body, context);
@@ -12486,6 +12567,9 @@ const serializeAws_json1_1DatabaseInput = (input, context) => {
12486
12567
  CreateTableDefaultPermissions: serializeAws_json1_1PrincipalPermissionsList(input.CreateTableDefaultPermissions, context),
12487
12568
  }),
12488
12569
  ...(input.Description != null && { Description: input.Description }),
12570
+ ...(input.FederatedDatabase != null && {
12571
+ FederatedDatabase: serializeAws_json1_1FederatedDatabase(input.FederatedDatabase, context),
12572
+ }),
12489
12573
  ...(input.LocationUri != null && { LocationUri: input.LocationUri }),
12490
12574
  ...(input.Name != null && { Name: input.Name }),
12491
12575
  ...(input.Parameters != null && { Parameters: serializeAws_json1_1ParametersMap(input.Parameters, context) }),
@@ -12981,6 +13065,12 @@ const serializeAws_json1_1ExecutionProperty = (input, context) => {
12981
13065
  ...(input.MaxConcurrentRuns != null && { MaxConcurrentRuns: input.MaxConcurrentRuns }),
12982
13066
  };
12983
13067
  };
13068
+ const serializeAws_json1_1FederatedDatabase = (input, context) => {
13069
+ return {
13070
+ ...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
13071
+ ...(input.Identifier != null && { Identifier: input.Identifier }),
13072
+ };
13073
+ };
12984
13074
  const serializeAws_json1_1FillMissingValues = (input, context) => {
12985
13075
  return {
12986
13076
  ...(input.FilledPath != null && { FilledPath: input.FilledPath }),
@@ -15489,7 +15579,6 @@ const serializeAws_json1_1UpdateDataQualityRulesetRequest = (input, context) =>
15489
15579
  ...(input.Description != null && { Description: input.Description }),
15490
15580
  ...(input.Name != null && { Name: input.Name }),
15491
15581
  ...(input.Ruleset != null && { Ruleset: input.Ruleset }),
15492
- ...(input.UpdatedName != null && { UpdatedName: input.UpdatedName }),
15493
15582
  };
15494
15583
  };
15495
15584
  const serializeAws_json1_1UpdateDevEndpointRequest = (input, context) => {
@@ -17101,6 +17190,9 @@ const deserializeAws_json1_1Database = (output, context) => {
17101
17190
  : undefined,
17102
17191
  CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
17103
17192
  Description: (0, smithy_client_1.expectString)(output.Description),
17193
+ FederatedDatabase: output.FederatedDatabase != null
17194
+ ? deserializeAws_json1_1FederatedDatabase(output.FederatedDatabase, context)
17195
+ : undefined,
17104
17196
  LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
17105
17197
  Name: (0, smithy_client_1.expectString)(output.Name),
17106
17198
  Parameters: output.Parameters != null ? deserializeAws_json1_1ParametersMap(output.Parameters, context) : undefined,
@@ -17727,6 +17819,7 @@ const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
17727
17819
  };
17728
17820
  const deserializeAws_json1_1EntityNotFoundException = (output, context) => {
17729
17821
  return {
17822
+ FromFederationSource: (0, smithy_client_1.expectBoolean)(output.FromFederationSource),
17730
17823
  Message: (0, smithy_client_1.expectString)(output.Message),
17731
17824
  };
17732
17825
  };
@@ -17789,6 +17882,36 @@ const deserializeAws_json1_1ExportLabelsTaskRunProperties = (output, context) =>
17789
17882
  OutputS3Path: (0, smithy_client_1.expectString)(output.OutputS3Path),
17790
17883
  };
17791
17884
  };
17885
+ const deserializeAws_json1_1FederatedDatabase = (output, context) => {
17886
+ return {
17887
+ ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
17888
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
17889
+ };
17890
+ };
17891
+ const deserializeAws_json1_1FederatedResourceAlreadyExistsException = (output, context) => {
17892
+ return {
17893
+ AssociatedGlueResource: (0, smithy_client_1.expectString)(output.AssociatedGlueResource),
17894
+ Message: (0, smithy_client_1.expectString)(output.Message),
17895
+ };
17896
+ };
17897
+ const deserializeAws_json1_1FederatedTable = (output, context) => {
17898
+ return {
17899
+ ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
17900
+ DatabaseIdentifier: (0, smithy_client_1.expectString)(output.DatabaseIdentifier),
17901
+ Identifier: (0, smithy_client_1.expectString)(output.Identifier),
17902
+ };
17903
+ };
17904
+ const deserializeAws_json1_1FederationSourceException = (output, context) => {
17905
+ return {
17906
+ FederationSourceErrorCode: (0, smithy_client_1.expectString)(output.FederationSourceErrorCode),
17907
+ Message: (0, smithy_client_1.expectString)(output.Message),
17908
+ };
17909
+ };
17910
+ const deserializeAws_json1_1FederationSourceRetryableException = (output, context) => {
17911
+ return {
17912
+ Message: (0, smithy_client_1.expectString)(output.Message),
17913
+ };
17914
+ };
17792
17915
  const deserializeAws_json1_1FillMissingValues = (output, context) => {
17793
17916
  return {
17794
17917
  FilledPath: (0, smithy_client_1.expectString)(output.FilledPath),
@@ -18581,6 +18704,7 @@ const deserializeAws_json1_1InternalServiceException = (output, context) => {
18581
18704
  };
18582
18705
  const deserializeAws_json1_1InvalidInputException = (output, context) => {
18583
18706
  return {
18707
+ FromFederationSource: (0, smithy_client_1.expectBoolean)(output.FromFederationSource),
18584
18708
  Message: (0, smithy_client_1.expectString)(output.Message),
18585
18709
  };
18586
18710
  };
@@ -20602,6 +20726,7 @@ const deserializeAws_json1_1Table = (output, context) => {
20602
20726
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
20603
20727
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
20604
20728
  Description: (0, smithy_client_1.expectString)(output.Description),
20729
+ FederatedTable: output.FederatedTable != null ? deserializeAws_json1_1FederatedTable(output.FederatedTable, context) : undefined,
20605
20730
  IsRegisteredWithLakeFormation: (0, smithy_client_1.expectBoolean)(output.IsRegisteredWithLakeFormation),
20606
20731
  LastAccessTime: output.LastAccessTime != null
20607
20732
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessTime)))