aws-sdk-glue 1.98.0 → 1.102.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::Glue
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::Glue
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::Glue
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::Glue
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::Glue
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::Glue
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -381,6 +401,7 @@ module Aws::Glue
381
401
  # },
382
402
  # ],
383
403
  # location: "LocationString",
404
+ # additional_locations: ["LocationString"],
384
405
  # input_format: "FormatString",
385
406
  # output_format: "FormatString",
386
407
  # compressed: false,
@@ -561,6 +582,9 @@ module Aws::Glue
561
582
  # @option params [required, Array<String>] :tables_to_delete
562
583
  # A list of the table to delete.
563
584
  #
585
+ # @option params [String] :transaction_id
586
+ # The transaction ID at which to delete the table contents.
587
+ #
564
588
  # @return [Types::BatchDeleteTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
565
589
  #
566
590
  # * {Types::BatchDeleteTableResponse#errors #errors} => Array&lt;Types::TableError&gt;
@@ -571,6 +595,7 @@ module Aws::Glue
571
595
  # catalog_id: "CatalogIdString",
572
596
  # database_name: "NameString", # required
573
597
  # tables_to_delete: ["NameString"], # required
598
+ # transaction_id: "TransactionIdString",
574
599
  # })
575
600
  #
576
601
  # @example Response structure
@@ -742,6 +767,12 @@ module Aws::Glue
742
767
  # resp.crawlers[0].targets.catalog_targets[0].database_name #=> String
743
768
  # resp.crawlers[0].targets.catalog_targets[0].tables #=> Array
744
769
  # resp.crawlers[0].targets.catalog_targets[0].tables[0] #=> String
770
+ # resp.crawlers[0].targets.catalog_targets[0].connection_name #=> String
771
+ # resp.crawlers[0].targets.delta_targets #=> Array
772
+ # resp.crawlers[0].targets.delta_targets[0].delta_tables #=> Array
773
+ # resp.crawlers[0].targets.delta_targets[0].delta_tables[0] #=> String
774
+ # resp.crawlers[0].targets.delta_targets[0].connection_name #=> String
775
+ # resp.crawlers[0].targets.delta_targets[0].write_manifest #=> Boolean
745
776
  # resp.crawlers[0].database_name #=> String
746
777
  # resp.crawlers[0].description #=> String
747
778
  # resp.crawlers[0].classifiers #=> Array
@@ -766,6 +797,8 @@ module Aws::Glue
766
797
  # resp.crawlers[0].version #=> Integer
767
798
  # resp.crawlers[0].configuration #=> String
768
799
  # resp.crawlers[0].crawler_security_configuration #=> String
800
+ # resp.crawlers[0].lake_formation_configuration.use_lake_formation_credentials #=> Boolean
801
+ # resp.crawlers[0].lake_formation_configuration.account_id #=> String
769
802
  # resp.crawlers_not_found #=> Array
770
803
  # resp.crawlers_not_found[0] #=> String
771
804
  #
@@ -953,6 +986,8 @@ module Aws::Glue
953
986
  # resp.partitions[0].storage_descriptor.columns[0].parameters #=> Hash
954
987
  # resp.partitions[0].storage_descriptor.columns[0].parameters["KeyString"] #=> String
955
988
  # resp.partitions[0].storage_descriptor.location #=> String
989
+ # resp.partitions[0].storage_descriptor.additional_locations #=> Array
990
+ # resp.partitions[0].storage_descriptor.additional_locations[0] #=> String
956
991
  # resp.partitions[0].storage_descriptor.input_format #=> String
957
992
  # resp.partitions[0].storage_descriptor.output_format #=> String
958
993
  # resp.partitions[0].storage_descriptor.compressed #=> Boolean
@@ -1339,6 +1374,7 @@ module Aws::Glue
1339
1374
  # },
1340
1375
  # ],
1341
1376
  # location: "LocationString",
1377
+ # additional_locations: ["LocationString"],
1342
1378
  # input_format: "FormatString",
1343
1379
  # output_format: "FormatString",
1344
1380
  # compressed: false,
@@ -1676,6 +1712,8 @@ module Aws::Glue
1676
1712
  # @option params [Types::LineageConfiguration] :lineage_configuration
1677
1713
  # Specifies data lineage configuration settings for the crawler.
1678
1714
  #
1715
+ # @option params [Types::LakeFormationConfiguration] :lake_formation_configuration
1716
+ #
1679
1717
  # @option params [String] :configuration
1680
1718
  # Crawler configuration information. This versioned JSON string allows
1681
1719
  # users to specify aspects of a crawler's behavior. For more
@@ -1743,6 +1781,14 @@ module Aws::Glue
1743
1781
  # {
1744
1782
  # database_name: "NameString", # required
1745
1783
  # tables: ["NameString"], # required
1784
+ # connection_name: "ConnectionName",
1785
+ # },
1786
+ # ],
1787
+ # delta_targets: [
1788
+ # {
1789
+ # delta_tables: ["Path"],
1790
+ # connection_name: "ConnectionName",
1791
+ # write_manifest: false,
1746
1792
  # },
1747
1793
  # ],
1748
1794
  # },
@@ -1759,6 +1805,10 @@ module Aws::Glue
1759
1805
  # lineage_configuration: {
1760
1806
  # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
1761
1807
  # },
1808
+ # lake_formation_configuration: {
1809
+ # use_lake_formation_credentials: false,
1810
+ # account_id: "AccountId",
1811
+ # },
1762
1812
  # configuration: "CrawlerConfiguration",
1763
1813
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
1764
1814
  # tags: {
@@ -2479,6 +2529,7 @@ module Aws::Glue
2479
2529
  # },
2480
2530
  # ],
2481
2531
  # location: "LocationString",
2532
+ # additional_locations: ["LocationString"],
2482
2533
  # input_format: "FormatString",
2483
2534
  # output_format: "FormatString",
2484
2535
  # compressed: false,
@@ -2905,6 +2956,9 @@ module Aws::Glue
2905
2956
  # A list of partition indexes, `PartitionIndex` structures, to create in
2906
2957
  # the table.
2907
2958
  #
2959
+ # @option params [String] :transaction_id
2960
+ # The ID of the transaction.
2961
+ #
2908
2962
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2909
2963
  #
2910
2964
  # @example Request syntax with placeholder values
@@ -2931,6 +2985,7 @@ module Aws::Glue
2931
2985
  # },
2932
2986
  # ],
2933
2987
  # location: "LocationString",
2988
+ # additional_locations: ["LocationString"],
2934
2989
  # input_format: "FormatString",
2935
2990
  # output_format: "FormatString",
2936
2991
  # compressed: false,
@@ -2998,6 +3053,7 @@ module Aws::Glue
2998
3053
  # index_name: "NameString", # required
2999
3054
  # },
3000
3055
  # ],
3056
+ # transaction_id: "TransactionIdString",
3001
3057
  # })
3002
3058
  #
3003
3059
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
@@ -3819,6 +3875,9 @@ module Aws::Glue
3819
3875
  # The name of the table to be deleted. For Hive compatibility, this name
3820
3876
  # is entirely lowercase.
3821
3877
  #
3878
+ # @option params [String] :transaction_id
3879
+ # The transaction ID at which to delete the table contents.
3880
+ #
3822
3881
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3823
3882
  #
3824
3883
  # @example Request syntax with placeholder values
@@ -3827,6 +3886,7 @@ module Aws::Glue
3827
3886
  # catalog_id: "CatalogIdString",
3828
3887
  # database_name: "NameString", # required
3829
3888
  # name: "NameString", # required
3889
+ # transaction_id: "TransactionIdString",
3830
3890
  # })
3831
3891
  #
3832
3892
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable AWS API Documentation
@@ -4595,6 +4655,12 @@ module Aws::Glue
4595
4655
  # resp.crawler.targets.catalog_targets[0].database_name #=> String
4596
4656
  # resp.crawler.targets.catalog_targets[0].tables #=> Array
4597
4657
  # resp.crawler.targets.catalog_targets[0].tables[0] #=> String
4658
+ # resp.crawler.targets.catalog_targets[0].connection_name #=> String
4659
+ # resp.crawler.targets.delta_targets #=> Array
4660
+ # resp.crawler.targets.delta_targets[0].delta_tables #=> Array
4661
+ # resp.crawler.targets.delta_targets[0].delta_tables[0] #=> String
4662
+ # resp.crawler.targets.delta_targets[0].connection_name #=> String
4663
+ # resp.crawler.targets.delta_targets[0].write_manifest #=> Boolean
4598
4664
  # resp.crawler.database_name #=> String
4599
4665
  # resp.crawler.description #=> String
4600
4666
  # resp.crawler.classifiers #=> Array
@@ -4619,6 +4685,8 @@ module Aws::Glue
4619
4685
  # resp.crawler.version #=> Integer
4620
4686
  # resp.crawler.configuration #=> String
4621
4687
  # resp.crawler.crawler_security_configuration #=> String
4688
+ # resp.crawler.lake_formation_configuration.use_lake_formation_credentials #=> Boolean
4689
+ # resp.crawler.lake_formation_configuration.account_id #=> String
4622
4690
  #
4623
4691
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler AWS API Documentation
4624
4692
  #
@@ -4729,6 +4797,12 @@ module Aws::Glue
4729
4797
  # resp.crawlers[0].targets.catalog_targets[0].database_name #=> String
4730
4798
  # resp.crawlers[0].targets.catalog_targets[0].tables #=> Array
4731
4799
  # resp.crawlers[0].targets.catalog_targets[0].tables[0] #=> String
4800
+ # resp.crawlers[0].targets.catalog_targets[0].connection_name #=> String
4801
+ # resp.crawlers[0].targets.delta_targets #=> Array
4802
+ # resp.crawlers[0].targets.delta_targets[0].delta_tables #=> Array
4803
+ # resp.crawlers[0].targets.delta_targets[0].delta_tables[0] #=> String
4804
+ # resp.crawlers[0].targets.delta_targets[0].connection_name #=> String
4805
+ # resp.crawlers[0].targets.delta_targets[0].write_manifest #=> Boolean
4732
4806
  # resp.crawlers[0].database_name #=> String
4733
4807
  # resp.crawlers[0].description #=> String
4734
4808
  # resp.crawlers[0].classifiers #=> Array
@@ -4753,6 +4827,8 @@ module Aws::Glue
4753
4827
  # resp.crawlers[0].version #=> Integer
4754
4828
  # resp.crawlers[0].configuration #=> String
4755
4829
  # resp.crawlers[0].crawler_security_configuration #=> String
4830
+ # resp.crawlers[0].lake_formation_configuration.use_lake_formation_credentials #=> Boolean
4831
+ # resp.crawlers[0].lake_formation_configuration.account_id #=> String
4756
4832
  # resp.next_token #=> String
4757
4833
  #
4758
4834
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers AWS API Documentation
@@ -5818,6 +5894,8 @@ module Aws::Glue
5818
5894
  # resp.data.partition.storage_descriptor.columns[0].parameters #=> Hash
5819
5895
  # resp.data.partition.storage_descriptor.columns[0].parameters["KeyString"] #=> String
5820
5896
  # resp.data.partition.storage_descriptor.location #=> String
5897
+ # resp.data.partition.storage_descriptor.additional_locations #=> Array
5898
+ # resp.data.partition.storage_descriptor.additional_locations[0] #=> String
5821
5899
  # resp.data.partition.storage_descriptor.input_format #=> String
5822
5900
  # resp.data.partition.storage_descriptor.output_format #=> String
5823
5901
  # resp.data.partition.storage_descriptor.compressed #=> Boolean
@@ -6037,6 +6115,14 @@ module Aws::Glue
6037
6115
  # partition values or location. This approach avoids the problem of a
6038
6116
  # large response by not returning duplicate data.
6039
6117
  #
6118
+ # @option params [String] :transaction_id
6119
+ # The transaction ID at which to read the partition contents.
6120
+ #
6121
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
6122
+ # The time as of when to read the partition contents. If not set, the
6123
+ # most recent transaction commit time will be used. Cannot be specified
6124
+ # along with `TransactionId`.
6125
+ #
6040
6126
  # @return [Types::GetPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6041
6127
  #
6042
6128
  # * {Types::GetPartitionsResponse#partitions #partitions} => Array&lt;Types::Partition&gt;
@@ -6058,6 +6144,8 @@ module Aws::Glue
6058
6144
  # },
6059
6145
  # max_results: 1,
6060
6146
  # exclude_column_schema: false,
6147
+ # transaction_id: "TransactionIdString",
6148
+ # query_as_of_time: Time.now,
6061
6149
  # })
6062
6150
  #
6063
6151
  # @example Response structure
@@ -6076,6 +6164,8 @@ module Aws::Glue
6076
6164
  # resp.partitions[0].storage_descriptor.columns[0].parameters #=> Hash
6077
6165
  # resp.partitions[0].storage_descriptor.columns[0].parameters["KeyString"] #=> String
6078
6166
  # resp.partitions[0].storage_descriptor.location #=> String
6167
+ # resp.partitions[0].storage_descriptor.additional_locations #=> Array
6168
+ # resp.partitions[0].storage_descriptor.additional_locations[0] #=> String
6079
6169
  # resp.partitions[0].storage_descriptor.input_format #=> String
6080
6170
  # resp.partitions[0].storage_descriptor.output_format #=> String
6081
6171
  # resp.partitions[0].storage_descriptor.compressed #=> Boolean
@@ -6690,6 +6780,14 @@ module Aws::Glue
6690
6780
  # The name of the table for which to retrieve the definition. For Hive
6691
6781
  # compatibility, this name is entirely lowercase.
6692
6782
  #
6783
+ # @option params [String] :transaction_id
6784
+ # The transaction ID at which to read the table contents.
6785
+ #
6786
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
6787
+ # The time as of when to read the table contents. If not set, the most
6788
+ # recent transaction commit time will be used. Cannot be specified along
6789
+ # with `TransactionId`.
6790
+ #
6693
6791
  # @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6694
6792
  #
6695
6793
  # * {Types::GetTableResponse#table #table} => Types::Table
@@ -6700,6 +6798,8 @@ module Aws::Glue
6700
6798
  # catalog_id: "CatalogIdString",
6701
6799
  # database_name: "NameString", # required
6702
6800
  # name: "NameString", # required
6801
+ # transaction_id: "TransactionIdString",
6802
+ # query_as_of_time: Time.now,
6703
6803
  # })
6704
6804
  #
6705
6805
  # @example Response structure
@@ -6720,6 +6820,8 @@ module Aws::Glue
6720
6820
  # resp.table.storage_descriptor.columns[0].parameters #=> Hash
6721
6821
  # resp.table.storage_descriptor.columns[0].parameters["KeyString"] #=> String
6722
6822
  # resp.table.storage_descriptor.location #=> String
6823
+ # resp.table.storage_descriptor.additional_locations #=> Array
6824
+ # resp.table.storage_descriptor.additional_locations[0] #=> String
6723
6825
  # resp.table.storage_descriptor.input_format #=> String
6724
6826
  # resp.table.storage_descriptor.output_format #=> String
6725
6827
  # resp.table.storage_descriptor.compressed #=> Boolean
@@ -6823,6 +6925,8 @@ module Aws::Glue
6823
6925
  # resp.table_version.table.storage_descriptor.columns[0].parameters #=> Hash
6824
6926
  # resp.table_version.table.storage_descriptor.columns[0].parameters["KeyString"] #=> String
6825
6927
  # resp.table_version.table.storage_descriptor.location #=> String
6928
+ # resp.table_version.table.storage_descriptor.additional_locations #=> Array
6929
+ # resp.table_version.table.storage_descriptor.additional_locations[0] #=> String
6826
6930
  # resp.table_version.table.storage_descriptor.input_format #=> String
6827
6931
  # resp.table_version.table.storage_descriptor.output_format #=> String
6828
6932
  # resp.table_version.table.storage_descriptor.compressed #=> Boolean
@@ -6935,6 +7039,8 @@ module Aws::Glue
6935
7039
  # resp.table_versions[0].table.storage_descriptor.columns[0].parameters #=> Hash
6936
7040
  # resp.table_versions[0].table.storage_descriptor.columns[0].parameters["KeyString"] #=> String
6937
7041
  # resp.table_versions[0].table.storage_descriptor.location #=> String
7042
+ # resp.table_versions[0].table.storage_descriptor.additional_locations #=> Array
7043
+ # resp.table_versions[0].table.storage_descriptor.additional_locations[0] #=> String
6938
7044
  # resp.table_versions[0].table.storage_descriptor.input_format #=> String
6939
7045
  # resp.table_versions[0].table.storage_descriptor.output_format #=> String
6940
7046
  # resp.table_versions[0].table.storage_descriptor.compressed #=> Boolean
@@ -7012,6 +7118,14 @@ module Aws::Glue
7012
7118
  # @option params [Integer] :max_results
7013
7119
  # The maximum number of tables to return in a single response.
7014
7120
  #
7121
+ # @option params [String] :transaction_id
7122
+ # The transaction ID at which to read the table contents.
7123
+ #
7124
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
7125
+ # The time as of when to read the table contents. If not set, the most
7126
+ # recent transaction commit time will be used. Cannot be specified along
7127
+ # with `TransactionId`.
7128
+ #
7015
7129
  # @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7016
7130
  #
7017
7131
  # * {Types::GetTablesResponse#table_list #table_list} => Array&lt;Types::Table&gt;
@@ -7027,6 +7141,8 @@ module Aws::Glue
7027
7141
  # expression: "FilterString",
7028
7142
  # next_token: "Token",
7029
7143
  # max_results: 1,
7144
+ # transaction_id: "TransactionIdString",
7145
+ # query_as_of_time: Time.now,
7030
7146
  # })
7031
7147
  #
7032
7148
  # @example Response structure
@@ -7048,6 +7164,8 @@ module Aws::Glue
7048
7164
  # resp.table_list[0].storage_descriptor.columns[0].parameters #=> Hash
7049
7165
  # resp.table_list[0].storage_descriptor.columns[0].parameters["KeyString"] #=> String
7050
7166
  # resp.table_list[0].storage_descriptor.location #=> String
7167
+ # resp.table_list[0].storage_descriptor.additional_locations #=> Array
7168
+ # resp.table_list[0].storage_descriptor.additional_locations[0] #=> String
7051
7169
  # resp.table_list[0].storage_descriptor.input_format #=> String
7052
7170
  # resp.table_list[0].storage_descriptor.output_format #=> String
7053
7171
  # resp.table_list[0].storage_descriptor.compressed #=> Boolean
@@ -7250,6 +7368,316 @@ module Aws::Glue
7250
7368
  req.send_request(options)
7251
7369
  end
7252
7370
 
7371
+ # @option params [required, String] :catalog_id
7372
+ #
7373
+ # @option params [required, String] :database_name
7374
+ #
7375
+ # @option params [required, String] :table_name
7376
+ #
7377
+ # @option params [required, Array<String>] :partition_values
7378
+ #
7379
+ # @option params [Types::AuditContext] :audit_context
7380
+ #
7381
+ # @option params [required, Array<String>] :supported_permission_types
7382
+ #
7383
+ # @return [Types::GetUnfilteredPartitionMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7384
+ #
7385
+ # * {Types::GetUnfilteredPartitionMetadataResponse#partition #data.partition} => Types::Partition (This method conflicts with a method on Response, call it through the data member)
7386
+ # * {Types::GetUnfilteredPartitionMetadataResponse#authorized_columns #authorized_columns} => Array&lt;String&gt;
7387
+ # * {Types::GetUnfilteredPartitionMetadataResponse#is_registered_with_lake_formation #is_registered_with_lake_formation} => Boolean
7388
+ #
7389
+ # @example Request syntax with placeholder values
7390
+ #
7391
+ # resp = client.get_unfiltered_partition_metadata({
7392
+ # catalog_id: "CatalogIdString", # required
7393
+ # database_name: "NameString", # required
7394
+ # table_name: "NameString", # required
7395
+ # partition_values: ["ValueString"], # required
7396
+ # audit_context: {
7397
+ # additional_audit_context: "AuditContextString",
7398
+ # },
7399
+ # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7400
+ # })
7401
+ #
7402
+ # @example Response structure
7403
+ #
7404
+ # resp.data.partition.values #=> Array
7405
+ # resp.data.partition.values[0] #=> String
7406
+ # resp.data.partition.database_name #=> String
7407
+ # resp.data.partition.table_name #=> String
7408
+ # resp.data.partition.creation_time #=> Time
7409
+ # resp.data.partition.last_access_time #=> Time
7410
+ # resp.data.partition.storage_descriptor.columns #=> Array
7411
+ # resp.data.partition.storage_descriptor.columns[0].name #=> String
7412
+ # resp.data.partition.storage_descriptor.columns[0].type #=> String
7413
+ # resp.data.partition.storage_descriptor.columns[0].comment #=> String
7414
+ # resp.data.partition.storage_descriptor.columns[0].parameters #=> Hash
7415
+ # resp.data.partition.storage_descriptor.columns[0].parameters["KeyString"] #=> String
7416
+ # resp.data.partition.storage_descriptor.location #=> String
7417
+ # resp.data.partition.storage_descriptor.additional_locations #=> Array
7418
+ # resp.data.partition.storage_descriptor.additional_locations[0] #=> String
7419
+ # resp.data.partition.storage_descriptor.input_format #=> String
7420
+ # resp.data.partition.storage_descriptor.output_format #=> String
7421
+ # resp.data.partition.storage_descriptor.compressed #=> Boolean
7422
+ # resp.data.partition.storage_descriptor.number_of_buckets #=> Integer
7423
+ # resp.data.partition.storage_descriptor.serde_info.name #=> String
7424
+ # resp.data.partition.storage_descriptor.serde_info.serialization_library #=> String
7425
+ # resp.data.partition.storage_descriptor.serde_info.parameters #=> Hash
7426
+ # resp.data.partition.storage_descriptor.serde_info.parameters["KeyString"] #=> String
7427
+ # resp.data.partition.storage_descriptor.bucket_columns #=> Array
7428
+ # resp.data.partition.storage_descriptor.bucket_columns[0] #=> String
7429
+ # resp.data.partition.storage_descriptor.sort_columns #=> Array
7430
+ # resp.data.partition.storage_descriptor.sort_columns[0].column #=> String
7431
+ # resp.data.partition.storage_descriptor.sort_columns[0].sort_order #=> Integer
7432
+ # resp.data.partition.storage_descriptor.parameters #=> Hash
7433
+ # resp.data.partition.storage_descriptor.parameters["KeyString"] #=> String
7434
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_names #=> Array
7435
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_names[0] #=> String
7436
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_values #=> Array
7437
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_values[0] #=> String
7438
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_value_location_maps #=> Hash
7439
+ # resp.data.partition.storage_descriptor.skewed_info.skewed_column_value_location_maps["ColumnValuesString"] #=> String
7440
+ # resp.data.partition.storage_descriptor.stored_as_sub_directories #=> Boolean
7441
+ # resp.data.partition.storage_descriptor.schema_reference.schema_id.schema_arn #=> String
7442
+ # resp.data.partition.storage_descriptor.schema_reference.schema_id.schema_name #=> String
7443
+ # resp.data.partition.storage_descriptor.schema_reference.schema_id.registry_name #=> String
7444
+ # resp.data.partition.storage_descriptor.schema_reference.schema_version_id #=> String
7445
+ # resp.data.partition.storage_descriptor.schema_reference.schema_version_number #=> Integer
7446
+ # resp.data.partition.parameters #=> Hash
7447
+ # resp.data.partition.parameters["KeyString"] #=> String
7448
+ # resp.data.partition.last_analyzed_time #=> Time
7449
+ # resp.data.partition.catalog_id #=> String
7450
+ # resp.authorized_columns #=> Array
7451
+ # resp.authorized_columns[0] #=> String
7452
+ # resp.is_registered_with_lake_formation #=> Boolean
7453
+ #
7454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionMetadata AWS API Documentation
7455
+ #
7456
+ # @overload get_unfiltered_partition_metadata(params = {})
7457
+ # @param [Hash] params ({})
7458
+ def get_unfiltered_partition_metadata(params = {}, options = {})
7459
+ req = build_request(:get_unfiltered_partition_metadata, params)
7460
+ req.send_request(options)
7461
+ end
7462
+
7463
+ # @option params [required, String] :catalog_id
7464
+ #
7465
+ # @option params [required, String] :database_name
7466
+ #
7467
+ # @option params [required, String] :table_name
7468
+ #
7469
+ # @option params [String] :expression
7470
+ #
7471
+ # @option params [Types::AuditContext] :audit_context
7472
+ #
7473
+ # @option params [required, Array<String>] :supported_permission_types
7474
+ #
7475
+ # @option params [String] :next_token
7476
+ #
7477
+ # @option params [Types::Segment] :segment
7478
+ # Defines a non-overlapping region of a table's partitions, allowing
7479
+ # multiple requests to be run in parallel.
7480
+ #
7481
+ # @option params [Integer] :max_results
7482
+ #
7483
+ # @return [Types::GetUnfilteredPartitionsMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7484
+ #
7485
+ # * {Types::GetUnfilteredPartitionsMetadataResponse#unfiltered_partitions #unfiltered_partitions} => Array&lt;Types::UnfilteredPartition&gt;
7486
+ # * {Types::GetUnfilteredPartitionsMetadataResponse#next_token #next_token} => String
7487
+ #
7488
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
7489
+ #
7490
+ # @example Request syntax with placeholder values
7491
+ #
7492
+ # resp = client.get_unfiltered_partitions_metadata({
7493
+ # catalog_id: "CatalogIdString", # required
7494
+ # database_name: "NameString", # required
7495
+ # table_name: "NameString", # required
7496
+ # expression: "PredicateString",
7497
+ # audit_context: {
7498
+ # additional_audit_context: "AuditContextString",
7499
+ # },
7500
+ # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7501
+ # next_token: "Token",
7502
+ # segment: {
7503
+ # segment_number: 1, # required
7504
+ # total_segments: 1, # required
7505
+ # },
7506
+ # max_results: 1,
7507
+ # })
7508
+ #
7509
+ # @example Response structure
7510
+ #
7511
+ # resp.unfiltered_partitions #=> Array
7512
+ # resp.unfiltered_partitions[0].partition.values #=> Array
7513
+ # resp.unfiltered_partitions[0].partition.values[0] #=> String
7514
+ # resp.unfiltered_partitions[0].partition.database_name #=> String
7515
+ # resp.unfiltered_partitions[0].partition.table_name #=> String
7516
+ # resp.unfiltered_partitions[0].partition.creation_time #=> Time
7517
+ # resp.unfiltered_partitions[0].partition.last_access_time #=> Time
7518
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns #=> Array
7519
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns[0].name #=> String
7520
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns[0].type #=> String
7521
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns[0].comment #=> String
7522
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns[0].parameters #=> Hash
7523
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.columns[0].parameters["KeyString"] #=> String
7524
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.location #=> String
7525
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.additional_locations #=> Array
7526
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.additional_locations[0] #=> String
7527
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.input_format #=> String
7528
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.output_format #=> String
7529
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.compressed #=> Boolean
7530
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.number_of_buckets #=> Integer
7531
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.serde_info.name #=> String
7532
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.serde_info.serialization_library #=> String
7533
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.serde_info.parameters #=> Hash
7534
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.serde_info.parameters["KeyString"] #=> String
7535
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.bucket_columns #=> Array
7536
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.bucket_columns[0] #=> String
7537
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.sort_columns #=> Array
7538
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.sort_columns[0].column #=> String
7539
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.sort_columns[0].sort_order #=> Integer
7540
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.parameters #=> Hash
7541
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.parameters["KeyString"] #=> String
7542
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_names #=> Array
7543
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_names[0] #=> String
7544
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_values #=> Array
7545
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_values[0] #=> String
7546
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_value_location_maps #=> Hash
7547
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.skewed_info.skewed_column_value_location_maps["ColumnValuesString"] #=> String
7548
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.stored_as_sub_directories #=> Boolean
7549
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.schema_reference.schema_id.schema_arn #=> String
7550
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.schema_reference.schema_id.schema_name #=> String
7551
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.schema_reference.schema_id.registry_name #=> String
7552
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.schema_reference.schema_version_id #=> String
7553
+ # resp.unfiltered_partitions[0].partition.storage_descriptor.schema_reference.schema_version_number #=> Integer
7554
+ # resp.unfiltered_partitions[0].partition.parameters #=> Hash
7555
+ # resp.unfiltered_partitions[0].partition.parameters["KeyString"] #=> String
7556
+ # resp.unfiltered_partitions[0].partition.last_analyzed_time #=> Time
7557
+ # resp.unfiltered_partitions[0].partition.catalog_id #=> String
7558
+ # resp.unfiltered_partitions[0].authorized_columns #=> Array
7559
+ # resp.unfiltered_partitions[0].authorized_columns[0] #=> String
7560
+ # resp.unfiltered_partitions[0].is_registered_with_lake_formation #=> Boolean
7561
+ # resp.next_token #=> String
7562
+ #
7563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionsMetadata AWS API Documentation
7564
+ #
7565
+ # @overload get_unfiltered_partitions_metadata(params = {})
7566
+ # @param [Hash] params ({})
7567
+ def get_unfiltered_partitions_metadata(params = {}, options = {})
7568
+ req = build_request(:get_unfiltered_partitions_metadata, params)
7569
+ req.send_request(options)
7570
+ end
7571
+
7572
+ # @option params [required, String] :catalog_id
7573
+ #
7574
+ # @option params [required, String] :database_name
7575
+ #
7576
+ # @option params [required, String] :name
7577
+ #
7578
+ # @option params [Types::AuditContext] :audit_context
7579
+ #
7580
+ # @option params [required, Array<String>] :supported_permission_types
7581
+ #
7582
+ # @return [Types::GetUnfilteredTableMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7583
+ #
7584
+ # * {Types::GetUnfilteredTableMetadataResponse#table #table} => Types::Table
7585
+ # * {Types::GetUnfilteredTableMetadataResponse#authorized_columns #authorized_columns} => Array&lt;String&gt;
7586
+ # * {Types::GetUnfilteredTableMetadataResponse#is_registered_with_lake_formation #is_registered_with_lake_formation} => Boolean
7587
+ # * {Types::GetUnfilteredTableMetadataResponse#cell_filters #cell_filters} => Array&lt;Types::ColumnRowFilter&gt;
7588
+ #
7589
+ # @example Request syntax with placeholder values
7590
+ #
7591
+ # resp = client.get_unfiltered_table_metadata({
7592
+ # catalog_id: "CatalogIdString", # required
7593
+ # database_name: "NameString", # required
7594
+ # name: "NameString", # required
7595
+ # audit_context: {
7596
+ # additional_audit_context: "AuditContextString",
7597
+ # },
7598
+ # supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION
7599
+ # })
7600
+ #
7601
+ # @example Response structure
7602
+ #
7603
+ # resp.table.name #=> String
7604
+ # resp.table.database_name #=> String
7605
+ # resp.table.description #=> String
7606
+ # resp.table.owner #=> String
7607
+ # resp.table.create_time #=> Time
7608
+ # resp.table.update_time #=> Time
7609
+ # resp.table.last_access_time #=> Time
7610
+ # resp.table.last_analyzed_time #=> Time
7611
+ # resp.table.retention #=> Integer
7612
+ # resp.table.storage_descriptor.columns #=> Array
7613
+ # resp.table.storage_descriptor.columns[0].name #=> String
7614
+ # resp.table.storage_descriptor.columns[0].type #=> String
7615
+ # resp.table.storage_descriptor.columns[0].comment #=> String
7616
+ # resp.table.storage_descriptor.columns[0].parameters #=> Hash
7617
+ # resp.table.storage_descriptor.columns[0].parameters["KeyString"] #=> String
7618
+ # resp.table.storage_descriptor.location #=> String
7619
+ # resp.table.storage_descriptor.additional_locations #=> Array
7620
+ # resp.table.storage_descriptor.additional_locations[0] #=> String
7621
+ # resp.table.storage_descriptor.input_format #=> String
7622
+ # resp.table.storage_descriptor.output_format #=> String
7623
+ # resp.table.storage_descriptor.compressed #=> Boolean
7624
+ # resp.table.storage_descriptor.number_of_buckets #=> Integer
7625
+ # resp.table.storage_descriptor.serde_info.name #=> String
7626
+ # resp.table.storage_descriptor.serde_info.serialization_library #=> String
7627
+ # resp.table.storage_descriptor.serde_info.parameters #=> Hash
7628
+ # resp.table.storage_descriptor.serde_info.parameters["KeyString"] #=> String
7629
+ # resp.table.storage_descriptor.bucket_columns #=> Array
7630
+ # resp.table.storage_descriptor.bucket_columns[0] #=> String
7631
+ # resp.table.storage_descriptor.sort_columns #=> Array
7632
+ # resp.table.storage_descriptor.sort_columns[0].column #=> String
7633
+ # resp.table.storage_descriptor.sort_columns[0].sort_order #=> Integer
7634
+ # resp.table.storage_descriptor.parameters #=> Hash
7635
+ # resp.table.storage_descriptor.parameters["KeyString"] #=> String
7636
+ # resp.table.storage_descriptor.skewed_info.skewed_column_names #=> Array
7637
+ # resp.table.storage_descriptor.skewed_info.skewed_column_names[0] #=> String
7638
+ # resp.table.storage_descriptor.skewed_info.skewed_column_values #=> Array
7639
+ # resp.table.storage_descriptor.skewed_info.skewed_column_values[0] #=> String
7640
+ # resp.table.storage_descriptor.skewed_info.skewed_column_value_location_maps #=> Hash
7641
+ # resp.table.storage_descriptor.skewed_info.skewed_column_value_location_maps["ColumnValuesString"] #=> String
7642
+ # resp.table.storage_descriptor.stored_as_sub_directories #=> Boolean
7643
+ # resp.table.storage_descriptor.schema_reference.schema_id.schema_arn #=> String
7644
+ # resp.table.storage_descriptor.schema_reference.schema_id.schema_name #=> String
7645
+ # resp.table.storage_descriptor.schema_reference.schema_id.registry_name #=> String
7646
+ # resp.table.storage_descriptor.schema_reference.schema_version_id #=> String
7647
+ # resp.table.storage_descriptor.schema_reference.schema_version_number #=> Integer
7648
+ # resp.table.partition_keys #=> Array
7649
+ # resp.table.partition_keys[0].name #=> String
7650
+ # resp.table.partition_keys[0].type #=> String
7651
+ # resp.table.partition_keys[0].comment #=> String
7652
+ # resp.table.partition_keys[0].parameters #=> Hash
7653
+ # resp.table.partition_keys[0].parameters["KeyString"] #=> String
7654
+ # resp.table.view_original_text #=> String
7655
+ # resp.table.view_expanded_text #=> String
7656
+ # resp.table.table_type #=> String
7657
+ # resp.table.parameters #=> Hash
7658
+ # resp.table.parameters["KeyString"] #=> String
7659
+ # resp.table.created_by #=> String
7660
+ # resp.table.is_registered_with_lake_formation #=> Boolean
7661
+ # resp.table.target_table.catalog_id #=> String
7662
+ # resp.table.target_table.database_name #=> String
7663
+ # resp.table.target_table.name #=> String
7664
+ # resp.table.catalog_id #=> String
7665
+ # resp.authorized_columns #=> Array
7666
+ # resp.authorized_columns[0] #=> String
7667
+ # resp.is_registered_with_lake_formation #=> Boolean
7668
+ # resp.cell_filters #=> Array
7669
+ # resp.cell_filters[0].column_name #=> String
7670
+ # resp.cell_filters[0].row_filter_expression #=> String
7671
+ #
7672
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadata AWS API Documentation
7673
+ #
7674
+ # @overload get_unfiltered_table_metadata(params = {})
7675
+ # @param [Hash] params ({})
7676
+ def get_unfiltered_table_metadata(params = {}, options = {})
7677
+ req = build_request(:get_unfiltered_table_metadata, params)
7678
+ req.send_request(options)
7679
+ end
7680
+
7253
7681
  # Retrieves a specified function definition from the Data Catalog.
7254
7682
  #
7255
7683
  # @option params [String] :catalog_id
@@ -8961,6 +9389,8 @@ module Aws::Glue
8961
9389
  # resp.table_list[0].storage_descriptor.columns[0].parameters #=> Hash
8962
9390
  # resp.table_list[0].storage_descriptor.columns[0].parameters["KeyString"] #=> String
8963
9391
  # resp.table_list[0].storage_descriptor.location #=> String
9392
+ # resp.table_list[0].storage_descriptor.additional_locations #=> Array
9393
+ # resp.table_list[0].storage_descriptor.additional_locations[0] #=> String
8964
9394
  # resp.table_list[0].storage_descriptor.input_format #=> String
8965
9395
  # resp.table_list[0].storage_descriptor.output_format #=> String
8966
9396
  # resp.table_list[0].storage_descriptor.compressed #=> Boolean
@@ -10112,6 +10542,8 @@ module Aws::Glue
10112
10542
  # @option params [Types::LineageConfiguration] :lineage_configuration
10113
10543
  # Specifies data lineage configuration settings for the crawler.
10114
10544
  #
10545
+ # @option params [Types::LakeFormationConfiguration] :lake_formation_configuration
10546
+ #
10115
10547
  # @option params [String] :configuration
10116
10548
  # Crawler configuration information. This versioned JSON string allows
10117
10549
  # users to specify aspects of a crawler's behavior. For more
@@ -10170,6 +10602,14 @@ module Aws::Glue
10170
10602
  # {
10171
10603
  # database_name: "NameString", # required
10172
10604
  # tables: ["NameString"], # required
10605
+ # connection_name: "ConnectionName",
10606
+ # },
10607
+ # ],
10608
+ # delta_targets: [
10609
+ # {
10610
+ # delta_tables: ["Path"],
10611
+ # connection_name: "ConnectionName",
10612
+ # write_manifest: false,
10173
10613
  # },
10174
10614
  # ],
10175
10615
  # },
@@ -10186,6 +10626,10 @@ module Aws::Glue
10186
10626
  # lineage_configuration: {
10187
10627
  # crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
10188
10628
  # },
10629
+ # lake_formation_configuration: {
10630
+ # use_lake_formation_credentials: false,
10631
+ # account_id: "AccountId",
10632
+ # },
10189
10633
  # configuration: "CrawlerConfiguration",
10190
10634
  # crawler_security_configuration: "CrawlerSecurityConfiguration",
10191
10635
  # })
@@ -10584,6 +11028,7 @@ module Aws::Glue
10584
11028
  # },
10585
11029
  # ],
10586
11030
  # location: "LocationString",
11031
+ # additional_locations: ["LocationString"],
10587
11032
  # input_format: "FormatString",
10588
11033
  # output_format: "FormatString",
10589
11034
  # compressed: false,
@@ -10771,6 +11216,9 @@ module Aws::Glue
10771
11216
  # table before updating it. However, if `skipArchive` is set to true,
10772
11217
  # `UpdateTable` does not create the archived version.
10773
11218
  #
11219
+ # @option params [String] :transaction_id
11220
+ # The transaction ID at which to update the table contents.
11221
+ #
10774
11222
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
10775
11223
  #
10776
11224
  # @example Request syntax with placeholder values
@@ -10797,6 +11245,7 @@ module Aws::Glue
10797
11245
  # },
10798
11246
  # ],
10799
11247
  # location: "LocationString",
11248
+ # additional_locations: ["LocationString"],
10800
11249
  # input_format: "FormatString",
10801
11250
  # output_format: "FormatString",
10802
11251
  # compressed: false,
@@ -10859,6 +11308,7 @@ module Aws::Glue
10859
11308
  # },
10860
11309
  # },
10861
11310
  # skip_archive: false,
11311
+ # transaction_id: "TransactionIdString",
10862
11312
  # })
10863
11313
  #
10864
11314
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation
@@ -11068,7 +11518,7 @@ module Aws::Glue
11068
11518
  params: params,
11069
11519
  config: config)
11070
11520
  context[:gem_name] = 'aws-sdk-glue'
11071
- context[:gem_version] = '1.98.0'
11521
+ context[:gem_version] = '1.102.0'
11072
11522
  Seahorse::Client::Request.new(handlers, context)
11073
11523
  end
11074
11524