aws-sdk-glue 1.68.0 → 1.69.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 +1 -1
- data/lib/aws-sdk-glue/client.rb +62 -1
- data/lib/aws-sdk-glue/client_api.rb +64 -0
- data/lib/aws-sdk-glue/errors.rb +16 -0
- data/lib/aws-sdk-glue/types.rb +156 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec4c8bd66cdeba2038e7e85b43099f06d90e9d194b69532aa25929f3eddfc68
|
4
|
+
data.tar.gz: 3e1a0afbdb424a3d78d35b537e0d268098c8219adb24606a4e069263ba499bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8778fe232a409d2ae586399db858a3c51c6feaeea7e8842ba585ae1ddb748dc5ac1c2d0a0bdbe25344f002f44dcb9b57b4896ee8691b4c18e98b9b8bc1168d6b
|
7
|
+
data.tar.gz: e31a1d0383e962ab1b867d948fb5cfcd46ff3cd0f29105c1938e4c07ce8967cc6c0a74c66a9e88369512c851578d495c96c10ddd036243e8a100dc17109e177d
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -2328,6 +2328,10 @@ module Aws::Glue
|
|
2328
2328
|
# The `TableInput` object that defines the metadata table to create in
|
2329
2329
|
# the catalog.
|
2330
2330
|
#
|
2331
|
+
# @option params [Array<Types::PartitionIndex>] :partition_indexes
|
2332
|
+
# A list of partition indexes, `PartitionIndex` structures, to create in
|
2333
|
+
# the table.
|
2334
|
+
#
|
2331
2335
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2332
2336
|
#
|
2333
2337
|
# @example Request syntax with placeholder values
|
@@ -2406,6 +2410,12 @@ module Aws::Glue
|
|
2406
2410
|
# name: "NameString",
|
2407
2411
|
# },
|
2408
2412
|
# },
|
2413
|
+
# partition_indexes: [
|
2414
|
+
# {
|
2415
|
+
# keys: ["NameString"], # required
|
2416
|
+
# index_name: "NameString", # required
|
2417
|
+
# },
|
2418
|
+
# ],
|
2409
2419
|
# })
|
2410
2420
|
#
|
2411
2421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation
|
@@ -4856,6 +4866,57 @@ module Aws::Glue
|
|
4856
4866
|
req.send_request(options)
|
4857
4867
|
end
|
4858
4868
|
|
4869
|
+
# Retrieves the partition indexes associated with a table.
|
4870
|
+
#
|
4871
|
+
# @option params [String] :catalog_id
|
4872
|
+
# The catalog ID where the table resides.
|
4873
|
+
#
|
4874
|
+
# @option params [required, String] :database_name
|
4875
|
+
# Specifies the name of a database from which you want to retrieve
|
4876
|
+
# partition indexes.
|
4877
|
+
#
|
4878
|
+
# @option params [required, String] :table_name
|
4879
|
+
# Specifies the name of a table for which you want to retrieve the
|
4880
|
+
# partition indexes.
|
4881
|
+
#
|
4882
|
+
# @option params [String] :next_token
|
4883
|
+
# A continuation token, included if this is a continuation call.
|
4884
|
+
#
|
4885
|
+
# @return [Types::GetPartitionIndexesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4886
|
+
#
|
4887
|
+
# * {Types::GetPartitionIndexesResponse#partition_index_descriptor_list #partition_index_descriptor_list} => Array<Types::PartitionIndexDescriptor>
|
4888
|
+
# * {Types::GetPartitionIndexesResponse#next_token #next_token} => String
|
4889
|
+
#
|
4890
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4891
|
+
#
|
4892
|
+
# @example Request syntax with placeholder values
|
4893
|
+
#
|
4894
|
+
# resp = client.get_partition_indexes({
|
4895
|
+
# catalog_id: "CatalogIdString",
|
4896
|
+
# database_name: "NameString", # required
|
4897
|
+
# table_name: "NameString", # required
|
4898
|
+
# next_token: "Token",
|
4899
|
+
# })
|
4900
|
+
#
|
4901
|
+
# @example Response structure
|
4902
|
+
#
|
4903
|
+
# resp.partition_index_descriptor_list #=> Array
|
4904
|
+
# resp.partition_index_descriptor_list[0].index_name #=> String
|
4905
|
+
# resp.partition_index_descriptor_list[0].keys #=> Array
|
4906
|
+
# resp.partition_index_descriptor_list[0].keys[0].name #=> String
|
4907
|
+
# resp.partition_index_descriptor_list[0].keys[0].type #=> String
|
4908
|
+
# resp.partition_index_descriptor_list[0].index_status #=> String, one of "ACTIVE"
|
4909
|
+
# resp.next_token #=> String
|
4910
|
+
#
|
4911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes AWS API Documentation
|
4912
|
+
#
|
4913
|
+
# @overload get_partition_indexes(params = {})
|
4914
|
+
# @param [Hash] params ({})
|
4915
|
+
def get_partition_indexes(params = {}, options = {})
|
4916
|
+
req = build_request(:get_partition_indexes, params)
|
4917
|
+
req.send_request(options)
|
4918
|
+
end
|
4919
|
+
|
4859
4920
|
# Retrieves information about the partitions in a table.
|
4860
4921
|
#
|
4861
4922
|
# @option params [String] :catalog_id
|
@@ -8927,7 +8988,7 @@ module Aws::Glue
|
|
8927
8988
|
params: params,
|
8928
8989
|
config: config)
|
8929
8990
|
context[:gem_name] = 'aws-sdk-glue'
|
8930
|
-
context[:gem_version] = '1.
|
8991
|
+
context[:gem_version] = '1.69.0'
|
8931
8992
|
Seahorse::Client::Request.new(handlers, context)
|
8932
8993
|
end
|
8933
8994
|
|
@@ -103,6 +103,7 @@ module Aws::Glue
|
|
103
103
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
104
104
|
ConditionCheckFailureException = Shapes::StructureShape.new(name: 'ConditionCheckFailureException')
|
105
105
|
ConditionList = Shapes::ListShape.new(name: 'ConditionList')
|
106
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
106
107
|
ConfusionMatrix = Shapes::StructureShape.new(name: 'ConfusionMatrix')
|
107
108
|
Connection = Shapes::StructureShape.new(name: 'Connection')
|
108
109
|
ConnectionInput = Shapes::StructureShape.new(name: 'ConnectionInput')
|
@@ -305,6 +306,8 @@ module Aws::Glue
|
|
305
306
|
GetMLTransformsResponse = Shapes::StructureShape.new(name: 'GetMLTransformsResponse')
|
306
307
|
GetMappingRequest = Shapes::StructureShape.new(name: 'GetMappingRequest')
|
307
308
|
GetMappingResponse = Shapes::StructureShape.new(name: 'GetMappingResponse')
|
309
|
+
GetPartitionIndexesRequest = Shapes::StructureShape.new(name: 'GetPartitionIndexesRequest')
|
310
|
+
GetPartitionIndexesResponse = Shapes::StructureShape.new(name: 'GetPartitionIndexesResponse')
|
308
311
|
GetPartitionRequest = Shapes::StructureShape.new(name: 'GetPartitionRequest')
|
309
312
|
GetPartitionResponse = Shapes::StructureShape.new(name: 'GetPartitionResponse')
|
310
313
|
GetPartitionsRequest = Shapes::StructureShape.new(name: 'GetPartitionsRequest')
|
@@ -385,6 +388,9 @@ module Aws::Glue
|
|
385
388
|
JsonClassifier = Shapes::StructureShape.new(name: 'JsonClassifier')
|
386
389
|
JsonPath = Shapes::StringShape.new(name: 'JsonPath')
|
387
390
|
JsonValue = Shapes::StringShape.new(name: 'JsonValue')
|
391
|
+
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
392
|
+
KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
|
393
|
+
KeySchemaElementList = Shapes::ListShape.new(name: 'KeySchemaElementList')
|
388
394
|
KeyString = Shapes::StringShape.new(name: 'KeyString')
|
389
395
|
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
390
396
|
LabelCount = Shapes::IntegerShape.new(name: 'LabelCount')
|
@@ -450,6 +456,11 @@ module Aws::Glue
|
|
450
456
|
Partition = Shapes::StructureShape.new(name: 'Partition')
|
451
457
|
PartitionError = Shapes::StructureShape.new(name: 'PartitionError')
|
452
458
|
PartitionErrors = Shapes::ListShape.new(name: 'PartitionErrors')
|
459
|
+
PartitionIndex = Shapes::StructureShape.new(name: 'PartitionIndex')
|
460
|
+
PartitionIndexDescriptor = Shapes::StructureShape.new(name: 'PartitionIndexDescriptor')
|
461
|
+
PartitionIndexDescriptorList = Shapes::ListShape.new(name: 'PartitionIndexDescriptorList')
|
462
|
+
PartitionIndexList = Shapes::ListShape.new(name: 'PartitionIndexList')
|
463
|
+
PartitionIndexStatus = Shapes::StringShape.new(name: 'PartitionIndexStatus')
|
453
464
|
PartitionInput = Shapes::StructureShape.new(name: 'PartitionInput')
|
454
465
|
PartitionInputList = Shapes::ListShape.new(name: 'PartitionInputList')
|
455
466
|
PartitionList = Shapes::ListShape.new(name: 'PartitionList')
|
@@ -926,6 +937,9 @@ module Aws::Glue
|
|
926
937
|
|
927
938
|
ConditionList.member = Shapes::ShapeRef.new(shape: Condition)
|
928
939
|
|
940
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
|
941
|
+
ConflictException.struct_class = Types::ConflictException
|
942
|
+
|
929
943
|
ConfusionMatrix.add_member(:num_true_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTruePositives"))
|
930
944
|
ConfusionMatrix.add_member(:num_false_positives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumFalsePositives"))
|
931
945
|
ConfusionMatrix.add_member(:num_true_negatives, Shapes::ShapeRef.new(shape: RecordsCount, location_name: "NumTrueNegatives"))
|
@@ -1188,6 +1202,7 @@ module Aws::Glue
|
|
1188
1202
|
CreateTableRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1189
1203
|
CreateTableRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1190
1204
|
CreateTableRequest.add_member(:table_input, Shapes::ShapeRef.new(shape: TableInput, required: true, location_name: "TableInput"))
|
1205
|
+
CreateTableRequest.add_member(:partition_indexes, Shapes::ShapeRef.new(shape: PartitionIndexList, location_name: "PartitionIndexes"))
|
1191
1206
|
CreateTableRequest.struct_class = Types::CreateTableRequest
|
1192
1207
|
|
1193
1208
|
CreateTableResponse.struct_class = Types::CreateTableResponse
|
@@ -1749,6 +1764,16 @@ module Aws::Glue
|
|
1749
1764
|
GetMappingResponse.add_member(:mapping, Shapes::ShapeRef.new(shape: MappingList, required: true, location_name: "Mapping"))
|
1750
1765
|
GetMappingResponse.struct_class = Types::GetMappingResponse
|
1751
1766
|
|
1767
|
+
GetPartitionIndexesRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1768
|
+
GetPartitionIndexesRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1769
|
+
GetPartitionIndexesRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
1770
|
+
GetPartitionIndexesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1771
|
+
GetPartitionIndexesRequest.struct_class = Types::GetPartitionIndexesRequest
|
1772
|
+
|
1773
|
+
GetPartitionIndexesResponse.add_member(:partition_index_descriptor_list, Shapes::ShapeRef.new(shape: PartitionIndexDescriptorList, location_name: "PartitionIndexDescriptorList"))
|
1774
|
+
GetPartitionIndexesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
1775
|
+
GetPartitionIndexesResponse.struct_class = Types::GetPartitionIndexesResponse
|
1776
|
+
|
1752
1777
|
GetPartitionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1753
1778
|
GetPartitionRequest.add_member(:database_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "DatabaseName"))
|
1754
1779
|
GetPartitionRequest.add_member(:table_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TableName"))
|
@@ -2081,6 +2106,14 @@ module Aws::Glue
|
|
2081
2106
|
JsonClassifier.add_member(:json_path, Shapes::ShapeRef.new(shape: JsonPath, required: true, location_name: "JsonPath"))
|
2082
2107
|
JsonClassifier.struct_class = Types::JsonClassifier
|
2083
2108
|
|
2109
|
+
KeyList.member = Shapes::ShapeRef.new(shape: NameString)
|
2110
|
+
|
2111
|
+
KeySchemaElement.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
2112
|
+
KeySchemaElement.add_member(:type, Shapes::ShapeRef.new(shape: ColumnTypeString, required: true, location_name: "Type"))
|
2113
|
+
KeySchemaElement.struct_class = Types::KeySchemaElement
|
2114
|
+
|
2115
|
+
KeySchemaElementList.member = Shapes::ShapeRef.new(shape: KeySchemaElement)
|
2116
|
+
|
2084
2117
|
LabelingSetGenerationTaskRunProperties.add_member(:output_s3_path, Shapes::ShapeRef.new(shape: UriString, location_name: "OutputS3Path"))
|
2085
2118
|
LabelingSetGenerationTaskRunProperties.struct_class = Types::LabelingSetGenerationTaskRunProperties
|
2086
2119
|
|
@@ -2251,6 +2284,19 @@ module Aws::Glue
|
|
2251
2284
|
|
2252
2285
|
PartitionErrors.member = Shapes::ShapeRef.new(shape: PartitionError)
|
2253
2286
|
|
2287
|
+
PartitionIndex.add_member(:keys, Shapes::ShapeRef.new(shape: KeyList, required: true, location_name: "Keys"))
|
2288
|
+
PartitionIndex.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2289
|
+
PartitionIndex.struct_class = Types::PartitionIndex
|
2290
|
+
|
2291
|
+
PartitionIndexDescriptor.add_member(:index_name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "IndexName"))
|
2292
|
+
PartitionIndexDescriptor.add_member(:keys, Shapes::ShapeRef.new(shape: KeySchemaElementList, required: true, location_name: "Keys"))
|
2293
|
+
PartitionIndexDescriptor.add_member(:index_status, Shapes::ShapeRef.new(shape: PartitionIndexStatus, required: true, location_name: "IndexStatus"))
|
2294
|
+
PartitionIndexDescriptor.struct_class = Types::PartitionIndexDescriptor
|
2295
|
+
|
2296
|
+
PartitionIndexDescriptorList.member = Shapes::ShapeRef.new(shape: PartitionIndexDescriptor)
|
2297
|
+
|
2298
|
+
PartitionIndexList.member = Shapes::ShapeRef.new(shape: PartitionIndex)
|
2299
|
+
|
2254
2300
|
PartitionInput.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
|
2255
2301
|
PartitionInput.add_member(:last_access_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastAccessTime"))
|
2256
2302
|
PartitionInput.add_member(:storage_descriptor, Shapes::ShapeRef.new(shape: StorageDescriptor, location_name: "StorageDescriptor"))
|
@@ -3871,6 +3917,24 @@ module Aws::Glue
|
|
3871
3917
|
o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
|
3872
3918
|
end)
|
3873
3919
|
|
3920
|
+
api.add_operation(:get_partition_indexes, Seahorse::Model::Operation.new.tap do |o|
|
3921
|
+
o.name = "GetPartitionIndexes"
|
3922
|
+
o.http_method = "POST"
|
3923
|
+
o.http_request_uri = "/"
|
3924
|
+
o.input = Shapes::ShapeRef.new(shape: GetPartitionIndexesRequest)
|
3925
|
+
o.output = Shapes::ShapeRef.new(shape: GetPartitionIndexesResponse)
|
3926
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
|
3927
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
|
3928
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
3929
|
+
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
|
3930
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3931
|
+
o[:pager] = Aws::Pager.new(
|
3932
|
+
tokens: {
|
3933
|
+
"next_token" => "next_token"
|
3934
|
+
}
|
3935
|
+
)
|
3936
|
+
end)
|
3937
|
+
|
3874
3938
|
api.add_operation(:get_partitions, Seahorse::Model::Operation.new.tap do |o|
|
3875
3939
|
o.name = "GetPartitions"
|
3876
3940
|
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
@@ -1492,6 +1492,21 @@ module Aws::Glue
|
|
1492
1492
|
include Aws::Structure
|
1493
1493
|
end
|
1494
1494
|
|
1495
|
+
# The `CreatePartitions` API was called on a table that has indexes
|
1496
|
+
# enabled.
|
1497
|
+
#
|
1498
|
+
# @!attribute [rw] message
|
1499
|
+
# A message describing the problem.
|
1500
|
+
# @return [String]
|
1501
|
+
#
|
1502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ConflictException AWS API Documentation
|
1503
|
+
#
|
1504
|
+
class ConflictException < Struct.new(
|
1505
|
+
:message)
|
1506
|
+
SENSITIVE = []
|
1507
|
+
include Aws::Structure
|
1508
|
+
end
|
1509
|
+
|
1495
1510
|
# The confusion matrix shows you what your transform is predicting
|
1496
1511
|
# accurately and what types of errors it is making.
|
1497
1512
|
#
|
@@ -1620,17 +1635,6 @@ module Aws::Glue
|
|
1620
1635
|
# port pairs that are the addresses of the Apache Kafka brokers in a
|
1621
1636
|
# Kafka cluster to which a Kafka client will connect to and
|
1622
1637
|
# bootstrap itself.
|
1623
|
-
#
|
1624
|
-
# * `KAFKA_SSL_ENABLED` - Whether to enable or disable SSL on an
|
1625
|
-
# Apache Kafka connection. Default value is "true".
|
1626
|
-
#
|
1627
|
-
# * `KAFKA_CUSTOM_CERT` - The Amazon S3 URL for the private CA cert
|
1628
|
-
# file (.pem format). The default is an empty string.
|
1629
|
-
#
|
1630
|
-
# * `KAFKA_SKIP_CUSTOM_CERT_VALIDATION` - Whether to skip the
|
1631
|
-
# validation of the CA cert file or not. AWS Glue validates for
|
1632
|
-
# three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA.
|
1633
|
-
# Default value is "false".
|
1634
1638
|
# @return [Hash<String,String>]
|
1635
1639
|
#
|
1636
1640
|
# @!attribute [rw] physical_connection_requirements
|
@@ -1708,9 +1712,6 @@ module Aws::Glue
|
|
1708
1712
|
# * `MONGODB` - Designates a connection to a MongoDB document
|
1709
1713
|
# database.
|
1710
1714
|
#
|
1711
|
-
# * `NETWORK` - Designates a network connection to a data source
|
1712
|
-
# within an Amazon Virtual Private Cloud environment (Amazon VPC).
|
1713
|
-
#
|
1714
1715
|
# SFTP is not supported.
|
1715
1716
|
# @return [String]
|
1716
1717
|
#
|
@@ -3617,6 +3618,12 @@ module Aws::Glue
|
|
3617
3618
|
# name: "NameString",
|
3618
3619
|
# },
|
3619
3620
|
# },
|
3621
|
+
# partition_indexes: [
|
3622
|
+
# {
|
3623
|
+
# keys: ["NameString"], # required
|
3624
|
+
# index_name: "NameString", # required
|
3625
|
+
# },
|
3626
|
+
# ],
|
3620
3627
|
# }
|
3621
3628
|
#
|
3622
3629
|
# @!attribute [rw] catalog_id
|
@@ -3634,12 +3641,18 @@ module Aws::Glue
|
|
3634
3641
|
# the catalog.
|
3635
3642
|
# @return [Types::TableInput]
|
3636
3643
|
#
|
3644
|
+
# @!attribute [rw] partition_indexes
|
3645
|
+
# A list of partition indexes, `PartitionIndex` structures, to create
|
3646
|
+
# in the table.
|
3647
|
+
# @return [Array<Types::PartitionIndex>]
|
3648
|
+
#
|
3637
3649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTableRequest AWS API Documentation
|
3638
3650
|
#
|
3639
3651
|
class CreateTableRequest < Struct.new(
|
3640
3652
|
:catalog_id,
|
3641
3653
|
:database_name,
|
3642
|
-
:table_input
|
3654
|
+
:table_input,
|
3655
|
+
:partition_indexes)
|
3643
3656
|
SENSITIVE = []
|
3644
3657
|
include Aws::Structure
|
3645
3658
|
end
|
@@ -6970,6 +6983,63 @@ module Aws::Glue
|
|
6970
6983
|
include Aws::Structure
|
6971
6984
|
end
|
6972
6985
|
|
6986
|
+
# @note When making an API call, you may pass GetPartitionIndexesRequest
|
6987
|
+
# data as a hash:
|
6988
|
+
#
|
6989
|
+
# {
|
6990
|
+
# catalog_id: "CatalogIdString",
|
6991
|
+
# database_name: "NameString", # required
|
6992
|
+
# table_name: "NameString", # required
|
6993
|
+
# next_token: "Token",
|
6994
|
+
# }
|
6995
|
+
#
|
6996
|
+
# @!attribute [rw] catalog_id
|
6997
|
+
# The catalog ID where the table resides.
|
6998
|
+
# @return [String]
|
6999
|
+
#
|
7000
|
+
# @!attribute [rw] database_name
|
7001
|
+
# Specifies the name of a database from which you want to retrieve
|
7002
|
+
# partition indexes.
|
7003
|
+
# @return [String]
|
7004
|
+
#
|
7005
|
+
# @!attribute [rw] table_name
|
7006
|
+
# Specifies the name of a table for which you want to retrieve the
|
7007
|
+
# partition indexes.
|
7008
|
+
# @return [String]
|
7009
|
+
#
|
7010
|
+
# @!attribute [rw] next_token
|
7011
|
+
# A continuation token, included if this is a continuation call.
|
7012
|
+
# @return [String]
|
7013
|
+
#
|
7014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesRequest AWS API Documentation
|
7015
|
+
#
|
7016
|
+
class GetPartitionIndexesRequest < Struct.new(
|
7017
|
+
:catalog_id,
|
7018
|
+
:database_name,
|
7019
|
+
:table_name,
|
7020
|
+
:next_token)
|
7021
|
+
SENSITIVE = []
|
7022
|
+
include Aws::Structure
|
7023
|
+
end
|
7024
|
+
|
7025
|
+
# @!attribute [rw] partition_index_descriptor_list
|
7026
|
+
# A list of index descriptors.
|
7027
|
+
# @return [Array<Types::PartitionIndexDescriptor>]
|
7028
|
+
#
|
7029
|
+
# @!attribute [rw] next_token
|
7030
|
+
# A continuation token, present if the current list segment is not the
|
7031
|
+
# last.
|
7032
|
+
# @return [String]
|
7033
|
+
#
|
7034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexesResponse AWS API Documentation
|
7035
|
+
#
|
7036
|
+
class GetPartitionIndexesResponse < Struct.new(
|
7037
|
+
:partition_index_descriptor_list,
|
7038
|
+
:next_token)
|
7039
|
+
SENSITIVE = []
|
7040
|
+
include Aws::Structure
|
7041
|
+
end
|
7042
|
+
|
6973
7043
|
# @note When making an API call, you may pass GetPartitionRequest
|
6974
7044
|
# data as a hash:
|
6975
7045
|
#
|
@@ -9149,6 +9219,25 @@ module Aws::Glue
|
|
9149
9219
|
include Aws::Structure
|
9150
9220
|
end
|
9151
9221
|
|
9222
|
+
# A partition key pair consisting of a name and a type.
|
9223
|
+
#
|
9224
|
+
# @!attribute [rw] name
|
9225
|
+
# The name of a partition key.
|
9226
|
+
# @return [String]
|
9227
|
+
#
|
9228
|
+
# @!attribute [rw] type
|
9229
|
+
# The type of a partition key.
|
9230
|
+
# @return [String]
|
9231
|
+
#
|
9232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/KeySchemaElement AWS API Documentation
|
9233
|
+
#
|
9234
|
+
class KeySchemaElement < Struct.new(
|
9235
|
+
:name,
|
9236
|
+
:type)
|
9237
|
+
SENSITIVE = []
|
9238
|
+
include Aws::Structure
|
9239
|
+
end
|
9240
|
+
|
9152
9241
|
# Specifies configuration properties for a labeling set generation task
|
9153
9242
|
# run.
|
9154
9243
|
#
|
@@ -10085,6 +10174,58 @@ module Aws::Glue
|
|
10085
10174
|
include Aws::Structure
|
10086
10175
|
end
|
10087
10176
|
|
10177
|
+
# A structure for a partition index.
|
10178
|
+
#
|
10179
|
+
# @note When making an API call, you may pass PartitionIndex
|
10180
|
+
# data as a hash:
|
10181
|
+
#
|
10182
|
+
# {
|
10183
|
+
# keys: ["NameString"], # required
|
10184
|
+
# index_name: "NameString", # required
|
10185
|
+
# }
|
10186
|
+
#
|
10187
|
+
# @!attribute [rw] keys
|
10188
|
+
# The keys for the partition index.
|
10189
|
+
# @return [Array<String>]
|
10190
|
+
#
|
10191
|
+
# @!attribute [rw] index_name
|
10192
|
+
# The name of the partition index.
|
10193
|
+
# @return [String]
|
10194
|
+
#
|
10195
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndex AWS API Documentation
|
10196
|
+
#
|
10197
|
+
class PartitionIndex < Struct.new(
|
10198
|
+
:keys,
|
10199
|
+
:index_name)
|
10200
|
+
SENSITIVE = []
|
10201
|
+
include Aws::Structure
|
10202
|
+
end
|
10203
|
+
|
10204
|
+
# A descriptor for a partition index in a table.
|
10205
|
+
#
|
10206
|
+
# @!attribute [rw] index_name
|
10207
|
+
# The name of the partition index.
|
10208
|
+
# @return [String]
|
10209
|
+
#
|
10210
|
+
# @!attribute [rw] keys
|
10211
|
+
# A list of one or more keys, as `KeySchemaElement` structures, for
|
10212
|
+
# the partition index.
|
10213
|
+
# @return [Array<Types::KeySchemaElement>]
|
10214
|
+
#
|
10215
|
+
# @!attribute [rw] index_status
|
10216
|
+
# The status of the partition index.
|
10217
|
+
# @return [String]
|
10218
|
+
#
|
10219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PartitionIndexDescriptor AWS API Documentation
|
10220
|
+
#
|
10221
|
+
class PartitionIndexDescriptor < Struct.new(
|
10222
|
+
:index_name,
|
10223
|
+
:keys,
|
10224
|
+
:index_status)
|
10225
|
+
SENSITIVE = []
|
10226
|
+
include Aws::Structure
|
10227
|
+
end
|
10228
|
+
|
10088
10229
|
# The structure used to create and update a partition.
|
10089
10230
|
#
|
10090
10231
|
# @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.69.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-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|