aws-sdk-glue 1.3.0 → 1.4.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
  SHA1:
3
- metadata.gz: 02bccc4bb26ca2f9e016ea3f6e5b212bf8add3e5
4
- data.tar.gz: de00da7120b3de6cecaf3cf8d43a862b662abdae
3
+ metadata.gz: 24d445279844ee66362df1da9ef16038c9cd6e2e
4
+ data.tar.gz: 570becb7948bff023fd4848ef3a510492d44c720
5
5
  SHA512:
6
- metadata.gz: cb57e20e844395594e3703aca9307e6106beb3cf15d651ec0f6d6aedc0fb13b2eb1c5b44cb2b8b39ec642393601e1ad602957aac6e7c50dd79b99c024481d188
7
- data.tar.gz: a9ea86f48cecd68f38dde1e355ee63366b85c355e3ff2da2122b99afdea067fad050fdd6c2897e55dd94b35239d32b7f8ac80fec21f560d125f039660fb8c338
6
+ metadata.gz: f6040c954b7856526b55b38f21343d3bc6e03057b6d234246a6f9844ca861c0ea44499f58ecbce54c2cbee1274f025164c0806ea42152bfa9b542a987e0da096
7
+ data.tar.gz: ab149df70ecc73b9b5a699f4fd81f149ef4c5b609395ab8dc20492f4cbff02528dfd09c2c496d6019390ed65fe5c99a2b08248e16fe9f954986c4640fcc8775b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-glue/customizations'
42
42
  # @service
43
43
  module Aws::Glue
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -348,6 +348,7 @@ module Aws::Glue
348
348
  #
349
349
  # @option params [required, String] :database_name
350
350
  # The name of the catalog database where the tables to delete reside.
351
+ # For Hive compatibility, this name is entirely lowercase.
351
352
  #
352
353
  # @option params [required, Array<String>] :tables_to_delete
353
354
  # A list of the table to delete.
@@ -380,6 +381,53 @@ module Aws::Glue
380
381
  req.send_request(options)
381
382
  end
382
383
 
384
+ # Deletes a specified batch of versions of a table.
385
+ #
386
+ # @option params [String] :catalog_id
387
+ # The ID of the Data Catalog where the tables reside. If none is
388
+ # supplied, the AWS account ID is used by default.
389
+ #
390
+ # @option params [required, String] :database_name
391
+ # The database in the catalog in which the table resides. For Hive
392
+ # compatibility, this name is entirely lowercase.
393
+ #
394
+ # @option params [required, String] :table_name
395
+ # The name of the table. For Hive compatibility, this name is entirely
396
+ # lowercase.
397
+ #
398
+ # @option params [required, Array<String>] :version_ids
399
+ # A list of the IDs of versions to be deleted.
400
+ #
401
+ # @return [Types::BatchDeleteTableVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
402
+ #
403
+ # * {Types::BatchDeleteTableVersionResponse#errors #errors} => Array&lt;Types::TableVersionError&gt;
404
+ #
405
+ # @example Request syntax with placeholder values
406
+ #
407
+ # resp = client.batch_delete_table_version({
408
+ # catalog_id: "CatalogIdString",
409
+ # database_name: "NameString", # required
410
+ # table_name: "NameString", # required
411
+ # version_ids: ["VersionString"], # required
412
+ # })
413
+ #
414
+ # @example Response structure
415
+ #
416
+ # resp.errors #=> Array
417
+ # resp.errors[0].table_name #=> String
418
+ # resp.errors[0].version_id #=> String
419
+ # resp.errors[0].error_detail.error_code #=> String
420
+ # resp.errors[0].error_detail.error_message #=> String
421
+ #
422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersion AWS API Documentation
423
+ #
424
+ # @overload batch_delete_table_version(params = {})
425
+ # @param [Hash] params ({})
426
+ def batch_delete_table_version(params = {}, options = {})
427
+ req = build_request(:batch_delete_table_version, params)
428
+ req.send_request(options)
429
+ end
430
+
383
431
  # Retrieves partitions in a batch request.
384
432
  #
385
433
  # @option params [String] :catalog_id
@@ -557,11 +605,11 @@ module Aws::Glue
557
605
  # resp = client.create_connection({
558
606
  # catalog_id: "CatalogIdString",
559
607
  # connection_input: { # required
560
- # name: "NameString",
608
+ # name: "NameString", # required
561
609
  # description: "DescriptionString",
562
- # connection_type: "JDBC", # accepts JDBC, SFTP
610
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP
563
611
  # match_criteria: ["NameString"],
564
- # connection_properties: {
612
+ # connection_properties: { # required
565
613
  # "HOST" => "ValueString",
566
614
  # },
567
615
  # physical_connection_requirements: {
@@ -1055,7 +1103,8 @@ module Aws::Glue
1055
1103
  # supplied, the AWS account ID is used by default.
1056
1104
  #
1057
1105
  # @option params [required, String] :database_name
1058
- # The catalog database in which to create the new table.
1106
+ # The catalog database in which to create the new table. For Hive
1107
+ # compatibility, this name is entirely lowercase.
1059
1108
  #
1060
1109
  # @option params [required, Types::TableInput] :table_input
1061
1110
  # The `TableInput` object that defines the metadata table to create in
@@ -1335,7 +1384,8 @@ module Aws::Glue
1335
1384
  # supplied, the AWS account ID is used by default.
1336
1385
  #
1337
1386
  # @option params [required, String] :name
1338
- # The name of the Database to delete.
1387
+ # The name of the Database to delete. For Hive compatibility, this must
1388
+ # be all lowercase.
1339
1389
  #
1340
1390
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1341
1391
  #
@@ -1449,10 +1499,12 @@ module Aws::Glue
1449
1499
  # supplied, the AWS account ID is used by default.
1450
1500
  #
1451
1501
  # @option params [required, String] :database_name
1452
- # The name of the catalog database in which the table resides.
1502
+ # The name of the catalog database in which the table resides. For Hive
1503
+ # compatibility, this name is entirely lowercase.
1453
1504
  #
1454
1505
  # @option params [required, String] :name
1455
- # The name of the table to be deleted.
1506
+ # The name of the table to be deleted. For Hive compatibility, this name
1507
+ # is entirely lowercase.
1456
1508
  #
1457
1509
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1458
1510
  #
@@ -1473,6 +1525,43 @@ module Aws::Glue
1473
1525
  req.send_request(options)
1474
1526
  end
1475
1527
 
1528
+ # Deletes a specified version of a table.
1529
+ #
1530
+ # @option params [String] :catalog_id
1531
+ # The ID of the Data Catalog where the tables reside. If none is
1532
+ # supplied, the AWS account ID is used by default.
1533
+ #
1534
+ # @option params [required, String] :database_name
1535
+ # The database in the catalog in which the table resides. For Hive
1536
+ # compatibility, this name is entirely lowercase.
1537
+ #
1538
+ # @option params [required, String] :table_name
1539
+ # The name of the table. For Hive compatibility, this name is entirely
1540
+ # lowercase.
1541
+ #
1542
+ # @option params [required, String] :version_id
1543
+ # The ID of the table version to be deleted.
1544
+ #
1545
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1546
+ #
1547
+ # @example Request syntax with placeholder values
1548
+ #
1549
+ # resp = client.delete_table_version({
1550
+ # catalog_id: "CatalogIdString",
1551
+ # database_name: "NameString", # required
1552
+ # table_name: "NameString", # required
1553
+ # version_id: "VersionString", # required
1554
+ # })
1555
+ #
1556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion AWS API Documentation
1557
+ #
1558
+ # @overload delete_table_version(params = {})
1559
+ # @param [Hash] params ({})
1560
+ def delete_table_version(params = {}, options = {})
1561
+ req = build_request(:delete_table_version, params)
1562
+ req.send_request(options)
1563
+ end
1564
+
1476
1565
  # Deletes a specified trigger. If the trigger is not found, no exception
1477
1566
  # is thrown.
1478
1567
  #
@@ -1935,7 +2024,8 @@ module Aws::Glue
1935
2024
  # supplied, the AWS account ID is used by default.
1936
2025
  #
1937
2026
  # @option params [required, String] :name
1938
- # The name of the database to retrieve.
2027
+ # The name of the database to retrieve. For Hive compatibility, this
2028
+ # should be all lowercase.
1939
2029
  #
1940
2030
  # @return [Types::GetDatabaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1941
2031
  #
@@ -2669,9 +2759,11 @@ module Aws::Glue
2669
2759
  #
2670
2760
  # @option params [required, String] :database_name
2671
2761
  # The name of the database in the catalog in which the table resides.
2762
+ # For Hive compatibility, this name is entirely lowercase.
2672
2763
  #
2673
2764
  # @option params [required, String] :name
2674
- # The name of the table for which to retrieve the definition.
2765
+ # The name of the table for which to retrieve the definition. For Hive
2766
+ # compatibility, this name is entirely lowercase.
2675
2767
  #
2676
2768
  # @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2677
2769
  #
@@ -2743,6 +2835,95 @@ module Aws::Glue
2743
2835
  req.send_request(options)
2744
2836
  end
2745
2837
 
2838
+ # Retrieves a specified version of a table.
2839
+ #
2840
+ # @option params [String] :catalog_id
2841
+ # The ID of the Data Catalog where the tables reside. If none is
2842
+ # supplied, the AWS account ID is used by default.
2843
+ #
2844
+ # @option params [required, String] :database_name
2845
+ # The database in the catalog in which the table resides. For Hive
2846
+ # compatibility, this name is entirely lowercase.
2847
+ #
2848
+ # @option params [required, String] :table_name
2849
+ # The name of the table. For Hive compatibility, this name is entirely
2850
+ # lowercase.
2851
+ #
2852
+ # @option params [String] :version_id
2853
+ # The ID value of the table version to be retrieved.
2854
+ #
2855
+ # @return [Types::GetTableVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2856
+ #
2857
+ # * {Types::GetTableVersionResponse#table_version #table_version} => Types::TableVersion
2858
+ #
2859
+ # @example Request syntax with placeholder values
2860
+ #
2861
+ # resp = client.get_table_version({
2862
+ # catalog_id: "CatalogIdString",
2863
+ # database_name: "NameString", # required
2864
+ # table_name: "NameString", # required
2865
+ # version_id: "VersionString",
2866
+ # })
2867
+ #
2868
+ # @example Response structure
2869
+ #
2870
+ # resp.table_version.table.name #=> String
2871
+ # resp.table_version.table.database_name #=> String
2872
+ # resp.table_version.table.description #=> String
2873
+ # resp.table_version.table.owner #=> String
2874
+ # resp.table_version.table.create_time #=> Time
2875
+ # resp.table_version.table.update_time #=> Time
2876
+ # resp.table_version.table.last_access_time #=> Time
2877
+ # resp.table_version.table.last_analyzed_time #=> Time
2878
+ # resp.table_version.table.retention #=> Integer
2879
+ # resp.table_version.table.storage_descriptor.columns #=> Array
2880
+ # resp.table_version.table.storage_descriptor.columns[0].name #=> String
2881
+ # resp.table_version.table.storage_descriptor.columns[0].type #=> String
2882
+ # resp.table_version.table.storage_descriptor.columns[0].comment #=> String
2883
+ # resp.table_version.table.storage_descriptor.location #=> String
2884
+ # resp.table_version.table.storage_descriptor.input_format #=> String
2885
+ # resp.table_version.table.storage_descriptor.output_format #=> String
2886
+ # resp.table_version.table.storage_descriptor.compressed #=> Boolean
2887
+ # resp.table_version.table.storage_descriptor.number_of_buckets #=> Integer
2888
+ # resp.table_version.table.storage_descriptor.serde_info.name #=> String
2889
+ # resp.table_version.table.storage_descriptor.serde_info.serialization_library #=> String
2890
+ # resp.table_version.table.storage_descriptor.serde_info.parameters #=> Hash
2891
+ # resp.table_version.table.storage_descriptor.serde_info.parameters["KeyString"] #=> String
2892
+ # resp.table_version.table.storage_descriptor.bucket_columns #=> Array
2893
+ # resp.table_version.table.storage_descriptor.bucket_columns[0] #=> String
2894
+ # resp.table_version.table.storage_descriptor.sort_columns #=> Array
2895
+ # resp.table_version.table.storage_descriptor.sort_columns[0].column #=> String
2896
+ # resp.table_version.table.storage_descriptor.sort_columns[0].sort_order #=> Integer
2897
+ # resp.table_version.table.storage_descriptor.parameters #=> Hash
2898
+ # resp.table_version.table.storage_descriptor.parameters["KeyString"] #=> String
2899
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_names #=> Array
2900
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_names[0] #=> String
2901
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_values #=> Array
2902
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_values[0] #=> String
2903
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_value_location_maps #=> Hash
2904
+ # resp.table_version.table.storage_descriptor.skewed_info.skewed_column_value_location_maps["ColumnValuesString"] #=> String
2905
+ # resp.table_version.table.storage_descriptor.stored_as_sub_directories #=> Boolean
2906
+ # resp.table_version.table.partition_keys #=> Array
2907
+ # resp.table_version.table.partition_keys[0].name #=> String
2908
+ # resp.table_version.table.partition_keys[0].type #=> String
2909
+ # resp.table_version.table.partition_keys[0].comment #=> String
2910
+ # resp.table_version.table.view_original_text #=> String
2911
+ # resp.table_version.table.view_expanded_text #=> String
2912
+ # resp.table_version.table.table_type #=> String
2913
+ # resp.table_version.table.parameters #=> Hash
2914
+ # resp.table_version.table.parameters["KeyString"] #=> String
2915
+ # resp.table_version.table.created_by #=> String
2916
+ # resp.table_version.version_id #=> String
2917
+ #
2918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion AWS API Documentation
2919
+ #
2920
+ # @overload get_table_version(params = {})
2921
+ # @param [Hash] params ({})
2922
+ def get_table_version(params = {}, options = {})
2923
+ req = build_request(:get_table_version, params)
2924
+ req.send_request(options)
2925
+ end
2926
+
2746
2927
  # Retrieves a list of strings that identify available versions of a
2747
2928
  # specified table.
2748
2929
  #
@@ -2751,10 +2932,12 @@ module Aws::Glue
2751
2932
  # supplied, the AWS account ID is used by default.
2752
2933
  #
2753
2934
  # @option params [required, String] :database_name
2754
- # The database in the catalog in which the table resides.
2935
+ # The database in the catalog in which the table resides. For Hive
2936
+ # compatibility, this name is entirely lowercase.
2755
2937
  #
2756
2938
  # @option params [required, String] :table_name
2757
- # The name of the table.
2939
+ # The name of the table. For Hive compatibility, this name is entirely
2940
+ # lowercase.
2758
2941
  #
2759
2942
  # @option params [String] :next_token
2760
2943
  # A continuation token, if this is not the first call.
@@ -2846,7 +3029,8 @@ module Aws::Glue
2846
3029
  # supplied, the AWS account ID is used by default.
2847
3030
  #
2848
3031
  # @option params [required, String] :database_name
2849
- # The database in the catalog whose tables to list.
3032
+ # The database in the catalog whose tables to list. For Hive
3033
+ # compatibility, this name is entirely lowercase.
2850
3034
  #
2851
3035
  # @option params [String] :expression
2852
3036
  # A regular expression pattern. If present, only those tables whose
@@ -3461,11 +3645,11 @@ module Aws::Glue
3461
3645
  # catalog_id: "CatalogIdString",
3462
3646
  # name: "NameString", # required
3463
3647
  # connection_input: { # required
3464
- # name: "NameString",
3648
+ # name: "NameString", # required
3465
3649
  # description: "DescriptionString",
3466
- # connection_type: "JDBC", # accepts JDBC, SFTP
3650
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP
3467
3651
  # match_criteria: ["NameString"],
3468
- # connection_properties: {
3652
+ # connection_properties: { # required
3469
3653
  # "HOST" => "ValueString",
3470
3654
  # },
3471
3655
  # physical_connection_requirements: {
@@ -3621,7 +3805,8 @@ module Aws::Glue
3621
3805
  # none is supplied, the AWS account ID is used by default.
3622
3806
  #
3623
3807
  # @option params [required, String] :name
3624
- # The name of the metadata database to update in the catalog.
3808
+ # The name of the database to update in the catalog. For Hive
3809
+ # compatibility, this is folded to lowercase.
3625
3810
  #
3626
3811
  # @option params [required, Types::DatabaseInput] :database_input
3627
3812
  # A `DatabaseInput` object specifying the new definition of the metadata
@@ -3835,12 +4020,18 @@ module Aws::Glue
3835
4020
  # supplied, the AWS account ID is used by default.
3836
4021
  #
3837
4022
  # @option params [required, String] :database_name
3838
- # The name of the catalog database in which the table resides.
4023
+ # The name of the catalog database in which the table resides. For Hive
4024
+ # compatibility, this name is entirely lowercase.
3839
4025
  #
3840
4026
  # @option params [required, Types::TableInput] :table_input
3841
4027
  # An updated `TableInput` object to define the metadata table in the
3842
4028
  # catalog.
3843
4029
  #
4030
+ # @option params [Boolean] :skip_archive
4031
+ # By default, `UpdateTable` always creates an archived version of the
4032
+ # table before updating it. If `skipArchive` is set to true, however,
4033
+ # `UpdateTable` does not create the archived version.
4034
+ #
3844
4035
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3845
4036
  #
3846
4037
  # @example Request syntax with placeholder values
@@ -3908,6 +4099,7 @@ module Aws::Glue
3908
4099
  # "KeyString" => "ParametersMapValue",
3909
4100
  # },
3910
4101
  # },
4102
+ # skip_archive: false,
3911
4103
  # })
3912
4104
  #
3913
4105
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation
@@ -4048,7 +4240,7 @@ module Aws::Glue
4048
4240
  params: params,
4049
4241
  config: config)
4050
4242
  context[:gem_name] = 'aws-sdk-glue'
4051
- context[:gem_version] = '1.3.0'
4243
+ context[:gem_version] = '1.4.0'
4052
4244
  Seahorse::Client::Request.new(handlers, context)
4053
4245
  end
4054
4246
 
@@ -26,6 +26,9 @@ module Aws::Glue
26
26
  BatchDeleteTableNameList = Shapes::ListShape.new(name: 'BatchDeleteTableNameList')
27
27
  BatchDeleteTableRequest = Shapes::StructureShape.new(name: 'BatchDeleteTableRequest')
28
28
  BatchDeleteTableResponse = Shapes::StructureShape.new(name: 'BatchDeleteTableResponse')
29
+ BatchDeleteTableVersionList = Shapes::ListShape.new(name: 'BatchDeleteTableVersionList')
30
+ BatchDeleteTableVersionRequest = Shapes::StructureShape.new(name: 'BatchDeleteTableVersionRequest')
31
+ BatchDeleteTableVersionResponse = Shapes::StructureShape.new(name: 'BatchDeleteTableVersionResponse')
29
32
  BatchGetPartitionRequest = Shapes::StructureShape.new(name: 'BatchGetPartitionRequest')
30
33
  BatchGetPartitionResponse = Shapes::StructureShape.new(name: 'BatchGetPartitionResponse')
31
34
  BatchGetPartitionValueList = Shapes::ListShape.new(name: 'BatchGetPartitionValueList')
@@ -37,6 +40,7 @@ module Aws::Glue
37
40
  BatchStopJobRunSuccessfulSubmission = Shapes::StructureShape.new(name: 'BatchStopJobRunSuccessfulSubmission')
38
41
  BatchStopJobRunSuccessfulSubmissionList = Shapes::ListShape.new(name: 'BatchStopJobRunSuccessfulSubmissionList')
39
42
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
43
+ BooleanNullable = Shapes::BooleanShape.new(name: 'BooleanNullable')
40
44
  BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
41
45
  BoundedPartitionValueList = Shapes::ListShape.new(name: 'BoundedPartitionValueList')
42
46
  CatalogEntries = Shapes::ListShape.new(name: 'CatalogEntries')
@@ -134,6 +138,8 @@ module Aws::Glue
134
138
  DeletePartitionResponse = Shapes::StructureShape.new(name: 'DeletePartitionResponse')
135
139
  DeleteTableRequest = Shapes::StructureShape.new(name: 'DeleteTableRequest')
136
140
  DeleteTableResponse = Shapes::StructureShape.new(name: 'DeleteTableResponse')
141
+ DeleteTableVersionRequest = Shapes::StructureShape.new(name: 'DeleteTableVersionRequest')
142
+ DeleteTableVersionResponse = Shapes::StructureShape.new(name: 'DeleteTableVersionResponse')
137
143
  DeleteTriggerRequest = Shapes::StructureShape.new(name: 'DeleteTriggerRequest')
138
144
  DeleteTriggerResponse = Shapes::StructureShape.new(name: 'DeleteTriggerResponse')
139
145
  DeleteUserDefinedFunctionRequest = Shapes::StructureShape.new(name: 'DeleteUserDefinedFunctionRequest')
@@ -198,6 +204,8 @@ module Aws::Glue
198
204
  GetPlanResponse = Shapes::StructureShape.new(name: 'GetPlanResponse')
199
205
  GetTableRequest = Shapes::StructureShape.new(name: 'GetTableRequest')
200
206
  GetTableResponse = Shapes::StructureShape.new(name: 'GetTableResponse')
207
+ GetTableVersionRequest = Shapes::StructureShape.new(name: 'GetTableVersionRequest')
208
+ GetTableVersionResponse = Shapes::StructureShape.new(name: 'GetTableVersionResponse')
201
209
  GetTableVersionsList = Shapes::ListShape.new(name: 'GetTableVersionsList')
202
210
  GetTableVersionsRequest = Shapes::StructureShape.new(name: 'GetTableVersionsRequest')
203
211
  GetTableVersionsResponse = Shapes::StructureShape.new(name: 'GetTableVersionsResponse')
@@ -330,6 +338,8 @@ module Aws::Glue
330
338
  TablePrefix = Shapes::StringShape.new(name: 'TablePrefix')
331
339
  TableTypeString = Shapes::StringShape.new(name: 'TableTypeString')
332
340
  TableVersion = Shapes::StructureShape.new(name: 'TableVersion')
341
+ TableVersionError = Shapes::StructureShape.new(name: 'TableVersionError')
342
+ TableVersionErrors = Shapes::ListShape.new(name: 'TableVersionErrors')
333
343
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
334
344
  TimestampValue = Shapes::TimestampShape.new(name: 'TimestampValue')
335
345
  Token = Shapes::StringShape.new(name: 'Token')
@@ -422,6 +432,17 @@ module Aws::Glue
422
432
  BatchDeleteTableResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TableErrors, location_name: "Errors"))
423
433
  BatchDeleteTableResponse.struct_class = Types::BatchDeleteTableResponse
424
434
 
435
+ BatchDeleteTableVersionList.member = Shapes::ShapeRef.new(shape: VersionString)
436
+
437
+ BatchDeleteTableVersionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
438
+ BatchDeleteTableVersionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
439
+ BatchDeleteTableVersionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
440
+ BatchDeleteTableVersionRequest.add_member(:version_ids, Shapes::ShapeRef.new(shape: BatchDeleteTableVersionList, required: true, location_name: "VersionIds"))
441
+ BatchDeleteTableVersionRequest.struct_class = Types::BatchDeleteTableVersionRequest
442
+
443
+ BatchDeleteTableVersionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: TableVersionErrors, location_name: "Errors"))
444
+ BatchDeleteTableVersionResponse.struct_class = Types::BatchDeleteTableVersionResponse
445
+
425
446
  BatchGetPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
426
447
  BatchGetPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
427
448
  BatchGetPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
@@ -523,11 +544,11 @@ module Aws::Glue
523
544
  Connection.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: NameString, location_name: "LastUpdatedBy"))
524
545
  Connection.struct_class = Types::Connection
525
546
 
526
- ConnectionInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
547
+ ConnectionInput.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
527
548
  ConnectionInput.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
528
- ConnectionInput.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, location_name: "ConnectionType"))
549
+ ConnectionInput.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, required: true, location_name: "ConnectionType"))
529
550
  ConnectionInput.add_member(:match_criteria, Shapes::ShapeRef.new(shape: MatchCriteria, location_name: "MatchCriteria"))
530
- ConnectionInput.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, location_name: "ConnectionProperties"))
551
+ ConnectionInput.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, required: true, location_name: "ConnectionProperties"))
531
552
  ConnectionInput.add_member(:physical_connection_requirements, Shapes::ShapeRef.new(shape: PhysicalConnectionRequirements, location_name: "PhysicalConnectionRequirements"))
532
553
  ConnectionInput.struct_class = Types::ConnectionInput
533
554
 
@@ -772,6 +793,14 @@ module Aws::Glue
772
793
 
773
794
  DeleteTableResponse.struct_class = Types::DeleteTableResponse
774
795
 
796
+ DeleteTableVersionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
797
+ DeleteTableVersionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
798
+ DeleteTableVersionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
799
+ DeleteTableVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, required: true, location_name: "VersionId"))
800
+ DeleteTableVersionRequest.struct_class = Types::DeleteTableVersionRequest
801
+
802
+ DeleteTableVersionResponse.struct_class = Types::DeleteTableVersionResponse
803
+
775
804
  DeleteTriggerRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
776
805
  DeleteTriggerRequest.struct_class = Types::DeleteTriggerRequest
777
806
 
@@ -1005,6 +1034,15 @@ module Aws::Glue
1005
1034
  GetTableResponse.add_member(:table, Shapes::ShapeRef.new(shape: Table, location_name: "Table"))
1006
1035
  GetTableResponse.struct_class = Types::GetTableResponse
1007
1036
 
1037
+ GetTableVersionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1038
+ GetTableVersionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1039
+ GetTableVersionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
1040
+ GetTableVersionRequest.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
1041
+ GetTableVersionRequest.struct_class = Types::GetTableVersionRequest
1042
+
1043
+ GetTableVersionResponse.add_member(:table_version, Shapes::ShapeRef.new(shape: TableVersion, location_name: "TableVersion"))
1044
+ GetTableVersionResponse.struct_class = Types::GetTableVersionResponse
1045
+
1008
1046
  GetTableVersionsList.member = Shapes::ShapeRef.new(shape: TableVersion)
1009
1047
 
1010
1048
  GetTableVersionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
@@ -1367,6 +1405,13 @@ module Aws::Glue
1367
1405
  TableVersion.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
1368
1406
  TableVersion.struct_class = Types::TableVersion
1369
1407
 
1408
+ TableVersionError.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, location_name: "TableName"))
1409
+ TableVersionError.add_member(:version_id, Shapes::ShapeRef.new(shape: VersionString, location_name: "VersionId"))
1410
+ TableVersionError.add_member(:error_detail, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "ErrorDetail"))
1411
+ TableVersionError.struct_class = Types::TableVersionError
1412
+
1413
+ TableVersionErrors.member = Shapes::ShapeRef.new(shape: TableVersionError)
1414
+
1370
1415
  Trigger.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
1371
1416
  Trigger.add_member(:id, Shapes::ShapeRef.new(shape: IdString, location_name: "Id"))
1372
1417
  Trigger.add_member(:type, Shapes::ShapeRef.new(shape: TriggerType, location_name: "Type"))
@@ -1459,6 +1504,7 @@ module Aws::Glue
1459
1504
  UpdateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1460
1505
  UpdateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
1461
1506
  UpdateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
1507
+ UpdateTableRequest.add_member(:skip_archive, Shapes::ShapeRef.new(shape: BooleanNullable, location_name: "SkipArchive"))
1462
1508
  UpdateTableRequest.struct_class = Types::UpdateTableRequest
1463
1509
 
1464
1510
  UpdateTableResponse.struct_class = Types::UpdateTableResponse
@@ -1573,6 +1619,18 @@ module Aws::Glue
1573
1619
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1574
1620
  end)
1575
1621
 
1622
+ api.add_operation(:batch_delete_table_version, Seahorse::Model::Operation.new.tap do |o|
1623
+ o.name = "BatchDeleteTableVersion"
1624
+ o.http_method = "POST"
1625
+ o.http_request_uri = "/"
1626
+ o.input = Shapes::ShapeRef.new(shape: BatchDeleteTableVersionRequest)
1627
+ o.output = Shapes::ShapeRef.new(shape: BatchDeleteTableVersionResponse)
1628
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1629
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1630
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1631
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1632
+ end)
1633
+
1576
1634
  api.add_operation(:batch_get_partition, Seahorse::Model::Operation.new.tap do |o|
1577
1635
  o.name = "BatchGetPartition"
1578
1636
  o.http_method = "POST"
@@ -1616,6 +1674,7 @@ module Aws::Glue
1616
1674
  o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1617
1675
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1618
1676
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1677
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
1619
1678
  end)
1620
1679
 
1621
1680
  api.add_operation(:create_crawler, Seahorse::Model::Operation.new.tap do |o|
@@ -1739,6 +1798,7 @@ module Aws::Glue
1739
1798
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1740
1799
  o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1741
1800
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1801
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
1742
1802
  end)
1743
1803
 
1744
1804
  api.add_operation(:delete_classifier, Seahorse::Model::Operation.new.tap do |o|
@@ -1832,6 +1892,18 @@ module Aws::Glue
1832
1892
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1833
1893
  end)
1834
1894
 
1895
+ api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
1896
+ o.name = "DeleteTableVersion"
1897
+ o.http_method = "POST"
1898
+ o.http_request_uri = "/"
1899
+ o.input = Shapes::ShapeRef.new(shape: DeleteTableVersionRequest)
1900
+ o.output = Shapes::ShapeRef.new(shape: DeleteTableVersionResponse)
1901
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1902
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1903
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1904
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1905
+ end)
1906
+
1835
1907
  api.add_operation(:delete_trigger, Seahorse::Model::Operation.new.tap do |o|
1836
1908
  o.name = "DeleteTrigger"
1837
1909
  o.http_method = "POST"
@@ -2152,6 +2224,18 @@ module Aws::Glue
2152
2224
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2153
2225
  end)
2154
2226
 
2227
+ api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
2228
+ o.name = "GetTableVersion"
2229
+ o.http_method = "POST"
2230
+ o.http_request_uri = "/"
2231
+ o.input = Shapes::ShapeRef.new(shape: GetTableVersionRequest)
2232
+ o.output = Shapes::ShapeRef.new(shape: GetTableVersionResponse)
2233
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2234
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2235
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2236
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2237
+ end)
2238
+
2155
2239
  api.add_operation(:get_table_versions, Seahorse::Model::Operation.new.tap do |o|
2156
2240
  o.name = "GetTableVersions"
2157
2241
  o.http_method = "POST"
@@ -2469,6 +2553,7 @@ module Aws::Glue
2469
2553
  o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2470
2554
  o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2471
2555
  o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
2556
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
2472
2557
  end)
2473
2558
 
2474
2559
  api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
@@ -264,6 +264,7 @@ module Aws::Glue
264
264
  #
265
265
  # @!attribute [rw] database_name
266
266
  # The name of the catalog database where the tables to delete reside.
267
+ # For Hive compatibility, this name is entirely lowercase.
267
268
  # @return [String]
268
269
  #
269
270
  # @!attribute [rw] tables_to_delete
@@ -291,6 +292,57 @@ module Aws::Glue
291
292
  include Aws::Structure
292
293
  end
293
294
 
295
+ # @note When making an API call, you may pass BatchDeleteTableVersionRequest
296
+ # data as a hash:
297
+ #
298
+ # {
299
+ # catalog_id: "CatalogIdString",
300
+ # database_name: "NameString", # required
301
+ # table_name: "NameString", # required
302
+ # version_ids: ["VersionString"], # required
303
+ # }
304
+ #
305
+ # @!attribute [rw] catalog_id
306
+ # The ID of the Data Catalog where the tables reside. If none is
307
+ # supplied, the AWS account ID is used by default.
308
+ # @return [String]
309
+ #
310
+ # @!attribute [rw] database_name
311
+ # The database in the catalog in which the table resides. For Hive
312
+ # compatibility, this name is entirely lowercase.
313
+ # @return [String]
314
+ #
315
+ # @!attribute [rw] table_name
316
+ # The name of the table. For Hive compatibility, this name is entirely
317
+ # lowercase.
318
+ # @return [String]
319
+ #
320
+ # @!attribute [rw] version_ids
321
+ # A list of the IDs of versions to be deleted.
322
+ # @return [Array<String>]
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersionRequest AWS API Documentation
325
+ #
326
+ class BatchDeleteTableVersionRequest < Struct.new(
327
+ :catalog_id,
328
+ :database_name,
329
+ :table_name,
330
+ :version_ids)
331
+ include Aws::Structure
332
+ end
333
+
334
+ # @!attribute [rw] errors
335
+ # A list of errors encountered while trying to delete the specified
336
+ # table versions.
337
+ # @return [Array<Types::TableVersionError>]
338
+ #
339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersionResponse AWS API Documentation
340
+ #
341
+ class BatchDeleteTableVersionResponse < Struct.new(
342
+ :errors)
343
+ include Aws::Structure
344
+ end
345
+
294
346
  # @note When making an API call, you may pass BatchGetPartitionRequest
295
347
  # data as a hash:
296
348
  #
@@ -744,11 +796,11 @@ module Aws::Glue
744
796
  # data as a hash:
745
797
  #
746
798
  # {
747
- # name: "NameString",
799
+ # name: "NameString", # required
748
800
  # description: "DescriptionString",
749
- # connection_type: "JDBC", # accepts JDBC, SFTP
801
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP
750
802
  # match_criteria: ["NameString"],
751
- # connection_properties: {
803
+ # connection_properties: { # required
752
804
  # "HOST" => "ValueString",
753
805
  # },
754
806
  # physical_connection_requirements: {
@@ -1051,11 +1103,11 @@ module Aws::Glue
1051
1103
  # {
1052
1104
  # catalog_id: "CatalogIdString",
1053
1105
  # connection_input: { # required
1054
- # name: "NameString",
1106
+ # name: "NameString", # required
1055
1107
  # description: "DescriptionString",
1056
- # connection_type: "JDBC", # accepts JDBC, SFTP
1108
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP
1057
1109
  # match_criteria: ["NameString"],
1058
- # connection_properties: {
1110
+ # connection_properties: { # required
1059
1111
  # "HOST" => "ValueString",
1060
1112
  # },
1061
1113
  # physical_connection_requirements: {
@@ -1774,7 +1826,8 @@ module Aws::Glue
1774
1826
  # @return [String]
1775
1827
  #
1776
1828
  # @!attribute [rw] database_name
1777
- # The catalog database in which to create the new table.
1829
+ # The catalog database in which to create the new table. For Hive
1830
+ # compatibility, this name is entirely lowercase.
1778
1831
  # @return [String]
1779
1832
  #
1780
1833
  # @!attribute [rw] table_input
@@ -1968,7 +2021,8 @@ module Aws::Glue
1968
2021
  # reside in a Hive metastore or an RDBMS.
1969
2022
  #
1970
2023
  # @!attribute [rw] name
1971
- # Name of the database.
2024
+ # Name of the database. For Hive compatibility, this is folded to
2025
+ # lowercase when it is stored.
1972
2026
  # @return [String]
1973
2027
  #
1974
2028
  # @!attribute [rw] description
@@ -1999,7 +2053,7 @@ module Aws::Glue
1999
2053
  include Aws::Structure
2000
2054
  end
2001
2055
 
2002
- # The structure used to create or updata a database.
2056
+ # The structure used to create or update a database.
2003
2057
  #
2004
2058
  # @note When making an API call, you may pass DatabaseInput
2005
2059
  # data as a hash:
@@ -2014,7 +2068,8 @@ module Aws::Glue
2014
2068
  # }
2015
2069
  #
2016
2070
  # @!attribute [rw] name
2017
- # Name of the database.
2071
+ # Name of the database. For Hive compatibility, this is folded to
2072
+ # lowercase when it is stored.
2018
2073
  # @return [String]
2019
2074
  #
2020
2075
  # @!attribute [rw] description
@@ -2127,7 +2182,8 @@ module Aws::Glue
2127
2182
  # @return [String]
2128
2183
  #
2129
2184
  # @!attribute [rw] name
2130
- # The name of the Database to delete.
2185
+ # The name of the Database to delete. For Hive compatibility, this
2186
+ # must be all lowercase.
2131
2187
  # @return [String]
2132
2188
  #
2133
2189
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabaseRequest AWS API Documentation
@@ -2250,11 +2306,13 @@ module Aws::Glue
2250
2306
  # @return [String]
2251
2307
  #
2252
2308
  # @!attribute [rw] database_name
2253
- # The name of the catalog database in which the table resides.
2309
+ # The name of the catalog database in which the table resides. For
2310
+ # Hive compatibility, this name is entirely lowercase.
2254
2311
  # @return [String]
2255
2312
  #
2256
2313
  # @!attribute [rw] name
2257
- # The name of the table to be deleted.
2314
+ # The name of the table to be deleted. For Hive compatibility, this
2315
+ # name is entirely lowercase.
2258
2316
  # @return [String]
2259
2317
  #
2260
2318
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableRequest AWS API Documentation
@@ -2270,6 +2328,49 @@ module Aws::Glue
2270
2328
  #
2271
2329
  class DeleteTableResponse < Aws::EmptyStructure; end
2272
2330
 
2331
+ # @note When making an API call, you may pass DeleteTableVersionRequest
2332
+ # data as a hash:
2333
+ #
2334
+ # {
2335
+ # catalog_id: "CatalogIdString",
2336
+ # database_name: "NameString", # required
2337
+ # table_name: "NameString", # required
2338
+ # version_id: "VersionString", # required
2339
+ # }
2340
+ #
2341
+ # @!attribute [rw] catalog_id
2342
+ # The ID of the Data Catalog where the tables reside. If none is
2343
+ # supplied, the AWS account ID is used by default.
2344
+ # @return [String]
2345
+ #
2346
+ # @!attribute [rw] database_name
2347
+ # The database in the catalog in which the table resides. For Hive
2348
+ # compatibility, this name is entirely lowercase.
2349
+ # @return [String]
2350
+ #
2351
+ # @!attribute [rw] table_name
2352
+ # The name of the table. For Hive compatibility, this name is entirely
2353
+ # lowercase.
2354
+ # @return [String]
2355
+ #
2356
+ # @!attribute [rw] version_id
2357
+ # The ID of the table version to be deleted.
2358
+ # @return [String]
2359
+ #
2360
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersionRequest AWS API Documentation
2361
+ #
2362
+ class DeleteTableVersionRequest < Struct.new(
2363
+ :catalog_id,
2364
+ :database_name,
2365
+ :table_name,
2366
+ :version_id)
2367
+ include Aws::Structure
2368
+ end
2369
+
2370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersionResponse AWS API Documentation
2371
+ #
2372
+ class DeleteTableVersionResponse < Aws::EmptyStructure; end
2373
+
2273
2374
  # @note When making an API call, you may pass DeleteTriggerRequest
2274
2375
  # data as a hash:
2275
2376
  #
@@ -2880,7 +2981,8 @@ module Aws::Glue
2880
2981
  # @return [String]
2881
2982
  #
2882
2983
  # @!attribute [rw] name
2883
- # The name of the database to retrieve.
2984
+ # The name of the database to retrieve. For Hive compatibility, this
2985
+ # should be all lowercase.
2884
2986
  # @return [String]
2885
2987
  #
2886
2988
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabaseRequest AWS API Documentation
@@ -3505,10 +3607,12 @@ module Aws::Glue
3505
3607
  #
3506
3608
  # @!attribute [rw] database_name
3507
3609
  # The name of the database in the catalog in which the table resides.
3610
+ # For Hive compatibility, this name is entirely lowercase.
3508
3611
  # @return [String]
3509
3612
  #
3510
3613
  # @!attribute [rw] name
3511
- # The name of the table for which to retrieve the definition.
3614
+ # The name of the table for which to retrieve the definition. For Hive
3615
+ # compatibility, this name is entirely lowercase.
3512
3616
  # @return [String]
3513
3617
  #
3514
3618
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableRequest AWS API Documentation
@@ -3531,6 +3635,56 @@ module Aws::Glue
3531
3635
  include Aws::Structure
3532
3636
  end
3533
3637
 
3638
+ # @note When making an API call, you may pass GetTableVersionRequest
3639
+ # data as a hash:
3640
+ #
3641
+ # {
3642
+ # catalog_id: "CatalogIdString",
3643
+ # database_name: "NameString", # required
3644
+ # table_name: "NameString", # required
3645
+ # version_id: "VersionString",
3646
+ # }
3647
+ #
3648
+ # @!attribute [rw] catalog_id
3649
+ # The ID of the Data Catalog where the tables reside. If none is
3650
+ # supplied, the AWS account ID is used by default.
3651
+ # @return [String]
3652
+ #
3653
+ # @!attribute [rw] database_name
3654
+ # The database in the catalog in which the table resides. For Hive
3655
+ # compatibility, this name is entirely lowercase.
3656
+ # @return [String]
3657
+ #
3658
+ # @!attribute [rw] table_name
3659
+ # The name of the table. For Hive compatibility, this name is entirely
3660
+ # lowercase.
3661
+ # @return [String]
3662
+ #
3663
+ # @!attribute [rw] version_id
3664
+ # The ID value of the table version to be retrieved.
3665
+ # @return [String]
3666
+ #
3667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionRequest AWS API Documentation
3668
+ #
3669
+ class GetTableVersionRequest < Struct.new(
3670
+ :catalog_id,
3671
+ :database_name,
3672
+ :table_name,
3673
+ :version_id)
3674
+ include Aws::Structure
3675
+ end
3676
+
3677
+ # @!attribute [rw] table_version
3678
+ # The requested table version.
3679
+ # @return [Types::TableVersion]
3680
+ #
3681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersionResponse AWS API Documentation
3682
+ #
3683
+ class GetTableVersionResponse < Struct.new(
3684
+ :table_version)
3685
+ include Aws::Structure
3686
+ end
3687
+
3534
3688
  # @note When making an API call, you may pass GetTableVersionsRequest
3535
3689
  # data as a hash:
3536
3690
  #
@@ -3548,11 +3702,13 @@ module Aws::Glue
3548
3702
  # @return [String]
3549
3703
  #
3550
3704
  # @!attribute [rw] database_name
3551
- # The database in the catalog in which the table resides.
3705
+ # The database in the catalog in which the table resides. For Hive
3706
+ # compatibility, this name is entirely lowercase.
3552
3707
  # @return [String]
3553
3708
  #
3554
3709
  # @!attribute [rw] table_name
3555
- # The name of the table.
3710
+ # The name of the table. For Hive compatibility, this name is entirely
3711
+ # lowercase.
3556
3712
  # @return [String]
3557
3713
  #
3558
3714
  # @!attribute [rw] next_token
@@ -3609,7 +3765,8 @@ module Aws::Glue
3609
3765
  # @return [String]
3610
3766
  #
3611
3767
  # @!attribute [rw] database_name
3612
- # The database in the catalog whose tables to list.
3768
+ # The database in the catalog whose tables to list. For Hive
3769
+ # compatibility, this name is entirely lowercase.
3613
3770
  # @return [String]
3614
3771
  #
3615
3772
  # @!attribute [rw] expression
@@ -4652,7 +4809,8 @@ module Aws::Glue
4652
4809
  # @return [Array<String>]
4653
4810
  #
4654
4811
  # @!attribute [rw] availability_zone
4655
- # The connection's availability zone.
4812
+ # The connection's availability zone. This field is deprecated and
4813
+ # has no effect.
4656
4814
  # @return [String]
4657
4815
  #
4658
4816
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PhysicalConnectionRequirements AWS API Documentation
@@ -5293,11 +5451,13 @@ module Aws::Glue
5293
5451
  # Represents a collection of related data organized in columns and rows.
5294
5452
  #
5295
5453
  # @!attribute [rw] name
5296
- # Name of the table.
5454
+ # Name of the table. For Hive compatibility, this must be entirely
5455
+ # lowercase.
5297
5456
  # @return [String]
5298
5457
  #
5299
5458
  # @!attribute [rw] database_name
5300
- # Name of the metadata database where the table metadata resides.
5459
+ # Name of the metadata database where the table metadata resides. For
5460
+ # Hive compatibility, this must be all lowercase.
5301
5461
  # @return [String]
5302
5462
  #
5303
5463
  # @!attribute [rw] description
@@ -5386,7 +5546,8 @@ module Aws::Glue
5386
5546
  # An error record for table operations.
5387
5547
  #
5388
5548
  # @!attribute [rw] table_name
5389
- # Name of the table.
5549
+ # Name of the table. For Hive compatibility, this must be entirely
5550
+ # lowercase.
5390
5551
  # @return [String]
5391
5552
  #
5392
5553
  # @!attribute [rw] error_detail
@@ -5468,7 +5629,8 @@ module Aws::Glue
5468
5629
  # }
5469
5630
  #
5470
5631
  # @!attribute [rw] name
5471
- # Name of the table.
5632
+ # Name of the table. For Hive compatibility, this is folded to
5633
+ # lowercase when it is stored.
5472
5634
  # @return [String]
5473
5635
  #
5474
5636
  # @!attribute [rw] description
@@ -5555,6 +5717,29 @@ module Aws::Glue
5555
5717
  include Aws::Structure
5556
5718
  end
5557
5719
 
5720
+ # An error record for table-version operations.
5721
+ #
5722
+ # @!attribute [rw] table_name
5723
+ # The name of the table in question.
5724
+ # @return [String]
5725
+ #
5726
+ # @!attribute [rw] version_id
5727
+ # The ID value of the version in question.
5728
+ # @return [String]
5729
+ #
5730
+ # @!attribute [rw] error_detail
5731
+ # Detail about the error.
5732
+ # @return [Types::ErrorDetail]
5733
+ #
5734
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableVersionError AWS API Documentation
5735
+ #
5736
+ class TableVersionError < Struct.new(
5737
+ :table_name,
5738
+ :version_id,
5739
+ :error_detail)
5740
+ include Aws::Structure
5741
+ end
5742
+
5558
5743
  # Information about a specific trigger.
5559
5744
  #
5560
5745
  # @!attribute [rw] name
@@ -5721,11 +5906,11 @@ module Aws::Glue
5721
5906
  # catalog_id: "CatalogIdString",
5722
5907
  # name: "NameString", # required
5723
5908
  # connection_input: { # required
5724
- # name: "NameString",
5909
+ # name: "NameString", # required
5725
5910
  # description: "DescriptionString",
5726
- # connection_type: "JDBC", # accepts JDBC, SFTP
5911
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP
5727
5912
  # match_criteria: ["NameString"],
5728
- # connection_properties: {
5913
+ # connection_properties: { # required
5729
5914
  # "HOST" => "ValueString",
5730
5915
  # },
5731
5916
  # physical_connection_requirements: {
@@ -5934,7 +6119,8 @@ module Aws::Glue
5934
6119
  # @return [String]
5935
6120
  #
5936
6121
  # @!attribute [rw] name
5937
- # The name of the metadata database to update in the catalog.
6122
+ # The name of the database to update in the catalog. For Hive
6123
+ # compatibility, this is folded to lowercase.
5938
6124
  # @return [String]
5939
6125
  #
5940
6126
  # @!attribute [rw] database_input
@@ -6253,6 +6439,7 @@ module Aws::Glue
6253
6439
  # "KeyString" => "ParametersMapValue",
6254
6440
  # },
6255
6441
  # },
6442
+ # skip_archive: false,
6256
6443
  # }
6257
6444
  #
6258
6445
  # @!attribute [rw] catalog_id
@@ -6261,7 +6448,8 @@ module Aws::Glue
6261
6448
  # @return [String]
6262
6449
  #
6263
6450
  # @!attribute [rw] database_name
6264
- # The name of the catalog database in which the table resides.
6451
+ # The name of the catalog database in which the table resides. For
6452
+ # Hive compatibility, this name is entirely lowercase.
6265
6453
  # @return [String]
6266
6454
  #
6267
6455
  # @!attribute [rw] table_input
@@ -6269,12 +6457,19 @@ module Aws::Glue
6269
6457
  # catalog.
6270
6458
  # @return [Types::TableInput]
6271
6459
  #
6460
+ # @!attribute [rw] skip_archive
6461
+ # By default, `UpdateTable` always creates an archived version of the
6462
+ # table before updating it. If `skipArchive` is set to true, however,
6463
+ # `UpdateTable` does not create the archived version.
6464
+ # @return [Boolean]
6465
+ #
6272
6466
  # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTableRequest AWS API Documentation
6273
6467
  #
6274
6468
  class UpdateTableRequest < Struct.new(
6275
6469
  :catalog_id,
6276
6470
  :database_name,
6277
- :table_input)
6471
+ :table_input,
6472
+ :skip_archive)
6278
6473
  include Aws::Structure
6279
6474
  end
6280
6475
 
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.3.0
4
+ version: 1.4.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: 2018-01-12 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core