lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.28.0 vs lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.29.0
- old
+ new
@@ -503,11 +503,12 @@
end
# Returns a list of resource metadata for a given list of crawler names.
# After calling the `ListCrawlers` operation, you can call this
# operation to access the data to which you have been granted
- # permissions to based on tags.
+ # permissions. This operation supports all IAM permissions, including
+ # permission conditions that uses tags.
#
# @option params [required, Array<String>] :crawler_names
# A list of crawler names, which may be the names returned from the
# `ListCrawlers` operation.
#
@@ -867,22 +868,25 @@
req = build_request(:batch_stop_job_run, params)
req.send_request(options)
end
# Creates a classifier in the user's account. This may be a
- # `GrokClassifier`, an `XMLClassifier`, or abbrev `JsonClassifier`,
- # depending on which field of the request is present.
+ # `GrokClassifier`, an `XMLClassifier`, a `JsonClassifier`, or a
+ # `CsvClassifier`, depending on which field of the request is present.
#
# @option params [Types::CreateGrokClassifierRequest] :grok_classifier
# A `GrokClassifier` object specifying the classifier to create.
#
# @option params [Types::CreateXMLClassifierRequest] :xml_classifier
# An `XMLClassifier` object specifying the classifier to create.
#
# @option params [Types::CreateJsonClassifierRequest] :json_classifier
# A `JsonClassifier` object specifying the classifier to create.
#
+ # @option params [Types::CreateCsvClassifierRequest] :csv_classifier
+ # A `CsvClassifier` object specifying the classifier to create.
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.create_classifier({
@@ -899,10 +903,19 @@
# },
# json_classifier: {
# name: "NameString", # required
# json_path: "JsonPath", # required
# },
+ # csv_classifier: {
+ # name: "NameString", # required
+ # delimiter: "CsvColumnDelimiter",
+ # quote_symbol: "CsvQuoteSymbol",
+ # contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
+ # header: ["NameString"],
+ # disable_value_trimming: false,
+ # allow_single_column: false,
+ # },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier AWS API Documentation
#
# @overload create_classifier(params = {})
@@ -2272,10 +2285,21 @@
# resp.classifier.json_classifier.name #=> String
# resp.classifier.json_classifier.creation_time #=> Time
# resp.classifier.json_classifier.last_updated #=> Time
# resp.classifier.json_classifier.version #=> Integer
# resp.classifier.json_classifier.json_path #=> String
+ # resp.classifier.csv_classifier.name #=> String
+ # resp.classifier.csv_classifier.creation_time #=> Time
+ # resp.classifier.csv_classifier.last_updated #=> Time
+ # resp.classifier.csv_classifier.version #=> Integer
+ # resp.classifier.csv_classifier.delimiter #=> String
+ # resp.classifier.csv_classifier.quote_symbol #=> String
+ # resp.classifier.csv_classifier.contains_header #=> String, one of "UNKNOWN", "PRESENT", "ABSENT"
+ # resp.classifier.csv_classifier.header #=> Array
+ # resp.classifier.csv_classifier.header[0] #=> String
+ # resp.classifier.csv_classifier.disable_value_trimming #=> Boolean
+ # resp.classifier.csv_classifier.allow_single_column #=> Boolean
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier AWS API Documentation
#
# @overload get_classifier(params = {})
# @param [Hash] params ({})
@@ -2323,10 +2347,21 @@
# resp.classifiers[0].json_classifier.name #=> String
# resp.classifiers[0].json_classifier.creation_time #=> Time
# resp.classifiers[0].json_classifier.last_updated #=> Time
# resp.classifiers[0].json_classifier.version #=> Integer
# resp.classifiers[0].json_classifier.json_path #=> String
+ # resp.classifiers[0].csv_classifier.name #=> String
+ # resp.classifiers[0].csv_classifier.creation_time #=> Time
+ # resp.classifiers[0].csv_classifier.last_updated #=> Time
+ # resp.classifiers[0].csv_classifier.version #=> Integer
+ # resp.classifiers[0].csv_classifier.delimiter #=> String
+ # resp.classifiers[0].csv_classifier.quote_symbol #=> String
+ # resp.classifiers[0].csv_classifier.contains_header #=> String, one of "UNKNOWN", "PRESENT", "ABSENT"
+ # resp.classifiers[0].csv_classifier.header #=> Array
+ # resp.classifiers[0].csv_classifier.header[0] #=> String
+ # resp.classifiers[0].csv_classifier.disable_value_trimming #=> Boolean
+ # resp.classifiers[0].csv_classifier.allow_single_column #=> Boolean
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers AWS API Documentation
#
# @overload get_classifiers(params = {})
@@ -4924,22 +4959,26 @@
def untag_resource(params = {}, options = {})
req = build_request(:untag_resource, params)
req.send_request(options)
end
- # Modifies an existing classifier (a `GrokClassifier`, `XMLClassifier`,
- # or `JsonClassifier`, depending on which field is present).
+ # Modifies an existing classifier (a `GrokClassifier`, an
+ # `XMLClassifier`, a `JsonClassifier`, or a `CsvClassifier`, depending
+ # on which field is present).
#
# @option params [Types::UpdateGrokClassifierRequest] :grok_classifier
# A `GrokClassifier` object with updated fields.
#
# @option params [Types::UpdateXMLClassifierRequest] :xml_classifier
# An `XMLClassifier` object with updated fields.
#
# @option params [Types::UpdateJsonClassifierRequest] :json_classifier
# A `JsonClassifier` object with updated fields.
#
+ # @option params [Types::UpdateCsvClassifierRequest] :csv_classifier
+ # A `CsvClassifier` object with updated fields.
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
# resp = client.update_classifier({
@@ -4956,10 +4995,19 @@
# },
# json_classifier: {
# name: "NameString", # required
# json_path: "JsonPath",
# },
+ # csv_classifier: {
+ # name: "NameString", # required
+ # delimiter: "CsvColumnDelimiter",
+ # quote_symbol: "CsvQuoteSymbol",
+ # contains_header: "UNKNOWN", # accepts UNKNOWN, PRESENT, ABSENT
+ # header: ["NameString"],
+ # disable_value_trimming: false,
+ # allow_single_column: false,
+ # },
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier AWS API Documentation
#
# @overload update_classifier(params = {})
@@ -5623,10 +5671,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-glue'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated