aws-sdk-glue 1.68.0 → 1.73.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-glue.rb +2 -1
- data/lib/aws-sdk-glue/client.rb +170 -1
- data/lib/aws-sdk-glue/client_api.rb +109 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/types.rb +369 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87c98ccaaa672b7ffcafd8f0aef8e974467b381ce962b2d224919929cfde8478
|
4
|
+
data.tar.gz: d58c36d45e8dcf0eac874a70c86e717ef5b3763983bd5e5c13c8e2db71076682
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a01532e74ab4f4a0e7e56486eaccee84d5947e40f26c1802bad6130332e87655e0b5bd78e962cb8df821464f8562d5fe47bc2d562c81a33423d10c5e857f98f5
|
7
|
+
data.tar.gz: a91bb1c05000dffde42ea54f83c46451a96714d407e1f8227727ee47c4b77a98ba238a949a7eebf7c2adc1f28cf706d97db30f60d8f5db3665e035d8b0a6281f
|
data/lib/aws-sdk-glue.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-glue/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::Glue
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.73.0'
|
51
52
|
|
52
53
|
end
|
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -1204,6 +1204,108 @@ module Aws::Glue
|
|
1204
1204
|
req.send_request(options)
|
1205
1205
|
end
|
1206
1206
|
|
1207
|
+
# Updates one or more partitions in a batch operation.
|
1208
|
+
#
|
1209
|
+
# @option params [String] :catalog_id
|
1210
|
+
# The ID of the catalog in which the partition is to be updated.
|
1211
|
+
# Currently, this should be the AWS account ID.
|
1212
|
+
#
|
1213
|
+
# @option params [required, String] :database_name
|
1214
|
+
# The name of the metadata database in which the partition is to be
|
1215
|
+
# updated.
|
1216
|
+
#
|
1217
|
+
# @option params [required, String] :table_name
|
1218
|
+
# The name of the metadata table in which the partition is to be
|
1219
|
+
# updated.
|
1220
|
+
#
|
1221
|
+
# @option params [required, Array<Types::BatchUpdatePartitionRequestEntry>] :entries
|
1222
|
+
# A list of up to 100 `BatchUpdatePartitionRequestEntry` objects to
|
1223
|
+
# update.
|
1224
|
+
#
|
1225
|
+
# @return [Types::BatchUpdatePartitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1226
|
+
#
|
1227
|
+
# * {Types::BatchUpdatePartitionResponse#errors #errors} => Array<Types::BatchUpdatePartitionFailureEntry>
|
1228
|
+
#
|
1229
|
+
# @example Request syntax with placeholder values
|
1230
|
+
#
|
1231
|
+
# resp = client.batch_update_partition({
|
1232
|
+
# catalog_id: "CatalogIdString",
|
1233
|
+
# database_name: "NameString", # required
|
1234
|
+
# table_name: "NameString", # required
|
1235
|
+
# entries: [ # required
|
1236
|
+
# {
|
1237
|
+
# partition_value_list: ["ValueString"], # required
|
1238
|
+
# partition_input: { # required
|
1239
|
+
# values: ["ValueString"],
|
1240
|
+
# last_access_time: Time.now,
|
1241
|
+
# storage_descriptor: {
|
1242
|
+
# columns: [
|
1243
|
+
# {
|
1244
|
+
# name: "NameString", # required
|
1245
|
+
# type: "ColumnTypeString",
|
1246
|
+
# comment: "CommentString",
|
1247
|
+
# parameters: {
|
1248
|
+
# "KeyString" => "ParametersMapValue",
|
1249
|
+
# },
|
1250
|
+
# },
|
1251
|
+
# ],
|
1252
|
+
# location: "LocationString",
|
1253
|
+
# input_format: "FormatString",
|
1254
|
+
# output_format: "FormatString",
|
1255
|
+
# compressed: false,
|
1256
|
+
# number_of_buckets: 1,
|
1257
|
+
# serde_info: {
|
1258
|
+
# name: "NameString",
|
1259
|
+
# serialization_library: "NameString",
|
1260
|
+
# parameters: {
|
1261
|
+
# "KeyString" => "ParametersMapValue",
|
1262
|
+
# },
|
1263
|
+
# },
|
1264
|
+
# bucket_columns: ["NameString"],
|
1265
|
+
# sort_columns: [
|
1266
|
+
# {
|
1267
|
+
# column: "NameString", # required
|
1268
|
+
# sort_order: 1, # required
|
1269
|
+
# },
|
1270
|
+
# ],
|
1271
|
+
# parameters: {
|
1272
|
+
# "KeyString" => "ParametersMapValue",
|
1273
|
+
# },
|
1274
|
+
# skewed_info: {
|
1275
|
+
# skewed_column_names: ["NameString"],
|
1276
|
+
# skewed_column_values: ["ColumnValuesString"],
|
1277
|
+
# skewed_column_value_location_maps: {
|
1278
|
+
# "ColumnValuesString" => "ColumnValuesString",
|
1279
|
+
# },
|
1280
|
+
# },
|
1281
|
+
# stored_as_sub_directories: false,
|
1282
|
+
# },
|
1283
|
+
# parameters: {
|
1284
|
+
# "KeyString" => "ParametersMapValue",
|
1285
|
+
# },
|
1286
|
+
# last_analyzed_time: Time.now,
|
1287
|
+
# },
|
1288
|
+
# },
|
1289
|
+
# ],
|
1290
|
+
# })
|
1291
|
+
#
|
1292
|
+
# @example Response structure
|
1293
|
+
#
|
1294
|
+
# resp.errors #=> Array
|
1295
|
+
# resp.errors[0].partition_value_list #=> Array
|
1296
|
+
# resp.errors[0].partition_value_list[0] #=> String
|
1297
|
+
# resp.errors[0].error_detail.error_code #=> String
|
1298
|
+
# resp.errors[0].error_detail.error_message #=> String
|
1299
|
+
#
|
1300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition AWS API Documentation
|
1301
|
+
#
|
1302
|
+
# @overload batch_update_partition(params = {})
|
1303
|
+
# @param [Hash] params ({})
|
1304
|
+
def batch_update_partition(params = {}, options = {})
|
1305
|
+
req = build_request(:batch_update_partition, params)
|
1306
|
+
req.send_request(options)
|
1307
|
+
end
|
1308
|
+
|
1207
1309
|
# Cancels (stops) a task run. Machine learning task runs are
|
1208
1310
|
# asynchronous tasks that AWS Glue runs on your behalf as part of
|
1209
1311
|
# various machine learning workflows. You can cancel a machine learning
|
@@ -2328,6 +2430,10 @@ module Aws::Glue
|
|
2328
2430
|
# The `TableInput` object that defines the metadata table to create in
|
2329
2431
|
# the catalog.
|
2330
2432
|
#
|
2433
|
+
# @option params [Array<Types::PartitionIndex>] :partition_indexes
|
2434
|
+
# A list of partition indexes, `PartitionIndex` structures, to create in
|
2435
|
+
# the table.
|
2436
|
+
#
|
2331
2437
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2332
2438
|
#
|
2333
2439
|
# @example Request syntax with placeholder values
|
@@ -2406,6 +2512,12 @@ module Aws::Glue
|
|
2406
2512
|
# name: "NameString",
|
2407
2513
|
# },
|
2408
2514
|
# },
|
2515
|
+
# partition_indexes: [
|
2516
|
+
# {
|
2517
|
+
# keys: ["NameString"], # required
|
2518
|
+
# index_name: "NameString", # required
|
2519
|
+
# },
|
2520
|
+
# ],
|
2409
2521
|
# })
|
2410
2522
|
#
|
2411
2523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
|
@@ -4856,6 +4968,57 @@ module Aws::Glue
|
|
4856
4968
|
req.send_request(options)
|
4857
4969
|
end
|
4858
4970
|
|
4971
|
+
# Retrieves the partition indexes associated with a table.
|
4972
|
+
#
|
4973
|
+
# @option params [String] :catalog_id
|
4974
|
+
# The catalog ID where the table resides.
|
4975
|
+
#
|
4976
|
+
# @option params [required, String] :database_name
|
4977
|
+
# Specifies the name of a database from which you want to retrieve
|
4978
|
+
# partition indexes.
|
4979
|
+
#
|
4980
|
+
# @option params [required, String] :table_name
|
4981
|
+
# Specifies the name of a table for which you want to retrieve the
|
4982
|
+
# partition indexes.
|
4983
|
+
#
|
4984
|
+
# @option params [String] :next_token
|
4985
|
+
# A continuation token, included if this is a continuation call.
|
4986
|
+
#
|
4987
|
+
# @return [Types::GetPartitionIndexesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4988
|
+
#
|
4989
|
+
# * {Types::GetPartitionIndexesResponse#partition_index_descriptor_list #partition_index_descriptor_list} => Array<Types::PartitionIndexDescriptor>
|
4990
|
+
# * {Types::GetPartitionIndexesResponse#next_token #next_token} => String
|
4991
|
+
#
|
4992
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4993
|
+
#
|
4994
|
+
# @example Request syntax with placeholder values
|
4995
|
+
#
|
4996
|
+
# resp = client.get_partition_indexes({
|
4997
|
+
# catalog_id: "CatalogIdString",
|
4998
|
+
# database_name: "NameString", # required
|
4999
|
+
# table_name: "NameString", # required
|
5000
|
+
# next_token: "Token",
|
5001
|
+
# })
|
5002
|
+
#
|
5003
|
+
# @example Response structure
|
5004
|
+
#
|
5005
|
+
# resp.partition_index_descriptor_list #=> Array
|
5006
|
+
# resp.partition_index_descriptor_list[0].index_name #=> String
|
5007
|
+
# resp.partition_index_descriptor_list[0].keys #=> Array
|
5008
|
+
# resp.partition_index_descriptor_list[0].keys[0].name #=> String
|
5009
|
+
# resp.partition_index_descriptor_list[0].keys[0].type #=> String
|
5010
|
+
# resp.partition_index_descriptor_list[0].index_status #=> String, one of "ACTIVE"
|
5011
|
+
# resp.next_token #=> String
|
5012
|
+
#
|
5013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes AWS API Documentation
|
5014
|
+
#
|
5015
|
+
# @overload get_partition_indexes(params = {})
|
5016
|
+
# @param [Hash] params ({})
|
5017
|
+
def get_partition_indexes(params = {}, options = {})
|
5018
|
+
req = build_request(:get_partition_indexes, params)
|
5019
|
+
req.send_request(options)
|
5020
|
+
end
|
5021
|
+
|
4859
5022
|
# Retrieves information about the partitions in a table.
|
4860
5023
|
#
|
4861
5024
|
# @option params [String] :catalog_id
|
@@ -5063,6 +5226,9 @@ module Aws::Glue
|
|
5063
5226
|
# @option params [String] :language
|
5064
5227
|
# The programming language of the code to perform the mapping.
|
5065
5228
|
#
|
5229
|
+
# @option params [Hash<String,String>] :additional_plan_options_map
|
5230
|
+
# A map to hold additional optional key-value parameters.
|
5231
|
+
#
|
5066
5232
|
# @return [Types::GetPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5067
5233
|
#
|
5068
5234
|
# * {Types::GetPlanResponse#python_script #python_script} => String
|
@@ -5115,6 +5281,9 @@ module Aws::Glue
|
|
5115
5281
|
# ],
|
5116
5282
|
# },
|
5117
5283
|
# language: "PYTHON", # accepts PYTHON, SCALA
|
5284
|
+
# additional_plan_options_map: {
|
5285
|
+
# "GenericString" => "GenericString",
|
5286
|
+
# },
|
5118
5287
|
# })
|
5119
5288
|
#
|
5120
5289
|
# @example Response structure
|
@@ -8927,7 +9096,7 @@ module Aws::Glue
|
|
8927
9096
|
params: params,
|
8928
9097
|
config: config)
|
8929
9098
|
context[:gem_name] = 'aws-sdk-glue'
|
8930
|
-
context[:gem_version] = '1.
|
9099
|
+
context[:gem_version] = '1.73.0'
|
8931
9100
|
Seahorse::Client::Request.new(handlers, context)
|
8932
9101
|
end
|
8933
9102
|
|
@@ -16,6 +16,7 @@ module Aws::Glue
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
Action = Shapes::StructureShape.new(name: 'Action')
|
18
18
|
ActionList = Shapes::ListShape.new(name: 'ActionList')
|
19
|
+
AdditionalPlanOptionsMap = Shapes::MapShape.new(name: 'AdditionalPlanOptionsMap')
|
19
20
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
20
21
|
AttemptCount = Shapes::IntegerShape.new(name: 'AttemptCount')
|
21
22
|
BatchCreatePartitionRequest = Shapes::StructureShape.new(name: 'BatchCreatePartitionRequest')
|
@@ -51,6 +52,12 @@ module Aws::Glue
|
|
51
52
|
BatchStopJobRunResponse = Shapes::StructureShape.new(name: 'BatchStopJobRunResponse')
|
52
53
|
BatchStopJobRunSuccessfulSubmission = Shapes::StructureShape.new(name: 'BatchStopJobRunSuccessfulSubmission')
|
53
54
|
BatchStopJobRunSuccessfulSubmissionList = Shapes::ListShape.new(name: 'BatchStopJobRunSuccessfulSubmissionList')
|
55
|
+
BatchUpdatePartitionFailureEntry = Shapes::StructureShape.new(name: 'BatchUpdatePartitionFailureEntry')
|
56
|
+
BatchUpdatePartitionFailureList = Shapes::ListShape.new(name: 'BatchUpdatePartitionFailureList')
|
57
|
+
BatchUpdatePartitionRequest = Shapes::StructureShape.new(name: 'BatchUpdatePartitionRequest')
|
58
|
+
BatchUpdatePartitionRequestEntry = Shapes::StructureShape.new(name: 'BatchUpdatePartitionRequestEntry')
|
59
|
+
BatchUpdatePartitionRequestEntryList = Shapes::ListShape.new(name: 'BatchUpdatePartitionRequestEntryList')
|
60
|
+
BatchUpdatePartitionResponse = Shapes::StructureShape.new(name: 'BatchUpdatePartitionResponse')
|
54
61
|
BinaryColumnStatisticsData = Shapes::StructureShape.new(name: 'BinaryColumnStatisticsData')
|
55
62
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
56
63
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
@@ -103,6 +110,7 @@ module Aws::Glue
|
|
103
110
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
104
111
|
ConditionCheckFailureException = Shapes::StructureShape.new(name: 'ConditionCheckFailureException')
|
105
112
|
ConditionList = Shapes::ListShape.new(name: 'ConditionList')
|
113
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
106
114
|
ConfusionMatrix = Shapes::StructureShape.new(name: 'ConfusionMatrix')
|
107
115
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
108
116
|
ConnectionInput = Shapes::StructureShape.new(name: 'ConnectionInput')
|
@@ -305,6 +313,8 @@ module Aws::Glue
|
|
305
313
|
GetMLTransformsResponse = Shapes::StructureShape.new(name: 'GetMLTransformsResponse')
|
306
314
|
GetMappingRequest = Shapes::StructureShape.new(name: 'GetMappingRequest')
|
307
315
|
GetMappingResponse = Shapes::StructureShape.new(name: 'GetMappingResponse')
|
316
|
+
GetPartitionIndexesRequest = Shapes::StructureShape.new(name: 'GetPartitionIndexesRequest')
|
317
|
+
GetPartitionIndexesResponse = Shapes::StructureShape.new(name: 'GetPartitionIndexesResponse')
|
308
318
|
GetPartitionRequest = Shapes::StructureShape.new(name: 'GetPartitionRequest')
|
309
319
|
GetPartitionResponse = Shapes::StructureShape.new(name: 'GetPartitionResponse')
|
310
320
|
GetPartitionsRequest = Shapes::StructureShape.new(name: 'GetPartitionsRequest')
|
@@ -385,6 +395,9 @@ module Aws::Glue
|
|
385
395
|
JsonClassifier = Shapes::StructureShape.new(name: 'JsonClassifier')
|
386
396
|
JsonPath = Shapes::StringShape.new(name: 'JsonPath')
|
387
397
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
398
|
+
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
399
|
+
KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
|
400
|
+
KeySchemaElementList = Shapes::ListShape.new(name: 'KeySchemaElementList')
|
388
401
|
KeyString = Shapes::StringShape.new(name: 'KeyString')
|
389
402
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
390
403
|
LabelCount = Shapes::IntegerShape.new(name: 'LabelCount')
|
@@ -450,6 +463,11 @@ module Aws::Glue
|
|
450
463
|
Partition = Shapes::StructureShape.new(name: 'Partition')
|
451
464
|
PartitionError = Shapes::StructureShape.new(name: 'PartitionError')
|
452
465
|
PartitionErrors = Shapes::ListShape.new(name: 'PartitionErrors')
|
466
|
+
PartitionIndex = Shapes::StructureShape.new(name: 'PartitionIndex')
|
467
|
+
PartitionIndexDescriptor = Shapes::StructureShape.new(name: 'PartitionIndexDescriptor')
|
468
|
+
PartitionIndexDescriptorList = Shapes::ListShape.new(name: 'PartitionIndexDescriptorList')
|
469
|
+
PartitionIndexList = Shapes::ListShape.new(name: 'PartitionIndexList')
|
470
|
+
PartitionIndexStatus = Shapes::StringShape.new(name: 'PartitionIndexStatus')
|
453
471
|
PartitionInput = Shapes::StructureShape.new(name: 'PartitionInput')
|
454
472
|
PartitionInputList = Shapes::ListShape.new(name: 'PartitionInputList')
|
455
473
|
PartitionList = Shapes::ListShape.new(name: 'PartitionList')
|
@@ -673,6 +691,9 @@ module Aws::Glue
|
|
673
691
|
|
674
692
|
ActionList.member = Shapes::ShapeRef.new(shape: Action)
|
675
693
|
|
694
|
+
AdditionalPlanOptionsMap.key = Shapes::ShapeRef.new(shape: GenericString)
|
695
|
+
AdditionalPlanOptionsMap.value = Shapes::ShapeRef.new(shape: GenericString)
|
696
|
+
|
676
697
|
AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
677
698
|
AlreadyExistsException.struct_class = Types::AlreadyExistsException
|
678
699
|
|
@@ -796,6 +817,27 @@ module Aws::Glue
|
|
796
817
|
|
797
818
|
BatchStopJobRunSuccessfulSubmissionList.member = Shapes::ShapeRef.new(shape: BatchStopJobRunSuccessfulSubmission)
|
798
819
|
|
820
|
+
BatchUpdatePartitionFailureEntry.add_member(:partition_value_list, Shapes::ShapeRef.new(shape: BoundedPartitionValueList, location_name: "PartitionValueList"))
|
821
|
+
BatchUpdatePartitionFailureEntry.add_member(:error_detail, Shapes::ShapeRef.new(shape: ErrorDetail, location_name: "ErrorDetail"))
|
822
|
+
BatchUpdatePartitionFailureEntry.struct_class = Types::BatchUpdatePartitionFailureEntry
|
823
|
+
|
824
|
+
BatchUpdatePartitionFailureList.member = Shapes::ShapeRef.new(shape: BatchUpdatePartitionFailureEntry)
|
825
|
+
|
826
|
+
BatchUpdatePartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
827
|
+
BatchUpdatePartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
828
|
+
BatchUpdatePartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
829
|
+
BatchUpdatePartitionRequest.add_member(:entries, Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequestEntryList, required: true, location_name: "Entries"))
|
830
|
+
BatchUpdatePartitionRequest.struct_class = Types::BatchUpdatePartitionRequest
|
831
|
+
|
832
|
+
BatchUpdatePartitionRequestEntry.add_member(:partition_value_list, Shapes::ShapeRef.new(shape: BoundedPartitionValueList, required: true, location_name: "PartitionValueList"))
|
833
|
+
BatchUpdatePartitionRequestEntry.add_member(:partition_input, Shapes::ShapeRef.new(shape: PartitionInput, required: true, location_name: "PartitionInput"))
|
834
|
+
BatchUpdatePartitionRequestEntry.struct_class = Types::BatchUpdatePartitionRequestEntry
|
835
|
+
|
836
|
+
BatchUpdatePartitionRequestEntryList.member = Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequestEntry)
|
837
|
+
|
838
|
+
BatchUpdatePartitionResponse.add_member(:errors, Shapes::ShapeRef.new(shape: BatchUpdatePartitionFailureList, location_name: "Errors"))
|
839
|
+
BatchUpdatePartitionResponse.struct_class = Types::BatchUpdatePartitionResponse
|
840
|
+
|
799
841
|
BinaryColumnStatisticsData.add_member(:maximum_length, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "MaximumLength"))
|
800
842
|
BinaryColumnStatisticsData.add_member(:average_length, Shapes::ShapeRef.new(shape: NonNegativeDouble, required: true, location_name: "AverageLength"))
|
801
843
|
BinaryColumnStatisticsData.add_member(:number_of_nulls, Shapes::ShapeRef.new(shape: NonNegativeLong, required: true, location_name: "NumberOfNulls"))
|
@@ -926,6 +968,9 @@ module Aws::Glue
|
|
926
968
|
|
927
969
|
ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
|
928
970
|
|
971
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
972
|
+
ConflictException.struct_class = Types::ConflictException
|
973
|
+
|
929
974
|
ConfusionMatrix.add_member(:num_true_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTruePositives"))
|
930
975
|
ConfusionMatrix.add_member(:num_false_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumFalsePositives"))
|
931
976
|
ConfusionMatrix.add_member(:num_true_negatives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTrueNegatives"))
|
@@ -1188,6 +1233,7 @@ module Aws::Glue
|
|
1188
1233
|
CreateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1189
1234
|
CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1190
1235
|
CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
1236
|
+
CreateTableRequest.add_member(:partition_indexes, Shapes::ShapeRef.new(shape: PartitionIndexList, location_name: "PartitionIndexes"))
|
1191
1237
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
1192
1238
|
|
1193
1239
|
CreateTableResponse.struct_class = Types::CreateTableResponse
|
@@ -1749,6 +1795,16 @@ module Aws::Glue
|
|
1749
1795
|
GetMappingResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: MappingList, required: true, location_name: "Mapping"))
|
1750
1796
|
GetMappingResponse.struct_class = Types::GetMappingResponse
|
1751
1797
|
|
1798
|
+
GetPartitionIndexesRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1799
|
+
GetPartitionIndexesRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1800
|
+
GetPartitionIndexesRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
1801
|
+
GetPartitionIndexesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1802
|
+
GetPartitionIndexesRequest.struct_class = Types::GetPartitionIndexesRequest
|
1803
|
+
|
1804
|
+
GetPartitionIndexesResponse.add_member(:partition_index_descriptor_list, Shapes::ShapeRef.new(shape: PartitionIndexDescriptorList, location_name: "PartitionIndexDescriptorList"))
|
1805
|
+
GetPartitionIndexesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1806
|
+
GetPartitionIndexesResponse.struct_class = Types::GetPartitionIndexesResponse
|
1807
|
+
|
1752
1808
|
GetPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1753
1809
|
GetPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1754
1810
|
GetPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
@@ -1776,6 +1832,7 @@ module Aws::Glue
|
|
1776
1832
|
GetPlanRequest.add_member(:sinks, Shapes::ShapeRef.new(shape: CatalogEntries, location_name: "Sinks"))
|
1777
1833
|
GetPlanRequest.add_member(:location, Shapes::ShapeRef.new(shape: Location, location_name: "Location"))
|
1778
1834
|
GetPlanRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "Language"))
|
1835
|
+
GetPlanRequest.add_member(:additional_plan_options_map, Shapes::ShapeRef.new(shape: AdditionalPlanOptionsMap, location_name: "AdditionalPlanOptionsMap"))
|
1779
1836
|
GetPlanRequest.struct_class = Types::GetPlanRequest
|
1780
1837
|
|
1781
1838
|
GetPlanResponse.add_member(:python_script, Shapes::ShapeRef.new(shape: PythonScript, location_name: "PythonScript"))
|
@@ -2081,6 +2138,14 @@ module Aws::Glue
|
|
2081
2138
|
JsonClassifier.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "JsonPath"))
|
2082
2139
|
JsonClassifier.struct_class = Types::JsonClassifier
|
2083
2140
|
|
2141
|
+
KeyList.member = Shapes::ShapeRef.new(shape: NameString)
|
2142
|
+
|
2143
|
+
KeySchemaElement.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2144
|
+
KeySchemaElement.add_member(:type, Shapes::ShapeRef.new(shape: ColumnTypeString, required: true, location_name: "Type"))
|
2145
|
+
KeySchemaElement.struct_class = Types::KeySchemaElement
|
2146
|
+
|
2147
|
+
KeySchemaElementList.member = Shapes::ShapeRef.new(shape: KeySchemaElement)
|
2148
|
+
|
2084
2149
|
LabelingSetGenerationTaskRunProperties.add_member(:output_s3_path, Shapes::ShapeRef.new(shape: UriString, location_name: "OutputS3Path"))
|
2085
2150
|
LabelingSetGenerationTaskRunProperties.struct_class = Types::LabelingSetGenerationTaskRunProperties
|
2086
2151
|
|
@@ -2251,6 +2316,19 @@ module Aws::Glue
|
|
2251
2316
|
|
2252
2317
|
PartitionErrors.member = Shapes::ShapeRef.new(shape: PartitionError)
|
2253
2318
|
|
2319
|
+
PartitionIndex.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "Keys"))
|
2320
|
+
PartitionIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2321
|
+
PartitionIndex.struct_class = Types::PartitionIndex
|
2322
|
+
|
2323
|
+
PartitionIndexDescriptor.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2324
|
+
PartitionIndexDescriptor.add_member(:keys, Shapes::ShapeRef.new(shape: KeySchemaElementList, required: true, location_name: "Keys"))
|
2325
|
+
PartitionIndexDescriptor.add_member(:index_status, Shapes::ShapeRef.new(shape: PartitionIndexStatus, required: true, location_name: "IndexStatus"))
|
2326
|
+
PartitionIndexDescriptor.struct_class = Types::PartitionIndexDescriptor
|
2327
|
+
|
2328
|
+
PartitionIndexDescriptorList.member = Shapes::ShapeRef.new(shape: PartitionIndexDescriptor)
|
2329
|
+
|
2330
|
+
PartitionIndexList.member = Shapes::ShapeRef.new(shape: PartitionIndex)
|
2331
|
+
|
2254
2332
|
PartitionInput.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
|
2255
2333
|
PartitionInput.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
|
2256
2334
|
PartitionInput.add_member(:storage_descriptor, Shapes::ShapeRef.new(shape: StorageDescriptor, location_name: "StorageDescriptor"))
|
@@ -3090,6 +3168,19 @@ module Aws::Glue
|
|
3090
3168
|
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3091
3169
|
end)
|
3092
3170
|
|
3171
|
+
api.add_operation(:batch_update_partition, Seahorse::Model::Operation.new.tap do |o|
|
3172
|
+
o.name = "BatchUpdatePartition"
|
3173
|
+
o.http_method = "POST"
|
3174
|
+
o.http_request_uri = "/"
|
3175
|
+
o.input = Shapes::ShapeRef.new(shape: BatchUpdatePartitionRequest)
|
3176
|
+
o.output = Shapes::ShapeRef.new(shape: BatchUpdatePartitionResponse)
|
3177
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3178
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3179
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3180
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3181
|
+
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3182
|
+
end)
|
3183
|
+
|
3093
3184
|
api.add_operation(:cancel_ml_task_run, Seahorse::Model::Operation.new.tap do |o|
|
3094
3185
|
o.name = "CancelMLTaskRun"
|
3095
3186
|
o.http_method = "POST"
|
@@ -3871,6 +3962,24 @@ module Aws::Glue
|
|
3871
3962
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3872
3963
|
end)
|
3873
3964
|
|
3965
|
+
api.add_operation(:get_partition_indexes, Seahorse::Model::Operation.new.tap do |o|
|
3966
|
+
o.name = "GetPartitionIndexes"
|
3967
|
+
o.http_method = "POST"
|
3968
|
+
o.http_request_uri = "/"
|
3969
|
+
o.input = Shapes::ShapeRef.new(shape: GetPartitionIndexesRequest)
|
3970
|
+
o.output = Shapes::ShapeRef.new(shape: GetPartitionIndexesResponse)
|
3971
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3972
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3973
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3974
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3975
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3976
|
+
o[:pager] = Aws::Pager.new(
|
3977
|
+
tokens: {
|
3978
|
+
"next_token" => "next_token"
|
3979
|
+
}
|
3980
|
+
)
|
3981
|
+
end)
|
3982
|
+
|
3874
3983
|
api.add_operation(:get_partitions, Seahorse::Model::Operation.new.tap do |o|
|
3875
3984
|
o.name = "GetPartitions"
|
3876
3985
|
o.http_method = "POST"
|
data/lib/aws-sdk-glue/errors.rb
CHANGED
@@ -32,6 +32,7 @@ module Aws::Glue
|
|
32
32
|
# * {ConcurrentModificationException}
|
33
33
|
# * {ConcurrentRunsExceededException}
|
34
34
|
# * {ConditionCheckFailureException}
|
35
|
+
# * {ConflictException}
|
35
36
|
# * {CrawlerNotRunningException}
|
36
37
|
# * {CrawlerRunningException}
|
37
38
|
# * {CrawlerStoppingException}
|
@@ -132,6 +133,21 @@ module Aws::Glue
|
|
132
133
|
end
|
133
134
|
end
|
134
135
|
|
136
|
+
class ConflictException < ServiceError
|
137
|
+
|
138
|
+
# @param [Seahorse::Client::RequestContext] context
|
139
|
+
# @param [String] message
|
140
|
+
# @param [Aws::Glue::Types::ConflictException] data
|
141
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
142
|
+
super(context, message, data)
|
143
|
+
end
|
144
|
+
|
145
|
+
# @return [String]
|
146
|
+
def message
|
147
|
+
@message || @data[:message]
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
135
151
|
class CrawlerNotRunningException < ServiceError
|
136
152
|
|
137
153
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -764,6 +764,210 @@ module Aws::Glue
|
|
764
764
|
include Aws::Structure
|
765
765
|
end
|
766
766
|
|
767
|
+
# Contains information about a batch update partition error.
|
768
|
+
#
|
769
|
+
# @!attribute [rw] partition_value_list
|
770
|
+
# A list of values defining the partitions.
|
771
|
+
# @return [Array<String>]
|
772
|
+
#
|
773
|
+
# @!attribute [rw] error_detail
|
774
|
+
# The details about the batch update partition error.
|
775
|
+
# @return [Types::ErrorDetail]
|
776
|
+
#
|
777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionFailureEntry AWS API Documentation
|
778
|
+
#
|
779
|
+
class BatchUpdatePartitionFailureEntry < Struct.new(
|
780
|
+
:partition_value_list,
|
781
|
+
:error_detail)
|
782
|
+
SENSITIVE = []
|
783
|
+
include Aws::Structure
|
784
|
+
end
|
785
|
+
|
786
|
+
# @note When making an API call, you may pass BatchUpdatePartitionRequest
|
787
|
+
# data as a hash:
|
788
|
+
#
|
789
|
+
# {
|
790
|
+
# catalog_id: "CatalogIdString",
|
791
|
+
# database_name: "NameString", # required
|
792
|
+
# table_name: "NameString", # required
|
793
|
+
# entries: [ # required
|
794
|
+
# {
|
795
|
+
# partition_value_list: ["ValueString"], # required
|
796
|
+
# partition_input: { # required
|
797
|
+
# values: ["ValueString"],
|
798
|
+
# last_access_time: Time.now,
|
799
|
+
# storage_descriptor: {
|
800
|
+
# columns: [
|
801
|
+
# {
|
802
|
+
# name: "NameString", # required
|
803
|
+
# type: "ColumnTypeString",
|
804
|
+
# comment: "CommentString",
|
805
|
+
# parameters: {
|
806
|
+
# "KeyString" => "ParametersMapValue",
|
807
|
+
# },
|
808
|
+
# },
|
809
|
+
# ],
|
810
|
+
# location: "LocationString",
|
811
|
+
# input_format: "FormatString",
|
812
|
+
# output_format: "FormatString",
|
813
|
+
# compressed: false,
|
814
|
+
# number_of_buckets: 1,
|
815
|
+
# serde_info: {
|
816
|
+
# name: "NameString",
|
817
|
+
# serialization_library: "NameString",
|
818
|
+
# parameters: {
|
819
|
+
# "KeyString" => "ParametersMapValue",
|
820
|
+
# },
|
821
|
+
# },
|
822
|
+
# bucket_columns: ["NameString"],
|
823
|
+
# sort_columns: [
|
824
|
+
# {
|
825
|
+
# column: "NameString", # required
|
826
|
+
# sort_order: 1, # required
|
827
|
+
# },
|
828
|
+
# ],
|
829
|
+
# parameters: {
|
830
|
+
# "KeyString" => "ParametersMapValue",
|
831
|
+
# },
|
832
|
+
# skewed_info: {
|
833
|
+
# skewed_column_names: ["NameString"],
|
834
|
+
# skewed_column_values: ["ColumnValuesString"],
|
835
|
+
# skewed_column_value_location_maps: {
|
836
|
+
# "ColumnValuesString" => "ColumnValuesString",
|
837
|
+
# },
|
838
|
+
# },
|
839
|
+
# stored_as_sub_directories: false,
|
840
|
+
# },
|
841
|
+
# parameters: {
|
842
|
+
# "KeyString" => "ParametersMapValue",
|
843
|
+
# },
|
844
|
+
# last_analyzed_time: Time.now,
|
845
|
+
# },
|
846
|
+
# },
|
847
|
+
# ],
|
848
|
+
# }
|
849
|
+
#
|
850
|
+
# @!attribute [rw] catalog_id
|
851
|
+
# The ID of the catalog in which the partition is to be updated.
|
852
|
+
# Currently, this should be the AWS account ID.
|
853
|
+
# @return [String]
|
854
|
+
#
|
855
|
+
# @!attribute [rw] database_name
|
856
|
+
# The name of the metadata database in which the partition is to be
|
857
|
+
# updated.
|
858
|
+
# @return [String]
|
859
|
+
#
|
860
|
+
# @!attribute [rw] table_name
|
861
|
+
# The name of the metadata table in which the partition is to be
|
862
|
+
# updated.
|
863
|
+
# @return [String]
|
864
|
+
#
|
865
|
+
# @!attribute [rw] entries
|
866
|
+
# A list of up to 100 `BatchUpdatePartitionRequestEntry` objects to
|
867
|
+
# update.
|
868
|
+
# @return [Array<Types::BatchUpdatePartitionRequestEntry>]
|
869
|
+
#
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionRequest AWS API Documentation
|
871
|
+
#
|
872
|
+
class BatchUpdatePartitionRequest < Struct.new(
|
873
|
+
:catalog_id,
|
874
|
+
:database_name,
|
875
|
+
:table_name,
|
876
|
+
:entries)
|
877
|
+
SENSITIVE = []
|
878
|
+
include Aws::Structure
|
879
|
+
end
|
880
|
+
|
881
|
+
# A structure that contains the values and structure used to update a
|
882
|
+
# partition.
|
883
|
+
#
|
884
|
+
# @note When making an API call, you may pass BatchUpdatePartitionRequestEntry
|
885
|
+
# data as a hash:
|
886
|
+
#
|
887
|
+
# {
|
888
|
+
# partition_value_list: ["ValueString"], # required
|
889
|
+
# partition_input: { # required
|
890
|
+
# values: ["ValueString"],
|
891
|
+
# last_access_time: Time.now,
|
892
|
+
# storage_descriptor: {
|
893
|
+
# columns: [
|
894
|
+
# {
|
895
|
+
# name: "NameString", # required
|
896
|
+
# type: "ColumnTypeString",
|
897
|
+
# comment: "CommentString",
|
898
|
+
# parameters: {
|
899
|
+
# "KeyString" => "ParametersMapValue",
|
900
|
+
# },
|
901
|
+
# },
|
902
|
+
# ],
|
903
|
+
# location: "LocationString",
|
904
|
+
# input_format: "FormatString",
|
905
|
+
# output_format: "FormatString",
|
906
|
+
# compressed: false,
|
907
|
+
# number_of_buckets: 1,
|
908
|
+
# serde_info: {
|
909
|
+
# name: "NameString",
|
910
|
+
# serialization_library: "NameString",
|
911
|
+
# parameters: {
|
912
|
+
# "KeyString" => "ParametersMapValue",
|
913
|
+
# },
|
914
|
+
# },
|
915
|
+
# bucket_columns: ["NameString"],
|
916
|
+
# sort_columns: [
|
917
|
+
# {
|
918
|
+
# column: "NameString", # required
|
919
|
+
# sort_order: 1, # required
|
920
|
+
# },
|
921
|
+
# ],
|
922
|
+
# parameters: {
|
923
|
+
# "KeyString" => "ParametersMapValue",
|
924
|
+
# },
|
925
|
+
# skewed_info: {
|
926
|
+
# skewed_column_names: ["NameString"],
|
927
|
+
# skewed_column_values: ["ColumnValuesString"],
|
928
|
+
# skewed_column_value_location_maps: {
|
929
|
+
# "ColumnValuesString" => "ColumnValuesString",
|
930
|
+
# },
|
931
|
+
# },
|
932
|
+
# stored_as_sub_directories: false,
|
933
|
+
# },
|
934
|
+
# parameters: {
|
935
|
+
# "KeyString" => "ParametersMapValue",
|
936
|
+
# },
|
937
|
+
# last_analyzed_time: Time.now,
|
938
|
+
# },
|
939
|
+
# }
|
940
|
+
#
|
941
|
+
# @!attribute [rw] partition_value_list
|
942
|
+
# A list of values defining the partitions.
|
943
|
+
# @return [Array<String>]
|
944
|
+
#
|
945
|
+
# @!attribute [rw] partition_input
|
946
|
+
# The structure used to update a partition.
|
947
|
+
# @return [Types::PartitionInput]
|
948
|
+
#
|
949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionRequestEntry AWS API Documentation
|
950
|
+
#
|
951
|
+
class BatchUpdatePartitionRequestEntry < Struct.new(
|
952
|
+
:partition_value_list,
|
953
|
+
:partition_input)
|
954
|
+
SENSITIVE = []
|
955
|
+
include Aws::Structure
|
956
|
+
end
|
957
|
+
|
958
|
+
# @!attribute [rw] errors
|
959
|
+
# The errors encountered when trying to update the requested
|
960
|
+
# partitions. A list of `BatchUpdatePartitionFailureEntry` objects.
|
961
|
+
# @return [Array<Types::BatchUpdatePartitionFailureEntry>]
|
962
|
+
#
|
963
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartitionResponse AWS API Documentation
|
964
|
+
#
|
965
|
+
class BatchUpdatePartitionResponse < Struct.new(
|
966
|
+
:errors)
|
967
|
+
SENSITIVE = []
|
968
|
+
include Aws::Structure
|
969
|
+
end
|
970
|
+
|
767
971
|
# Defines a binary column statistics data.
|
768
972
|
#
|
769
973
|
# @note When making an API call, you may pass BinaryColumnStatisticsData
|
@@ -1492,6 +1696,21 @@ module Aws::Glue
|
|
1492
1696
|
include Aws::Structure
|
1493
1697
|
end
|
1494
1698
|
|
1699
|
+
# The `CreatePartitions` API was called on a table that has indexes
|
1700
|
+
# enabled.
|
1701
|
+
#
|
1702
|
+
# @!attribute [rw] message
|
1703
|
+
# A message describing the problem.
|
1704
|
+
# @return [String]
|
1705
|
+
#
|
1706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConflictException AWS API Documentation
|
1707
|
+
#
|
1708
|
+
class ConflictException < Struct.new(
|
1709
|
+
:message)
|
1710
|
+
SENSITIVE = []
|
1711
|
+
include Aws::Structure
|
1712
|
+
end
|
1713
|
+
|
1495
1714
|
# The confusion matrix shows you what your transform is predicting
|
1496
1715
|
# accurately and what types of errors it is making.
|
1497
1716
|
#
|
@@ -3617,6 +3836,12 @@ module Aws::Glue
|
|
3617
3836
|
# name: "NameString",
|
3618
3837
|
# },
|
3619
3838
|
# },
|
3839
|
+
# partition_indexes: [
|
3840
|
+
# {
|
3841
|
+
# keys: ["NameString"], # required
|
3842
|
+
# index_name: "NameString", # required
|
3843
|
+
# },
|
3844
|
+
# ],
|
3620
3845
|
# }
|
3621
3846
|
#
|
3622
3847
|
# @!attribute [rw] catalog_id
|
@@ -3634,12 +3859,18 @@ module Aws::Glue
|
|
3634
3859
|
# the catalog.
|
3635
3860
|
# @return [Types::TableInput]
|
3636
3861
|
#
|
3862
|
+
# @!attribute [rw] partition_indexes
|
3863
|
+
# A list of partition indexes, `PartitionIndex` structures, to create
|
3864
|
+
# in the table.
|
3865
|
+
# @return [Array<Types::PartitionIndex>]
|
3866
|
+
#
|
3637
3867
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest AWS API Documentation
|
3638
3868
|
#
|
3639
3869
|
class CreateTableRequest < Struct.new(
|
3640
3870
|
:catalog_id,
|
3641
3871
|
:database_name,
|
3642
|
-
:table_input
|
3872
|
+
:table_input,
|
3873
|
+
:partition_indexes)
|
3643
3874
|
SENSITIVE = []
|
3644
3875
|
include Aws::Structure
|
3645
3876
|
end
|
@@ -6970,6 +7201,63 @@ module Aws::Glue
|
|
6970
7201
|
include Aws::Structure
|
6971
7202
|
end
|
6972
7203
|
|
7204
|
+
# @note When making an API call, you may pass GetPartitionIndexesRequest
|
7205
|
+
# data as a hash:
|
7206
|
+
#
|
7207
|
+
# {
|
7208
|
+
# catalog_id: "CatalogIdString",
|
7209
|
+
# database_name: "NameString", # required
|
7210
|
+
# table_name: "NameString", # required
|
7211
|
+
# next_token: "Token",
|
7212
|
+
# }
|
7213
|
+
#
|
7214
|
+
# @!attribute [rw] catalog_id
|
7215
|
+
# The catalog ID where the table resides.
|
7216
|
+
# @return [String]
|
7217
|
+
#
|
7218
|
+
# @!attribute [rw] database_name
|
7219
|
+
# Specifies the name of a database from which you want to retrieve
|
7220
|
+
# partition indexes.
|
7221
|
+
# @return [String]
|
7222
|
+
#
|
7223
|
+
# @!attribute [rw] table_name
|
7224
|
+
# Specifies the name of a table for which you want to retrieve the
|
7225
|
+
# partition indexes.
|
7226
|
+
# @return [String]
|
7227
|
+
#
|
7228
|
+
# @!attribute [rw] next_token
|
7229
|
+
# A continuation token, included if this is a continuation call.
|
7230
|
+
# @return [String]
|
7231
|
+
#
|
7232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesRequest AWS API Documentation
|
7233
|
+
#
|
7234
|
+
class GetPartitionIndexesRequest < Struct.new(
|
7235
|
+
:catalog_id,
|
7236
|
+
:database_name,
|
7237
|
+
:table_name,
|
7238
|
+
:next_token)
|
7239
|
+
SENSITIVE = []
|
7240
|
+
include Aws::Structure
|
7241
|
+
end
|
7242
|
+
|
7243
|
+
# @!attribute [rw] partition_index_descriptor_list
|
7244
|
+
# A list of index descriptors.
|
7245
|
+
# @return [Array<Types::PartitionIndexDescriptor>]
|
7246
|
+
#
|
7247
|
+
# @!attribute [rw] next_token
|
7248
|
+
# A continuation token, present if the current list segment is not the
|
7249
|
+
# last.
|
7250
|
+
# @return [String]
|
7251
|
+
#
|
7252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesResponse AWS API Documentation
|
7253
|
+
#
|
7254
|
+
class GetPartitionIndexesResponse < Struct.new(
|
7255
|
+
:partition_index_descriptor_list,
|
7256
|
+
:next_token)
|
7257
|
+
SENSITIVE = []
|
7258
|
+
include Aws::Structure
|
7259
|
+
end
|
7260
|
+
|
6973
7261
|
# @note When making an API call, you may pass GetPartitionRequest
|
6974
7262
|
# data as a hash:
|
6975
7263
|
#
|
@@ -7239,6 +7527,9 @@ module Aws::Glue
|
|
7239
7527
|
# ],
|
7240
7528
|
# },
|
7241
7529
|
# language: "PYTHON", # accepts PYTHON, SCALA
|
7530
|
+
# additional_plan_options_map: {
|
7531
|
+
# "GenericString" => "GenericString",
|
7532
|
+
# },
|
7242
7533
|
# }
|
7243
7534
|
#
|
7244
7535
|
# @!attribute [rw] mapping
|
@@ -7261,6 +7552,10 @@ module Aws::Glue
|
|
7261
7552
|
# The programming language of the code to perform the mapping.
|
7262
7553
|
# @return [String]
|
7263
7554
|
#
|
7555
|
+
# @!attribute [rw] additional_plan_options_map
|
7556
|
+
# A map to hold additional optional key-value parameters.
|
7557
|
+
# @return [Hash<String,String>]
|
7558
|
+
#
|
7264
7559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlanRequest AWS API Documentation
|
7265
7560
|
#
|
7266
7561
|
class GetPlanRequest < Struct.new(
|
@@ -7268,7 +7563,8 @@ module Aws::Glue
|
|
7268
7563
|
:source,
|
7269
7564
|
:sinks,
|
7270
7565
|
:location,
|
7271
|
-
:language
|
7566
|
+
:language,
|
7567
|
+
:additional_plan_options_map)
|
7272
7568
|
SENSITIVE = []
|
7273
7569
|
include Aws::Structure
|
7274
7570
|
end
|
@@ -9149,6 +9445,25 @@ module Aws::Glue
|
|
9149
9445
|
include Aws::Structure
|
9150
9446
|
end
|
9151
9447
|
|
9448
|
+
# A partition key pair consisting of a name and a type.
|
9449
|
+
#
|
9450
|
+
# @!attribute [rw] name
|
9451
|
+
# The name of a partition key.
|
9452
|
+
# @return [String]
|
9453
|
+
#
|
9454
|
+
# @!attribute [rw] type
|
9455
|
+
# The type of a partition key.
|
9456
|
+
# @return [String]
|
9457
|
+
#
|
9458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/KeySchemaElement AWS API Documentation
|
9459
|
+
#
|
9460
|
+
class KeySchemaElement < Struct.new(
|
9461
|
+
:name,
|
9462
|
+
:type)
|
9463
|
+
SENSITIVE = []
|
9464
|
+
include Aws::Structure
|
9465
|
+
end
|
9466
|
+
|
9152
9467
|
# Specifies configuration properties for a labeling set generation task
|
9153
9468
|
# run.
|
9154
9469
|
#
|
@@ -10085,6 +10400,58 @@ module Aws::Glue
|
|
10085
10400
|
include Aws::Structure
|
10086
10401
|
end
|
10087
10402
|
|
10403
|
+
# A structure for a partition index.
|
10404
|
+
#
|
10405
|
+
# @note When making an API call, you may pass PartitionIndex
|
10406
|
+
# data as a hash:
|
10407
|
+
#
|
10408
|
+
# {
|
10409
|
+
# keys: ["NameString"], # required
|
10410
|
+
# index_name: "NameString", # required
|
10411
|
+
# }
|
10412
|
+
#
|
10413
|
+
# @!attribute [rw] keys
|
10414
|
+
# The keys for the partition index.
|
10415
|
+
# @return [Array<String>]
|
10416
|
+
#
|
10417
|
+
# @!attribute [rw] index_name
|
10418
|
+
# The name of the partition index.
|
10419
|
+
# @return [String]
|
10420
|
+
#
|
10421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndex AWS API Documentation
|
10422
|
+
#
|
10423
|
+
class PartitionIndex < Struct.new(
|
10424
|
+
:keys,
|
10425
|
+
:index_name)
|
10426
|
+
SENSITIVE = []
|
10427
|
+
include Aws::Structure
|
10428
|
+
end
|
10429
|
+
|
10430
|
+
# A descriptor for a partition index in a table.
|
10431
|
+
#
|
10432
|
+
# @!attribute [rw] index_name
|
10433
|
+
# The name of the partition index.
|
10434
|
+
# @return [String]
|
10435
|
+
#
|
10436
|
+
# @!attribute [rw] keys
|
10437
|
+
# A list of one or more keys, as `KeySchemaElement` structures, for
|
10438
|
+
# the partition index.
|
10439
|
+
# @return [Array<Types::KeySchemaElement>]
|
10440
|
+
#
|
10441
|
+
# @!attribute [rw] index_status
|
10442
|
+
# The status of the partition index.
|
10443
|
+
# @return [String]
|
10444
|
+
#
|
10445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
|
10446
|
+
#
|
10447
|
+
class PartitionIndexDescriptor < Struct.new(
|
10448
|
+
:index_name,
|
10449
|
+
:keys,
|
10450
|
+
:index_status)
|
10451
|
+
SENSITIVE = []
|
10452
|
+
include Aws::Structure
|
10453
|
+
end
|
10454
|
+
|
10088
10455
|
# The structure used to create and update a partition.
|
10089
10456
|
#
|
10090
10457
|
# @note When making an API call, you may pass PartitionInput
|
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.73.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: 2020-
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|