aws-sdk-glue 1.133.0 → 1.134.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +44 -6
- data/lib/aws-sdk-glue/client_api.rb +50 -0
- data/lib/aws-sdk-glue/errors.rb +68 -0
- data/lib/aws-sdk-glue/types.rb +150 -14
- data/lib/aws-sdk-glue.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f853ddbe064dcb06b7b1c395a22073fafb67f1a09851a781400a6362348152c
|
4
|
+
data.tar.gz: fc93b1bc8f34e943088cebb5c9ace8b076b1c85f0fa54bb00536e20d5919bbee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4765afeecba99b3679632a4247d7d4aa2b33efa022be1b1513f6fa69274efa2f340ad5802c308c5c62b9bd801bb0d0190c37b74e3e3d9c9419efe801728e1a2c
|
7
|
+
data.tar.gz: 1e98bb04593269d1754f16304bbb7f6cc36e51856d92e6a92e9bdccb6e1a899a27ff3401528ea71891834c933dfa71e14a013d3555df7059fa67fa7ca425487d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.134.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2819,6 +2819,10 @@ module Aws::Glue
|
|
2819
2819
|
# catalog_id: "CatalogIdString",
|
2820
2820
|
# database_name: "NameString",
|
2821
2821
|
# },
|
2822
|
+
# federated_database: {
|
2823
|
+
# identifier: "FederationIdentifier",
|
2824
|
+
# connection_name: "NameString",
|
2825
|
+
# },
|
2822
2826
|
# },
|
2823
2827
|
# tags: {
|
2824
2828
|
# "TagKey" => "TagValue",
|
@@ -4864,10 +4868,14 @@ module Aws::Glue
|
|
4864
4868
|
# The `SessionCommand` that runs the job.
|
4865
4869
|
#
|
4866
4870
|
# @option params [Integer] :timeout
|
4867
|
-
# The number of
|
4871
|
+
# The number of minutes before session times out. Default for Spark ETL
|
4872
|
+
# jobs is 48 hours (2880 minutes), the maximum session lifetime for this
|
4873
|
+
# job type. Consult the documentation for other job types.
|
4868
4874
|
#
|
4869
4875
|
# @option params [Integer] :idle_timeout
|
4870
|
-
# The number of
|
4876
|
+
# The number of minutes when idle before session times out. Default for
|
4877
|
+
# Spark ETL jobs is value of Timeout. Consult the documentation for
|
4878
|
+
# other job types.
|
4871
4879
|
#
|
4872
4880
|
# @option params [Hash<String,String>] :default_arguments
|
4873
4881
|
# A map array of key-value pairs. Max is 75 pairs.
|
@@ -7299,6 +7307,8 @@ module Aws::Glue
|
|
7299
7307
|
# resp.database.target_database.catalog_id #=> String
|
7300
7308
|
# resp.database.target_database.database_name #=> String
|
7301
7309
|
# resp.database.catalog_id #=> String
|
7310
|
+
# resp.database.federated_database.identifier #=> String
|
7311
|
+
# resp.database.federated_database.connection_name #=> String
|
7302
7312
|
#
|
7303
7313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase AWS API Documentation
|
7304
7314
|
#
|
@@ -7323,7 +7333,11 @@ module Aws::Glue
|
|
7323
7333
|
#
|
7324
7334
|
# @option params [String] :resource_share_type
|
7325
7335
|
# Allows you to specify that you want to list the databases shared with
|
7326
|
-
# your account. The allowable values are `FOREIGN` or
|
7336
|
+
# your account. The allowable values are `FEDERATED`, `FOREIGN` or
|
7337
|
+
# `ALL`.
|
7338
|
+
#
|
7339
|
+
# * If set to `FEDERATED`, will list the federated databases
|
7340
|
+
# (referencing an external entity) shared with your account.
|
7327
7341
|
#
|
7328
7342
|
# * If set to `FOREIGN`, will list the databases shared with your
|
7329
7343
|
# account.
|
@@ -7344,7 +7358,7 @@ module Aws::Glue
|
|
7344
7358
|
# catalog_id: "CatalogIdString",
|
7345
7359
|
# next_token: "Token",
|
7346
7360
|
# max_results: 1,
|
7347
|
-
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
|
7361
|
+
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL, FEDERATED
|
7348
7362
|
# })
|
7349
7363
|
#
|
7350
7364
|
# @example Response structure
|
@@ -7363,6 +7377,8 @@ module Aws::Glue
|
|
7363
7377
|
# resp.database_list[0].target_database.catalog_id #=> String
|
7364
7378
|
# resp.database_list[0].target_database.database_name #=> String
|
7365
7379
|
# resp.database_list[0].catalog_id #=> String
|
7380
|
+
# resp.database_list[0].federated_database.identifier #=> String
|
7381
|
+
# resp.database_list[0].federated_database.connection_name #=> String
|
7366
7382
|
# resp.next_token #=> String
|
7367
7383
|
#
|
7368
7384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases AWS API Documentation
|
@@ -10669,6 +10685,9 @@ module Aws::Glue
|
|
10669
10685
|
# resp.table.target_table.name #=> String
|
10670
10686
|
# resp.table.catalog_id #=> String
|
10671
10687
|
# resp.table.version_id #=> String
|
10688
|
+
# resp.table.federated_table.identifier #=> String
|
10689
|
+
# resp.table.federated_table.database_identifier #=> String
|
10690
|
+
# resp.table.federated_table.connection_name #=> String
|
10672
10691
|
#
|
10673
10692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable AWS API Documentation
|
10674
10693
|
#
|
@@ -10775,6 +10794,9 @@ module Aws::Glue
|
|
10775
10794
|
# resp.table_version.table.target_table.name #=> String
|
10776
10795
|
# resp.table_version.table.catalog_id #=> String
|
10777
10796
|
# resp.table_version.table.version_id #=> String
|
10797
|
+
# resp.table_version.table.federated_table.identifier #=> String
|
10798
|
+
# resp.table_version.table.federated_table.database_identifier #=> String
|
10799
|
+
# resp.table_version.table.federated_table.connection_name #=> String
|
10778
10800
|
# resp.table_version.version_id #=> String
|
10779
10801
|
#
|
10780
10802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion AWS API Documentation
|
@@ -10890,6 +10912,9 @@ module Aws::Glue
|
|
10890
10912
|
# resp.table_versions[0].table.target_table.name #=> String
|
10891
10913
|
# resp.table_versions[0].table.catalog_id #=> String
|
10892
10914
|
# resp.table_versions[0].table.version_id #=> String
|
10915
|
+
# resp.table_versions[0].table.federated_table.identifier #=> String
|
10916
|
+
# resp.table_versions[0].table.federated_table.database_identifier #=> String
|
10917
|
+
# resp.table_versions[0].table.federated_table.connection_name #=> String
|
10893
10918
|
# resp.table_versions[0].version_id #=> String
|
10894
10919
|
# resp.next_token #=> String
|
10895
10920
|
#
|
@@ -11016,6 +11041,9 @@ module Aws::Glue
|
|
11016
11041
|
# resp.table_list[0].target_table.name #=> String
|
11017
11042
|
# resp.table_list[0].catalog_id #=> String
|
11018
11043
|
# resp.table_list[0].version_id #=> String
|
11044
|
+
# resp.table_list[0].federated_table.identifier #=> String
|
11045
|
+
# resp.table_list[0].federated_table.database_identifier #=> String
|
11046
|
+
# resp.table_list[0].federated_table.connection_name #=> String
|
11019
11047
|
# resp.next_token #=> String
|
11020
11048
|
#
|
11021
11049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables AWS API Documentation
|
@@ -11599,6 +11627,9 @@ module Aws::Glue
|
|
11599
11627
|
# resp.table.target_table.name #=> String
|
11600
11628
|
# resp.table.catalog_id #=> String
|
11601
11629
|
# resp.table.version_id #=> String
|
11630
|
+
# resp.table.federated_table.identifier #=> String
|
11631
|
+
# resp.table.federated_table.database_identifier #=> String
|
11632
|
+
# resp.table.federated_table.connection_name #=> String
|
11602
11633
|
# resp.authorized_columns #=> Array
|
11603
11634
|
# resp.authorized_columns[0] #=> String
|
11604
11635
|
# resp.is_registered_with_lake_formation #=> Boolean
|
@@ -13859,7 +13890,7 @@ module Aws::Glue
|
|
13859
13890
|
# },
|
13860
13891
|
# ],
|
13861
13892
|
# max_results: 1,
|
13862
|
-
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL
|
13893
|
+
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL, FEDERATED
|
13863
13894
|
# })
|
13864
13895
|
#
|
13865
13896
|
# @example Response structure
|
@@ -13929,6 +13960,9 @@ module Aws::Glue
|
|
13929
13960
|
# resp.table_list[0].target_table.name #=> String
|
13930
13961
|
# resp.table_list[0].catalog_id #=> String
|
13931
13962
|
# resp.table_list[0].version_id #=> String
|
13963
|
+
# resp.table_list[0].federated_table.identifier #=> String
|
13964
|
+
# resp.table_list[0].federated_table.database_identifier #=> String
|
13965
|
+
# resp.table_list[0].federated_table.connection_name #=> String
|
13932
13966
|
#
|
13933
13967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables AWS API Documentation
|
13934
13968
|
#
|
@@ -15457,6 +15491,10 @@ module Aws::Glue
|
|
15457
15491
|
# catalog_id: "CatalogIdString",
|
15458
15492
|
# database_name: "NameString",
|
15459
15493
|
# },
|
15494
|
+
# federated_database: {
|
15495
|
+
# identifier: "FederationIdentifier",
|
15496
|
+
# connection_name: "NameString",
|
15497
|
+
# },
|
15460
15498
|
# },
|
15461
15499
|
# })
|
15462
15500
|
#
|
@@ -17319,7 +17357,7 @@ module Aws::Glue
|
|
17319
17357
|
params: params,
|
17320
17358
|
config: config)
|
17321
17359
|
context[:gem_name] = 'aws-sdk-glue'
|
17322
|
-
context[:gem_version] = '1.
|
17360
|
+
context[:gem_version] = '1.134.0'
|
17323
17361
|
Seahorse::Client::Request.new(handlers, context)
|
17324
17362
|
end
|
17325
17363
|
|
@@ -416,6 +416,13 @@ module Aws::Glue
|
|
416
416
|
ExistCondition = Shapes::StringShape.new(name: 'ExistCondition')
|
417
417
|
ExportLabelsTaskRunProperties = Shapes::StructureShape.new(name: 'ExportLabelsTaskRunProperties')
|
418
418
|
ExtendedString = Shapes::StringShape.new(name: 'ExtendedString')
|
419
|
+
FederatedDatabase = Shapes::StructureShape.new(name: 'FederatedDatabase')
|
420
|
+
FederatedResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'FederatedResourceAlreadyExistsException')
|
421
|
+
FederatedTable = Shapes::StructureShape.new(name: 'FederatedTable')
|
422
|
+
FederationIdentifier = Shapes::StringShape.new(name: 'FederationIdentifier')
|
423
|
+
FederationSourceErrorCode = Shapes::StringShape.new(name: 'FederationSourceErrorCode')
|
424
|
+
FederationSourceException = Shapes::StructureShape.new(name: 'FederationSourceException')
|
425
|
+
FederationSourceRetryableException = Shapes::StructureShape.new(name: 'FederationSourceRetryableException')
|
419
426
|
FieldName = Shapes::StringShape.new(name: 'FieldName')
|
420
427
|
FieldType = Shapes::StringShape.new(name: 'FieldType')
|
421
428
|
FillMissingValues = Shapes::StructureShape.new(name: 'FillMissingValues')
|
@@ -2277,6 +2284,7 @@ module Aws::Glue
|
|
2277
2284
|
Database.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
|
2278
2285
|
Database.add_member(:target_database, Shapes::ShapeRef.new(shape: DatabaseIdentifier, location_name: "TargetDatabase"))
|
2279
2286
|
Database.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
2287
|
+
Database.add_member(:federated_database, Shapes::ShapeRef.new(shape: FederatedDatabase, location_name: "FederatedDatabase"))
|
2280
2288
|
Database.struct_class = Types::Database
|
2281
2289
|
|
2282
2290
|
DatabaseIdentifier.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
@@ -2289,6 +2297,7 @@ module Aws::Glue
|
|
2289
2297
|
DatabaseInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ParametersMap, location_name: "Parameters"))
|
2290
2298
|
DatabaseInput.add_member(:create_table_default_permissions, Shapes::ShapeRef.new(shape: PrincipalPermissionsList, location_name: "CreateTableDefaultPermissions"))
|
2291
2299
|
DatabaseInput.add_member(:target_database, Shapes::ShapeRef.new(shape: DatabaseIdentifier, location_name: "TargetDatabase"))
|
2300
|
+
DatabaseInput.add_member(:federated_database, Shapes::ShapeRef.new(shape: FederatedDatabase, location_name: "FederatedDatabase"))
|
2292
2301
|
DatabaseInput.struct_class = Types::DatabaseInput
|
2293
2302
|
|
2294
2303
|
DatabaseList.member = Shapes::ShapeRef.new(shape: Database)
|
@@ -2618,6 +2627,7 @@ module Aws::Glue
|
|
2618
2627
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
2619
2628
|
|
2620
2629
|
EntityNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2630
|
+
EntityNotFoundException.add_member(:from_federation_source, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "FromFederationSource"))
|
2621
2631
|
EntityNotFoundException.struct_class = Types::EntityNotFoundException
|
2622
2632
|
|
2623
2633
|
ErrorByName.key = Shapes::ShapeRef.new(shape: NameString)
|
@@ -2653,6 +2663,26 @@ module Aws::Glue
|
|
2653
2663
|
ExportLabelsTaskRunProperties.add_member(:output_s3_path, Shapes::ShapeRef.new(shape: UriString, location_name: "OutputS3Path"))
|
2654
2664
|
ExportLabelsTaskRunProperties.struct_class = Types::ExportLabelsTaskRunProperties
|
2655
2665
|
|
2666
|
+
FederatedDatabase.add_member(:identifier, Shapes::ShapeRef.new(shape: FederationIdentifier, location_name: "Identifier"))
|
2667
|
+
FederatedDatabase.add_member(:connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ConnectionName"))
|
2668
|
+
FederatedDatabase.struct_class = Types::FederatedDatabase
|
2669
|
+
|
2670
|
+
FederatedResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2671
|
+
FederatedResourceAlreadyExistsException.add_member(:associated_glue_resource, Shapes::ShapeRef.new(shape: GlueResourceArn, location_name: "AssociatedGlueResource"))
|
2672
|
+
FederatedResourceAlreadyExistsException.struct_class = Types::FederatedResourceAlreadyExistsException
|
2673
|
+
|
2674
|
+
FederatedTable.add_member(:identifier, Shapes::ShapeRef.new(shape: FederationIdentifier, location_name: "Identifier"))
|
2675
|
+
FederatedTable.add_member(:database_identifier, Shapes::ShapeRef.new(shape: FederationIdentifier, location_name: "DatabaseIdentifier"))
|
2676
|
+
FederatedTable.add_member(:connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ConnectionName"))
|
2677
|
+
FederatedTable.struct_class = Types::FederatedTable
|
2678
|
+
|
2679
|
+
FederationSourceException.add_member(:federation_source_error_code, Shapes::ShapeRef.new(shape: FederationSourceErrorCode, location_name: "FederationSourceErrorCode"))
|
2680
|
+
FederationSourceException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2681
|
+
FederationSourceException.struct_class = Types::FederationSourceException
|
2682
|
+
|
2683
|
+
FederationSourceRetryableException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2684
|
+
FederationSourceRetryableException.struct_class = Types::FederationSourceRetryableException
|
2685
|
+
|
2656
2686
|
FillMissingValues.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
|
2657
2687
|
FillMissingValues.add_member(:inputs, Shapes::ShapeRef.new(shape: OneInput, required: true, location_name: "Inputs"))
|
2658
2688
|
FillMissingValues.add_member(:imputed_path, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "ImputedPath"))
|
@@ -3436,6 +3466,7 @@ module Aws::Glue
|
|
3436
3466
|
InternalServiceException.struct_class = Types::InternalServiceException
|
3437
3467
|
|
3438
3468
|
InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
3469
|
+
InvalidInputException.add_member(:from_federation_source, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "FromFederationSource"))
|
3439
3470
|
InvalidInputException.struct_class = Types::InvalidInputException
|
3440
3471
|
|
3441
3472
|
InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
@@ -4859,6 +4890,7 @@ module Aws::Glue
|
|
4859
4890
|
Table.add_member(:target_table, Shapes::ShapeRef.new(shape: TableIdentifier, location_name: "TargetTable"))
|
4860
4891
|
Table.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
4861
4892
|
Table.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
|
4893
|
+
Table.add_member(:federated_table, Shapes::ShapeRef.new(shape: FederatedTable, location_name: "FederatedTable"))
|
4862
4894
|
Table.struct_class = Types::Table
|
4863
4895
|
|
4864
4896
|
TableError.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
|
@@ -5511,6 +5543,8 @@ module Aws::Glue
|
|
5511
5543
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
5512
5544
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5513
5545
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
5546
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
5547
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
5514
5548
|
end)
|
5515
5549
|
|
5516
5550
|
api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5710,6 +5744,7 @@ module Aws::Glue
|
|
5710
5744
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
5711
5745
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5712
5746
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
5747
|
+
o.errors << Shapes::ShapeRef.new(shape: FederatedResourceAlreadyExistsException)
|
5713
5748
|
end)
|
5714
5749
|
|
5715
5750
|
api.add_operation(:create_dev_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6479,6 +6514,7 @@ module Aws::Glue
|
|
6479
6514
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
6480
6515
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
6481
6516
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
6517
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
6482
6518
|
end)
|
6483
6519
|
|
6484
6520
|
api.add_operation(:get_databases, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6696,6 +6732,8 @@ module Aws::Glue
|
|
6696
6732
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
6697
6733
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
6698
6734
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
6735
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
6736
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
6699
6737
|
end)
|
6700
6738
|
|
6701
6739
|
api.add_operation(:get_partition_indexes, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6729,6 +6767,8 @@ module Aws::Glue
|
|
6729
6767
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
6730
6768
|
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
6731
6769
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
6770
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
6771
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
6732
6772
|
o[:pager] = Aws::Pager.new(
|
6733
6773
|
limit_key: "max_results",
|
6734
6774
|
tokens: {
|
@@ -6907,6 +6947,8 @@ module Aws::Glue
|
|
6907
6947
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
6908
6948
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
6909
6949
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
6950
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
6951
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
6910
6952
|
end)
|
6911
6953
|
|
6912
6954
|
api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6952,6 +6994,8 @@ module Aws::Glue
|
|
6952
6994
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
6953
6995
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
6954
6996
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
6997
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
6998
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
6955
6999
|
o[:pager] = Aws::Pager.new(
|
6956
7000
|
limit_key: "max_results",
|
6957
7001
|
tokens: {
|
@@ -7014,6 +7058,8 @@ module Aws::Glue
|
|
7014
7058
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
7015
7059
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
7016
7060
|
o.errors << Shapes::ShapeRef.new(shape: PermissionTypeMismatchException)
|
7061
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
7062
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
7017
7063
|
end)
|
7018
7064
|
|
7019
7065
|
api.add_operation(:get_unfiltered_partitions_metadata, Seahorse::Model::Operation.new.tap do |o|
|
@@ -7028,6 +7074,8 @@ module Aws::Glue
|
|
7028
7074
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
7029
7075
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
7030
7076
|
o.errors << Shapes::ShapeRef.new(shape: PermissionTypeMismatchException)
|
7077
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
7078
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
7031
7079
|
o[:pager] = Aws::Pager.new(
|
7032
7080
|
limit_key: "max_results",
|
7033
7081
|
tokens: {
|
@@ -7048,6 +7096,8 @@ module Aws::Glue
|
|
7048
7096
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
7049
7097
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
7050
7098
|
o.errors << Shapes::ShapeRef.new(shape: PermissionTypeMismatchException)
|
7099
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
|
7100
|
+
o.errors << Shapes::ShapeRef.new(shape: FederationSourceRetryableException)
|
7051
7101
|
end)
|
7052
7102
|
|
7053
7103
|
api.add_operation(:get_user_defined_function, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -37,6 +37,9 @@ module Aws::Glue
|
|
37
37
|
# * {CrawlerRunningException}
|
38
38
|
# * {CrawlerStoppingException}
|
39
39
|
# * {EntityNotFoundException}
|
40
|
+
# * {FederatedResourceAlreadyExistsException}
|
41
|
+
# * {FederationSourceException}
|
42
|
+
# * {FederationSourceRetryableException}
|
40
43
|
# * {GlueEncryptionException}
|
41
44
|
# * {IdempotentParameterMismatchException}
|
42
45
|
# * {IllegalBlueprintStateException}
|
@@ -211,6 +214,66 @@ module Aws::Glue
|
|
211
214
|
def message
|
212
215
|
@message || @data[:message]
|
213
216
|
end
|
217
|
+
|
218
|
+
# @return [String]
|
219
|
+
def from_federation_source
|
220
|
+
@data[:from_federation_source]
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class FederatedResourceAlreadyExistsException < ServiceError
|
225
|
+
|
226
|
+
# @param [Seahorse::Client::RequestContext] context
|
227
|
+
# @param [String] message
|
228
|
+
# @param [Aws::Glue::Types::FederatedResourceAlreadyExistsException] data
|
229
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
230
|
+
super(context, message, data)
|
231
|
+
end
|
232
|
+
|
233
|
+
# @return [String]
|
234
|
+
def message
|
235
|
+
@message || @data[:message]
|
236
|
+
end
|
237
|
+
|
238
|
+
# @return [String]
|
239
|
+
def associated_glue_resource
|
240
|
+
@data[:associated_glue_resource]
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
class FederationSourceException < ServiceError
|
245
|
+
|
246
|
+
# @param [Seahorse::Client::RequestContext] context
|
247
|
+
# @param [String] message
|
248
|
+
# @param [Aws::Glue::Types::FederationSourceException] data
|
249
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
250
|
+
super(context, message, data)
|
251
|
+
end
|
252
|
+
|
253
|
+
# @return [String]
|
254
|
+
def federation_source_error_code
|
255
|
+
@data[:federation_source_error_code]
|
256
|
+
end
|
257
|
+
|
258
|
+
# @return [String]
|
259
|
+
def message
|
260
|
+
@message || @data[:message]
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
class FederationSourceRetryableException < ServiceError
|
265
|
+
|
266
|
+
# @param [Seahorse::Client::RequestContext] context
|
267
|
+
# @param [String] message
|
268
|
+
# @param [Aws::Glue::Types::FederationSourceRetryableException] data
|
269
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
270
|
+
super(context, message, data)
|
271
|
+
end
|
272
|
+
|
273
|
+
# @return [String]
|
274
|
+
def message
|
275
|
+
@message || @data[:message]
|
276
|
+
end
|
214
277
|
end
|
215
278
|
|
216
279
|
class GlueEncryptionException < ServiceError
|
@@ -316,6 +379,11 @@ module Aws::Glue
|
|
316
379
|
def message
|
317
380
|
@message || @data[:message]
|
318
381
|
end
|
382
|
+
|
383
|
+
# @return [String]
|
384
|
+
def from_federation_source
|
385
|
+
@data[:from_federation_source]
|
386
|
+
end
|
319
387
|
end
|
320
388
|
|
321
389
|
class InvalidStateException < ServiceError
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -230,10 +230,10 @@ module Aws::Glue
|
|
230
230
|
include Aws::Structure
|
231
231
|
end
|
232
232
|
|
233
|
-
# A structure containing
|
233
|
+
# A structure containing the Lake Formation audit context.
|
234
234
|
#
|
235
235
|
# @!attribute [rw] additional_audit_context
|
236
|
-
#
|
236
|
+
# A string containing the additional audit context information.
|
237
237
|
# @return [String]
|
238
238
|
#
|
239
239
|
# @!attribute [rw] requested_columns
|
@@ -2278,7 +2278,9 @@ module Aws::Glue
|
|
2278
2278
|
# @return [Types::DateColumnStatisticsData]
|
2279
2279
|
#
|
2280
2280
|
# @!attribute [rw] decimal_column_statistics_data
|
2281
|
-
# Decimal column statistics data.
|
2281
|
+
# Decimal column statistics data. UnscaledValues within are
|
2282
|
+
# Base64-encoded binary objects storing big-endian, two's complement
|
2283
|
+
# representations of the decimal's unscaled value.
|
2282
2284
|
# @return [Types::DecimalColumnStatisticsData]
|
2283
2285
|
#
|
2284
2286
|
# @!attribute [rw] double_column_statistics_data
|
@@ -4827,11 +4829,15 @@ module Aws::Glue
|
|
4827
4829
|
# @return [Types::SessionCommand]
|
4828
4830
|
#
|
4829
4831
|
# @!attribute [rw] timeout
|
4830
|
-
# The number of
|
4832
|
+
# The number of minutes before session times out. Default for Spark
|
4833
|
+
# ETL jobs is 48 hours (2880 minutes), the maximum session lifetime
|
4834
|
+
# for this job type. Consult the documentation for other job types.
|
4831
4835
|
# @return [Integer]
|
4832
4836
|
#
|
4833
4837
|
# @!attribute [rw] idle_timeout
|
4834
|
-
# The number of
|
4838
|
+
# The number of minutes when idle before session times out. Default
|
4839
|
+
# for Spark ETL jobs is value of Timeout. Consult the documentation
|
4840
|
+
# for other job types.
|
4835
4841
|
# @return [Integer]
|
4836
4842
|
#
|
4837
4843
|
# @!attribute [rw] default_arguments
|
@@ -5844,6 +5850,11 @@ module Aws::Glue
|
|
5844
5850
|
# The ID of the Data Catalog in which the database resides.
|
5845
5851
|
# @return [String]
|
5846
5852
|
#
|
5853
|
+
# @!attribute [rw] federated_database
|
5854
|
+
# A `FederatedDatabase` structure that references an entity outside
|
5855
|
+
# the Glue Data Catalog.
|
5856
|
+
# @return [Types::FederatedDatabase]
|
5857
|
+
#
|
5847
5858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Database AWS API Documentation
|
5848
5859
|
#
|
5849
5860
|
class Database < Struct.new(
|
@@ -5854,7 +5865,8 @@ module Aws::Glue
|
|
5854
5865
|
:create_time,
|
5855
5866
|
:create_table_default_permissions,
|
5856
5867
|
:target_database,
|
5857
|
-
:catalog_id
|
5868
|
+
:catalog_id,
|
5869
|
+
:federated_database)
|
5858
5870
|
SENSITIVE = []
|
5859
5871
|
include Aws::Structure
|
5860
5872
|
end
|
@@ -5912,6 +5924,11 @@ module Aws::Glue
|
|
5912
5924
|
# for resource linking.
|
5913
5925
|
# @return [Types::DatabaseIdentifier]
|
5914
5926
|
#
|
5927
|
+
# @!attribute [rw] federated_database
|
5928
|
+
# A `FederatedDatabase` structure that references an entity outside
|
5929
|
+
# the Glue Data Catalog.
|
5930
|
+
# @return [Types::FederatedDatabase]
|
5931
|
+
#
|
5915
5932
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DatabaseInput AWS API Documentation
|
5916
5933
|
#
|
5917
5934
|
class DatabaseInput < Struct.new(
|
@@ -5920,7 +5937,8 @@ module Aws::Glue
|
|
5920
5937
|
:location_uri,
|
5921
5938
|
:parameters,
|
5922
5939
|
:create_table_default_permissions,
|
5923
|
-
:target_database
|
5940
|
+
:target_database,
|
5941
|
+
:federated_database)
|
5924
5942
|
SENSITIVE = []
|
5925
5943
|
include Aws::Structure
|
5926
5944
|
end
|
@@ -7416,10 +7434,16 @@ module Aws::Glue
|
|
7416
7434
|
# A message describing the problem.
|
7417
7435
|
# @return [String]
|
7418
7436
|
#
|
7437
|
+
# @!attribute [rw] from_federation_source
|
7438
|
+
# Indicates whether or not the exception relates to a federated
|
7439
|
+
# source.
|
7440
|
+
# @return [Boolean]
|
7441
|
+
#
|
7419
7442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/EntityNotFoundException AWS API Documentation
|
7420
7443
|
#
|
7421
7444
|
class EntityNotFoundException < Struct.new(
|
7422
|
-
:message
|
7445
|
+
:message,
|
7446
|
+
:from_federation_source)
|
7423
7447
|
SENSITIVE = []
|
7424
7448
|
include Aws::Structure
|
7425
7449
|
end
|
@@ -7575,6 +7599,98 @@ module Aws::Glue
|
|
7575
7599
|
include Aws::Structure
|
7576
7600
|
end
|
7577
7601
|
|
7602
|
+
# A database that points to an entity outside the Glue Data Catalog.
|
7603
|
+
#
|
7604
|
+
# @!attribute [rw] identifier
|
7605
|
+
# A unique identifier for the federated database.
|
7606
|
+
# @return [String]
|
7607
|
+
#
|
7608
|
+
# @!attribute [rw] connection_name
|
7609
|
+
# The name of the connection to the external metastore.
|
7610
|
+
# @return [String]
|
7611
|
+
#
|
7612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedDatabase AWS API Documentation
|
7613
|
+
#
|
7614
|
+
class FederatedDatabase < Struct.new(
|
7615
|
+
:identifier,
|
7616
|
+
:connection_name)
|
7617
|
+
SENSITIVE = []
|
7618
|
+
include Aws::Structure
|
7619
|
+
end
|
7620
|
+
|
7621
|
+
# A federated resource already exists.
|
7622
|
+
#
|
7623
|
+
# @!attribute [rw] message
|
7624
|
+
# The message describing the problem.
|
7625
|
+
# @return [String]
|
7626
|
+
#
|
7627
|
+
# @!attribute [rw] associated_glue_resource
|
7628
|
+
# The associated Glue resource already exists.
|
7629
|
+
# @return [String]
|
7630
|
+
#
|
7631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedResourceAlreadyExistsException AWS API Documentation
|
7632
|
+
#
|
7633
|
+
class FederatedResourceAlreadyExistsException < Struct.new(
|
7634
|
+
:message,
|
7635
|
+
:associated_glue_resource)
|
7636
|
+
SENSITIVE = []
|
7637
|
+
include Aws::Structure
|
7638
|
+
end
|
7639
|
+
|
7640
|
+
# A table that points to an entity outside the Glue Data Catalog.
|
7641
|
+
#
|
7642
|
+
# @!attribute [rw] identifier
|
7643
|
+
# A unique identifier for the federated table.
|
7644
|
+
# @return [String]
|
7645
|
+
#
|
7646
|
+
# @!attribute [rw] database_identifier
|
7647
|
+
# A unique identifier for the federated database.
|
7648
|
+
# @return [String]
|
7649
|
+
#
|
7650
|
+
# @!attribute [rw] connection_name
|
7651
|
+
# The name of the connection to the external metastore.
|
7652
|
+
# @return [String]
|
7653
|
+
#
|
7654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederatedTable AWS API Documentation
|
7655
|
+
#
|
7656
|
+
class FederatedTable < Struct.new(
|
7657
|
+
:identifier,
|
7658
|
+
:database_identifier,
|
7659
|
+
:connection_name)
|
7660
|
+
SENSITIVE = []
|
7661
|
+
include Aws::Structure
|
7662
|
+
end
|
7663
|
+
|
7664
|
+
# A federation source failed.
|
7665
|
+
#
|
7666
|
+
# @!attribute [rw] federation_source_error_code
|
7667
|
+
# The error code of the problem.
|
7668
|
+
# @return [String]
|
7669
|
+
#
|
7670
|
+
# @!attribute [rw] message
|
7671
|
+
# The message describing the problem.
|
7672
|
+
# @return [String]
|
7673
|
+
#
|
7674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederationSourceException AWS API Documentation
|
7675
|
+
#
|
7676
|
+
class FederationSourceException < Struct.new(
|
7677
|
+
:federation_source_error_code,
|
7678
|
+
:message)
|
7679
|
+
SENSITIVE = []
|
7680
|
+
include Aws::Structure
|
7681
|
+
end
|
7682
|
+
|
7683
|
+
# @!attribute [rw] message
|
7684
|
+
# @return [String]
|
7685
|
+
#
|
7686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederationSourceRetryableException AWS API Documentation
|
7687
|
+
#
|
7688
|
+
class FederationSourceRetryableException < Struct.new(
|
7689
|
+
:message)
|
7690
|
+
SENSITIVE = []
|
7691
|
+
include Aws::Structure
|
7692
|
+
end
|
7693
|
+
|
7578
7694
|
# Specifies a transform that locates records in the dataset that have
|
7579
7695
|
# missing values and adds a new field with a value determined by
|
7580
7696
|
# imputation. The input data set is used to train the machine learning
|
@@ -8121,7 +8237,7 @@ module Aws::Glue
|
|
8121
8237
|
end
|
8122
8238
|
|
8123
8239
|
# @!attribute [rw] column_statistics_list
|
8124
|
-
# List of ColumnStatistics
|
8240
|
+
# List of ColumnStatistics.
|
8125
8241
|
# @return [Array<Types::ColumnStatistics>]
|
8126
8242
|
#
|
8127
8243
|
# @!attribute [rw] errors
|
@@ -8785,7 +8901,11 @@ module Aws::Glue
|
|
8785
8901
|
#
|
8786
8902
|
# @!attribute [rw] resource_share_type
|
8787
8903
|
# Allows you to specify that you want to list the databases shared
|
8788
|
-
# with your account. The allowable values are `FOREIGN`
|
8904
|
+
# with your account. The allowable values are `FEDERATED`, `FOREIGN`
|
8905
|
+
# or `ALL`.
|
8906
|
+
#
|
8907
|
+
# * If set to `FEDERATED`, will list the federated databases
|
8908
|
+
# (referencing an external entity) shared with your account.
|
8789
8909
|
#
|
8790
8910
|
# * If set to `FOREIGN`, will list the databases shared with your
|
8791
8911
|
# account.
|
@@ -11467,10 +11587,16 @@ module Aws::Glue
|
|
11467
11587
|
# A message describing the problem.
|
11468
11588
|
# @return [String]
|
11469
11589
|
#
|
11590
|
+
# @!attribute [rw] from_federation_source
|
11591
|
+
# Indicates whether or not the exception relates to a federated
|
11592
|
+
# source.
|
11593
|
+
# @return [Boolean]
|
11594
|
+
#
|
11470
11595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/InvalidInputException AWS API Documentation
|
11471
11596
|
#
|
11472
11597
|
class InvalidInputException < Struct.new(
|
11473
|
-
:message
|
11598
|
+
:message,
|
11599
|
+
:from_federation_source)
|
11474
11600
|
SENSITIVE = []
|
11475
11601
|
include Aws::Structure
|
11476
11602
|
end
|
@@ -11812,8 +11938,8 @@ module Aws::Glue
|
|
11812
11938
|
#
|
11813
11939
|
# * When you specify an Apache Spark ETL job
|
11814
11940
|
# (`JobCommand.Name`="glueetl") or Apache Spark streaming ETL job
|
11815
|
-
# (`JobCommand.Name`="gluestreaming"), you can allocate
|
11816
|
-
#
|
11941
|
+
# (`JobCommand.Name`="gluestreaming"), you can allocate from 2 to
|
11942
|
+
# 100 DPUs. The default is 10 DPUs. This job type cannot have a
|
11817
11943
|
# fractional DPU allocation.
|
11818
11944
|
#
|
11819
11945
|
# For Glue version 2.0 jobs, you cannot instead specify a `Maximum
|
@@ -14848,7 +14974,11 @@ module Aws::Glue
|
|
14848
14974
|
include Aws::Structure
|
14849
14975
|
end
|
14850
14976
|
|
14977
|
+
# The operation timed out.
|
14978
|
+
#
|
14851
14979
|
# @!attribute [rw] message
|
14980
|
+
# There is a mismatch between the SupportedPermissionType used in the
|
14981
|
+
# query request and the permissions defined on the target table.
|
14852
14982
|
# @return [String]
|
14853
14983
|
#
|
14854
14984
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PermissionTypeMismatchException AWS API Documentation
|
@@ -18594,6 +18724,11 @@ module Aws::Glue
|
|
18594
18724
|
# The ID of the table version.
|
18595
18725
|
# @return [String]
|
18596
18726
|
#
|
18727
|
+
# @!attribute [rw] federated_table
|
18728
|
+
# A `FederatedTable` structure that references an entity outside the
|
18729
|
+
# Glue Data Catalog.
|
18730
|
+
# @return [Types::FederatedTable]
|
18731
|
+
#
|
18597
18732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Table AWS API Documentation
|
18598
18733
|
#
|
18599
18734
|
class Table < Struct.new(
|
@@ -18616,7 +18751,8 @@ module Aws::Glue
|
|
18616
18751
|
:is_registered_with_lake_formation,
|
18617
18752
|
:target_table,
|
18618
18753
|
:catalog_id,
|
18619
|
-
:version_id
|
18754
|
+
:version_id,
|
18755
|
+
:federated_table)
|
18620
18756
|
SENSITIVE = []
|
18621
18757
|
include Aws::Structure
|
18622
18758
|
end
|
data/lib/aws-sdk-glue.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-glue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.134.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|