aws-sdk-glue 1.97.0 → 1.101.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b1a58e5625290cb8c02f9b8fd41a636838f0db692bbff2bdc6d9c5bf55fa642
4
- data.tar.gz: ace2493e4c9e4de71627e29758b0167447205ba3fa233ff1b351b1e105688700
3
+ metadata.gz: 587e5aca8bab4ee3d7ef77e1b509e83c99feeba4486843284cd874476fb48a72
4
+ data.tar.gz: e307bc3a793067d9052b11e5c45d2d10697344dae5915ff08282195fa18ce73a
5
5
  SHA512:
6
- metadata.gz: e1197158c5d308e3c5a050f160a21c734f7d3bcb79a5b309a68a27ed4d2c9060765424b0caa1bb8af8d9cb216f8390790302979136dfaf446093110a4a2db1e9
7
- data.tar.gz: 6a7c3caff3747e826bbd683a9bc0560658f089a0b7d218bec9edb8d0c77ba197c6dad1e4de28f98fa9b5084789bf66b88f12167c846cab8dd5eb10cf393e7eac
6
+ metadata.gz: c68e80d3d5ae8c526b6c613d3ad86dfdac321fdb27496ab226c8c4980d79114d00cd7c0bc29817f325d8784ffd218c6133996caff5ff06eb7e9aa1a44f575d75
7
+ data.tar.gz: 483d9275bc56034e10c44f49dd6c9de26fe21cefc8a8b2023c16d6299a6a188fa8cb840e149c07cc143b035dfbfff84fc3369f83612093f7ac68d9ddf70f41be
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.101.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.100.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Support for DataLake transactions
13
+
14
+ 1.99.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.98.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.97.0 (2021-10-15)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.97.0
1
+ 1.101.0
@@ -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
  #
@@ -561,6 +581,9 @@ module Aws::Glue
561
581
  # @option params [required, Array<String>] :tables_to_delete
562
582
  # A list of the table to delete.
563
583
  #
584
+ # @option params [String] :transaction_id
585
+ # The transaction ID at which to delete the table contents.
586
+ #
564
587
  # @return [Types::BatchDeleteTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
565
588
  #
566
589
  # * {Types::BatchDeleteTableResponse#errors #errors} => Array&lt;Types::TableError&gt;
@@ -571,6 +594,7 @@ module Aws::Glue
571
594
  # catalog_id: "CatalogIdString",
572
595
  # database_name: "NameString", # required
573
596
  # tables_to_delete: ["NameString"], # required
597
+ # transaction_id: "TransactionIdString",
574
598
  # })
575
599
  #
576
600
  # @example Response structure
@@ -2905,6 +2929,9 @@ module Aws::Glue
2905
2929
  # A list of partition indexes, `PartitionIndex` structures, to create in
2906
2930
  # the table.
2907
2931
  #
2932
+ # @option params [String] :transaction_id
2933
+ # The ID of the transaction.
2934
+ #
2908
2935
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2909
2936
  #
2910
2937
  # @example Request syntax with placeholder values
@@ -2998,6 +3025,7 @@ module Aws::Glue
2998
3025
  # index_name: "NameString", # required
2999
3026
  # },
3000
3027
  # ],
3028
+ # transaction_id: "TransactionIdString",
3001
3029
  # })
3002
3030
  #
3003
3031
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
@@ -3819,6 +3847,9 @@ module Aws::Glue
3819
3847
  # The name of the table to be deleted. For Hive compatibility, this name
3820
3848
  # is entirely lowercase.
3821
3849
  #
3850
+ # @option params [String] :transaction_id
3851
+ # The transaction ID at which to delete the table contents.
3852
+ #
3822
3853
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3823
3854
  #
3824
3855
  # @example Request syntax with placeholder values
@@ -3827,6 +3858,7 @@ module Aws::Glue
3827
3858
  # catalog_id: "CatalogIdString",
3828
3859
  # database_name: "NameString", # required
3829
3860
  # name: "NameString", # required
3861
+ # transaction_id: "TransactionIdString",
3830
3862
  # })
3831
3863
  #
3832
3864
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable AWS API Documentation
@@ -6037,6 +6069,14 @@ module Aws::Glue
6037
6069
  # partition values or location. This approach avoids the problem of a
6038
6070
  # large response by not returning duplicate data.
6039
6071
  #
6072
+ # @option params [String] :transaction_id
6073
+ # The transaction ID at which to read the partition contents.
6074
+ #
6075
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
6076
+ # The time as of when to read the partition contents. If not set, the
6077
+ # most recent transaction commit time will be used. Cannot be specified
6078
+ # along with `TransactionId`.
6079
+ #
6040
6080
  # @return [Types::GetPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6041
6081
  #
6042
6082
  # * {Types::GetPartitionsResponse#partitions #partitions} => Array&lt;Types::Partition&gt;
@@ -6058,6 +6098,8 @@ module Aws::Glue
6058
6098
  # },
6059
6099
  # max_results: 1,
6060
6100
  # exclude_column_schema: false,
6101
+ # transaction_id: "TransactionIdString",
6102
+ # query_as_of_time: Time.now,
6061
6103
  # })
6062
6104
  #
6063
6105
  # @example Response structure
@@ -6690,6 +6732,14 @@ module Aws::Glue
6690
6732
  # The name of the table for which to retrieve the definition. For Hive
6691
6733
  # compatibility, this name is entirely lowercase.
6692
6734
  #
6735
+ # @option params [String] :transaction_id
6736
+ # The transaction ID at which to read the table contents.
6737
+ #
6738
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
6739
+ # The time as of when to read the table contents. If not set, the most
6740
+ # recent transaction commit time will be used. Cannot be specified along
6741
+ # with `TransactionId`.
6742
+ #
6693
6743
  # @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6694
6744
  #
6695
6745
  # * {Types::GetTableResponse#table #table} => Types::Table
@@ -6700,6 +6750,8 @@ module Aws::Glue
6700
6750
  # catalog_id: "CatalogIdString",
6701
6751
  # database_name: "NameString", # required
6702
6752
  # name: "NameString", # required
6753
+ # transaction_id: "TransactionIdString",
6754
+ # query_as_of_time: Time.now,
6703
6755
  # })
6704
6756
  #
6705
6757
  # @example Response structure
@@ -7012,6 +7064,14 @@ module Aws::Glue
7012
7064
  # @option params [Integer] :max_results
7013
7065
  # The maximum number of tables to return in a single response.
7014
7066
  #
7067
+ # @option params [String] :transaction_id
7068
+ # The transaction ID at which to read the table contents.
7069
+ #
7070
+ # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time
7071
+ # The time as of when to read the table contents. If not set, the most
7072
+ # recent transaction commit time will be used. Cannot be specified along
7073
+ # with `TransactionId`.
7074
+ #
7015
7075
  # @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7016
7076
  #
7017
7077
  # * {Types::GetTablesResponse#table_list #table_list} => Array&lt;Types::Table&gt;
@@ -7027,6 +7087,8 @@ module Aws::Glue
7027
7087
  # expression: "FilterString",
7028
7088
  # next_token: "Token",
7029
7089
  # max_results: 1,
7090
+ # transaction_id: "TransactionIdString",
7091
+ # query_as_of_time: Time.now,
7030
7092
  # })
7031
7093
  #
7032
7094
  # @example Response structure
@@ -10771,6 +10833,9 @@ module Aws::Glue
10771
10833
  # table before updating it. However, if `skipArchive` is set to true,
10772
10834
  # `UpdateTable` does not create the archived version.
10773
10835
  #
10836
+ # @option params [String] :transaction_id
10837
+ # The transaction ID at which to update the table contents.
10838
+ #
10774
10839
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
10775
10840
  #
10776
10841
  # @example Request syntax with placeholder values
@@ -10859,6 +10924,7 @@ module Aws::Glue
10859
10924
  # },
10860
10925
  # },
10861
10926
  # skip_archive: false,
10927
+ # transaction_id: "TransactionIdString",
10862
10928
  # })
10863
10929
  #
10864
10930
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation
@@ -11068,7 +11134,7 @@ module Aws::Glue
11068
11134
  params: params,
11069
11135
  config: config)
11070
11136
  context[:gem_name] = 'aws-sdk-glue'
11071
- context[:gem_version] = '1.97.0'
11137
+ context[:gem_version] = '1.101.0'
11072
11138
  Seahorse::Client::Request.new(handlers, context)
11073
11139
  end
11074
11140
 
@@ -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|
@@ -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
@@ -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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-glue/customizations'
48
48
  # @!group service
49
49
  module Aws::Glue
50
50
 
51
- GEM_VERSION = '1.97.0'
51
+ GEM_VERSION = '1.101.0'
52
52
 
53
53
  end
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.97.0
4
+ version: 1.101.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-10-15 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.120.0
22
+ version: 3.125.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.120.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement