aws-sdk-glue 1.96.0 → 1.100.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +74 -7
- data/lib/aws-sdk-glue/client_api.rb +31 -0
- data/lib/aws-sdk-glue/errors.rb +32 -0
- data/lib/aws-sdk-glue/types.rb +128 -11
- data/lib/aws-sdk-glue.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69b9e3174bcf85e252fe91e653324e634a136deaf9c8a04504143a4319a237cf
|
4
|
+
data.tar.gz: 558387357b9cf471496d2bf052ec011c3563e1926033d9ece9a5083d78276db1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d68a7d356360a59e689e8e36a73b3c09bc5a1d350f4c64c6da8820944949a124d89e20ee530c79c234dfd290eec8d33445a89dac8a50a0e06170c3e493d7fd3
|
7
|
+
data.tar.gz: a9a88966e3df3940cfd41647f0153479cc04306afe0c3b1f3c6f7140b98d359c5f4b136038e2607b98f2c8badd7f1f35334419835456dd2cd2465085fc8a7a9b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.100.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support for DataLake transactions
|
8
|
+
|
9
|
+
1.99.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.98.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.97.0 (2021-10-15)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Enable S3 event base crawler API.
|
23
|
+
|
4
24
|
1.96.0 (2021-10-05)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.100.0
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -119,7 +119,9 @@ module Aws::Glue
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -285,6 +287,15 @@ module Aws::Glue
|
|
285
287
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
288
|
# requests are made, and retries are disabled.
|
287
289
|
#
|
290
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
291
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
|
+
# will be used if available.
|
293
|
+
#
|
294
|
+
# @option options [Boolean] :use_fips_endpoint
|
295
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
296
|
+
# When a `fips` region is used, the region is normalized and this config
|
297
|
+
# is set to `true`.
|
298
|
+
#
|
288
299
|
# @option options [Boolean] :validate_params (true)
|
289
300
|
# When `true`, request parameters are validated before
|
290
301
|
# sending the request.
|
@@ -561,6 +572,9 @@ module Aws::Glue
|
|
561
572
|
# @option params [required, Array<String>] :tables_to_delete
|
562
573
|
# A list of the table to delete.
|
563
574
|
#
|
575
|
+
# @option params [String] :transaction_id
|
576
|
+
# The transaction ID at which to delete the table contents.
|
577
|
+
#
|
564
578
|
# @return [Types::BatchDeleteTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
565
579
|
#
|
566
580
|
# * {Types::BatchDeleteTableResponse#errors #errors} => Array<Types::TableError>
|
@@ -571,6 +585,7 @@ module Aws::Glue
|
|
571
585
|
# catalog_id: "CatalogIdString",
|
572
586
|
# database_name: "NameString", # required
|
573
587
|
# tables_to_delete: ["NameString"], # required
|
588
|
+
# transaction_id: "TransactionIdString",
|
574
589
|
# })
|
575
590
|
#
|
576
591
|
# @example Response structure
|
@@ -723,6 +738,8 @@ module Aws::Glue
|
|
723
738
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
724
739
|
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
725
740
|
# resp.crawlers[0].targets.s3_targets[0].sample_size #=> Integer
|
741
|
+
# resp.crawlers[0].targets.s3_targets[0].event_queue_arn #=> String
|
742
|
+
# resp.crawlers[0].targets.s3_targets[0].dlq_event_queue_arn #=> String
|
726
743
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
727
744
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
728
745
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -744,7 +761,7 @@ module Aws::Glue
|
|
744
761
|
# resp.crawlers[0].description #=> String
|
745
762
|
# resp.crawlers[0].classifiers #=> Array
|
746
763
|
# resp.crawlers[0].classifiers[0] #=> String
|
747
|
-
# resp.crawlers[0].recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY"
|
764
|
+
# resp.crawlers[0].recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY", "CRAWL_EVENT_MODE"
|
748
765
|
# resp.crawlers[0].schema_change_policy.update_behavior #=> String, one of "LOG", "UPDATE_IN_DATABASE"
|
749
766
|
# resp.crawlers[0].schema_change_policy.delete_behavior #=> String, one of "LOG", "DELETE_FROM_DATABASE", "DEPRECATE_IN_DATABASE"
|
750
767
|
# resp.crawlers[0].lineage_configuration.crawler_lineage_settings #=> String, one of "ENABLE", "DISABLE"
|
@@ -1712,6 +1729,8 @@ module Aws::Glue
|
|
1712
1729
|
# exclusions: ["Path"],
|
1713
1730
|
# connection_name: "ConnectionName",
|
1714
1731
|
# sample_size: 1,
|
1732
|
+
# event_queue_arn: "EventQueueArn",
|
1733
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
1715
1734
|
# },
|
1716
1735
|
# ],
|
1717
1736
|
# jdbc_targets: [
|
@@ -1750,7 +1769,7 @@ module Aws::Glue
|
|
1750
1769
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
1751
1770
|
# },
|
1752
1771
|
# recrawl_policy: {
|
1753
|
-
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
|
1772
|
+
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY, CRAWL_EVENT_MODE
|
1754
1773
|
# },
|
1755
1774
|
# lineage_configuration: {
|
1756
1775
|
# crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
|
@@ -2901,6 +2920,9 @@ module Aws::Glue
|
|
2901
2920
|
# A list of partition indexes, `PartitionIndex` structures, to create in
|
2902
2921
|
# the table.
|
2903
2922
|
#
|
2923
|
+
# @option params [String] :transaction_id
|
2924
|
+
# The ID of the transaction.
|
2925
|
+
#
|
2904
2926
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2905
2927
|
#
|
2906
2928
|
# @example Request syntax with placeholder values
|
@@ -2994,6 +3016,7 @@ module Aws::Glue
|
|
2994
3016
|
# index_name: "NameString", # required
|
2995
3017
|
# },
|
2996
3018
|
# ],
|
3019
|
+
# transaction_id: "TransactionIdString",
|
2997
3020
|
# })
|
2998
3021
|
#
|
2999
3022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
|
@@ -3815,6 +3838,9 @@ module Aws::Glue
|
|
3815
3838
|
# The name of the table to be deleted. For Hive compatibility, this name
|
3816
3839
|
# is entirely lowercase.
|
3817
3840
|
#
|
3841
|
+
# @option params [String] :transaction_id
|
3842
|
+
# The transaction ID at which to delete the table contents.
|
3843
|
+
#
|
3818
3844
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3819
3845
|
#
|
3820
3846
|
# @example Request syntax with placeholder values
|
@@ -3823,6 +3849,7 @@ module Aws::Glue
|
|
3823
3849
|
# catalog_id: "CatalogIdString",
|
3824
3850
|
# database_name: "NameString", # required
|
3825
3851
|
# name: "NameString", # required
|
3852
|
+
# transaction_id: "TransactionIdString",
|
3826
3853
|
# })
|
3827
3854
|
#
|
3828
3855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable AWS API Documentation
|
@@ -4572,6 +4599,8 @@ module Aws::Glue
|
|
4572
4599
|
# resp.crawler.targets.s3_targets[0].exclusions[0] #=> String
|
4573
4600
|
# resp.crawler.targets.s3_targets[0].connection_name #=> String
|
4574
4601
|
# resp.crawler.targets.s3_targets[0].sample_size #=> Integer
|
4602
|
+
# resp.crawler.targets.s3_targets[0].event_queue_arn #=> String
|
4603
|
+
# resp.crawler.targets.s3_targets[0].dlq_event_queue_arn #=> String
|
4575
4604
|
# resp.crawler.targets.jdbc_targets #=> Array
|
4576
4605
|
# resp.crawler.targets.jdbc_targets[0].connection_name #=> String
|
4577
4606
|
# resp.crawler.targets.jdbc_targets[0].path #=> String
|
@@ -4593,7 +4622,7 @@ module Aws::Glue
|
|
4593
4622
|
# resp.crawler.description #=> String
|
4594
4623
|
# resp.crawler.classifiers #=> Array
|
4595
4624
|
# resp.crawler.classifiers[0] #=> String
|
4596
|
-
# resp.crawler.recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY"
|
4625
|
+
# resp.crawler.recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY", "CRAWL_EVENT_MODE"
|
4597
4626
|
# resp.crawler.schema_change_policy.update_behavior #=> String, one of "LOG", "UPDATE_IN_DATABASE"
|
4598
4627
|
# resp.crawler.schema_change_policy.delete_behavior #=> String, one of "LOG", "DELETE_FROM_DATABASE", "DEPRECATE_IN_DATABASE"
|
4599
4628
|
# resp.crawler.lineage_configuration.crawler_lineage_settings #=> String, one of "ENABLE", "DISABLE"
|
@@ -4704,6 +4733,8 @@ module Aws::Glue
|
|
4704
4733
|
# resp.crawlers[0].targets.s3_targets[0].exclusions[0] #=> String
|
4705
4734
|
# resp.crawlers[0].targets.s3_targets[0].connection_name #=> String
|
4706
4735
|
# resp.crawlers[0].targets.s3_targets[0].sample_size #=> Integer
|
4736
|
+
# resp.crawlers[0].targets.s3_targets[0].event_queue_arn #=> String
|
4737
|
+
# resp.crawlers[0].targets.s3_targets[0].dlq_event_queue_arn #=> String
|
4707
4738
|
# resp.crawlers[0].targets.jdbc_targets #=> Array
|
4708
4739
|
# resp.crawlers[0].targets.jdbc_targets[0].connection_name #=> String
|
4709
4740
|
# resp.crawlers[0].targets.jdbc_targets[0].path #=> String
|
@@ -4725,7 +4756,7 @@ module Aws::Glue
|
|
4725
4756
|
# resp.crawlers[0].description #=> String
|
4726
4757
|
# resp.crawlers[0].classifiers #=> Array
|
4727
4758
|
# resp.crawlers[0].classifiers[0] #=> String
|
4728
|
-
# resp.crawlers[0].recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY"
|
4759
|
+
# resp.crawlers[0].recrawl_policy.recrawl_behavior #=> String, one of "CRAWL_EVERYTHING", "CRAWL_NEW_FOLDERS_ONLY", "CRAWL_EVENT_MODE"
|
4729
4760
|
# resp.crawlers[0].schema_change_policy.update_behavior #=> String, one of "LOG", "UPDATE_IN_DATABASE"
|
4730
4761
|
# resp.crawlers[0].schema_change_policy.delete_behavior #=> String, one of "LOG", "DELETE_FROM_DATABASE", "DEPRECATE_IN_DATABASE"
|
4731
4762
|
# resp.crawlers[0].lineage_configuration.crawler_lineage_settings #=> String, one of "ENABLE", "DISABLE"
|
@@ -6029,6 +6060,14 @@ module Aws::Glue
|
|
6029
6060
|
# partition values or location. This approach avoids the problem of a
|
6030
6061
|
# large response by not returning duplicate data.
|
6031
6062
|
#
|
6063
|
+
# @option params [String] :transaction_id
|
6064
|
+
# The transaction ID at which to read the partition contents.
|
6065
|
+
#
|
6066
|
+
# @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
|
6067
|
+
# The time as of when to read the partition contents. If not set, the
|
6068
|
+
# most recent transaction commit time will be used. Cannot be specified
|
6069
|
+
# along with `TransactionId`.
|
6070
|
+
#
|
6032
6071
|
# @return [Types::GetPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6033
6072
|
#
|
6034
6073
|
# * {Types::GetPartitionsResponse#partitions #partitions} => Array<Types::Partition>
|
@@ -6050,6 +6089,8 @@ module Aws::Glue
|
|
6050
6089
|
# },
|
6051
6090
|
# max_results: 1,
|
6052
6091
|
# exclude_column_schema: false,
|
6092
|
+
# transaction_id: "TransactionIdString",
|
6093
|
+
# query_as_of_time: Time.now,
|
6053
6094
|
# })
|
6054
6095
|
#
|
6055
6096
|
# @example Response structure
|
@@ -6682,6 +6723,14 @@ module Aws::Glue
|
|
6682
6723
|
# The name of the table for which to retrieve the definition. For Hive
|
6683
6724
|
# compatibility, this name is entirely lowercase.
|
6684
6725
|
#
|
6726
|
+
# @option params [String] :transaction_id
|
6727
|
+
# The transaction ID at which to read the table contents.
|
6728
|
+
#
|
6729
|
+
# @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
|
6730
|
+
# The time as of when to read the table contents. If not set, the most
|
6731
|
+
# recent transaction commit time will be used. Cannot be specified along
|
6732
|
+
# with `TransactionId`.
|
6733
|
+
#
|
6685
6734
|
# @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6686
6735
|
#
|
6687
6736
|
# * {Types::GetTableResponse#table #table} => Types::Table
|
@@ -6692,6 +6741,8 @@ module Aws::Glue
|
|
6692
6741
|
# catalog_id: "CatalogIdString",
|
6693
6742
|
# database_name: "NameString", # required
|
6694
6743
|
# name: "NameString", # required
|
6744
|
+
# transaction_id: "TransactionIdString",
|
6745
|
+
# query_as_of_time: Time.now,
|
6695
6746
|
# })
|
6696
6747
|
#
|
6697
6748
|
# @example Response structure
|
@@ -7004,6 +7055,14 @@ module Aws::Glue
|
|
7004
7055
|
# @option params [Integer] :max_results
|
7005
7056
|
# The maximum number of tables to return in a single response.
|
7006
7057
|
#
|
7058
|
+
# @option params [String] :transaction_id
|
7059
|
+
# The transaction ID at which to read the table contents.
|
7060
|
+
#
|
7061
|
+
# @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
|
7062
|
+
# The time as of when to read the table contents. If not set, the most
|
7063
|
+
# recent transaction commit time will be used. Cannot be specified along
|
7064
|
+
# with `TransactionId`.
|
7065
|
+
#
|
7007
7066
|
# @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7008
7067
|
#
|
7009
7068
|
# * {Types::GetTablesResponse#table_list #table_list} => Array<Types::Table>
|
@@ -7019,6 +7078,8 @@ module Aws::Glue
|
|
7019
7078
|
# expression: "FilterString",
|
7020
7079
|
# next_token: "Token",
|
7021
7080
|
# max_results: 1,
|
7081
|
+
# transaction_id: "TransactionIdString",
|
7082
|
+
# query_as_of_time: Time.now,
|
7022
7083
|
# })
|
7023
7084
|
#
|
7024
7085
|
# @example Response structure
|
@@ -10133,6 +10194,8 @@ module Aws::Glue
|
|
10133
10194
|
# exclusions: ["Path"],
|
10134
10195
|
# connection_name: "ConnectionName",
|
10135
10196
|
# sample_size: 1,
|
10197
|
+
# event_queue_arn: "EventQueueArn",
|
10198
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
10136
10199
|
# },
|
10137
10200
|
# ],
|
10138
10201
|
# jdbc_targets: [
|
@@ -10171,7 +10234,7 @@ module Aws::Glue
|
|
10171
10234
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
10172
10235
|
# },
|
10173
10236
|
# recrawl_policy: {
|
10174
|
-
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
|
10237
|
+
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY, CRAWL_EVENT_MODE
|
10175
10238
|
# },
|
10176
10239
|
# lineage_configuration: {
|
10177
10240
|
# crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
|
@@ -10761,6 +10824,9 @@ module Aws::Glue
|
|
10761
10824
|
# table before updating it. However, if `skipArchive` is set to true,
|
10762
10825
|
# `UpdateTable` does not create the archived version.
|
10763
10826
|
#
|
10827
|
+
# @option params [String] :transaction_id
|
10828
|
+
# The transaction ID at which to update the table contents.
|
10829
|
+
#
|
10764
10830
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10765
10831
|
#
|
10766
10832
|
# @example Request syntax with placeholder values
|
@@ -10849,6 +10915,7 @@ module Aws::Glue
|
|
10849
10915
|
# },
|
10850
10916
|
# },
|
10851
10917
|
# skip_archive: false,
|
10918
|
+
# transaction_id: "TransactionIdString",
|
10852
10919
|
# })
|
10853
10920
|
#
|
10854
10921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation
|
@@ -11058,7 +11125,7 @@ module Aws::Glue
|
|
11058
11125
|
params: params,
|
11059
11126
|
config: config)
|
11060
11127
|
context[:gem_name] = 'aws-sdk-glue'
|
11061
|
-
context[:gem_version] = '1.
|
11128
|
+
context[:gem_version] = '1.100.0'
|
11062
11129
|
Seahorse::Client::Request.new(handlers, context)
|
11063
11130
|
end
|
11064
11131
|
|
@@ -296,6 +296,7 @@ module Aws::Glue
|
|
296
296
|
ErrorString = Shapes::StringShape.new(name: 'ErrorString')
|
297
297
|
EvaluationMetrics = Shapes::StructureShape.new(name: 'EvaluationMetrics')
|
298
298
|
EventBatchingCondition = Shapes::StructureShape.new(name: 'EventBatchingCondition')
|
299
|
+
EventQueueArn = Shapes::StringShape.new(name: 'EventQueueArn')
|
299
300
|
ExecutionProperty = Shapes::StructureShape.new(name: 'ExecutionProperty')
|
300
301
|
ExecutionTime = Shapes::IntegerShape.new(name: 'ExecutionTime')
|
301
302
|
ExistCondition = Shapes::StringShape.new(name: 'ExistCondition')
|
@@ -445,6 +446,7 @@ module Aws::Glue
|
|
445
446
|
IntegerValue = Shapes::IntegerShape.new(name: 'IntegerValue')
|
446
447
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
447
448
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
449
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
448
450
|
IsVersionValid = Shapes::BooleanShape.new(name: 'IsVersionValid')
|
449
451
|
JdbcTarget = Shapes::StructureShape.new(name: 'JdbcTarget')
|
450
452
|
JdbcTargetList = Shapes::ListShape.new(name: 'JdbcTargetList')
|
@@ -610,6 +612,7 @@ module Aws::Glue
|
|
610
612
|
ReplaceBoolean = Shapes::BooleanShape.new(name: 'ReplaceBoolean')
|
611
613
|
ResetJobBookmarkRequest = Shapes::StructureShape.new(name: 'ResetJobBookmarkRequest')
|
612
614
|
ResetJobBookmarkResponse = Shapes::StructureShape.new(name: 'ResetJobBookmarkResponse')
|
615
|
+
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
613
616
|
ResourceNumberLimitExceededException = Shapes::StructureShape.new(name: 'ResourceNumberLimitExceededException')
|
614
617
|
ResourceShareType = Shapes::StringShape.new(name: 'ResourceShareType')
|
615
618
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -732,6 +735,7 @@ module Aws::Glue
|
|
732
735
|
TimestampValue = Shapes::TimestampShape.new(name: 'TimestampValue')
|
733
736
|
Token = Shapes::StringShape.new(name: 'Token')
|
734
737
|
TotalSegmentsInteger = Shapes::IntegerShape.new(name: 'TotalSegmentsInteger')
|
738
|
+
TransactionIdString = Shapes::StringShape.new(name: 'TransactionIdString')
|
735
739
|
TransformEncryption = Shapes::StructureShape.new(name: 'TransformEncryption')
|
736
740
|
TransformFilterCriteria = Shapes::StructureShape.new(name: 'TransformFilterCriteria')
|
737
741
|
TransformIdList = Shapes::ListShape.new(name: 'TransformIdList')
|
@@ -881,6 +885,7 @@ module Aws::Glue
|
|
881
885
|
BatchDeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
882
886
|
BatchDeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
883
887
|
BatchDeleteTableRequest.add_member(:tables_to_delete, Shapes::ShapeRef.new(shape: BatchDeleteTableNameList, required: true, location_name: "TablesToDelete"))
|
888
|
+
BatchDeleteTableRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
884
889
|
BatchDeleteTableRequest.struct_class = Types::BatchDeleteTableRequest
|
885
890
|
|
886
891
|
BatchDeleteTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TableErrors, location_name: "Errors"))
|
@@ -1504,6 +1509,7 @@ module Aws::Glue
|
|
1504
1509
|
CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1505
1510
|
CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
1506
1511
|
CreateTableRequest.add_member(:partition_indexes, Shapes::ShapeRef.new(shape: PartitionIndexList, location_name: "PartitionIndexes"))
|
1512
|
+
CreateTableRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
1507
1513
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
1508
1514
|
|
1509
1515
|
CreateTableResponse.struct_class = Types::CreateTableResponse
|
@@ -1727,6 +1733,7 @@ module Aws::Glue
|
|
1727
1733
|
DeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1728
1734
|
DeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1729
1735
|
DeleteTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1736
|
+
DeleteTableRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
1730
1737
|
DeleteTableRequest.struct_class = Types::DeleteTableRequest
|
1731
1738
|
|
1732
1739
|
DeleteTableResponse.struct_class = Types::DeleteTableResponse
|
@@ -2164,6 +2171,8 @@ module Aws::Glue
|
|
2164
2171
|
GetPartitionsRequest.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, location_name: "Segment"))
|
2165
2172
|
GetPartitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
2166
2173
|
GetPartitionsRequest.add_member(:exclude_column_schema, Shapes::ShapeRef.new(shape: BooleanNullable, location_name: "ExcludeColumnSchema"))
|
2174
|
+
GetPartitionsRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
2175
|
+
GetPartitionsRequest.add_member(:query_as_of_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "QueryAsOfTime"))
|
2167
2176
|
GetPartitionsRequest.struct_class = Types::GetPartitionsRequest
|
2168
2177
|
|
2169
2178
|
GetPartitionsResponse.add_member(:partitions, Shapes::ShapeRef.new(shape: PartitionList, location_name: "Partitions"))
|
@@ -2281,6 +2290,8 @@ module Aws::Glue
|
|
2281
2290
|
GetTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
2282
2291
|
GetTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
2283
2292
|
GetTableRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2293
|
+
GetTableRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
2294
|
+
GetTableRequest.add_member(:query_as_of_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "QueryAsOfTime"))
|
2284
2295
|
GetTableRequest.struct_class = Types::GetTableRequest
|
2285
2296
|
|
2286
2297
|
GetTableResponse.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
|
@@ -2313,6 +2324,8 @@ module Aws::Glue
|
|
2313
2324
|
GetTablesRequest.add_member(:expression, Shapes::ShapeRef.new(shape: FilterString, location_name: "Expression"))
|
2314
2325
|
GetTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
2315
2326
|
GetTablesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CatalogGetterPageSize, location_name: "MaxResults"))
|
2327
|
+
GetTablesRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
2328
|
+
GetTablesRequest.add_member(:query_as_of_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "QueryAsOfTime"))
|
2316
2329
|
GetTablesRequest.struct_class = Types::GetTablesRequest
|
2317
2330
|
|
2318
2331
|
GetTablesResponse.add_member(:table_list, Shapes::ShapeRef.new(shape: TableList, location_name: "TableList"))
|
@@ -2441,6 +2454,9 @@ module Aws::Glue
|
|
2441
2454
|
InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2442
2455
|
InvalidInputException.struct_class = Types::InvalidInputException
|
2443
2456
|
|
2457
|
+
InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2458
|
+
InvalidStateException.struct_class = Types::InvalidStateException
|
2459
|
+
|
2444
2460
|
JdbcTarget.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
2445
2461
|
JdbcTarget.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
2446
2462
|
JdbcTarget.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
|
@@ -2963,6 +2979,9 @@ module Aws::Glue
|
|
2963
2979
|
ResetJobBookmarkResponse.add_member(:job_bookmark_entry, Shapes::ShapeRef.new(shape: JobBookmarkEntry, location_name: "JobBookmarkEntry"))
|
2964
2980
|
ResetJobBookmarkResponse.struct_class = Types::ResetJobBookmarkResponse
|
2965
2981
|
|
2982
|
+
ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2983
|
+
ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
|
2984
|
+
|
2966
2985
|
ResourceNumberLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2967
2986
|
ResourceNumberLimitExceededException.struct_class = Types::ResourceNumberLimitExceededException
|
2968
2987
|
|
@@ -2991,6 +3010,8 @@ module Aws::Glue
|
|
2991
3010
|
S3Target.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
|
2992
3011
|
S3Target.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
2993
3012
|
S3Target.add_member(:sample_size, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "SampleSize"))
|
3013
|
+
S3Target.add_member(:event_queue_arn, Shapes::ShapeRef.new(shape: EventQueueArn, location_name: "EventQueueArn"))
|
3014
|
+
S3Target.add_member(:dlq_event_queue_arn, Shapes::ShapeRef.new(shape: EventQueueArn, location_name: "DlqEventQueueArn"))
|
2994
3015
|
S3Target.struct_class = Types::S3Target
|
2995
3016
|
|
2996
3017
|
S3TargetList.member = Shapes::ShapeRef.new(shape: S3Target)
|
@@ -3546,6 +3567,7 @@ module Aws::Glue
|
|
3546
3567
|
UpdateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
3547
3568
|
UpdateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
3548
3569
|
UpdateTableRequest.add_member(:skip_archive, Shapes::ShapeRef.new(shape: BooleanNullable, location_name: "SkipArchive"))
|
3570
|
+
UpdateTableRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionIdString, location_name: "TransactionId"))
|
3549
3571
|
UpdateTableRequest.struct_class = Types::UpdateTableRequest
|
3550
3572
|
|
3551
3573
|
UpdateTableResponse.struct_class = Types::UpdateTableResponse
|
@@ -3724,6 +3746,8 @@ module Aws::Glue
|
|
3724
3746
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3725
3747
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3726
3748
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3749
|
+
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3750
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
3727
3751
|
end)
|
3728
3752
|
|
3729
3753
|
api.add_operation(:batch_delete_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3793,6 +3817,7 @@ module Aws::Glue
|
|
3793
3817
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3794
3818
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3795
3819
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3820
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
3796
3821
|
end)
|
3797
3822
|
|
3798
3823
|
api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4069,6 +4094,7 @@ module Aws::Glue
|
|
4069
4094
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4070
4095
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
4071
4096
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
4097
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4072
4098
|
end)
|
4073
4099
|
|
4074
4100
|
api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4331,6 +4357,7 @@ module Aws::Glue
|
|
4331
4357
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4332
4358
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4333
4359
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
4360
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4334
4361
|
end)
|
4335
4362
|
|
4336
4363
|
api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4823,6 +4850,8 @@ module Aws::Glue
|
|
4823
4850
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4824
4851
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4825
4852
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
4853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
4854
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4826
4855
|
o[:pager] = Aws::Pager.new(
|
4827
4856
|
limit_key: "max_results",
|
4828
4857
|
tokens: {
|
@@ -4973,6 +5002,7 @@ module Aws::Glue
|
|
4973
5002
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4974
5003
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4975
5004
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5005
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4976
5006
|
end)
|
4977
5007
|
|
4978
5008
|
api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5871,6 +5901,7 @@ module Aws::Glue
|
|
5871
5901
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
5872
5902
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
|
5873
5903
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5904
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
5874
5905
|
end)
|
5875
5906
|
|
5876
5907
|
api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -43,9 +43,11 @@ module Aws::Glue
|
|
43
43
|
# * {IllegalWorkflowStateException}
|
44
44
|
# * {InternalServiceException}
|
45
45
|
# * {InvalidInputException}
|
46
|
+
# * {InvalidStateException}
|
46
47
|
# * {MLTransformNotReadyException}
|
47
48
|
# * {NoScheduleException}
|
48
49
|
# * {OperationTimeoutException}
|
50
|
+
# * {ResourceNotReadyException}
|
49
51
|
# * {ResourceNumberLimitExceededException}
|
50
52
|
# * {SchedulerNotRunningException}
|
51
53
|
# * {SchedulerRunningException}
|
@@ -299,6 +301,21 @@ module Aws::Glue
|
|
299
301
|
end
|
300
302
|
end
|
301
303
|
|
304
|
+
class InvalidStateException < ServiceError
|
305
|
+
|
306
|
+
# @param [Seahorse::Client::RequestContext] context
|
307
|
+
# @param [String] message
|
308
|
+
# @param [Aws::Glue::Types::InvalidStateException] data
|
309
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
310
|
+
super(context, message, data)
|
311
|
+
end
|
312
|
+
|
313
|
+
# @return [String]
|
314
|
+
def message
|
315
|
+
@message || @data[:message]
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
302
319
|
class MLTransformNotReadyException < ServiceError
|
303
320
|
|
304
321
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -344,6 +361,21 @@ module Aws::Glue
|
|
344
361
|
end
|
345
362
|
end
|
346
363
|
|
364
|
+
class ResourceNotReadyException < ServiceError
|
365
|
+
|
366
|
+
# @param [Seahorse::Client::RequestContext] context
|
367
|
+
# @param [String] message
|
368
|
+
# @param [Aws::Glue::Types::ResourceNotReadyException] data
|
369
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
370
|
+
super(context, message, data)
|
371
|
+
end
|
372
|
+
|
373
|
+
# @return [String]
|
374
|
+
def message
|
375
|
+
@message || @data[:message]
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
347
379
|
class ResourceNumberLimitExceededException < ServiceError
|
348
380
|
|
349
381
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -377,6 +377,7 @@ module Aws::Glue
|
|
377
377
|
# catalog_id: "CatalogIdString",
|
378
378
|
# database_name: "NameString", # required
|
379
379
|
# tables_to_delete: ["NameString"], # required
|
380
|
+
# transaction_id: "TransactionIdString",
|
380
381
|
# }
|
381
382
|
#
|
382
383
|
# @!attribute [rw] catalog_id
|
@@ -393,12 +394,17 @@ module Aws::Glue
|
|
393
394
|
# A list of the table to delete.
|
394
395
|
# @return [Array<String>]
|
395
396
|
#
|
397
|
+
# @!attribute [rw] transaction_id
|
398
|
+
# The transaction ID at which to delete the table contents.
|
399
|
+
# @return [String]
|
400
|
+
#
|
396
401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableRequest AWS API Documentation
|
397
402
|
#
|
398
403
|
class BatchDeleteTableRequest < Struct.new(
|
399
404
|
:catalog_id,
|
400
405
|
:database_name,
|
401
|
-
:tables_to_delete
|
406
|
+
:tables_to_delete,
|
407
|
+
:transaction_id)
|
402
408
|
SENSITIVE = []
|
403
409
|
include Aws::Structure
|
404
410
|
end
|
@@ -2706,6 +2712,8 @@ module Aws::Glue
|
|
2706
2712
|
# exclusions: ["Path"],
|
2707
2713
|
# connection_name: "ConnectionName",
|
2708
2714
|
# sample_size: 1,
|
2715
|
+
# event_queue_arn: "EventQueueArn",
|
2716
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
2709
2717
|
# },
|
2710
2718
|
# ],
|
2711
2719
|
# jdbc_targets: [
|
@@ -2948,6 +2956,8 @@ module Aws::Glue
|
|
2948
2956
|
# exclusions: ["Path"],
|
2949
2957
|
# connection_name: "ConnectionName",
|
2950
2958
|
# sample_size: 1,
|
2959
|
+
# event_queue_arn: "EventQueueArn",
|
2960
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
2951
2961
|
# },
|
2952
2962
|
# ],
|
2953
2963
|
# jdbc_targets: [
|
@@ -2986,7 +2996,7 @@ module Aws::Glue
|
|
2986
2996
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
2987
2997
|
# },
|
2988
2998
|
# recrawl_policy: {
|
2989
|
-
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
|
2999
|
+
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY, CRAWL_EVENT_MODE
|
2990
3000
|
# },
|
2991
3001
|
# lineage_configuration: {
|
2992
3002
|
# crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
|
@@ -4693,6 +4703,7 @@ module Aws::Glue
|
|
4693
4703
|
# index_name: "NameString", # required
|
4694
4704
|
# },
|
4695
4705
|
# ],
|
4706
|
+
# transaction_id: "TransactionIdString",
|
4696
4707
|
# }
|
4697
4708
|
#
|
4698
4709
|
# @!attribute [rw] catalog_id
|
@@ -4715,13 +4726,18 @@ module Aws::Glue
|
|
4715
4726
|
# in the table.
|
4716
4727
|
# @return [Array<Types::PartitionIndex>]
|
4717
4728
|
#
|
4729
|
+
# @!attribute [rw] transaction_id
|
4730
|
+
# The ID of the transaction.
|
4731
|
+
# @return [String]
|
4732
|
+
#
|
4718
4733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest AWS API Documentation
|
4719
4734
|
#
|
4720
4735
|
class CreateTableRequest < Struct.new(
|
4721
4736
|
:catalog_id,
|
4722
4737
|
:database_name,
|
4723
4738
|
:table_input,
|
4724
|
-
:partition_indexes
|
4739
|
+
:partition_indexes,
|
4740
|
+
:transaction_id)
|
4725
4741
|
SENSITIVE = []
|
4726
4742
|
include Aws::Structure
|
4727
4743
|
end
|
@@ -5997,6 +6013,7 @@ module Aws::Glue
|
|
5997
6013
|
# catalog_id: "CatalogIdString",
|
5998
6014
|
# database_name: "NameString", # required
|
5999
6015
|
# name: "NameString", # required
|
6016
|
+
# transaction_id: "TransactionIdString",
|
6000
6017
|
# }
|
6001
6018
|
#
|
6002
6019
|
# @!attribute [rw] catalog_id
|
@@ -6014,12 +6031,17 @@ module Aws::Glue
|
|
6014
6031
|
# name is entirely lowercase.
|
6015
6032
|
# @return [String]
|
6016
6033
|
#
|
6034
|
+
# @!attribute [rw] transaction_id
|
6035
|
+
# The transaction ID at which to delete the table contents.
|
6036
|
+
# @return [String]
|
6037
|
+
#
|
6017
6038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableRequest AWS API Documentation
|
6018
6039
|
#
|
6019
6040
|
class DeleteTableRequest < Struct.new(
|
6020
6041
|
:catalog_id,
|
6021
6042
|
:database_name,
|
6022
|
-
:name
|
6043
|
+
:name,
|
6044
|
+
:transaction_id)
|
6023
6045
|
SENSITIVE = []
|
6024
6046
|
include Aws::Structure
|
6025
6047
|
end
|
@@ -8595,6 +8617,8 @@ module Aws::Glue
|
|
8595
8617
|
# },
|
8596
8618
|
# max_results: 1,
|
8597
8619
|
# exclude_column_schema: false,
|
8620
|
+
# transaction_id: "TransactionIdString",
|
8621
|
+
# query_as_of_time: Time.now,
|
8598
8622
|
# }
|
8599
8623
|
#
|
8600
8624
|
# @!attribute [rw] catalog_id
|
@@ -8728,6 +8752,16 @@ module Aws::Glue
|
|
8728
8752
|
# problem of a large response by not returning duplicate data.
|
8729
8753
|
# @return [Boolean]
|
8730
8754
|
#
|
8755
|
+
# @!attribute [rw] transaction_id
|
8756
|
+
# The transaction ID at which to read the partition contents.
|
8757
|
+
# @return [String]
|
8758
|
+
#
|
8759
|
+
# @!attribute [rw] query_as_of_time
|
8760
|
+
# The time as of when to read the partition contents. If not set, the
|
8761
|
+
# most recent transaction commit time will be used. Cannot be
|
8762
|
+
# specified along with `TransactionId`.
|
8763
|
+
# @return [Time]
|
8764
|
+
#
|
8731
8765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsRequest AWS API Documentation
|
8732
8766
|
#
|
8733
8767
|
class GetPartitionsRequest < Struct.new(
|
@@ -8738,7 +8772,9 @@ module Aws::Glue
|
|
8738
8772
|
:next_token,
|
8739
8773
|
:segment,
|
8740
8774
|
:max_results,
|
8741
|
-
:exclude_column_schema
|
8775
|
+
:exclude_column_schema,
|
8776
|
+
:transaction_id,
|
8777
|
+
:query_as_of_time)
|
8742
8778
|
SENSITIVE = []
|
8743
8779
|
include Aws::Structure
|
8744
8780
|
end
|
@@ -9449,6 +9485,8 @@ module Aws::Glue
|
|
9449
9485
|
# catalog_id: "CatalogIdString",
|
9450
9486
|
# database_name: "NameString", # required
|
9451
9487
|
# name: "NameString", # required
|
9488
|
+
# transaction_id: "TransactionIdString",
|
9489
|
+
# query_as_of_time: Time.now,
|
9452
9490
|
# }
|
9453
9491
|
#
|
9454
9492
|
# @!attribute [rw] catalog_id
|
@@ -9466,12 +9504,24 @@ module Aws::Glue
|
|
9466
9504
|
# compatibility, this name is entirely lowercase.
|
9467
9505
|
# @return [String]
|
9468
9506
|
#
|
9507
|
+
# @!attribute [rw] transaction_id
|
9508
|
+
# The transaction ID at which to read the table contents.
|
9509
|
+
# @return [String]
|
9510
|
+
#
|
9511
|
+
# @!attribute [rw] query_as_of_time
|
9512
|
+
# The time as of when to read the table contents. If not set, the most
|
9513
|
+
# recent transaction commit time will be used. Cannot be specified
|
9514
|
+
# along with `TransactionId`.
|
9515
|
+
# @return [Time]
|
9516
|
+
#
|
9469
9517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
|
9470
9518
|
#
|
9471
9519
|
class GetTableRequest < Struct.new(
|
9472
9520
|
:catalog_id,
|
9473
9521
|
:database_name,
|
9474
|
-
:name
|
9522
|
+
:name,
|
9523
|
+
:transaction_id,
|
9524
|
+
:query_as_of_time)
|
9475
9525
|
SENSITIVE = []
|
9476
9526
|
include Aws::Structure
|
9477
9527
|
end
|
@@ -9616,6 +9666,8 @@ module Aws::Glue
|
|
9616
9666
|
# expression: "FilterString",
|
9617
9667
|
# next_token: "Token",
|
9618
9668
|
# max_results: 1,
|
9669
|
+
# transaction_id: "TransactionIdString",
|
9670
|
+
# query_as_of_time: Time.now,
|
9619
9671
|
# }
|
9620
9672
|
#
|
9621
9673
|
# @!attribute [rw] catalog_id
|
@@ -9641,6 +9693,16 @@ module Aws::Glue
|
|
9641
9693
|
# The maximum number of tables to return in a single response.
|
9642
9694
|
# @return [Integer]
|
9643
9695
|
#
|
9696
|
+
# @!attribute [rw] transaction_id
|
9697
|
+
# The transaction ID at which to read the table contents.
|
9698
|
+
# @return [String]
|
9699
|
+
#
|
9700
|
+
# @!attribute [rw] query_as_of_time
|
9701
|
+
# The time as of when to read the table contents. If not set, the most
|
9702
|
+
# recent transaction commit time will be used. Cannot be specified
|
9703
|
+
# along with `TransactionId`.
|
9704
|
+
# @return [Time]
|
9705
|
+
#
|
9644
9706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesRequest AWS API Documentation
|
9645
9707
|
#
|
9646
9708
|
class GetTablesRequest < Struct.new(
|
@@ -9648,7 +9710,9 @@ module Aws::Glue
|
|
9648
9710
|
:database_name,
|
9649
9711
|
:expression,
|
9650
9712
|
:next_token,
|
9651
|
-
:max_results
|
9713
|
+
:max_results,
|
9714
|
+
:transaction_id,
|
9715
|
+
:query_as_of_time)
|
9652
9716
|
SENSITIVE = []
|
9653
9717
|
include Aws::Structure
|
9654
9718
|
end
|
@@ -10319,6 +10383,20 @@ module Aws::Glue
|
|
10319
10383
|
include Aws::Structure
|
10320
10384
|
end
|
10321
10385
|
|
10386
|
+
# An error that indicates your data is in an invalid state.
|
10387
|
+
#
|
10388
|
+
# @!attribute [rw] message
|
10389
|
+
# A message describing the problem.
|
10390
|
+
# @return [String]
|
10391
|
+
#
|
10392
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/InvalidStateException AWS API Documentation
|
10393
|
+
#
|
10394
|
+
class InvalidStateException < Struct.new(
|
10395
|
+
:message)
|
10396
|
+
SENSITIVE = []
|
10397
|
+
include Aws::Structure
|
10398
|
+
end
|
10399
|
+
|
10322
10400
|
# Specifies a JDBC data store to crawl.
|
10323
10401
|
#
|
10324
10402
|
# @note When making an API call, you may pass JdbcTarget
|
@@ -13229,7 +13307,7 @@ module Aws::Glue
|
|
13229
13307
|
# data as a hash:
|
13230
13308
|
#
|
13231
13309
|
# {
|
13232
|
-
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
|
13310
|
+
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY, CRAWL_EVENT_MODE
|
13233
13311
|
# }
|
13234
13312
|
#
|
13235
13313
|
# @!attribute [rw] recrawl_behavior
|
@@ -13241,6 +13319,9 @@ module Aws::Glue
|
|
13241
13319
|
#
|
13242
13320
|
# A value of `CRAWL_NEW_FOLDERS_ONLY` specifies crawling only folders
|
13243
13321
|
# that were added since the last crawler run.
|
13322
|
+
#
|
13323
|
+
# A value of `CRAWL_EVENT_MODE` specifies crawling only the changes
|
13324
|
+
# identified by Amazon S3 events.
|
13244
13325
|
# @return [String]
|
13245
13326
|
#
|
13246
13327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RecrawlPolicy AWS API Documentation
|
@@ -13513,6 +13594,20 @@ module Aws::Glue
|
|
13513
13594
|
include Aws::Structure
|
13514
13595
|
end
|
13515
13596
|
|
13597
|
+
# A resource was not ready for a transaction.
|
13598
|
+
#
|
13599
|
+
# @!attribute [rw] message
|
13600
|
+
# A message describing the problem.
|
13601
|
+
# @return [String]
|
13602
|
+
#
|
13603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResourceNotReadyException AWS API Documentation
|
13604
|
+
#
|
13605
|
+
class ResourceNotReadyException < Struct.new(
|
13606
|
+
:message)
|
13607
|
+
SENSITIVE = []
|
13608
|
+
include Aws::Structure
|
13609
|
+
end
|
13610
|
+
|
13516
13611
|
# A resource numerical limit was exceeded.
|
13517
13612
|
#
|
13518
13613
|
# @!attribute [rw] message
|
@@ -13644,6 +13739,8 @@ module Aws::Glue
|
|
13644
13739
|
# exclusions: ["Path"],
|
13645
13740
|
# connection_name: "ConnectionName",
|
13646
13741
|
# sample_size: 1,
|
13742
|
+
# event_queue_arn: "EventQueueArn",
|
13743
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
13647
13744
|
# }
|
13648
13745
|
#
|
13649
13746
|
# @!attribute [rw] path
|
@@ -13671,13 +13768,25 @@ module Aws::Glue
|
|
13671
13768
|
# crawled. A valid value is an integer between 1 and 249.
|
13672
13769
|
# @return [Integer]
|
13673
13770
|
#
|
13771
|
+
# @!attribute [rw] event_queue_arn
|
13772
|
+
# A valid Amazon SQS ARN. For example,
|
13773
|
+
# `arn:aws:sqs:region:account:sqs`.
|
13774
|
+
# @return [String]
|
13775
|
+
#
|
13776
|
+
# @!attribute [rw] dlq_event_queue_arn
|
13777
|
+
# A valid Amazon dead-letter SQS ARN. For example,
|
13778
|
+
# `arn:aws:sqs:region:account:deadLetterQueue`.
|
13779
|
+
# @return [String]
|
13780
|
+
#
|
13674
13781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/S3Target AWS API Documentation
|
13675
13782
|
#
|
13676
13783
|
class S3Target < Struct.new(
|
13677
13784
|
:path,
|
13678
13785
|
:exclusions,
|
13679
13786
|
:connection_name,
|
13680
|
-
:sample_size
|
13787
|
+
:sample_size,
|
13788
|
+
:event_queue_arn,
|
13789
|
+
:dlq_event_queue_arn)
|
13681
13790
|
SENSITIVE = []
|
13682
13791
|
include Aws::Structure
|
13683
13792
|
end
|
@@ -16406,6 +16515,8 @@ module Aws::Glue
|
|
16406
16515
|
# exclusions: ["Path"],
|
16407
16516
|
# connection_name: "ConnectionName",
|
16408
16517
|
# sample_size: 1,
|
16518
|
+
# event_queue_arn: "EventQueueArn",
|
16519
|
+
# dlq_event_queue_arn: "EventQueueArn",
|
16409
16520
|
# },
|
16410
16521
|
# ],
|
16411
16522
|
# jdbc_targets: [
|
@@ -16444,7 +16555,7 @@ module Aws::Glue
|
|
16444
16555
|
# delete_behavior: "LOG", # accepts LOG, DELETE_FROM_DATABASE, DEPRECATE_IN_DATABASE
|
16445
16556
|
# },
|
16446
16557
|
# recrawl_policy: {
|
16447
|
-
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY
|
16558
|
+
# recrawl_behavior: "CRAWL_EVERYTHING", # accepts CRAWL_EVERYTHING, CRAWL_NEW_FOLDERS_ONLY, CRAWL_EVENT_MODE
|
16448
16559
|
# },
|
16449
16560
|
# lineage_configuration: {
|
16450
16561
|
# crawler_lineage_settings: "ENABLE", # accepts ENABLE, DISABLE
|
@@ -17386,6 +17497,7 @@ module Aws::Glue
|
|
17386
17497
|
# },
|
17387
17498
|
# },
|
17388
17499
|
# skip_archive: false,
|
17500
|
+
# transaction_id: "TransactionIdString",
|
17389
17501
|
# }
|
17390
17502
|
#
|
17391
17503
|
# @!attribute [rw] catalog_id
|
@@ -17409,13 +17521,18 @@ module Aws::Glue
|
|
17409
17521
|
# `UpdateTable` does not create the archived version.
|
17410
17522
|
# @return [Boolean]
|
17411
17523
|
#
|
17524
|
+
# @!attribute [rw] transaction_id
|
17525
|
+
# The transaction ID at which to update the table contents.
|
17526
|
+
# @return [String]
|
17527
|
+
#
|
17412
17528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest AWS API Documentation
|
17413
17529
|
#
|
17414
17530
|
class UpdateTableRequest < Struct.new(
|
17415
17531
|
:catalog_id,
|
17416
17532
|
:database_name,
|
17417
17533
|
:table_input,
|
17418
|
-
:skip_archive
|
17534
|
+
:skip_archive,
|
17535
|
+
:transaction_id)
|
17419
17536
|
SENSITIVE = []
|
17420
17537
|
include Aws::Structure
|
17421
17538
|
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.100.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: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|