aws-sdk-glue 1.99.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glue/client.rb +50 -2
- data/lib/aws-sdk-glue/client_api.rb +28 -0
- data/lib/aws-sdk-glue/errors.rb +32 -0
- data/lib/aws-sdk-glue/types.rb +101 -7
- data/lib/aws-sdk-glue.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 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
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
|
@@ -570,6 +572,9 @@ module Aws::Glue
|
|
570
572
|
# @option params [required, Array<String>] :tables_to_delete
|
571
573
|
# A list of the table to delete.
|
572
574
|
#
|
575
|
+
# @option params [String] :transaction_id
|
576
|
+
# The transaction ID at which to delete the table contents.
|
577
|
+
#
|
573
578
|
# @return [Types::BatchDeleteTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
574
579
|
#
|
575
580
|
# * {Types::BatchDeleteTableResponse#errors #errors} => Array<Types::TableError>
|
@@ -580,6 +585,7 @@ module Aws::Glue
|
|
580
585
|
# catalog_id: "CatalogIdString",
|
581
586
|
# database_name: "NameString", # required
|
582
587
|
# tables_to_delete: ["NameString"], # required
|
588
|
+
# transaction_id: "TransactionIdString",
|
583
589
|
# })
|
584
590
|
#
|
585
591
|
# @example Response structure
|
@@ -2914,6 +2920,9 @@ module Aws::Glue
|
|
2914
2920
|
# A list of partition indexes, `PartitionIndex` structures, to create in
|
2915
2921
|
# the table.
|
2916
2922
|
#
|
2923
|
+
# @option params [String] :transaction_id
|
2924
|
+
# The ID of the transaction.
|
2925
|
+
#
|
2917
2926
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2918
2927
|
#
|
2919
2928
|
# @example Request syntax with placeholder values
|
@@ -3007,6 +3016,7 @@ module Aws::Glue
|
|
3007
3016
|
# index_name: "NameString", # required
|
3008
3017
|
# },
|
3009
3018
|
# ],
|
3019
|
+
# transaction_id: "TransactionIdString",
|
3010
3020
|
# })
|
3011
3021
|
#
|
3012
3022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
|
@@ -3828,6 +3838,9 @@ module Aws::Glue
|
|
3828
3838
|
# The name of the table to be deleted. For Hive compatibility, this name
|
3829
3839
|
# is entirely lowercase.
|
3830
3840
|
#
|
3841
|
+
# @option params [String] :transaction_id
|
3842
|
+
# The transaction ID at which to delete the table contents.
|
3843
|
+
#
|
3831
3844
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3832
3845
|
#
|
3833
3846
|
# @example Request syntax with placeholder values
|
@@ -3836,6 +3849,7 @@ module Aws::Glue
|
|
3836
3849
|
# catalog_id: "CatalogIdString",
|
3837
3850
|
# database_name: "NameString", # required
|
3838
3851
|
# name: "NameString", # required
|
3852
|
+
# transaction_id: "TransactionIdString",
|
3839
3853
|
# })
|
3840
3854
|
#
|
3841
3855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable AWS API Documentation
|
@@ -6046,6 +6060,14 @@ module Aws::Glue
|
|
6046
6060
|
# partition values or location. This approach avoids the problem of a
|
6047
6061
|
# large response by not returning duplicate data.
|
6048
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
|
+
#
|
6049
6071
|
# @return [Types::GetPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6050
6072
|
#
|
6051
6073
|
# * {Types::GetPartitionsResponse#partitions #partitions} => Array<Types::Partition>
|
@@ -6067,6 +6089,8 @@ module Aws::Glue
|
|
6067
6089
|
# },
|
6068
6090
|
# max_results: 1,
|
6069
6091
|
# exclude_column_schema: false,
|
6092
|
+
# transaction_id: "TransactionIdString",
|
6093
|
+
# query_as_of_time: Time.now,
|
6070
6094
|
# })
|
6071
6095
|
#
|
6072
6096
|
# @example Response structure
|
@@ -6699,6 +6723,14 @@ module Aws::Glue
|
|
6699
6723
|
# The name of the table for which to retrieve the definition. For Hive
|
6700
6724
|
# compatibility, this name is entirely lowercase.
|
6701
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
|
+
#
|
6702
6734
|
# @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6703
6735
|
#
|
6704
6736
|
# * {Types::GetTableResponse#table #table} => Types::Table
|
@@ -6709,6 +6741,8 @@ module Aws::Glue
|
|
6709
6741
|
# catalog_id: "CatalogIdString",
|
6710
6742
|
# database_name: "NameString", # required
|
6711
6743
|
# name: "NameString", # required
|
6744
|
+
# transaction_id: "TransactionIdString",
|
6745
|
+
# query_as_of_time: Time.now,
|
6712
6746
|
# })
|
6713
6747
|
#
|
6714
6748
|
# @example Response structure
|
@@ -7021,6 +7055,14 @@ module Aws::Glue
|
|
7021
7055
|
# @option params [Integer] :max_results
|
7022
7056
|
# The maximum number of tables to return in a single response.
|
7023
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
|
+
#
|
7024
7066
|
# @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7025
7067
|
#
|
7026
7068
|
# * {Types::GetTablesResponse#table_list #table_list} => Array<Types::Table>
|
@@ -7036,6 +7078,8 @@ module Aws::Glue
|
|
7036
7078
|
# expression: "FilterString",
|
7037
7079
|
# next_token: "Token",
|
7038
7080
|
# max_results: 1,
|
7081
|
+
# transaction_id: "TransactionIdString",
|
7082
|
+
# query_as_of_time: Time.now,
|
7039
7083
|
# })
|
7040
7084
|
#
|
7041
7085
|
# @example Response structure
|
@@ -10780,6 +10824,9 @@ module Aws::Glue
|
|
10780
10824
|
# table before updating it. However, if `skipArchive` is set to true,
|
10781
10825
|
# `UpdateTable` does not create the archived version.
|
10782
10826
|
#
|
10827
|
+
# @option params [String] :transaction_id
|
10828
|
+
# The transaction ID at which to update the table contents.
|
10829
|
+
#
|
10783
10830
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10784
10831
|
#
|
10785
10832
|
# @example Request syntax with placeholder values
|
@@ -10868,6 +10915,7 @@ module Aws::Glue
|
|
10868
10915
|
# },
|
10869
10916
|
# },
|
10870
10917
|
# skip_archive: false,
|
10918
|
+
# transaction_id: "TransactionIdString",
|
10871
10919
|
# })
|
10872
10920
|
#
|
10873
10921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation
|
@@ -11077,7 +11125,7 @@ module Aws::Glue
|
|
11077
11125
|
params: params,
|
11078
11126
|
config: config)
|
11079
11127
|
context[:gem_name] = 'aws-sdk-glue'
|
11080
|
-
context[:gem_version] = '1.
|
11128
|
+
context[:gem_version] = '1.100.0'
|
11081
11129
|
Seahorse::Client::Request.new(handlers, context)
|
11082
11130
|
end
|
11083
11131
|
|
@@ -446,6 +446,7 @@ module Aws::Glue
|
|
446
446
|
IntegerValue = Shapes::IntegerShape.new(name: 'IntegerValue')
|
447
447
|
InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
|
448
448
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
449
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
449
450
|
IsVersionValid = Shapes::BooleanShape.new(name: 'IsVersionValid')
|
450
451
|
JdbcTarget = Shapes::StructureShape.new(name: 'JdbcTarget')
|
451
452
|
JdbcTargetList = Shapes::ListShape.new(name: 'JdbcTargetList')
|
@@ -611,6 +612,7 @@ module Aws::Glue
|
|
611
612
|
ReplaceBoolean = Shapes::BooleanShape.new(name: 'ReplaceBoolean')
|
612
613
|
ResetJobBookmarkRequest = Shapes::StructureShape.new(name: 'ResetJobBookmarkRequest')
|
613
614
|
ResetJobBookmarkResponse = Shapes::StructureShape.new(name: 'ResetJobBookmarkResponse')
|
615
|
+
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
|
614
616
|
ResourceNumberLimitExceededException = Shapes::StructureShape.new(name: 'ResourceNumberLimitExceededException')
|
615
617
|
ResourceShareType = Shapes::StringShape.new(name: 'ResourceShareType')
|
616
618
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
@@ -733,6 +735,7 @@ module Aws::Glue
|
|
733
735
|
TimestampValue = Shapes::TimestampShape.new(name: 'TimestampValue')
|
734
736
|
Token = Shapes::StringShape.new(name: 'Token')
|
735
737
|
TotalSegmentsInteger = Shapes::IntegerShape.new(name: 'TotalSegmentsInteger')
|
738
|
+
TransactionIdString = Shapes::StringShape.new(name: 'TransactionIdString')
|
736
739
|
TransformEncryption = Shapes::StructureShape.new(name: 'TransformEncryption')
|
737
740
|
TransformFilterCriteria = Shapes::StructureShape.new(name: 'TransformFilterCriteria')
|
738
741
|
TransformIdList = Shapes::ListShape.new(name: 'TransformIdList')
|
@@ -882,6 +885,7 @@ module Aws::Glue
|
|
882
885
|
BatchDeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
883
886
|
BatchDeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
884
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"))
|
885
889
|
BatchDeleteTableRequest.struct_class = Types::BatchDeleteTableRequest
|
886
890
|
|
887
891
|
BatchDeleteTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TableErrors, location_name: "Errors"))
|
@@ -1505,6 +1509,7 @@ module Aws::Glue
|
|
1505
1509
|
CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1506
1510
|
CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
1507
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"))
|
1508
1513
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
1509
1514
|
|
1510
1515
|
CreateTableResponse.struct_class = Types::CreateTableResponse
|
@@ -1728,6 +1733,7 @@ module Aws::Glue
|
|
1728
1733
|
DeleteTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1729
1734
|
DeleteTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1730
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"))
|
1731
1737
|
DeleteTableRequest.struct_class = Types::DeleteTableRequest
|
1732
1738
|
|
1733
1739
|
DeleteTableResponse.struct_class = Types::DeleteTableResponse
|
@@ -2165,6 +2171,8 @@ module Aws::Glue
|
|
2165
2171
|
GetPartitionsRequest.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, location_name: "Segment"))
|
2166
2172
|
GetPartitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
2167
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"))
|
2168
2176
|
GetPartitionsRequest.struct_class = Types::GetPartitionsRequest
|
2169
2177
|
|
2170
2178
|
GetPartitionsResponse.add_member(:partitions, Shapes::ShapeRef.new(shape: PartitionList, location_name: "Partitions"))
|
@@ -2282,6 +2290,8 @@ module Aws::Glue
|
|
2282
2290
|
GetTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
2283
2291
|
GetTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
2284
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"))
|
2285
2295
|
GetTableRequest.struct_class = Types::GetTableRequest
|
2286
2296
|
|
2287
2297
|
GetTableResponse.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
|
@@ -2314,6 +2324,8 @@ module Aws::Glue
|
|
2314
2324
|
GetTablesRequest.add_member(:expression, Shapes::ShapeRef.new(shape: FilterString, location_name: "Expression"))
|
2315
2325
|
GetTablesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
2316
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"))
|
2317
2329
|
GetTablesRequest.struct_class = Types::GetTablesRequest
|
2318
2330
|
|
2319
2331
|
GetTablesResponse.add_member(:table_list, Shapes::ShapeRef.new(shape: TableList, location_name: "TableList"))
|
@@ -2442,6 +2454,9 @@ module Aws::Glue
|
|
2442
2454
|
InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2443
2455
|
InvalidInputException.struct_class = Types::InvalidInputException
|
2444
2456
|
|
2457
|
+
InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2458
|
+
InvalidStateException.struct_class = Types::InvalidStateException
|
2459
|
+
|
2445
2460
|
JdbcTarget.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
|
2446
2461
|
JdbcTarget.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
|
2447
2462
|
JdbcTarget.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
|
@@ -2964,6 +2979,9 @@ module Aws::Glue
|
|
2964
2979
|
ResetJobBookmarkResponse.add_member(:job_bookmark_entry, Shapes::ShapeRef.new(shape: JobBookmarkEntry, location_name: "JobBookmarkEntry"))
|
2965
2980
|
ResetJobBookmarkResponse.struct_class = Types::ResetJobBookmarkResponse
|
2966
2981
|
|
2982
|
+
ResourceNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2983
|
+
ResourceNotReadyException.struct_class = Types::ResourceNotReadyException
|
2984
|
+
|
2967
2985
|
ResourceNumberLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
2968
2986
|
ResourceNumberLimitExceededException.struct_class = Types::ResourceNumberLimitExceededException
|
2969
2987
|
|
@@ -3549,6 +3567,7 @@ module Aws::Glue
|
|
3549
3567
|
UpdateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
3550
3568
|
UpdateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
3551
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"))
|
3552
3571
|
UpdateTableRequest.struct_class = Types::UpdateTableRequest
|
3553
3572
|
|
3554
3573
|
UpdateTableResponse.struct_class = Types::UpdateTableResponse
|
@@ -3727,6 +3746,8 @@ module Aws::Glue
|
|
3727
3746
|
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3728
3747
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3729
3748
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3749
|
+
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3750
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
3730
3751
|
end)
|
3731
3752
|
|
3732
3753
|
api.add_operation(:batch_delete_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3796,6 +3817,7 @@ module Aws::Glue
|
|
3796
3817
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3797
3818
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3798
3819
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3820
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
3799
3821
|
end)
|
3800
3822
|
|
3801
3823
|
api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4072,6 +4094,7 @@ module Aws::Glue
|
|
4072
4094
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4073
4095
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
4074
4096
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
4097
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4075
4098
|
end)
|
4076
4099
|
|
4077
4100
|
api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4334,6 +4357,7 @@ module Aws::Glue
|
|
4334
4357
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4335
4358
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4336
4359
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
4360
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4337
4361
|
end)
|
4338
4362
|
|
4339
4363
|
api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -4826,6 +4850,8 @@ module Aws::Glue
|
|
4826
4850
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4827
4851
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4828
4852
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
4853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
4854
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4829
4855
|
o[:pager] = Aws::Pager.new(
|
4830
4856
|
limit_key: "max_results",
|
4831
4857
|
tokens: {
|
@@ -4976,6 +5002,7 @@ module Aws::Glue
|
|
4976
5002
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
4977
5003
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
4978
5004
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5005
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
4979
5006
|
end)
|
4980
5007
|
|
4981
5008
|
api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5874,6 +5901,7 @@ module Aws::Glue
|
|
5874
5901
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
5875
5902
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
|
5876
5903
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
5904
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotReadyException)
|
5877
5905
|
end)
|
5878
5906
|
|
5879
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
|
@@ -4697,6 +4703,7 @@ module Aws::Glue
|
|
4697
4703
|
# index_name: "NameString", # required
|
4698
4704
|
# },
|
4699
4705
|
# ],
|
4706
|
+
# transaction_id: "TransactionIdString",
|
4700
4707
|
# }
|
4701
4708
|
#
|
4702
4709
|
# @!attribute [rw] catalog_id
|
@@ -4719,13 +4726,18 @@ module Aws::Glue
|
|
4719
4726
|
# in the table.
|
4720
4727
|
# @return [Array<Types::PartitionIndex>]
|
4721
4728
|
#
|
4729
|
+
# @!attribute [rw] transaction_id
|
4730
|
+
# The ID of the transaction.
|
4731
|
+
# @return [String]
|
4732
|
+
#
|
4722
4733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest AWS API Documentation
|
4723
4734
|
#
|
4724
4735
|
class CreateTableRequest < Struct.new(
|
4725
4736
|
:catalog_id,
|
4726
4737
|
:database_name,
|
4727
4738
|
:table_input,
|
4728
|
-
:partition_indexes
|
4739
|
+
:partition_indexes,
|
4740
|
+
:transaction_id)
|
4729
4741
|
SENSITIVE = []
|
4730
4742
|
include Aws::Structure
|
4731
4743
|
end
|
@@ -6001,6 +6013,7 @@ module Aws::Glue
|
|
6001
6013
|
# catalog_id: "CatalogIdString",
|
6002
6014
|
# database_name: "NameString", # required
|
6003
6015
|
# name: "NameString", # required
|
6016
|
+
# transaction_id: "TransactionIdString",
|
6004
6017
|
# }
|
6005
6018
|
#
|
6006
6019
|
# @!attribute [rw] catalog_id
|
@@ -6018,12 +6031,17 @@ module Aws::Glue
|
|
6018
6031
|
# name is entirely lowercase.
|
6019
6032
|
# @return [String]
|
6020
6033
|
#
|
6034
|
+
# @!attribute [rw] transaction_id
|
6035
|
+
# The transaction ID at which to delete the table contents.
|
6036
|
+
# @return [String]
|
6037
|
+
#
|
6021
6038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableRequest AWS API Documentation
|
6022
6039
|
#
|
6023
6040
|
class DeleteTableRequest < Struct.new(
|
6024
6041
|
:catalog_id,
|
6025
6042
|
:database_name,
|
6026
|
-
:name
|
6043
|
+
:name,
|
6044
|
+
:transaction_id)
|
6027
6045
|
SENSITIVE = []
|
6028
6046
|
include Aws::Structure
|
6029
6047
|
end
|
@@ -8599,6 +8617,8 @@ module Aws::Glue
|
|
8599
8617
|
# },
|
8600
8618
|
# max_results: 1,
|
8601
8619
|
# exclude_column_schema: false,
|
8620
|
+
# transaction_id: "TransactionIdString",
|
8621
|
+
# query_as_of_time: Time.now,
|
8602
8622
|
# }
|
8603
8623
|
#
|
8604
8624
|
# @!attribute [rw] catalog_id
|
@@ -8732,6 +8752,16 @@ module Aws::Glue
|
|
8732
8752
|
# problem of a large response by not returning duplicate data.
|
8733
8753
|
# @return [Boolean]
|
8734
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
|
+
#
|
8735
8765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionsRequest AWS API Documentation
|
8736
8766
|
#
|
8737
8767
|
class GetPartitionsRequest < Struct.new(
|
@@ -8742,7 +8772,9 @@ module Aws::Glue
|
|
8742
8772
|
:next_token,
|
8743
8773
|
:segment,
|
8744
8774
|
:max_results,
|
8745
|
-
:exclude_column_schema
|
8775
|
+
:exclude_column_schema,
|
8776
|
+
:transaction_id,
|
8777
|
+
:query_as_of_time)
|
8746
8778
|
SENSITIVE = []
|
8747
8779
|
include Aws::Structure
|
8748
8780
|
end
|
@@ -9453,6 +9485,8 @@ module Aws::Glue
|
|
9453
9485
|
# catalog_id: "CatalogIdString",
|
9454
9486
|
# database_name: "NameString", # required
|
9455
9487
|
# name: "NameString", # required
|
9488
|
+
# transaction_id: "TransactionIdString",
|
9489
|
+
# query_as_of_time: Time.now,
|
9456
9490
|
# }
|
9457
9491
|
#
|
9458
9492
|
# @!attribute [rw] catalog_id
|
@@ -9470,12 +9504,24 @@ module Aws::Glue
|
|
9470
9504
|
# compatibility, this name is entirely lowercase.
|
9471
9505
|
# @return [String]
|
9472
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
|
+
#
|
9473
9517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
|
9474
9518
|
#
|
9475
9519
|
class GetTableRequest < Struct.new(
|
9476
9520
|
:catalog_id,
|
9477
9521
|
:database_name,
|
9478
|
-
:name
|
9522
|
+
:name,
|
9523
|
+
:transaction_id,
|
9524
|
+
:query_as_of_time)
|
9479
9525
|
SENSITIVE = []
|
9480
9526
|
include Aws::Structure
|
9481
9527
|
end
|
@@ -9620,6 +9666,8 @@ module Aws::Glue
|
|
9620
9666
|
# expression: "FilterString",
|
9621
9667
|
# next_token: "Token",
|
9622
9668
|
# max_results: 1,
|
9669
|
+
# transaction_id: "TransactionIdString",
|
9670
|
+
# query_as_of_time: Time.now,
|
9623
9671
|
# }
|
9624
9672
|
#
|
9625
9673
|
# @!attribute [rw] catalog_id
|
@@ -9645,6 +9693,16 @@ module Aws::Glue
|
|
9645
9693
|
# The maximum number of tables to return in a single response.
|
9646
9694
|
# @return [Integer]
|
9647
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
|
+
#
|
9648
9706
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTablesRequest AWS API Documentation
|
9649
9707
|
#
|
9650
9708
|
class GetTablesRequest < Struct.new(
|
@@ -9652,7 +9710,9 @@ module Aws::Glue
|
|
9652
9710
|
:database_name,
|
9653
9711
|
:expression,
|
9654
9712
|
:next_token,
|
9655
|
-
:max_results
|
9713
|
+
:max_results,
|
9714
|
+
:transaction_id,
|
9715
|
+
:query_as_of_time)
|
9656
9716
|
SENSITIVE = []
|
9657
9717
|
include Aws::Structure
|
9658
9718
|
end
|
@@ -10323,6 +10383,20 @@ module Aws::Glue
|
|
10323
10383
|
include Aws::Structure
|
10324
10384
|
end
|
10325
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
|
+
|
10326
10400
|
# Specifies a JDBC data store to crawl.
|
10327
10401
|
#
|
10328
10402
|
# @note When making an API call, you may pass JdbcTarget
|
@@ -13520,6 +13594,20 @@ module Aws::Glue
|
|
13520
13594
|
include Aws::Structure
|
13521
13595
|
end
|
13522
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
|
+
|
13523
13611
|
# A resource numerical limit was exceeded.
|
13524
13612
|
#
|
13525
13613
|
# @!attribute [rw] message
|
@@ -17409,6 +17497,7 @@ module Aws::Glue
|
|
17409
17497
|
# },
|
17410
17498
|
# },
|
17411
17499
|
# skip_archive: false,
|
17500
|
+
# transaction_id: "TransactionIdString",
|
17412
17501
|
# }
|
17413
17502
|
#
|
17414
17503
|
# @!attribute [rw] catalog_id
|
@@ -17432,13 +17521,18 @@ module Aws::Glue
|
|
17432
17521
|
# `UpdateTable` does not create the archived version.
|
17433
17522
|
# @return [Boolean]
|
17434
17523
|
#
|
17524
|
+
# @!attribute [rw] transaction_id
|
17525
|
+
# The transaction ID at which to update the table contents.
|
17526
|
+
# @return [String]
|
17527
|
+
#
|
17435
17528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest AWS API Documentation
|
17436
17529
|
#
|
17437
17530
|
class UpdateTableRequest < Struct.new(
|
17438
17531
|
:catalog_id,
|
17439
17532
|
:database_name,
|
17440
17533
|
:table_input,
|
17441
|
-
:skip_archive
|
17534
|
+
:skip_archive,
|
17535
|
+
:transaction_id)
|
17442
17536
|
SENSITIVE = []
|
17443
17537
|
include Aws::Structure
|
17444
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-
|
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
|