aws-sdk-glue 1.28.0 → 1.29.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 +54 -6
- data/lib/aws-sdk-glue/client_api.rb +43 -0
- data/lib/aws-sdk-glue/types.rb +219 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 322c60f7f3013a4d27ef2c5d5a95293720edaf63
|
4
|
+
data.tar.gz: 8f9bb6f2bd0092eb8b3b6ba21a42cc27dd21a699
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49db5afe8e452889f3fcd8a11354eab466c15edb49d12887bf76d5d540b385147bebdd9de377eb8f450a84f0f16417018be5867cdfa1e8cd50bae9c656fc156d
|
7
|
+
data.tar.gz: 1d4bc985c6bb486b5d9bd36398fde2fa0de8f82cc4c52a6ab3d79c5437fbb346993f673c9cfa66fb62c8ffae872fb93fa1af49fe580ba581900476d70633e137
|
data/lib/aws-sdk-glue.rb
CHANGED
data/lib/aws-sdk-glue/client.rb
CHANGED
@@ -505,7 +505,8 @@ module Aws::Glue
|
|
505
505
|
# Returns a list of resource metadata for a given list of crawler names.
|
506
506
|
# After calling the `ListCrawlers` operation, you can call this
|
507
507
|
# operation to access the data to which you have been granted
|
508
|
-
# permissions
|
508
|
+
# permissions. This operation supports all IAM permissions, including
|
509
|
+
# permission conditions that uses tags.
|
509
510
|
#
|
510
511
|
# @option params [required, Array<String>] :crawler_names
|
511
512
|
# A list of crawler names, which may be the names returned from the
|
@@ -869,8 +870,8 @@ module Aws::Glue
|
|
869
870
|
end
|
870
871
|
|
871
872
|
# Creates a classifier in the user's account. This may be a
|
872
|
-
# `GrokClassifier`, an `XMLClassifier`,
|
873
|
-
# depending on which field of the request is present.
|
873
|
+
# `GrokClassifier`, an `XMLClassifier`, a `JsonClassifier`, or a
|
874
|
+
# `CsvClassifier`, depending on which field of the request is present.
|
874
875
|
#
|
875
876
|
# @option params [Types::CreateGrokClassifierRequest] :grok_classifier
|
876
877
|
# A `GrokClassifier` object specifying the classifier to create.
|
@@ -881,6 +882,9 @@ module Aws::Glue
|
|
881
882
|
# @option params [Types::CreateJsonClassifierRequest] :json_classifier
|
882
883
|
# A `JsonClassifier` object specifying the classifier to create.
|
883
884
|
#
|
885
|
+
# @option params [Types::CreateCsvClassifierRequest] :csv_classifier
|
886
|
+
# A `CsvClassifier` object specifying the classifier to create.
|
887
|
+
#
|
884
888
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
885
889
|
#
|
886
890
|
# @example Request syntax with placeholder values
|
@@ -901,6 +905,15 @@ module Aws::Glue
|
|
901
905
|
# name: "NameString", # required
|
902
906
|
# json_path: "JsonPath", # required
|
903
907
|
# },
|
908
|
+
# csv_classifier: {
|
909
|
+
# name: "NameString", # required
|
910
|
+
# delimiter: "CsvColumnDelimiter",
|
911
|
+
# quote_symbol: "CsvQuoteSymbol",
|
912
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
913
|
+
# header: ["NameString"],
|
914
|
+
# disable_value_trimming: false,
|
915
|
+
# allow_single_column: false,
|
916
|
+
# },
|
904
917
|
# })
|
905
918
|
#
|
906
919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier AWS API Documentation
|
@@ -2274,6 +2287,17 @@ module Aws::Glue
|
|
2274
2287
|
# resp.classifier.json_classifier.last_updated #=> Time
|
2275
2288
|
# resp.classifier.json_classifier.version #=> Integer
|
2276
2289
|
# resp.classifier.json_classifier.json_path #=> String
|
2290
|
+
# resp.classifier.csv_classifier.name #=> String
|
2291
|
+
# resp.classifier.csv_classifier.creation_time #=> Time
|
2292
|
+
# resp.classifier.csv_classifier.last_updated #=> Time
|
2293
|
+
# resp.classifier.csv_classifier.version #=> Integer
|
2294
|
+
# resp.classifier.csv_classifier.delimiter #=> String
|
2295
|
+
# resp.classifier.csv_classifier.quote_symbol #=> String
|
2296
|
+
# resp.classifier.csv_classifier.contains_header #=> String, one of "UNKNOWN", "PRESENT", "ABSENT"
|
2297
|
+
# resp.classifier.csv_classifier.header #=> Array
|
2298
|
+
# resp.classifier.csv_classifier.header[0] #=> String
|
2299
|
+
# resp.classifier.csv_classifier.disable_value_trimming #=> Boolean
|
2300
|
+
# resp.classifier.csv_classifier.allow_single_column #=> Boolean
|
2277
2301
|
#
|
2278
2302
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation
|
2279
2303
|
#
|
@@ -2325,6 +2349,17 @@ module Aws::Glue
|
|
2325
2349
|
# resp.classifiers[0].json_classifier.last_updated #=> Time
|
2326
2350
|
# resp.classifiers[0].json_classifier.version #=> Integer
|
2327
2351
|
# resp.classifiers[0].json_classifier.json_path #=> String
|
2352
|
+
# resp.classifiers[0].csv_classifier.name #=> String
|
2353
|
+
# resp.classifiers[0].csv_classifier.creation_time #=> Time
|
2354
|
+
# resp.classifiers[0].csv_classifier.last_updated #=> Time
|
2355
|
+
# resp.classifiers[0].csv_classifier.version #=> Integer
|
2356
|
+
# resp.classifiers[0].csv_classifier.delimiter #=> String
|
2357
|
+
# resp.classifiers[0].csv_classifier.quote_symbol #=> String
|
2358
|
+
# resp.classifiers[0].csv_classifier.contains_header #=> String, one of "UNKNOWN", "PRESENT", "ABSENT"
|
2359
|
+
# resp.classifiers[0].csv_classifier.header #=> Array
|
2360
|
+
# resp.classifiers[0].csv_classifier.header[0] #=> String
|
2361
|
+
# resp.classifiers[0].csv_classifier.disable_value_trimming #=> Boolean
|
2362
|
+
# resp.classifiers[0].csv_classifier.allow_single_column #=> Boolean
|
2328
2363
|
# resp.next_token #=> String
|
2329
2364
|
#
|
2330
2365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation
|
@@ -4926,8 +4961,9 @@ module Aws::Glue
|
|
4926
4961
|
req.send_request(options)
|
4927
4962
|
end
|
4928
4963
|
|
4929
|
-
# Modifies an existing classifier (a `GrokClassifier`,
|
4930
|
-
#
|
4964
|
+
# Modifies an existing classifier (a `GrokClassifier`, an
|
4965
|
+
# `XMLClassifier`, a `JsonClassifier`, or a `CsvClassifier`, depending
|
4966
|
+
# on which field is present).
|
4931
4967
|
#
|
4932
4968
|
# @option params [Types::UpdateGrokClassifierRequest] :grok_classifier
|
4933
4969
|
# A `GrokClassifier` object with updated fields.
|
@@ -4938,6 +4974,9 @@ module Aws::Glue
|
|
4938
4974
|
# @option params [Types::UpdateJsonClassifierRequest] :json_classifier
|
4939
4975
|
# A `JsonClassifier` object with updated fields.
|
4940
4976
|
#
|
4977
|
+
# @option params [Types::UpdateCsvClassifierRequest] :csv_classifier
|
4978
|
+
# A `CsvClassifier` object with updated fields.
|
4979
|
+
#
|
4941
4980
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4942
4981
|
#
|
4943
4982
|
# @example Request syntax with placeholder values
|
@@ -4958,6 +4997,15 @@ module Aws::Glue
|
|
4958
4997
|
# name: "NameString", # required
|
4959
4998
|
# json_path: "JsonPath",
|
4960
4999
|
# },
|
5000
|
+
# csv_classifier: {
|
5001
|
+
# name: "NameString", # required
|
5002
|
+
# delimiter: "CsvColumnDelimiter",
|
5003
|
+
# quote_symbol: "CsvQuoteSymbol",
|
5004
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
5005
|
+
# header: ["NameString"],
|
5006
|
+
# disable_value_trimming: false,
|
5007
|
+
# allow_single_column: false,
|
5008
|
+
# },
|
4961
5009
|
# })
|
4962
5010
|
#
|
4963
5011
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier AWS API Documentation
|
@@ -5625,7 +5673,7 @@ module Aws::Glue
|
|
5625
5673
|
params: params,
|
5626
5674
|
config: config)
|
5627
5675
|
context[:gem_name] = 'aws-sdk-glue'
|
5628
|
-
context[:gem_version] = '1.
|
5676
|
+
context[:gem_version] = '1.29.0'
|
5629
5677
|
Seahorse::Client::Request.new(handlers, context)
|
5630
5678
|
end
|
5631
5679
|
|
@@ -108,6 +108,7 @@ module Aws::Glue
|
|
108
108
|
CreateConnectionResponse = Shapes::StructureShape.new(name: 'CreateConnectionResponse')
|
109
109
|
CreateCrawlerRequest = Shapes::StructureShape.new(name: 'CreateCrawlerRequest')
|
110
110
|
CreateCrawlerResponse = Shapes::StructureShape.new(name: 'CreateCrawlerResponse')
|
111
|
+
CreateCsvClassifierRequest = Shapes::StructureShape.new(name: 'CreateCsvClassifierRequest')
|
111
112
|
CreateDatabaseRequest = Shapes::StructureShape.new(name: 'CreateDatabaseRequest')
|
112
113
|
CreateDatabaseResponse = Shapes::StructureShape.new(name: 'CreateDatabaseResponse')
|
113
114
|
CreateDevEndpointRequest = Shapes::StructureShape.new(name: 'CreateDevEndpointRequest')
|
@@ -130,6 +131,11 @@ module Aws::Glue
|
|
130
131
|
CreateUserDefinedFunctionResponse = Shapes::StructureShape.new(name: 'CreateUserDefinedFunctionResponse')
|
131
132
|
CreateXMLClassifierRequest = Shapes::StructureShape.new(name: 'CreateXMLClassifierRequest')
|
132
133
|
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
134
|
+
CsvClassifier = Shapes::StructureShape.new(name: 'CsvClassifier')
|
135
|
+
CsvColumnDelimiter = Shapes::StringShape.new(name: 'CsvColumnDelimiter')
|
136
|
+
CsvHeader = Shapes::ListShape.new(name: 'CsvHeader')
|
137
|
+
CsvHeaderOption = Shapes::StringShape.new(name: 'CsvHeaderOption')
|
138
|
+
CsvQuoteSymbol = Shapes::StringShape.new(name: 'CsvQuoteSymbol')
|
133
139
|
CustomPatterns = Shapes::StringShape.new(name: 'CustomPatterns')
|
134
140
|
DagEdges = Shapes::ListShape.new(name: 'DagEdges')
|
135
141
|
DagNodes = Shapes::ListShape.new(name: 'DagNodes')
|
@@ -326,6 +332,7 @@ module Aws::Glue
|
|
326
332
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
327
333
|
NotificationProperty = Shapes::StructureShape.new(name: 'NotificationProperty')
|
328
334
|
NotifyDelayAfter = Shapes::IntegerShape.new(name: 'NotifyDelayAfter')
|
335
|
+
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
329
336
|
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
330
337
|
OperationTimeoutException = Shapes::StructureShape.new(name: 'OperationTimeoutException')
|
331
338
|
Order = Shapes::StructureShape.new(name: 'Order')
|
@@ -441,6 +448,7 @@ module Aws::Glue
|
|
441
448
|
UpdateCrawlerResponse = Shapes::StructureShape.new(name: 'UpdateCrawlerResponse')
|
442
449
|
UpdateCrawlerScheduleRequest = Shapes::StructureShape.new(name: 'UpdateCrawlerScheduleRequest')
|
443
450
|
UpdateCrawlerScheduleResponse = Shapes::StructureShape.new(name: 'UpdateCrawlerScheduleResponse')
|
451
|
+
UpdateCsvClassifierRequest = Shapes::StructureShape.new(name: 'UpdateCsvClassifierRequest')
|
444
452
|
UpdateDatabaseRequest = Shapes::StructureShape.new(name: 'UpdateDatabaseRequest')
|
445
453
|
UpdateDatabaseResponse = Shapes::StructureShape.new(name: 'UpdateDatabaseResponse')
|
446
454
|
UpdateDevEndpointRequest = Shapes::StructureShape.new(name: 'UpdateDevEndpointRequest')
|
@@ -608,6 +616,7 @@ module Aws::Glue
|
|
608
616
|
Classifier.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: GrokClassifier, location_name: "GrokClassifier"))
|
609
617
|
Classifier.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: XMLClassifier, location_name: "XMLClassifier"))
|
610
618
|
Classifier.add_member(:json_classifier, Shapes::ShapeRef.new(shape: JsonClassifier, location_name: "JsonClassifier"))
|
619
|
+
Classifier.add_member(:csv_classifier, Shapes::ShapeRef.new(shape: CsvClassifier, location_name: "CsvClassifier"))
|
611
620
|
Classifier.struct_class = Types::Classifier
|
612
621
|
|
613
622
|
ClassifierList.member = Shapes::ShapeRef.new(shape: Classifier)
|
@@ -726,6 +735,7 @@ module Aws::Glue
|
|
726
735
|
CreateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: CreateGrokClassifierRequest, location_name: "GrokClassifier"))
|
727
736
|
CreateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: CreateXMLClassifierRequest, location_name: "XMLClassifier"))
|
728
737
|
CreateClassifierRequest.add_member(:json_classifier, Shapes::ShapeRef.new(shape: CreateJsonClassifierRequest, location_name: "JsonClassifier"))
|
738
|
+
CreateClassifierRequest.add_member(:csv_classifier, Shapes::ShapeRef.new(shape: CreateCsvClassifierRequest, location_name: "CsvClassifier"))
|
729
739
|
CreateClassifierRequest.struct_class = Types::CreateClassifierRequest
|
730
740
|
|
731
741
|
CreateClassifierResponse.struct_class = Types::CreateClassifierResponse
|
@@ -752,6 +762,15 @@ module Aws::Glue
|
|
752
762
|
|
753
763
|
CreateCrawlerResponse.struct_class = Types::CreateCrawlerResponse
|
754
764
|
|
765
|
+
CreateCsvClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
766
|
+
CreateCsvClassifierRequest.add_member(:delimiter, Shapes::ShapeRef.new(shape: CsvColumnDelimiter, location_name: "Delimiter"))
|
767
|
+
CreateCsvClassifierRequest.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: CsvQuoteSymbol, location_name: "QuoteSymbol"))
|
768
|
+
CreateCsvClassifierRequest.add_member(:contains_header, Shapes::ShapeRef.new(shape: CsvHeaderOption, location_name: "ContainsHeader"))
|
769
|
+
CreateCsvClassifierRequest.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
|
770
|
+
CreateCsvClassifierRequest.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
|
771
|
+
CreateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
|
772
|
+
CreateCsvClassifierRequest.struct_class = Types::CreateCsvClassifierRequest
|
773
|
+
|
755
774
|
CreateDatabaseRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
756
775
|
CreateDatabaseRequest.add_member(:database_input, Shapes::ShapeRef.new(shape: DatabaseInput, required: true, location_name: "DatabaseInput"))
|
757
776
|
CreateDatabaseRequest.struct_class = Types::CreateDatabaseRequest
|
@@ -877,6 +896,20 @@ module Aws::Glue
|
|
877
896
|
CreateXMLClassifierRequest.add_member(:row_tag, Shapes::ShapeRef.new(shape: RowTag, location_name: "RowTag"))
|
878
897
|
CreateXMLClassifierRequest.struct_class = Types::CreateXMLClassifierRequest
|
879
898
|
|
899
|
+
CsvClassifier.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
900
|
+
CsvClassifier.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
901
|
+
CsvClassifier.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated"))
|
902
|
+
CsvClassifier.add_member(:version, Shapes::ShapeRef.new(shape: VersionId, location_name: "Version"))
|
903
|
+
CsvClassifier.add_member(:delimiter, Shapes::ShapeRef.new(shape: CsvColumnDelimiter, location_name: "Delimiter"))
|
904
|
+
CsvClassifier.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: CsvQuoteSymbol, location_name: "QuoteSymbol"))
|
905
|
+
CsvClassifier.add_member(:contains_header, Shapes::ShapeRef.new(shape: CsvHeaderOption, location_name: "ContainsHeader"))
|
906
|
+
CsvClassifier.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
|
907
|
+
CsvClassifier.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
|
908
|
+
CsvClassifier.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
|
909
|
+
CsvClassifier.struct_class = Types::CsvClassifier
|
910
|
+
|
911
|
+
CsvHeader.member = Shapes::ShapeRef.new(shape: NameString)
|
912
|
+
|
880
913
|
DagEdges.member = Shapes::ShapeRef.new(shape: CodeGenEdge)
|
881
914
|
|
882
915
|
DagNodes.member = Shapes::ShapeRef.new(shape: CodeGenNode)
|
@@ -1782,6 +1815,7 @@ module Aws::Glue
|
|
1782
1815
|
UpdateClassifierRequest.add_member(:grok_classifier, Shapes::ShapeRef.new(shape: UpdateGrokClassifierRequest, location_name: "GrokClassifier"))
|
1783
1816
|
UpdateClassifierRequest.add_member(:xml_classifier, Shapes::ShapeRef.new(shape: UpdateXMLClassifierRequest, location_name: "XMLClassifier"))
|
1784
1817
|
UpdateClassifierRequest.add_member(:json_classifier, Shapes::ShapeRef.new(shape: UpdateJsonClassifierRequest, location_name: "JsonClassifier"))
|
1818
|
+
UpdateClassifierRequest.add_member(:csv_classifier, Shapes::ShapeRef.new(shape: UpdateCsvClassifierRequest, location_name: "CsvClassifier"))
|
1785
1819
|
UpdateClassifierRequest.struct_class = Types::UpdateClassifierRequest
|
1786
1820
|
|
1787
1821
|
UpdateClassifierResponse.struct_class = Types::UpdateClassifierResponse
|
@@ -1814,6 +1848,15 @@ module Aws::Glue
|
|
1814
1848
|
|
1815
1849
|
UpdateCrawlerScheduleResponse.struct_class = Types::UpdateCrawlerScheduleResponse
|
1816
1850
|
|
1851
|
+
UpdateCsvClassifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1852
|
+
UpdateCsvClassifierRequest.add_member(:delimiter, Shapes::ShapeRef.new(shape: CsvColumnDelimiter, location_name: "Delimiter"))
|
1853
|
+
UpdateCsvClassifierRequest.add_member(:quote_symbol, Shapes::ShapeRef.new(shape: CsvQuoteSymbol, location_name: "QuoteSymbol"))
|
1854
|
+
UpdateCsvClassifierRequest.add_member(:contains_header, Shapes::ShapeRef.new(shape: CsvHeaderOption, location_name: "ContainsHeader"))
|
1855
|
+
UpdateCsvClassifierRequest.add_member(:header, Shapes::ShapeRef.new(shape: CsvHeader, location_name: "Header"))
|
1856
|
+
UpdateCsvClassifierRequest.add_member(:disable_value_trimming, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "DisableValueTrimming"))
|
1857
|
+
UpdateCsvClassifierRequest.add_member(:allow_single_column, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "AllowSingleColumn"))
|
1858
|
+
UpdateCsvClassifierRequest.struct_class = Types::UpdateCsvClassifierRequest
|
1859
|
+
|
1817
1860
|
UpdateDatabaseRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
|
1818
1861
|
UpdateDatabaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
|
1819
1862
|
UpdateDatabaseRequest.add_member(:database_input, Shapes::ShapeRef.new(shape: DatabaseInput, required: true, location_name: "DatabaseInput"))
|
data/lib/aws-sdk-glue/types.rb
CHANGED
@@ -394,7 +394,7 @@ module Aws::Glue
|
|
394
394
|
# @return [Array<Types::Crawler>]
|
395
395
|
#
|
396
396
|
# @!attribute [rw] crawlers_not_found
|
397
|
-
# A list of crawlers not found.
|
397
|
+
# A list of names of crawlers not found.
|
398
398
|
# @return [Array<String>]
|
399
399
|
#
|
400
400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlersResponse AWS API Documentation
|
@@ -710,8 +710,9 @@ module Aws::Glue
|
|
710
710
|
# You can use the standard classifiers that AWS Glue supplies, or you
|
711
711
|
# can write your own classifiers to best categorize your data sources
|
712
712
|
# and specify the appropriate schemas to use for them. A classifier can
|
713
|
-
# be a `grok` classifier, an `XML` classifier,
|
714
|
-
# as specified in one of the fields in the
|
713
|
+
# be a `grok` classifier, an `XML` classifier, a `JSON` classifier, or a
|
714
|
+
# custom `CSV` classifier as specified in one of the fields in the
|
715
|
+
# `Classifier` object.
|
715
716
|
#
|
716
717
|
# @!attribute [rw] grok_classifier
|
717
718
|
# A `GrokClassifier` object.
|
@@ -725,12 +726,17 @@ module Aws::Glue
|
|
725
726
|
# A `JsonClassifier` object.
|
726
727
|
# @return [Types::JsonClassifier]
|
727
728
|
#
|
729
|
+
# @!attribute [rw] csv_classifier
|
730
|
+
# A `CSVClassifier` object.
|
731
|
+
# @return [Types::CsvClassifier]
|
732
|
+
#
|
728
733
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/Classifier AWS API Documentation
|
729
734
|
#
|
730
735
|
class Classifier < Struct.new(
|
731
736
|
:grok_classifier,
|
732
737
|
:xml_classifier,
|
733
|
-
:json_classifier
|
738
|
+
:json_classifier,
|
739
|
+
:csv_classifier)
|
734
740
|
include Aws::Structure
|
735
741
|
end
|
736
742
|
|
@@ -1380,6 +1386,15 @@ module Aws::Glue
|
|
1380
1386
|
# name: "NameString", # required
|
1381
1387
|
# json_path: "JsonPath", # required
|
1382
1388
|
# },
|
1389
|
+
# csv_classifier: {
|
1390
|
+
# name: "NameString", # required
|
1391
|
+
# delimiter: "CsvColumnDelimiter",
|
1392
|
+
# quote_symbol: "CsvQuoteSymbol",
|
1393
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
1394
|
+
# header: ["NameString"],
|
1395
|
+
# disable_value_trimming: false,
|
1396
|
+
# allow_single_column: false,
|
1397
|
+
# },
|
1383
1398
|
# }
|
1384
1399
|
#
|
1385
1400
|
# @!attribute [rw] grok_classifier
|
@@ -1394,12 +1409,17 @@ module Aws::Glue
|
|
1394
1409
|
# A `JsonClassifier` object specifying the classifier to create.
|
1395
1410
|
# @return [Types::CreateJsonClassifierRequest]
|
1396
1411
|
#
|
1412
|
+
# @!attribute [rw] csv_classifier
|
1413
|
+
# A `CsvClassifier` object specifying the classifier to create.
|
1414
|
+
# @return [Types::CreateCsvClassifierRequest]
|
1415
|
+
#
|
1397
1416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifierRequest AWS API Documentation
|
1398
1417
|
#
|
1399
1418
|
class CreateClassifierRequest < Struct.new(
|
1400
1419
|
:grok_classifier,
|
1401
1420
|
:xml_classifier,
|
1402
|
-
:json_classifier
|
1421
|
+
:json_classifier,
|
1422
|
+
:csv_classifier)
|
1403
1423
|
include Aws::Structure
|
1404
1424
|
end
|
1405
1425
|
|
@@ -1585,6 +1605,65 @@ module Aws::Glue
|
|
1585
1605
|
#
|
1586
1606
|
class CreateCrawlerResponse < Aws::EmptyStructure; end
|
1587
1607
|
|
1608
|
+
# Specifies a custom CSV classifier for `CreateClassifier` to create.
|
1609
|
+
#
|
1610
|
+
# @note When making an API call, you may pass CreateCsvClassifierRequest
|
1611
|
+
# data as a hash:
|
1612
|
+
#
|
1613
|
+
# {
|
1614
|
+
# name: "NameString", # required
|
1615
|
+
# delimiter: "CsvColumnDelimiter",
|
1616
|
+
# quote_symbol: "CsvQuoteSymbol",
|
1617
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
1618
|
+
# header: ["NameString"],
|
1619
|
+
# disable_value_trimming: false,
|
1620
|
+
# allow_single_column: false,
|
1621
|
+
# }
|
1622
|
+
#
|
1623
|
+
# @!attribute [rw] name
|
1624
|
+
# The name of the classifier.
|
1625
|
+
# @return [String]
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] delimiter
|
1628
|
+
# A custom symbol to denote what separates each column entry in the
|
1629
|
+
# row.
|
1630
|
+
# @return [String]
|
1631
|
+
#
|
1632
|
+
# @!attribute [rw] quote_symbol
|
1633
|
+
# A custom symbol to denote what combines content into a single column
|
1634
|
+
# value. Must be different from the column delimiter.
|
1635
|
+
# @return [String]
|
1636
|
+
#
|
1637
|
+
# @!attribute [rw] contains_header
|
1638
|
+
# Indicates whether the CSV file contains a header.
|
1639
|
+
# @return [String]
|
1640
|
+
#
|
1641
|
+
# @!attribute [rw] header
|
1642
|
+
# A list of strings representing column names.
|
1643
|
+
# @return [Array<String>]
|
1644
|
+
#
|
1645
|
+
# @!attribute [rw] disable_value_trimming
|
1646
|
+
# Specifies not to trim values before identifying the type of column
|
1647
|
+
# values. The default value is true.
|
1648
|
+
# @return [Boolean]
|
1649
|
+
#
|
1650
|
+
# @!attribute [rw] allow_single_column
|
1651
|
+
# Enables the processing of files that contain only one column.
|
1652
|
+
# @return [Boolean]
|
1653
|
+
#
|
1654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCsvClassifierRequest AWS API Documentation
|
1655
|
+
#
|
1656
|
+
class CreateCsvClassifierRequest < Struct.new(
|
1657
|
+
:name,
|
1658
|
+
:delimiter,
|
1659
|
+
:quote_symbol,
|
1660
|
+
:contains_header,
|
1661
|
+
:header,
|
1662
|
+
:disable_value_trimming,
|
1663
|
+
:allow_single_column)
|
1664
|
+
include Aws::Structure
|
1665
|
+
end
|
1666
|
+
|
1588
1667
|
# @note When making an API call, you may pass CreateDatabaseRequest
|
1589
1668
|
# data as a hash:
|
1590
1669
|
#
|
@@ -2587,6 +2666,67 @@ module Aws::Glue
|
|
2587
2666
|
include Aws::Structure
|
2588
2667
|
end
|
2589
2668
|
|
2669
|
+
# A classifier for custom `CSV` content.
|
2670
|
+
#
|
2671
|
+
# @!attribute [rw] name
|
2672
|
+
# The name of the classifier.
|
2673
|
+
# @return [String]
|
2674
|
+
#
|
2675
|
+
# @!attribute [rw] creation_time
|
2676
|
+
# The time this classifier was registered.
|
2677
|
+
# @return [Time]
|
2678
|
+
#
|
2679
|
+
# @!attribute [rw] last_updated
|
2680
|
+
# The time this classifier was last updated.
|
2681
|
+
# @return [Time]
|
2682
|
+
#
|
2683
|
+
# @!attribute [rw] version
|
2684
|
+
# The version of this classifier.
|
2685
|
+
# @return [Integer]
|
2686
|
+
#
|
2687
|
+
# @!attribute [rw] delimiter
|
2688
|
+
# A custom symbol to denote what separates each column entry in the
|
2689
|
+
# row.
|
2690
|
+
# @return [String]
|
2691
|
+
#
|
2692
|
+
# @!attribute [rw] quote_symbol
|
2693
|
+
# A custom symbol to denote what combines content into a single column
|
2694
|
+
# value. Must be different from the column delimiter.
|
2695
|
+
# @return [String]
|
2696
|
+
#
|
2697
|
+
# @!attribute [rw] contains_header
|
2698
|
+
# Indicates whether the CSV file contains a header.
|
2699
|
+
# @return [String]
|
2700
|
+
#
|
2701
|
+
# @!attribute [rw] header
|
2702
|
+
# A list of strings representing column names.
|
2703
|
+
# @return [Array<String>]
|
2704
|
+
#
|
2705
|
+
# @!attribute [rw] disable_value_trimming
|
2706
|
+
# Specifies not to trim values before identifying the type of column
|
2707
|
+
# values. The default value is true.
|
2708
|
+
# @return [Boolean]
|
2709
|
+
#
|
2710
|
+
# @!attribute [rw] allow_single_column
|
2711
|
+
# Enables the processing of files that contain only one column.
|
2712
|
+
# @return [Boolean]
|
2713
|
+
#
|
2714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CsvClassifier AWS API Documentation
|
2715
|
+
#
|
2716
|
+
class CsvClassifier < Struct.new(
|
2717
|
+
:name,
|
2718
|
+
:creation_time,
|
2719
|
+
:last_updated,
|
2720
|
+
:version,
|
2721
|
+
:delimiter,
|
2722
|
+
:quote_symbol,
|
2723
|
+
:contains_header,
|
2724
|
+
:header,
|
2725
|
+
:disable_value_trimming,
|
2726
|
+
:allow_single_column)
|
2727
|
+
include Aws::Structure
|
2728
|
+
end
|
2729
|
+
|
2590
2730
|
# Contains configuration information for maintaining Data Catalog
|
2591
2731
|
# security.
|
2592
2732
|
#
|
@@ -7700,6 +7840,15 @@ module Aws::Glue
|
|
7700
7840
|
# name: "NameString", # required
|
7701
7841
|
# json_path: "JsonPath",
|
7702
7842
|
# },
|
7843
|
+
# csv_classifier: {
|
7844
|
+
# name: "NameString", # required
|
7845
|
+
# delimiter: "CsvColumnDelimiter",
|
7846
|
+
# quote_symbol: "CsvQuoteSymbol",
|
7847
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
7848
|
+
# header: ["NameString"],
|
7849
|
+
# disable_value_trimming: false,
|
7850
|
+
# allow_single_column: false,
|
7851
|
+
# },
|
7703
7852
|
# }
|
7704
7853
|
#
|
7705
7854
|
# @!attribute [rw] grok_classifier
|
@@ -7714,12 +7863,17 @@ module Aws::Glue
|
|
7714
7863
|
# A `JsonClassifier` object with updated fields.
|
7715
7864
|
# @return [Types::UpdateJsonClassifierRequest]
|
7716
7865
|
#
|
7866
|
+
# @!attribute [rw] csv_classifier
|
7867
|
+
# A `CsvClassifier` object with updated fields.
|
7868
|
+
# @return [Types::UpdateCsvClassifierRequest]
|
7869
|
+
#
|
7717
7870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifierRequest AWS API Documentation
|
7718
7871
|
#
|
7719
7872
|
class UpdateClassifierRequest < Struct.new(
|
7720
7873
|
:grok_classifier,
|
7721
7874
|
:xml_classifier,
|
7722
|
-
:json_classifier
|
7875
|
+
:json_classifier,
|
7876
|
+
:csv_classifier)
|
7723
7877
|
include Aws::Structure
|
7724
7878
|
end
|
7725
7879
|
|
@@ -7933,6 +8087,65 @@ module Aws::Glue
|
|
7933
8087
|
#
|
7934
8088
|
class UpdateCrawlerScheduleResponse < Aws::EmptyStructure; end
|
7935
8089
|
|
8090
|
+
# Specifies a custom CSV classifier to be updated.
|
8091
|
+
#
|
8092
|
+
# @note When making an API call, you may pass UpdateCsvClassifierRequest
|
8093
|
+
# data as a hash:
|
8094
|
+
#
|
8095
|
+
# {
|
8096
|
+
# name: "NameString", # required
|
8097
|
+
# delimiter: "CsvColumnDelimiter",
|
8098
|
+
# quote_symbol: "CsvQuoteSymbol",
|
8099
|
+
# contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
|
8100
|
+
# header: ["NameString"],
|
8101
|
+
# disable_value_trimming: false,
|
8102
|
+
# allow_single_column: false,
|
8103
|
+
# }
|
8104
|
+
#
|
8105
|
+
# @!attribute [rw] name
|
8106
|
+
# The name of the classifier.
|
8107
|
+
# @return [String]
|
8108
|
+
#
|
8109
|
+
# @!attribute [rw] delimiter
|
8110
|
+
# A custom symbol to denote what separates each column entry in the
|
8111
|
+
# row.
|
8112
|
+
# @return [String]
|
8113
|
+
#
|
8114
|
+
# @!attribute [rw] quote_symbol
|
8115
|
+
# A custom symbol to denote what combines content into a single column
|
8116
|
+
# value. Must be different from the column delimiter.
|
8117
|
+
# @return [String]
|
8118
|
+
#
|
8119
|
+
# @!attribute [rw] contains_header
|
8120
|
+
# Indicates whether the CSV file contains a header.
|
8121
|
+
# @return [String]
|
8122
|
+
#
|
8123
|
+
# @!attribute [rw] header
|
8124
|
+
# A list of strings representing column names.
|
8125
|
+
# @return [Array<String>]
|
8126
|
+
#
|
8127
|
+
# @!attribute [rw] disable_value_trimming
|
8128
|
+
# Specifies not to trim values before identifying the type of column
|
8129
|
+
# values. The default value is true.
|
8130
|
+
# @return [Boolean]
|
8131
|
+
#
|
8132
|
+
# @!attribute [rw] allow_single_column
|
8133
|
+
# Enables the processing of files that contain only one column.
|
8134
|
+
# @return [Boolean]
|
8135
|
+
#
|
8136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCsvClassifierRequest AWS API Documentation
|
8137
|
+
#
|
8138
|
+
class UpdateCsvClassifierRequest < Struct.new(
|
8139
|
+
:name,
|
8140
|
+
:delimiter,
|
8141
|
+
:quote_symbol,
|
8142
|
+
:contains_header,
|
8143
|
+
:header,
|
8144
|
+
:disable_value_trimming,
|
8145
|
+
:allow_single_column)
|
8146
|
+
include Aws::Structure
|
8147
|
+
end
|
8148
|
+
|
7936
8149
|
# @note When making an API call, you may pass UpdateDatabaseRequest
|
7937
8150
|
# data as a hash:
|
7938
8151
|
#
|
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.29.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: 2019-03-
|
11
|
+
date: 2019-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|