aws-sdk-glue 1.164.0 → 1.165.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +84 -1
- data/lib/aws-sdk-glue/client_api.rb +33 -0
- data/lib/aws-sdk-glue/types.rb +136 -4
- 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: 3b40d45457ccd29049fec3407b43b23e3ee492ee9dfc3402e60efecb824ca3f1
|
4
|
+
data.tar.gz: de1fc16b9b4713b90f0beb542a950b6e047ccc8992b7a89c6886a39c8a774f8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6e4df37731220685c716d583217977508cf71ec3d2aa7fbe73716fee765267b036013049e457e17b62bbc22234ffcfb25143b3f67ce335ea2f51f062046f44b
|
7
|
+
data.tar.gz: 7266426eef827d3ef61a5b6ba712481638456922309cebd42b6c5b334b187065b0ad1272182248aa91f601248c695ac1e2e672e5f05bb36ec896e1d095659a56
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.165.0 (2023-12-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds additional configurations for Query Session Context on the following APIs: GetUnfilteredTableMetadata, GetUnfilteredPartitionMetadata, GetUnfilteredPartitionsMetadata.
|
8
|
+
|
4
9
|
1.164.0 (2023-11-30)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.165.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2781,6 +2781,9 @@ module Aws::Glue
|
|
2781
2781
|
|
2782
2782
|
# Creates a connection definition in the Data Catalog.
|
2783
2783
|
#
|
2784
|
+
# Connections used for creating federated resources require the IAM
|
2785
|
+
# `glue:PassConnection` permission.
|
2786
|
+
#
|
2784
2787
|
# @option params [String] :catalog_id
|
2785
2788
|
# The ID of the Data Catalog in which to create the connection. If none
|
2786
2789
|
# is provided, the Amazon Web Services account ID is used by default.
|
@@ -11402,6 +11405,10 @@ module Aws::Glue
|
|
11402
11405
|
# For IAM authorization, the public IAM action associated with this API
|
11403
11406
|
# is `glue:GetPartition`.
|
11404
11407
|
#
|
11408
|
+
# @option params [String] :region
|
11409
|
+
# Specified only if the base tables belong to a different Amazon Web
|
11410
|
+
# Services Region.
|
11411
|
+
#
|
11405
11412
|
# @option params [required, String] :catalog_id
|
11406
11413
|
# The catalog ID where the partition resides.
|
11407
11414
|
#
|
@@ -11421,6 +11428,12 @@ module Aws::Glue
|
|
11421
11428
|
# @option params [required, Array<String>] :supported_permission_types
|
11422
11429
|
# (Required) A list of supported permission types.
|
11423
11430
|
#
|
11431
|
+
# @option params [Types::QuerySessionContext] :query_session_context
|
11432
|
+
# A structure used as a protocol between query engines and Lake
|
11433
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
11434
|
+
# authorization identifier and information from the request's
|
11435
|
+
# authorization context.
|
11436
|
+
#
|
11424
11437
|
# @return [Types::GetUnfilteredPartitionMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11425
11438
|
#
|
11426
11439
|
# * {Types::GetUnfilteredPartitionMetadataResponse#partition #data.partition} => Types::Partition (This method conflicts with a method on Response, call it through the data member)
|
@@ -11430,6 +11443,7 @@ module Aws::Glue
|
|
11430
11443
|
# @example Request syntax with placeholder values
|
11431
11444
|
#
|
11432
11445
|
# resp = client.get_unfiltered_partition_metadata({
|
11446
|
+
# region: "ValueString",
|
11433
11447
|
# catalog_id: "CatalogIdString", # required
|
11434
11448
|
# database_name: "NameString", # required
|
11435
11449
|
# table_name: "NameString", # required
|
@@ -11440,6 +11454,15 @@ module Aws::Glue
|
|
11440
11454
|
# all_columns_requested: false,
|
11441
11455
|
# },
|
11442
11456
|
# supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION, NESTED_PERMISSION, NESTED_CELL_PERMISSION
|
11457
|
+
# query_session_context: {
|
11458
|
+
# query_id: "HashString",
|
11459
|
+
# query_start_time: Time.now,
|
11460
|
+
# cluster_id: "NullableString",
|
11461
|
+
# query_authorization_id: "HashString",
|
11462
|
+
# additional_context: {
|
11463
|
+
# "ContextKey" => "ContextValue",
|
11464
|
+
# },
|
11465
|
+
# },
|
11443
11466
|
# })
|
11444
11467
|
#
|
11445
11468
|
# @example Response structure
|
@@ -11509,6 +11532,10 @@ module Aws::Glue
|
|
11509
11532
|
# For IAM authorization, the public IAM action associated with this API
|
11510
11533
|
# is `glue:GetPartitions`.
|
11511
11534
|
#
|
11535
|
+
# @option params [String] :region
|
11536
|
+
# Specified only if the base tables belong to a different Amazon Web
|
11537
|
+
# Services Region.
|
11538
|
+
#
|
11512
11539
|
# @option params [required, String] :catalog_id
|
11513
11540
|
# The ID of the Data Catalog where the partitions in question reside. If
|
11514
11541
|
# none is provided, the AWS account ID is used by default.
|
@@ -11622,6 +11649,12 @@ module Aws::Glue
|
|
11622
11649
|
# @option params [Integer] :max_results
|
11623
11650
|
# The maximum number of partitions to return in a single response.
|
11624
11651
|
#
|
11652
|
+
# @option params [Types::QuerySessionContext] :query_session_context
|
11653
|
+
# A structure used as a protocol between query engines and Lake
|
11654
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
11655
|
+
# authorization identifier and information from the request's
|
11656
|
+
# authorization context.
|
11657
|
+
#
|
11625
11658
|
# @return [Types::GetUnfilteredPartitionsMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11626
11659
|
#
|
11627
11660
|
# * {Types::GetUnfilteredPartitionsMetadataResponse#unfiltered_partitions #unfiltered_partitions} => Array<Types::UnfilteredPartition>
|
@@ -11632,6 +11665,7 @@ module Aws::Glue
|
|
11632
11665
|
# @example Request syntax with placeholder values
|
11633
11666
|
#
|
11634
11667
|
# resp = client.get_unfiltered_partitions_metadata({
|
11668
|
+
# region: "ValueString",
|
11635
11669
|
# catalog_id: "CatalogIdString", # required
|
11636
11670
|
# database_name: "NameString", # required
|
11637
11671
|
# table_name: "NameString", # required
|
@@ -11648,6 +11682,15 @@ module Aws::Glue
|
|
11648
11682
|
# total_segments: 1, # required
|
11649
11683
|
# },
|
11650
11684
|
# max_results: 1,
|
11685
|
+
# query_session_context: {
|
11686
|
+
# query_id: "HashString",
|
11687
|
+
# query_start_time: Time.now,
|
11688
|
+
# cluster_id: "NullableString",
|
11689
|
+
# query_authorization_id: "HashString",
|
11690
|
+
# additional_context: {
|
11691
|
+
# "ContextKey" => "ContextValue",
|
11692
|
+
# },
|
11693
|
+
# },
|
11651
11694
|
# })
|
11652
11695
|
#
|
11653
11696
|
# @example Response structure
|
@@ -11719,6 +11762,10 @@ module Aws::Glue
|
|
11719
11762
|
# For IAM authorization, the public IAM action associated with this API
|
11720
11763
|
# is `glue:GetTable`.
|
11721
11764
|
#
|
11765
|
+
# @option params [String] :region
|
11766
|
+
# Specified only if the base tables belong to a different Amazon Web
|
11767
|
+
# Services Region.
|
11768
|
+
#
|
11722
11769
|
# @option params [required, String] :catalog_id
|
11723
11770
|
# The catalog ID where the table resides.
|
11724
11771
|
#
|
@@ -11735,16 +11782,34 @@ module Aws::Glue
|
|
11735
11782
|
# @option params [required, Array<String>] :supported_permission_types
|
11736
11783
|
# (Required) A list of supported permission types.
|
11737
11784
|
#
|
11785
|
+
# @option params [Types::SupportedDialect] :supported_dialect
|
11786
|
+
# A structure specifying the dialect and dialect version used by the
|
11787
|
+
# query engine.
|
11788
|
+
#
|
11789
|
+
# @option params [Array<String>] :permissions
|
11790
|
+
# The Lake Formation data permissions of the caller on the table. Used
|
11791
|
+
# to authorize the call when no view context is found.
|
11792
|
+
#
|
11793
|
+
# @option params [Types::QuerySessionContext] :query_session_context
|
11794
|
+
# A structure used as a protocol between query engines and Lake
|
11795
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
11796
|
+
# authorization identifier and information from the request's
|
11797
|
+
# authorization context.
|
11798
|
+
#
|
11738
11799
|
# @return [Types::GetUnfilteredTableMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11739
11800
|
#
|
11740
11801
|
# * {Types::GetUnfilteredTableMetadataResponse#table #table} => Types::Table
|
11741
11802
|
# * {Types::GetUnfilteredTableMetadataResponse#authorized_columns #authorized_columns} => Array<String>
|
11742
11803
|
# * {Types::GetUnfilteredTableMetadataResponse#is_registered_with_lake_formation #is_registered_with_lake_formation} => Boolean
|
11743
11804
|
# * {Types::GetUnfilteredTableMetadataResponse#cell_filters #cell_filters} => Array<Types::ColumnRowFilter>
|
11805
|
+
# * {Types::GetUnfilteredTableMetadataResponse#query_authorization_id #query_authorization_id} => String
|
11806
|
+
# * {Types::GetUnfilteredTableMetadataResponse#resource_arn #resource_arn} => String
|
11807
|
+
# * {Types::GetUnfilteredTableMetadataResponse#permissions #permissions} => Array<String>
|
11744
11808
|
#
|
11745
11809
|
# @example Request syntax with placeholder values
|
11746
11810
|
#
|
11747
11811
|
# resp = client.get_unfiltered_table_metadata({
|
11812
|
+
# region: "ValueString",
|
11748
11813
|
# catalog_id: "CatalogIdString", # required
|
11749
11814
|
# database_name: "NameString", # required
|
11750
11815
|
# name: "NameString", # required
|
@@ -11754,6 +11819,20 @@ module Aws::Glue
|
|
11754
11819
|
# all_columns_requested: false,
|
11755
11820
|
# },
|
11756
11821
|
# supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION, NESTED_PERMISSION, NESTED_CELL_PERMISSION
|
11822
|
+
# supported_dialect: {
|
11823
|
+
# dialect: "REDSHIFT", # accepts REDSHIFT, ATHENA, SPARK
|
11824
|
+
# dialect_version: "ViewDialectVersionString",
|
11825
|
+
# },
|
11826
|
+
# permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
|
11827
|
+
# query_session_context: {
|
11828
|
+
# query_id: "HashString",
|
11829
|
+
# query_start_time: Time.now,
|
11830
|
+
# cluster_id: "NullableString",
|
11831
|
+
# query_authorization_id: "HashString",
|
11832
|
+
# additional_context: {
|
11833
|
+
# "ContextKey" => "ContextValue",
|
11834
|
+
# },
|
11835
|
+
# },
|
11757
11836
|
# })
|
11758
11837
|
#
|
11759
11838
|
# @example Response structure
|
@@ -11831,6 +11910,10 @@ module Aws::Glue
|
|
11831
11910
|
# resp.cell_filters #=> Array
|
11832
11911
|
# resp.cell_filters[0].column_name #=> String
|
11833
11912
|
# resp.cell_filters[0].row_filter_expression #=> String
|
11913
|
+
# resp.query_authorization_id #=> String
|
11914
|
+
# resp.resource_arn #=> String
|
11915
|
+
# resp.permissions #=> Array
|
11916
|
+
# resp.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
|
11834
11917
|
#
|
11835
11918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadata AWS API Documentation
|
11836
11919
|
#
|
@@ -16923,7 +17006,7 @@ module Aws::Glue
|
|
16923
17006
|
params: params,
|
16924
17007
|
config: config)
|
16925
17008
|
context[:gem_name] = 'aws-sdk-glue'
|
16926
|
-
context[:gem_version] = '1.
|
17009
|
+
context[:gem_version] = '1.165.0'
|
16927
17010
|
Seahorse::Client::Request.new(handlers, context)
|
16928
17011
|
end
|
16929
17012
|
|
@@ -17,6 +17,7 @@ module Aws::Glue
|
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
18
|
Action = Shapes::StructureShape.new(name: 'Action')
|
19
19
|
ActionList = Shapes::ListShape.new(name: 'ActionList')
|
20
|
+
AdditionalContextMap = Shapes::MapShape.new(name: 'AdditionalContextMap')
|
20
21
|
AdditionalOptionKeys = Shapes::StringShape.new(name: 'AdditionalOptionKeys')
|
21
22
|
AdditionalOptions = Shapes::MapShape.new(name: 'AdditionalOptions')
|
22
23
|
AdditionalPlanOptionsMap = Shapes::MapShape.new(name: 'AdditionalPlanOptionsMap')
|
@@ -213,6 +214,8 @@ module Aws::Glue
|
|
213
214
|
ConnectorDataSource = Shapes::StructureShape.new(name: 'ConnectorDataSource')
|
214
215
|
ConnectorDataTarget = Shapes::StructureShape.new(name: 'ConnectorDataTarget')
|
215
216
|
ConnectorOptions = Shapes::MapShape.new(name: 'ConnectorOptions')
|
217
|
+
ContextKey = Shapes::StringShape.new(name: 'ContextKey')
|
218
|
+
ContextValue = Shapes::StringShape.new(name: 'ContextValue')
|
216
219
|
ContextWords = Shapes::ListShape.new(name: 'ContextWords')
|
217
220
|
Crawl = Shapes::StructureShape.new(name: 'Crawl')
|
218
221
|
CrawlId = Shapes::StringShape.new(name: 'CrawlId')
|
@@ -825,6 +828,7 @@ module Aws::Glue
|
|
825
828
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
826
829
|
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
827
830
|
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
831
|
+
NullableString = Shapes::StringShape.new(name: 'NullableString')
|
828
832
|
OneInput = Shapes::ListShape.new(name: 'OneInput')
|
829
833
|
OpenTableFormatInput = Shapes::StructureShape.new(name: 'OpenTableFormatInput')
|
830
834
|
OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
|
@@ -902,6 +906,7 @@ module Aws::Glue
|
|
902
906
|
QuerySchemaVersionMetadataInput = Shapes::StructureShape.new(name: 'QuerySchemaVersionMetadataInput')
|
903
907
|
QuerySchemaVersionMetadataMaxResults = Shapes::IntegerShape.new(name: 'QuerySchemaVersionMetadataMaxResults')
|
904
908
|
QuerySchemaVersionMetadataResponse = Shapes::StructureShape.new(name: 'QuerySchemaVersionMetadataResponse')
|
909
|
+
QuerySessionContext = Shapes::StructureShape.new(name: 'QuerySessionContext')
|
905
910
|
QuoteChar = Shapes::StringShape.new(name: 'QuoteChar')
|
906
911
|
Recipe = Shapes::StructureShape.new(name: 'Recipe')
|
907
912
|
RecipeReference = Shapes::StructureShape.new(name: 'RecipeReference')
|
@@ -1078,6 +1083,7 @@ module Aws::Glue
|
|
1078
1083
|
StreamingDataPreviewOptions = Shapes::StructureShape.new(name: 'StreamingDataPreviewOptions')
|
1079
1084
|
StringColumnStatisticsData = Shapes::StructureShape.new(name: 'StringColumnStatisticsData')
|
1080
1085
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
1086
|
+
SupportedDialect = Shapes::StructureShape.new(name: 'SupportedDialect')
|
1081
1087
|
Table = Shapes::StructureShape.new(name: 'Table')
|
1082
1088
|
TableError = Shapes::StructureShape.new(name: 'TableError')
|
1083
1089
|
TableErrors = Shapes::ListShape.new(name: 'TableErrors')
|
@@ -1212,6 +1218,8 @@ module Aws::Glue
|
|
1212
1218
|
VersionMismatchException = Shapes::StructureShape.new(name: 'VersionMismatchException')
|
1213
1219
|
VersionString = Shapes::StringShape.new(name: 'VersionString')
|
1214
1220
|
VersionsString = Shapes::StringShape.new(name: 'VersionsString')
|
1221
|
+
ViewDialect = Shapes::StringShape.new(name: 'ViewDialect')
|
1222
|
+
ViewDialectVersionString = Shapes::StringShape.new(name: 'ViewDialectVersionString')
|
1215
1223
|
ViewTextString = Shapes::StringShape.new(name: 'ViewTextString')
|
1216
1224
|
WorkerType = Shapes::StringShape.new(name: 'WorkerType')
|
1217
1225
|
Workflow = Shapes::StructureShape.new(name: 'Workflow')
|
@@ -1240,6 +1248,9 @@ module Aws::Glue
|
|
1240
1248
|
|
1241
1249
|
ActionList.member = Shapes::ShapeRef.new(shape: Action)
|
1242
1250
|
|
1251
|
+
AdditionalContextMap.key = Shapes::ShapeRef.new(shape: ContextKey)
|
1252
|
+
AdditionalContextMap.value = Shapes::ShapeRef.new(shape: ContextValue)
|
1253
|
+
|
1243
1254
|
AdditionalOptions.key = Shapes::ShapeRef.new(shape: EnclosedInStringProperty)
|
1244
1255
|
AdditionalOptions.value = Shapes::ShapeRef.new(shape: EnclosedInStringProperty)
|
1245
1256
|
|
@@ -3618,12 +3629,14 @@ module Aws::Glue
|
|
3618
3629
|
GetTriggersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: GenericString, location_name: "NextToken"))
|
3619
3630
|
GetTriggersResponse.struct_class = Types::GetTriggersResponse
|
3620
3631
|
|
3632
|
+
GetUnfilteredPartitionMetadataRequest.add_member(:region, Shapes::ShapeRef.new(shape: ValueString, location_name: "Region"))
|
3621
3633
|
GetUnfilteredPartitionMetadataRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
|
3622
3634
|
GetUnfilteredPartitionMetadataRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
3623
3635
|
GetUnfilteredPartitionMetadataRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
3624
3636
|
GetUnfilteredPartitionMetadataRequest.add_member(:partition_values, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "PartitionValues"))
|
3625
3637
|
GetUnfilteredPartitionMetadataRequest.add_member(:audit_context, Shapes::ShapeRef.new(shape: AuditContext, location_name: "AuditContext"))
|
3626
3638
|
GetUnfilteredPartitionMetadataRequest.add_member(:supported_permission_types, Shapes::ShapeRef.new(shape: PermissionTypeList, required: true, location_name: "SupportedPermissionTypes"))
|
3639
|
+
GetUnfilteredPartitionMetadataRequest.add_member(:query_session_context, Shapes::ShapeRef.new(shape: QuerySessionContext, location_name: "QuerySessionContext"))
|
3627
3640
|
GetUnfilteredPartitionMetadataRequest.struct_class = Types::GetUnfilteredPartitionMetadataRequest
|
3628
3641
|
|
3629
3642
|
GetUnfilteredPartitionMetadataResponse.add_member(:partition, Shapes::ShapeRef.new(shape: Partition, location_name: "Partition"))
|
@@ -3631,6 +3644,7 @@ module Aws::Glue
|
|
3631
3644
|
GetUnfilteredPartitionMetadataResponse.add_member(:is_registered_with_lake_formation, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsRegisteredWithLakeFormation"))
|
3632
3645
|
GetUnfilteredPartitionMetadataResponse.struct_class = Types::GetUnfilteredPartitionMetadataResponse
|
3633
3646
|
|
3647
|
+
GetUnfilteredPartitionsMetadataRequest.add_member(:region, Shapes::ShapeRef.new(shape: ValueString, location_name: "Region"))
|
3634
3648
|
GetUnfilteredPartitionsMetadataRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
|
3635
3649
|
GetUnfilteredPartitionsMetadataRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
3636
3650
|
GetUnfilteredPartitionsMetadataRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
@@ -3640,23 +3654,31 @@ module Aws::Glue
|
|
3640
3654
|
GetUnfilteredPartitionsMetadataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
3641
3655
|
GetUnfilteredPartitionsMetadataRequest.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, location_name: "Segment"))
|
3642
3656
|
GetUnfilteredPartitionsMetadataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
3657
|
+
GetUnfilteredPartitionsMetadataRequest.add_member(:query_session_context, Shapes::ShapeRef.new(shape: QuerySessionContext, location_name: "QuerySessionContext"))
|
3643
3658
|
GetUnfilteredPartitionsMetadataRequest.struct_class = Types::GetUnfilteredPartitionsMetadataRequest
|
3644
3659
|
|
3645
3660
|
GetUnfilteredPartitionsMetadataResponse.add_member(:unfiltered_partitions, Shapes::ShapeRef.new(shape: UnfilteredPartitionList, location_name: "UnfilteredPartitions"))
|
3646
3661
|
GetUnfilteredPartitionsMetadataResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
3647
3662
|
GetUnfilteredPartitionsMetadataResponse.struct_class = Types::GetUnfilteredPartitionsMetadataResponse
|
3648
3663
|
|
3664
|
+
GetUnfilteredTableMetadataRequest.add_member(:region, Shapes::ShapeRef.new(shape: ValueString, location_name: "Region"))
|
3649
3665
|
GetUnfilteredTableMetadataRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, required: true, location_name: "CatalogId"))
|
3650
3666
|
GetUnfilteredTableMetadataRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
3651
3667
|
GetUnfilteredTableMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
3652
3668
|
GetUnfilteredTableMetadataRequest.add_member(:audit_context, Shapes::ShapeRef.new(shape: AuditContext, location_name: "AuditContext"))
|
3653
3669
|
GetUnfilteredTableMetadataRequest.add_member(:supported_permission_types, Shapes::ShapeRef.new(shape: PermissionTypeList, required: true, location_name: "SupportedPermissionTypes"))
|
3670
|
+
GetUnfilteredTableMetadataRequest.add_member(:supported_dialect, Shapes::ShapeRef.new(shape: SupportedDialect, location_name: "SupportedDialect"))
|
3671
|
+
GetUnfilteredTableMetadataRequest.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
3672
|
+
GetUnfilteredTableMetadataRequest.add_member(:query_session_context, Shapes::ShapeRef.new(shape: QuerySessionContext, location_name: "QuerySessionContext"))
|
3654
3673
|
GetUnfilteredTableMetadataRequest.struct_class = Types::GetUnfilteredTableMetadataRequest
|
3655
3674
|
|
3656
3675
|
GetUnfilteredTableMetadataResponse.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
|
3657
3676
|
GetUnfilteredTableMetadataResponse.add_member(:authorized_columns, Shapes::ShapeRef.new(shape: NameStringList, location_name: "AuthorizedColumns"))
|
3658
3677
|
GetUnfilteredTableMetadataResponse.add_member(:is_registered_with_lake_formation, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsRegisteredWithLakeFormation"))
|
3659
3678
|
GetUnfilteredTableMetadataResponse.add_member(:cell_filters, Shapes::ShapeRef.new(shape: ColumnRowFilterList, location_name: "CellFilters"))
|
3679
|
+
GetUnfilteredTableMetadataResponse.add_member(:query_authorization_id, Shapes::ShapeRef.new(shape: HashString, location_name: "QueryAuthorizationId"))
|
3680
|
+
GetUnfilteredTableMetadataResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "ResourceArn"))
|
3681
|
+
GetUnfilteredTableMetadataResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: PermissionList, location_name: "Permissions"))
|
3660
3682
|
GetUnfilteredTableMetadataResponse.struct_class = Types::GetUnfilteredTableMetadataResponse
|
3661
3683
|
|
3662
3684
|
GetUserDefinedFunctionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
@@ -4610,6 +4632,13 @@ module Aws::Glue
|
|
4610
4632
|
QuerySchemaVersionMetadataResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: SchemaRegistryTokenString, location_name: "NextToken"))
|
4611
4633
|
QuerySchemaVersionMetadataResponse.struct_class = Types::QuerySchemaVersionMetadataResponse
|
4612
4634
|
|
4635
|
+
QuerySessionContext.add_member(:query_id, Shapes::ShapeRef.new(shape: HashString, location_name: "QueryId"))
|
4636
|
+
QuerySessionContext.add_member(:query_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "QueryStartTime"))
|
4637
|
+
QuerySessionContext.add_member(:cluster_id, Shapes::ShapeRef.new(shape: NullableString, location_name: "ClusterId"))
|
4638
|
+
QuerySessionContext.add_member(:query_authorization_id, Shapes::ShapeRef.new(shape: HashString, location_name: "QueryAuthorizationId"))
|
4639
|
+
QuerySessionContext.add_member(:additional_context, Shapes::ShapeRef.new(shape: AdditionalContextMap, location_name: "AdditionalContext"))
|
4640
|
+
QuerySessionContext.struct_class = Types::QuerySessionContext
|
4641
|
+
|
4613
4642
|
Recipe.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name"))
|
4614
4643
|
Recipe.add_member(:inputs, Shapes::ShapeRef.new(shape: OneInput, required: true, location_name: "Inputs"))
|
4615
4644
|
Recipe.add_member(:recipe_reference, Shapes::ShapeRef.new(shape: RecipeReference, required: true, location_name: "RecipeReference"))
|
@@ -5334,6 +5363,10 @@ module Aws::Glue
|
|
5334
5363
|
|
5335
5364
|
StringList.member = Shapes::ShapeRef.new(shape: GenericString)
|
5336
5365
|
|
5366
|
+
SupportedDialect.add_member(:dialect, Shapes::ShapeRef.new(shape: ViewDialect, location_name: "Dialect"))
|
5367
|
+
SupportedDialect.add_member(:dialect_version, Shapes::ShapeRef.new(shape: ViewDialectVersionString, location_name: "DialectVersion"))
|
5368
|
+
SupportedDialect.struct_class = Types::SupportedDialect
|
5369
|
+
|
5337
5370
|
Table.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
5338
5371
|
Table.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, location_name: "DatabaseName"))
|
5339
5372
|
Table.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -8638,7 +8638,10 @@ module Aws::Glue
|
|
8638
8638
|
include Aws::Structure
|
8639
8639
|
end
|
8640
8640
|
|
8641
|
+
# A federation source failed, but the operation may be retried.
|
8642
|
+
#
|
8641
8643
|
# @!attribute [rw] message
|
8644
|
+
# A message describing the problem.
|
8642
8645
|
# @return [String]
|
8643
8646
|
#
|
8644
8647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/FederationSourceRetryableException AWS API Documentation
|
@@ -11811,6 +11814,11 @@ module Aws::Glue
|
|
11811
11814
|
include Aws::Structure
|
11812
11815
|
end
|
11813
11816
|
|
11817
|
+
# @!attribute [rw] region
|
11818
|
+
# Specified only if the base tables belong to a different Amazon Web
|
11819
|
+
# Services Region.
|
11820
|
+
# @return [String]
|
11821
|
+
#
|
11814
11822
|
# @!attribute [rw] catalog_id
|
11815
11823
|
# The catalog ID where the partition resides.
|
11816
11824
|
# @return [String]
|
@@ -11837,15 +11845,24 @@ module Aws::Glue
|
|
11837
11845
|
# (Required) A list of supported permission types.
|
11838
11846
|
# @return [Array<String>]
|
11839
11847
|
#
|
11848
|
+
# @!attribute [rw] query_session_context
|
11849
|
+
# A structure used as a protocol between query engines and Lake
|
11850
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
11851
|
+
# authorization identifier and information from the request's
|
11852
|
+
# authorization context.
|
11853
|
+
# @return [Types::QuerySessionContext]
|
11854
|
+
#
|
11840
11855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionMetadataRequest AWS API Documentation
|
11841
11856
|
#
|
11842
11857
|
class GetUnfilteredPartitionMetadataRequest < Struct.new(
|
11858
|
+
:region,
|
11843
11859
|
:catalog_id,
|
11844
11860
|
:database_name,
|
11845
11861
|
:table_name,
|
11846
11862
|
:partition_values,
|
11847
11863
|
:audit_context,
|
11848
|
-
:supported_permission_types
|
11864
|
+
:supported_permission_types,
|
11865
|
+
:query_session_context)
|
11849
11866
|
SENSITIVE = []
|
11850
11867
|
include Aws::Structure
|
11851
11868
|
end
|
@@ -11873,6 +11890,11 @@ module Aws::Glue
|
|
11873
11890
|
include Aws::Structure
|
11874
11891
|
end
|
11875
11892
|
|
11893
|
+
# @!attribute [rw] region
|
11894
|
+
# Specified only if the base tables belong to a different Amazon Web
|
11895
|
+
# Services Region.
|
11896
|
+
# @return [String]
|
11897
|
+
#
|
11876
11898
|
# @!attribute [rw] catalog_id
|
11877
11899
|
# The ID of the Data Catalog where the partitions in question reside.
|
11878
11900
|
# If none is provided, the AWS account ID is used by default.
|
@@ -11998,9 +12020,17 @@ module Aws::Glue
|
|
11998
12020
|
# The maximum number of partitions to return in a single response.
|
11999
12021
|
# @return [Integer]
|
12000
12022
|
#
|
12023
|
+
# @!attribute [rw] query_session_context
|
12024
|
+
# A structure used as a protocol between query engines and Lake
|
12025
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
12026
|
+
# authorization identifier and information from the request's
|
12027
|
+
# authorization context.
|
12028
|
+
# @return [Types::QuerySessionContext]
|
12029
|
+
#
|
12001
12030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionsMetadataRequest AWS API Documentation
|
12002
12031
|
#
|
12003
12032
|
class GetUnfilteredPartitionsMetadataRequest < Struct.new(
|
12033
|
+
:region,
|
12004
12034
|
:catalog_id,
|
12005
12035
|
:database_name,
|
12006
12036
|
:table_name,
|
@@ -12009,7 +12039,8 @@ module Aws::Glue
|
|
12009
12039
|
:supported_permission_types,
|
12010
12040
|
:next_token,
|
12011
12041
|
:segment,
|
12012
|
-
:max_results
|
12042
|
+
:max_results,
|
12043
|
+
:query_session_context)
|
12013
12044
|
SENSITIVE = []
|
12014
12045
|
include Aws::Structure
|
12015
12046
|
end
|
@@ -12032,6 +12063,11 @@ module Aws::Glue
|
|
12032
12063
|
include Aws::Structure
|
12033
12064
|
end
|
12034
12065
|
|
12066
|
+
# @!attribute [rw] region
|
12067
|
+
# Specified only if the base tables belong to a different Amazon Web
|
12068
|
+
# Services Region.
|
12069
|
+
# @return [String]
|
12070
|
+
#
|
12035
12071
|
# @!attribute [rw] catalog_id
|
12036
12072
|
# The catalog ID where the table resides.
|
12037
12073
|
# @return [String]
|
@@ -12053,14 +12089,35 @@ module Aws::Glue
|
|
12053
12089
|
# (Required) A list of supported permission types.
|
12054
12090
|
# @return [Array<String>]
|
12055
12091
|
#
|
12092
|
+
# @!attribute [rw] supported_dialect
|
12093
|
+
# A structure specifying the dialect and dialect version used by the
|
12094
|
+
# query engine.
|
12095
|
+
# @return [Types::SupportedDialect]
|
12096
|
+
#
|
12097
|
+
# @!attribute [rw] permissions
|
12098
|
+
# The Lake Formation data permissions of the caller on the table. Used
|
12099
|
+
# to authorize the call when no view context is found.
|
12100
|
+
# @return [Array<String>]
|
12101
|
+
#
|
12102
|
+
# @!attribute [rw] query_session_context
|
12103
|
+
# A structure used as a protocol between query engines and Lake
|
12104
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
12105
|
+
# authorization identifier and information from the request's
|
12106
|
+
# authorization context.
|
12107
|
+
# @return [Types::QuerySessionContext]
|
12108
|
+
#
|
12056
12109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadataRequest AWS API Documentation
|
12057
12110
|
#
|
12058
12111
|
class GetUnfilteredTableMetadataRequest < Struct.new(
|
12112
|
+
:region,
|
12059
12113
|
:catalog_id,
|
12060
12114
|
:database_name,
|
12061
12115
|
:name,
|
12062
12116
|
:audit_context,
|
12063
|
-
:supported_permission_types
|
12117
|
+
:supported_permission_types,
|
12118
|
+
:supported_dialect,
|
12119
|
+
:permissions,
|
12120
|
+
:query_session_context)
|
12064
12121
|
SENSITIVE = []
|
12065
12122
|
include Aws::Structure
|
12066
12123
|
end
|
@@ -12082,13 +12139,30 @@ module Aws::Glue
|
|
12082
12139
|
# A list of column row filters.
|
12083
12140
|
# @return [Array<Types::ColumnRowFilter>]
|
12084
12141
|
#
|
12142
|
+
# @!attribute [rw] query_authorization_id
|
12143
|
+
# A cryptographically generated query identifier generated by Glue or
|
12144
|
+
# Lake Formation.
|
12145
|
+
# @return [String]
|
12146
|
+
#
|
12147
|
+
# @!attribute [rw] resource_arn
|
12148
|
+
# The resource ARN of the parent resource extracted from the request.
|
12149
|
+
# @return [String]
|
12150
|
+
#
|
12151
|
+
# @!attribute [rw] permissions
|
12152
|
+
# The Lake Formation data permissions of the caller on the table. Used
|
12153
|
+
# to authorize the call when no view context is found.
|
12154
|
+
# @return [Array<String>]
|
12155
|
+
#
|
12085
12156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadataResponse AWS API Documentation
|
12086
12157
|
#
|
12087
12158
|
class GetUnfilteredTableMetadataResponse < Struct.new(
|
12088
12159
|
:table,
|
12089
12160
|
:authorized_columns,
|
12090
12161
|
:is_registered_with_lake_formation,
|
12091
|
-
:cell_filters
|
12162
|
+
:cell_filters,
|
12163
|
+
:query_authorization_id,
|
12164
|
+
:resource_arn,
|
12165
|
+
:permissions)
|
12092
12166
|
SENSITIVE = []
|
12093
12167
|
include Aws::Structure
|
12094
12168
|
end
|
@@ -16956,6 +17030,44 @@ module Aws::Glue
|
|
16956
17030
|
include Aws::Structure
|
16957
17031
|
end
|
16958
17032
|
|
17033
|
+
# A structure used as a protocol between query engines and Lake
|
17034
|
+
# Formation or Glue. Contains both a Lake Formation generated
|
17035
|
+
# authorization identifier and information from the request's
|
17036
|
+
# authorization context.
|
17037
|
+
#
|
17038
|
+
# @!attribute [rw] query_id
|
17039
|
+
# A unique identifier generated by the query engine for the query.
|
17040
|
+
# @return [String]
|
17041
|
+
#
|
17042
|
+
# @!attribute [rw] query_start_time
|
17043
|
+
# A timestamp provided by the query engine for when the query started.
|
17044
|
+
# @return [Time]
|
17045
|
+
#
|
17046
|
+
# @!attribute [rw] cluster_id
|
17047
|
+
# An identifier string for the consumer cluster.
|
17048
|
+
# @return [String]
|
17049
|
+
#
|
17050
|
+
# @!attribute [rw] query_authorization_id
|
17051
|
+
# A cryptographically generated query identifier generated by Glue or
|
17052
|
+
# Lake Formation.
|
17053
|
+
# @return [String]
|
17054
|
+
#
|
17055
|
+
# @!attribute [rw] additional_context
|
17056
|
+
# An opaque string-string map passed by the query engine.
|
17057
|
+
# @return [Hash<String,String>]
|
17058
|
+
#
|
17059
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySessionContext AWS API Documentation
|
17060
|
+
#
|
17061
|
+
class QuerySessionContext < Struct.new(
|
17062
|
+
:query_id,
|
17063
|
+
:query_start_time,
|
17064
|
+
:cluster_id,
|
17065
|
+
:query_authorization_id,
|
17066
|
+
:additional_context)
|
17067
|
+
SENSITIVE = []
|
17068
|
+
include Aws::Structure
|
17069
|
+
end
|
17070
|
+
|
16959
17071
|
# A Glue Studio node that uses a Glue DataBrew recipe in Glue jobs.
|
16960
17072
|
#
|
16961
17073
|
# @!attribute [rw] name
|
@@ -20585,6 +20697,26 @@ module Aws::Glue
|
|
20585
20697
|
include Aws::Structure
|
20586
20698
|
end
|
20587
20699
|
|
20700
|
+
# A structure specifying the dialect and dialect version used by the
|
20701
|
+
# query engine.
|
20702
|
+
#
|
20703
|
+
# @!attribute [rw] dialect
|
20704
|
+
# The dialect of the query engine.
|
20705
|
+
# @return [String]
|
20706
|
+
#
|
20707
|
+
# @!attribute [rw] dialect_version
|
20708
|
+
# The version of the dialect of the query engine. For example, 3.0.0.
|
20709
|
+
# @return [String]
|
20710
|
+
#
|
20711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SupportedDialect AWS API Documentation
|
20712
|
+
#
|
20713
|
+
class SupportedDialect < Struct.new(
|
20714
|
+
:dialect,
|
20715
|
+
:dialect_version)
|
20716
|
+
SENSITIVE = []
|
20717
|
+
include Aws::Structure
|
20718
|
+
end
|
20719
|
+
|
20588
20720
|
# Represents a collection of related data organized in columns and rows.
|
20589
20721
|
#
|
20590
20722
|
# @!attribute [rw] name
|
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.165.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-
|
11
|
+
date: 2023-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|