@aws-sdk/client-glue 3.303.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 (36) hide show
  1. package/dist-cjs/models/models_0.js +55 -12
  2. package/dist-cjs/models/models_1.js +12 -1
  3. package/dist-cjs/protocols/Aws_json1_1.js +126 -0
  4. package/dist-es/models/models_0.js +50 -10
  5. package/dist-es/models/models_1.js +11 -0
  6. package/dist-es/protocols/Aws_json1_1.js +127 -1
  7. package/dist-types/commands/BatchGetPartitionCommand.d.ts +5 -0
  8. package/dist-types/commands/CreateDatabaseCommand.d.ts +7 -0
  9. package/dist-types/commands/CreateRegistryCommand.d.ts +1 -1
  10. package/dist-types/commands/CreateSchemaCommand.d.ts +1 -2
  11. package/dist-types/commands/GetDatabaseCommand.d.ts +3 -0
  12. package/dist-types/commands/GetDatabasesCommand.d.ts +1 -1
  13. package/dist-types/commands/GetPartitionCommand.d.ts +5 -0
  14. package/dist-types/commands/GetPartitionsCommand.d.ts +5 -0
  15. package/dist-types/commands/GetTableCommand.d.ts +5 -0
  16. package/dist-types/commands/GetTablesCommand.d.ts +5 -0
  17. package/dist-types/commands/GetUnfilteredPartitionMetadataCommand.d.ts +6 -0
  18. package/dist-types/commands/GetUnfilteredPartitionsMetadataCommand.d.ts +6 -0
  19. package/dist-types/commands/GetUnfilteredTableMetadataCommand.d.ts +6 -0
  20. package/dist-types/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
  21. package/dist-types/commands/GetWorkflowRunsCommand.d.ts +1 -1
  22. package/dist-types/commands/ImportCatalogToGlueCommand.d.ts +1 -1
  23. package/dist-types/commands/SearchTablesCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateDatabaseCommand.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +95 -139
  26. package/dist-types/models/models_1.d.ts +190 -76
  27. package/dist-types/models/models_2.d.ts +73 -3
  28. package/dist-types/ts3.4/commands/CreateRegistryCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/CreateSchemaCommand.d.ts +1 -2
  30. package/dist-types/ts3.4/commands/GetWorkflowRunPropertiesCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/GetWorkflowRunsCommand.d.ts +1 -1
  32. package/dist-types/ts3.4/commands/ImportCatalogToGlueCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/models/models_0.d.ts +48 -35
  34. package/dist-types/ts3.4/models/models_1.d.ts +44 -23
  35. package/dist-types/ts3.4/models/models_2.d.ts +24 -2
  36. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Logical = exports.JobRunState = exports.LogicalOperator = exports.CrawlState = exports.InvalidStateException = exports.SourceControlProvider = exports.SourceControlAuthStrategy = exports.ExecutionClass = exports.UnionType = exports.HudiTargetCompressionType = exports.ParquetCompressionType = exports.TargetFormat = exports.DeltaTargetCompressionType = exports.Separator = exports.QuoteChar = exports.CompressionType = exports.PiiType = exports.JoinType = exports.GlueRecordType = exports.JDBCDataType = exports.UpdateCatalogBehavior = exports.FilterLogicalOperator = exports.FilterValueType = exports.FilterOperation = exports.DQStopJobOnFailureTiming = exports.DQTransformOutput = exports.ParamType = exports.JDBCConnectionType = exports.StartingPosition = exports.WorkerType = exports.DataQualityRuleResultStatus = exports.JdbcMetadataEntry = exports.CrawlerState = exports.UpdateBehavior = exports.DeleteBehavior = exports.ScheduleState = exports.RecrawlBehavior = exports.CrawlerLineageSettings = exports.LastCrawlStatus = exports.BlueprintStatus = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AggFunction = exports.AccessDeniedException = void 0;
4
- exports.Compatibility = exports.MLUserDataEncryptionModeString = exports.TransformType = exports.ValidationException = exports.Permission = exports.ConcurrentModificationException = exports.IdempotentParameterMismatchException = exports.ConnectionType = exports.ConnectionPropertyKey = exports.CsvHeaderOption = exports.DataFormat = exports.IllegalSessionStateException = exports.TaskStatusType = exports.WorkflowRunStatus = exports.NodeType = exports.TriggerType = exports.TriggerState = void 0;
3
+ exports.CrawlState = exports.InvalidStateException = exports.FederationSourceRetryableException = exports.FederationSourceException = exports.FederationSourceErrorCode = exports.SourceControlProvider = exports.SourceControlAuthStrategy = exports.ExecutionClass = exports.UnionType = exports.HudiTargetCompressionType = exports.ParquetCompressionType = exports.TargetFormat = exports.DeltaTargetCompressionType = exports.Separator = exports.QuoteChar = exports.CompressionType = exports.PiiType = exports.JoinType = exports.GlueRecordType = exports.JDBCDataType = exports.UpdateCatalogBehavior = exports.FilterLogicalOperator = exports.FilterValueType = exports.FilterOperation = exports.DQStopJobOnFailureTiming = exports.DQTransformOutput = exports.ParamType = exports.JDBCConnectionType = exports.StartingPosition = exports.WorkerType = exports.DataQualityRuleResultStatus = exports.JdbcMetadataEntry = exports.CrawlerState = exports.UpdateBehavior = exports.DeleteBehavior = exports.ScheduleState = exports.RecrawlBehavior = exports.CrawlerLineageSettings = exports.LastCrawlStatus = exports.BlueprintStatus = exports.ResourceNotReadyException = exports.ResourceNumberLimitExceededException = exports.OperationTimeoutException = exports.InvalidInputException = exports.InternalServiceException = exports.GlueEncryptionException = exports.EntityNotFoundException = exports.AlreadyExistsException = exports.AggFunction = exports.AccessDeniedException = void 0;
4
+ exports.MLUserDataEncryptionModeString = exports.TransformType = exports.ValidationException = exports.FederatedResourceAlreadyExistsException = exports.Permission = exports.ConcurrentModificationException = exports.IdempotentParameterMismatchException = exports.ConnectionType = exports.ConnectionPropertyKey = exports.CsvHeaderOption = exports.DataFormat = exports.IllegalSessionStateException = exports.TaskStatusType = exports.WorkflowRunStatus = exports.NodeType = exports.TriggerType = exports.TriggerState = exports.Logical = exports.JobRunState = exports.LogicalOperator = void 0;
5
5
  const GlueServiceException_1 = require("./GlueServiceException");
6
6
  class AccessDeniedException extends GlueServiceException_1.GlueServiceException {
7
7
  constructor(opts) {
@@ -59,6 +59,7 @@ class EntityNotFoundException extends GlueServiceException_1.GlueServiceExceptio
59
59
  this.$fault = "client";
60
60
  Object.setPrototypeOf(this, EntityNotFoundException.prototype);
61
61
  this.Message = opts.Message;
62
+ this.FromFederationSource = opts.FromFederationSource;
62
63
  }
63
64
  }
64
65
  exports.EntityNotFoundException = EntityNotFoundException;
@@ -101,6 +102,7 @@ class InvalidInputException extends GlueServiceException_1.GlueServiceException
101
102
  this.$fault = "client";
102
103
  Object.setPrototypeOf(this, InvalidInputException.prototype);
103
104
  this.Message = opts.Message;
105
+ this.FromFederationSource = opts.FromFederationSource;
104
106
  }
105
107
  }
106
108
  exports.InvalidInputException = InvalidInputException;
@@ -376,6 +378,42 @@ exports.SourceControlProvider = {
376
378
  AWS_CODE_COMMIT: "AWS_CODE_COMMIT",
377
379
  GITHUB: "GITHUB",
378
380
  };
381
+ exports.FederationSourceErrorCode = {
382
+ InternalServiceException: "InternalServiceException",
383
+ InvalidResponseException: "InvalidResponseException",
384
+ OperationNotSupportedException: "OperationNotSupportedException",
385
+ OperationTimeoutException: "OperationTimeoutException",
386
+ ThrottlingException: "ThrottlingException",
387
+ };
388
+ class FederationSourceException extends GlueServiceException_1.GlueServiceException {
389
+ constructor(opts) {
390
+ super({
391
+ name: "FederationSourceException",
392
+ $fault: "client",
393
+ ...opts,
394
+ });
395
+ this.name = "FederationSourceException";
396
+ this.$fault = "client";
397
+ Object.setPrototypeOf(this, FederationSourceException.prototype);
398
+ this.FederationSourceErrorCode = opts.FederationSourceErrorCode;
399
+ this.Message = opts.Message;
400
+ }
401
+ }
402
+ exports.FederationSourceException = FederationSourceException;
403
+ class FederationSourceRetryableException extends GlueServiceException_1.GlueServiceException {
404
+ constructor(opts) {
405
+ super({
406
+ name: "FederationSourceRetryableException",
407
+ $fault: "client",
408
+ ...opts,
409
+ });
410
+ this.name = "FederationSourceRetryableException";
411
+ this.$fault = "client";
412
+ Object.setPrototypeOf(this, FederationSourceRetryableException.prototype);
413
+ this.Message = opts.Message;
414
+ }
415
+ }
416
+ exports.FederationSourceRetryableException = FederationSourceRetryableException;
379
417
  class InvalidStateException extends GlueServiceException_1.GlueServiceException {
380
418
  constructor(opts) {
381
419
  super({
@@ -557,6 +595,21 @@ exports.Permission = {
557
595
  INSERT: "INSERT",
558
596
  SELECT: "SELECT",
559
597
  };
598
+ class FederatedResourceAlreadyExistsException extends GlueServiceException_1.GlueServiceException {
599
+ constructor(opts) {
600
+ super({
601
+ name: "FederatedResourceAlreadyExistsException",
602
+ $fault: "client",
603
+ ...opts,
604
+ });
605
+ this.name = "FederatedResourceAlreadyExistsException";
606
+ this.$fault = "client";
607
+ Object.setPrototypeOf(this, FederatedResourceAlreadyExistsException.prototype);
608
+ this.Message = opts.Message;
609
+ this.AssociatedGlueResource = opts.AssociatedGlueResource;
610
+ }
611
+ }
612
+ exports.FederatedResourceAlreadyExistsException = FederatedResourceAlreadyExistsException;
560
613
  class ValidationException extends GlueServiceException_1.GlueServiceException {
561
614
  constructor(opts) {
562
615
  super({
@@ -578,13 +631,3 @@ exports.MLUserDataEncryptionModeString = {
578
631
  DISABLED: "DISABLED",
579
632
  SSEKMS: "SSE-KMS",
580
633
  };
581
- exports.Compatibility = {
582
- BACKWARD: "BACKWARD",
583
- BACKWARD_ALL: "BACKWARD_ALL",
584
- DISABLED: "DISABLED",
585
- FORWARD: "FORWARD",
586
- FORWARD_ALL: "FORWARD_ALL",
587
- FULL: "FULL",
588
- FULL_ALL: "FULL_ALL",
589
- NONE: "NONE",
590
- };
@@ -1,7 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PermissionTypeMismatchException = exports.PermissionType = exports.StatementState = exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = exports.ColumnStatisticsType = exports.BlueprintRunState = exports.ConditionCheckFailureException = exports.RegistryStatus = exports.ConflictException = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.ResourceType = exports.PrincipalType = exports.SessionStatus = exports.S3EncryptionMode = exports.JobBookmarksEncryptionMode = exports.CloudWatchEncryptionMode = exports.Language = exports.SchemaVersionStatus = exports.SchemaStatus = void 0;
3
+ exports.PermissionTypeMismatchException = exports.PermissionType = exports.StatementState = exports.SchemaDiffType = exports.PartitionIndexStatus = exports.BackfillErrorCode = exports.TransformSortColumnType = exports.TransformStatusType = exports.SortDirectionType = exports.TaskRunSortColumnType = exports.TaskType = exports.CatalogEncryptionMode = exports.ResourceShareType = exports.ColumnStatisticsType = exports.BlueprintRunState = exports.ConditionCheckFailureException = exports.RegistryStatus = exports.ConflictException = exports.SchedulerTransitioningException = exports.CrawlerRunningException = exports.ResourceType = exports.PrincipalType = exports.SessionStatus = exports.S3EncryptionMode = exports.JobBookmarksEncryptionMode = exports.CloudWatchEncryptionMode = exports.Language = exports.SchemaVersionStatus = exports.SchemaStatus = exports.Compatibility = void 0;
4
4
  const GlueServiceException_1 = require("./GlueServiceException");
5
+ exports.Compatibility = {
6
+ BACKWARD: "BACKWARD",
7
+ BACKWARD_ALL: "BACKWARD_ALL",
8
+ DISABLED: "DISABLED",
9
+ FORWARD: "FORWARD",
10
+ FORWARD_ALL: "FORWARD_ALL",
11
+ FULL: "FULL",
12
+ FULL_ALL: "FULL_ALL",
13
+ NONE: "NONE",
14
+ };
5
15
  exports.SchemaStatus = {
6
16
  AVAILABLE: "AVAILABLE",
7
17
  DELETING: "DELETING",
@@ -125,6 +135,7 @@ exports.ColumnStatisticsType = {
125
135
  };
126
136
  exports.ResourceShareType = {
127
137
  ALL: "ALL",
138
+ FEDERATED: "FEDERATED",
128
139
  FOREIGN: "FOREIGN",
129
140
  };
130
141
  exports.CatalogEncryptionMode = {
@@ -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 }),
@@ -17100,6 +17190,9 @@ const deserializeAws_json1_1Database = (output, context) => {
17100
17190
  : undefined,
17101
17191
  CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
17102
17192
  Description: (0, smithy_client_1.expectString)(output.Description),
17193
+ FederatedDatabase: output.FederatedDatabase != null
17194
+ ? deserializeAws_json1_1FederatedDatabase(output.FederatedDatabase, context)
17195
+ : undefined,
17103
17196
  LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
17104
17197
  Name: (0, smithy_client_1.expectString)(output.Name),
17105
17198
  Parameters: output.Parameters != null ? deserializeAws_json1_1ParametersMap(output.Parameters, context) : undefined,
@@ -17726,6 +17819,7 @@ const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
17726
17819
  };
17727
17820
  const deserializeAws_json1_1EntityNotFoundException = (output, context) => {
17728
17821
  return {
17822
+ FromFederationSource: (0, smithy_client_1.expectBoolean)(output.FromFederationSource),
17729
17823
  Message: (0, smithy_client_1.expectString)(output.Message),
17730
17824
  };
17731
17825
  };
@@ -17788,6 +17882,36 @@ const deserializeAws_json1_1ExportLabelsTaskRunProperties = (output, context) =>
17788
17882
  OutputS3Path: (0, smithy_client_1.expectString)(output.OutputS3Path),
17789
17883
  };
17790
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
+ };
17791
17915
  const deserializeAws_json1_1FillMissingValues = (output, context) => {
17792
17916
  return {
17793
17917
  FilledPath: (0, smithy_client_1.expectString)(output.FilledPath),
@@ -18580,6 +18704,7 @@ const deserializeAws_json1_1InternalServiceException = (output, context) => {
18580
18704
  };
18581
18705
  const deserializeAws_json1_1InvalidInputException = (output, context) => {
18582
18706
  return {
18707
+ FromFederationSource: (0, smithy_client_1.expectBoolean)(output.FromFederationSource),
18583
18708
  Message: (0, smithy_client_1.expectString)(output.Message),
18584
18709
  };
18585
18710
  };
@@ -20601,6 +20726,7 @@ const deserializeAws_json1_1Table = (output, context) => {
20601
20726
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
20602
20727
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
20603
20728
  Description: (0, smithy_client_1.expectString)(output.Description),
20729
+ FederatedTable: output.FederatedTable != null ? deserializeAws_json1_1FederatedTable(output.FederatedTable, context) : undefined,
20604
20730
  IsRegisteredWithLakeFormation: (0, smithy_client_1.expectBoolean)(output.IsRegisteredWithLakeFormation),
20605
20731
  LastAccessTime: output.LastAccessTime != null
20606
20732
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastAccessTime)))
@@ -53,6 +53,7 @@ export class EntityNotFoundException extends __BaseException {
53
53
  this.$fault = "client";
54
54
  Object.setPrototypeOf(this, EntityNotFoundException.prototype);
55
55
  this.Message = opts.Message;
56
+ this.FromFederationSource = opts.FromFederationSource;
56
57
  }
57
58
  }
58
59
  export class GlueEncryptionException extends __BaseException {
@@ -92,6 +93,7 @@ export class InvalidInputException extends __BaseException {
92
93
  this.$fault = "client";
93
94
  Object.setPrototypeOf(this, InvalidInputException.prototype);
94
95
  this.Message = opts.Message;
96
+ this.FromFederationSource = opts.FromFederationSource;
95
97
  }
96
98
  }
97
99
  export class OperationTimeoutException extends __BaseException {
@@ -363,6 +365,40 @@ export const SourceControlProvider = {
363
365
  AWS_CODE_COMMIT: "AWS_CODE_COMMIT",
364
366
  GITHUB: "GITHUB",
365
367
  };
368
+ export const FederationSourceErrorCode = {
369
+ InternalServiceException: "InternalServiceException",
370
+ InvalidResponseException: "InvalidResponseException",
371
+ OperationNotSupportedException: "OperationNotSupportedException",
372
+ OperationTimeoutException: "OperationTimeoutException",
373
+ ThrottlingException: "ThrottlingException",
374
+ };
375
+ export class FederationSourceException extends __BaseException {
376
+ constructor(opts) {
377
+ super({
378
+ name: "FederationSourceException",
379
+ $fault: "client",
380
+ ...opts,
381
+ });
382
+ this.name = "FederationSourceException";
383
+ this.$fault = "client";
384
+ Object.setPrototypeOf(this, FederationSourceException.prototype);
385
+ this.FederationSourceErrorCode = opts.FederationSourceErrorCode;
386
+ this.Message = opts.Message;
387
+ }
388
+ }
389
+ export class FederationSourceRetryableException extends __BaseException {
390
+ constructor(opts) {
391
+ super({
392
+ name: "FederationSourceRetryableException",
393
+ $fault: "client",
394
+ ...opts,
395
+ });
396
+ this.name = "FederationSourceRetryableException";
397
+ this.$fault = "client";
398
+ Object.setPrototypeOf(this, FederationSourceRetryableException.prototype);
399
+ this.Message = opts.Message;
400
+ }
401
+ }
366
402
  export class InvalidStateException extends __BaseException {
367
403
  constructor(opts) {
368
404
  super({
@@ -540,6 +576,20 @@ export const Permission = {
540
576
  INSERT: "INSERT",
541
577
  SELECT: "SELECT",
542
578
  };
579
+ export class FederatedResourceAlreadyExistsException extends __BaseException {
580
+ constructor(opts) {
581
+ super({
582
+ name: "FederatedResourceAlreadyExistsException",
583
+ $fault: "client",
584
+ ...opts,
585
+ });
586
+ this.name = "FederatedResourceAlreadyExistsException";
587
+ this.$fault = "client";
588
+ Object.setPrototypeOf(this, FederatedResourceAlreadyExistsException.prototype);
589
+ this.Message = opts.Message;
590
+ this.AssociatedGlueResource = opts.AssociatedGlueResource;
591
+ }
592
+ }
543
593
  export class ValidationException extends __BaseException {
544
594
  constructor(opts) {
545
595
  super({
@@ -560,13 +610,3 @@ export const MLUserDataEncryptionModeString = {
560
610
  DISABLED: "DISABLED",
561
611
  SSEKMS: "SSE-KMS",
562
612
  };
563
- export const Compatibility = {
564
- BACKWARD: "BACKWARD",
565
- BACKWARD_ALL: "BACKWARD_ALL",
566
- DISABLED: "DISABLED",
567
- FORWARD: "FORWARD",
568
- FORWARD_ALL: "FORWARD_ALL",
569
- FULL: "FULL",
570
- FULL_ALL: "FULL_ALL",
571
- NONE: "NONE",
572
- };
@@ -1,4 +1,14 @@
1
1
  import { GlueServiceException as __BaseException } from "./GlueServiceException";
2
+ export const Compatibility = {
3
+ BACKWARD: "BACKWARD",
4
+ BACKWARD_ALL: "BACKWARD_ALL",
5
+ DISABLED: "DISABLED",
6
+ FORWARD: "FORWARD",
7
+ FORWARD_ALL: "FORWARD_ALL",
8
+ FULL: "FULL",
9
+ FULL_ALL: "FULL_ALL",
10
+ NONE: "NONE",
11
+ };
2
12
  export const SchemaStatus = {
3
13
  AVAILABLE: "AVAILABLE",
4
14
  DELETING: "DELETING",
@@ -118,6 +128,7 @@ export const ColumnStatisticsType = {
118
128
  };
119
129
  export const ResourceShareType = {
120
130
  ALL: "ALL",
131
+ FEDERATED: "FEDERATED",
121
132
  FOREIGN: "FOREIGN",
122
133
  };
123
134
  export const CatalogEncryptionMode = {