lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.99.0 vs lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.100.0

- old
+ new

@@ -117,11 +117,13 @@ # * `~/.aws/credentials` # * `~/.aws/config` # * EC2/ECS IMDS instance profile - When used by default, the timeouts # are very aggressive. Construct and pass an instance of # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to - # enable retries and extended timeouts. + # enable retries and extended timeouts. Instance profile credential + # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] + # to true. # # @option options [required, String] :region # The AWS region to connect to. The configured `:region` is # used to determine the service `:endpoint`. When not passed, # a default `:region` is searched for in the following locations: @@ -568,20 +570,24 @@ # For Hive compatibility, this name is entirely lowercase. # # @option params [required, Array<String>] :tables_to_delete # A list of the table to delete. # + # @option params [String] :transaction_id + # The transaction ID at which to delete the table contents. + # # @return [Types::BatchDeleteTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::BatchDeleteTableResponse#errors #errors} => Array&lt;Types::TableError&gt; # # @example Request syntax with placeholder values # # resp = client.batch_delete_table({ # catalog_id: "CatalogIdString", # database_name: "NameString", # required # tables_to_delete: ["NameString"], # required + # transaction_id: "TransactionIdString", # }) # # @example Response structure # # resp.errors #=> Array @@ -2912,10 +2918,13 @@ # # @option params [Array<Types::PartitionIndex>] :partition_indexes # A list of partition indexes, `PartitionIndex` structures, to create in # the table. # + # @option params [String] :transaction_id + # The ID of the transaction. + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.create_table({ @@ -3005,10 +3014,11 @@ # { # keys: ["NameString"], # required # index_name: "NameString", # required # }, # ], + # transaction_id: "TransactionIdString", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable AWS API Documentation # # @overload create_table(params = {}) @@ -3826,18 +3836,22 @@ # # @option params [required, String] :name # The name of the table to be deleted. For Hive compatibility, this name # is entirely lowercase. # + # @option params [String] :transaction_id + # The transaction ID at which to delete the table contents. + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.delete_table({ # catalog_id: "CatalogIdString", # database_name: "NameString", # required # name: "NameString", # required + # transaction_id: "TransactionIdString", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable AWS API Documentation # # @overload delete_table(params = {}) @@ -6044,10 +6058,18 @@ # When true, specifies not returning the partition column schema. Useful # when you are interested only in other partition attributes such as # partition values or location. This approach avoids the problem of a # large response by not returning duplicate data. # + # @option params [String] :transaction_id + # The transaction ID at which to read the partition contents. + # + # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time + # The time as of when to read the partition contents. If not set, the + # most recent transaction commit time will be used. Cannot be specified + # along with `TransactionId`. + # # @return [Types::GetPartitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetPartitionsResponse#partitions #partitions} => Array&lt;Types::Partition&gt; # * {Types::GetPartitionsResponse#next_token #next_token} => String # @@ -6065,10 +6087,12 @@ # segment_number: 1, # required # total_segments: 1, # required # }, # max_results: 1, # exclude_column_schema: false, + # transaction_id: "TransactionIdString", + # query_as_of_time: Time.now, # }) # # @example Response structure # # resp.partitions #=> Array @@ -6697,20 +6721,30 @@ # # @option params [required, String] :name # The name of the table for which to retrieve the definition. For Hive # compatibility, this name is entirely lowercase. # + # @option params [String] :transaction_id + # The transaction ID at which to read the table contents. + # + # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time + # The time as of when to read the table contents. If not set, the most + # recent transaction commit time will be used. Cannot be specified along + # with `TransactionId`. + # # @return [Types::GetTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetTableResponse#table #table} => Types::Table # # @example Request syntax with placeholder values # # resp = client.get_table({ # catalog_id: "CatalogIdString", # database_name: "NameString", # required # name: "NameString", # required + # transaction_id: "TransactionIdString", + # query_as_of_time: Time.now, # }) # # @example Response structure # # resp.table.name #=> String @@ -7019,10 +7053,18 @@ # A continuation token, included if this is a continuation call. # # @option params [Integer] :max_results # The maximum number of tables to return in a single response. # + # @option params [String] :transaction_id + # The transaction ID at which to read the table contents. + # + # @option params [Time,DateTime,Date,Integer,String] :query_as_of_time + # The time as of when to read the table contents. If not set, the most + # recent transaction commit time will be used. Cannot be specified along + # with `TransactionId`. + # # @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetTablesResponse#table_list #table_list} => Array&lt;Types::Table&gt; # * {Types::GetTablesResponse#next_token #next_token} => String # @@ -7034,10 +7076,12 @@ # catalog_id: "CatalogIdString", # database_name: "NameString", # required # expression: "FilterString", # next_token: "Token", # max_results: 1, + # transaction_id: "TransactionIdString", + # query_as_of_time: Time.now, # }) # # @example Response structure # # resp.table_list #=> Array @@ -10778,10 +10822,13 @@ # @option params [Boolean] :skip_archive # By default, `UpdateTable` always creates an archived version of the # table before updating it. However, if `skipArchive` is set to true, # `UpdateTable` does not create the archived version. # + # @option params [String] :transaction_id + # The transaction ID at which to update the table contents. + # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.update_table({ @@ -10866,10 +10913,11 @@ # database_name: "NameString", # name: "NameString", # }, # }, # skip_archive: false, + # transaction_id: "TransactionIdString", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable AWS API Documentation # # @overload update_table(params = {}) @@ -11075,10 +11123,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-glue' - context[:gem_version] = '1.99.0' + context[:gem_version] = '1.100.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated