lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.187.0 vs lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.188.0
- old
+ new
@@ -1281,10 +1281,13 @@
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].type #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.inputs #=> Array
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.inputs[0] #=> String
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys #=> Array
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0] #=> Array
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0][0] #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.database #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.table #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.inputs #=> Array
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.inputs[0] #=> String
@@ -2898,11 +2901,11 @@
# resp = client.create_connection({
# catalog_id: "CatalogIdString",
# connection_input: { # required
# name: "NameString", # required
# description: "DescriptionString",
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
# match_criteria: ["NameString"],
# connection_properties: { # required
# "HOST" => "ValueString",
# },
# physical_connection_requirements: {
@@ -6560,11 +6563,11 @@
#
# @example Response structure
#
# resp.connection.name #=> String
# resp.connection.description #=> String
- # resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK", "MARKETPLACE", "CUSTOM", "SALESFORCE"
+ # resp.connection.connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK", "MARKETPLACE", "CUSTOM", "SALESFORCE", "VIEW_VALIDATION_REDSHIFT", "VIEW_VALIDATION_ATHENA"
# resp.connection.match_criteria #=> Array
# resp.connection.match_criteria[0] #=> String
# resp.connection.connection_properties #=> Hash
# resp.connection.connection_properties["ConnectionPropertyKey"] #=> String
# resp.connection.physical_connection_requirements.subnet_id #=> String
@@ -6629,11 +6632,11 @@
#
# resp = client.get_connections({
# catalog_id: "CatalogIdString",
# filter: {
# match_criteria: ["NameString"],
- # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE
+ # connection_type: "JDBC", # accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
# },
# hide_password: false,
# next_token: "Token",
# max_results: 1,
# })
@@ -6641,11 +6644,11 @@
# @example Response structure
#
# resp.connection_list #=> Array
# resp.connection_list[0].name #=> String
# resp.connection_list[0].description #=> String
- # resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK", "MARKETPLACE", "CUSTOM", "SALESFORCE"
+ # resp.connection_list[0].connection_type #=> String, one of "JDBC", "SFTP", "MONGODB", "KAFKA", "NETWORK", "MARKETPLACE", "CUSTOM", "SALESFORCE", "VIEW_VALIDATION_REDSHIFT", "VIEW_VALIDATION_ATHENA"
# resp.connection_list[0].match_criteria #=> Array
# resp.connection_list[0].match_criteria[0] #=> String
# resp.connection_list[0].connection_properties #=> Hash
# resp.connection_list[0].connection_properties["ConnectionPropertyKey"] #=> String
# resp.connection_list[0].physical_connection_requirements.subnet_id #=> String
@@ -7844,10 +7847,13 @@
# resp.job.code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].name #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].type #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.name #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.inputs #=> Array
# resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.inputs[0] #=> String
+ # resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys #=> Array
+ # resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0] #=> Array
+ # resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0][0] #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.database #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].catalog_target.table #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].redshift_target.name #=> String
# resp.job.code_gen_configuration_nodes["NodeId"].redshift_target.inputs #=> Array
# resp.job.code_gen_configuration_nodes["NodeId"].redshift_target.inputs[0] #=> String
@@ -8959,10 +8965,13 @@
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].spark_connector_target.output_schemas[0].columns[0].type #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.inputs #=> Array
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.inputs[0] #=> String
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys #=> Array
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0] #=> Array
+ # resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.partition_keys[0][0] #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.database #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].catalog_target.table #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.name #=> String
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.inputs #=> Array
# resp.jobs[0].code_gen_configuration_nodes["NodeId"].redshift_target.inputs[0] #=> String
@@ -11140,10 +11149,14 @@
# @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`.
#
+ # @option params [Boolean] :include_status_details
+ # Specifies whether to include status details related to a request to
+ # create or update an Glue Data Catalog view.
+ #
# @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
@@ -11152,10 +11165,11 @@
# catalog_id: "CatalogIdString",
# database_name: "NameString", # required
# name: "NameString", # required
# transaction_id: "TransactionIdString",
# query_as_of_time: Time.now,
+ # include_status_details: false,
# })
#
# @example Response structure
#
# resp.table.name #=> String
@@ -11235,10 +11249,27 @@
# resp.table.view_definition.representations[0].view_original_text #=> String
# resp.table.view_definition.representations[0].view_expanded_text #=> String
# resp.table.view_definition.representations[0].validation_connection #=> String
# resp.table.view_definition.representations[0].is_stale #=> Boolean
# resp.table.is_multi_dialect_view #=> Boolean
+ # resp.table.status.requested_by #=> String
+ # resp.table.status.updated_by #=> String
+ # resp.table.status.request_time #=> Time
+ # resp.table.status.update_time #=> Time
+ # resp.table.status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table.status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table.status.error.error_code #=> String
+ # resp.table.status.error.error_message #=> String
+ # resp.table.status.details.requested_change #=> Types::Table
+ # resp.table.status.details.view_validations #=> Array
+ # resp.table.status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table.status.details.view_validations[0].dialect_version #=> String
+ # resp.table.status.details.view_validations[0].view_validation_text #=> String
+ # resp.table.status.details.view_validations[0].update_time #=> Time
+ # resp.table.status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table.status.details.view_validations[0].error.error_code #=> String
+ # resp.table.status.details.view_validations[0].error.error_message #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable AWS API Documentation
#
# @overload get_table(params = {})
# @param [Hash] params ({})
@@ -11414,10 +11445,27 @@
# resp.table_version.table.view_definition.representations[0].view_original_text #=> String
# resp.table_version.table.view_definition.representations[0].view_expanded_text #=> String
# resp.table_version.table.view_definition.representations[0].validation_connection #=> String
# resp.table_version.table.view_definition.representations[0].is_stale #=> Boolean
# resp.table_version.table.is_multi_dialect_view #=> Boolean
+ # resp.table_version.table.status.requested_by #=> String
+ # resp.table_version.table.status.updated_by #=> String
+ # resp.table_version.table.status.request_time #=> Time
+ # resp.table_version.table.status.update_time #=> Time
+ # resp.table_version.table.status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table_version.table.status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_version.table.status.error.error_code #=> String
+ # resp.table_version.table.status.error.error_message #=> String
+ # resp.table_version.table.status.details.requested_change #=> Types::Table
+ # resp.table_version.table.status.details.view_validations #=> Array
+ # resp.table_version.table.status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table_version.table.status.details.view_validations[0].dialect_version #=> String
+ # resp.table_version.table.status.details.view_validations[0].view_validation_text #=> String
+ # resp.table_version.table.status.details.view_validations[0].update_time #=> Time
+ # resp.table_version.table.status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_version.table.status.details.view_validations[0].error.error_code #=> String
+ # resp.table_version.table.status.details.view_validations[0].error.error_message #=> String
# resp.table_version.version_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion AWS API Documentation
#
# @overload get_table_version(params = {})
@@ -11545,10 +11593,27 @@
# resp.table_versions[0].table.view_definition.representations[0].view_original_text #=> String
# resp.table_versions[0].table.view_definition.representations[0].view_expanded_text #=> String
# resp.table_versions[0].table.view_definition.representations[0].validation_connection #=> String
# resp.table_versions[0].table.view_definition.representations[0].is_stale #=> Boolean
# resp.table_versions[0].table.is_multi_dialect_view #=> Boolean
+ # resp.table_versions[0].table.status.requested_by #=> String
+ # resp.table_versions[0].table.status.updated_by #=> String
+ # resp.table_versions[0].table.status.request_time #=> Time
+ # resp.table_versions[0].table.status.update_time #=> Time
+ # resp.table_versions[0].table.status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table_versions[0].table.status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_versions[0].table.status.error.error_code #=> String
+ # resp.table_versions[0].table.status.error.error_message #=> String
+ # resp.table_versions[0].table.status.details.requested_change #=> Types::Table
+ # resp.table_versions[0].table.status.details.view_validations #=> Array
+ # resp.table_versions[0].table.status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table_versions[0].table.status.details.view_validations[0].dialect_version #=> String
+ # resp.table_versions[0].table.status.details.view_validations[0].view_validation_text #=> String
+ # resp.table_versions[0].table.status.details.view_validations[0].update_time #=> Time
+ # resp.table_versions[0].table.status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_versions[0].table.status.details.view_validations[0].error.error_code #=> String
+ # resp.table_versions[0].table.status.details.view_validations[0].error.error_message #=> String
# resp.table_versions[0].version_id #=> String
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions AWS API Documentation
#
@@ -11586,10 +11651,14 @@
# @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`.
#
+ # @option params [Boolean] :include_status_details
+ # Specifies whether to include status details related to a request to
+ # create or update an Glue Data Catalog view.
+ #
# @return [Types::GetTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetTablesResponse#table_list #table_list} => Array<Types::Table>
# * {Types::GetTablesResponse#next_token #next_token} => String
#
@@ -11603,10 +11672,11 @@
# expression: "FilterString",
# next_token: "Token",
# max_results: 1,
# transaction_id: "TransactionIdString",
# query_as_of_time: Time.now,
+ # include_status_details: false,
# })
#
# @example Response structure
#
# resp.table_list #=> Array
@@ -11687,10 +11757,27 @@
# resp.table_list[0].view_definition.representations[0].view_original_text #=> String
# resp.table_list[0].view_definition.representations[0].view_expanded_text #=> String
# resp.table_list[0].view_definition.representations[0].validation_connection #=> String
# resp.table_list[0].view_definition.representations[0].is_stale #=> Boolean
# resp.table_list[0].is_multi_dialect_view #=> Boolean
+ # resp.table_list[0].status.requested_by #=> String
+ # resp.table_list[0].status.updated_by #=> String
+ # resp.table_list[0].status.request_time #=> Time
+ # resp.table_list[0].status.update_time #=> Time
+ # resp.table_list[0].status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table_list[0].status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_list[0].status.error.error_code #=> String
+ # resp.table_list[0].status.error.error_message #=> String
+ # resp.table_list[0].status.details.requested_change #=> Types::Table
+ # resp.table_list[0].status.details.view_validations #=> Array
+ # resp.table_list[0].status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table_list[0].status.details.view_validations[0].dialect_version #=> String
+ # resp.table_list[0].status.details.view_validations[0].view_validation_text #=> String
+ # resp.table_list[0].status.details.view_validations[0].update_time #=> Time
+ # resp.table_list[0].status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_list[0].status.details.view_validations[0].error.error_code #=> String
+ # resp.table_list[0].status.details.view_validations[0].error.error_message #=> String
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables AWS API Documentation
#
# @overload get_tables(params = {})
@@ -12406,10 +12493,27 @@
# resp.table.view_definition.representations[0].view_original_text #=> String
# resp.table.view_definition.representations[0].view_expanded_text #=> String
# resp.table.view_definition.representations[0].validation_connection #=> String
# resp.table.view_definition.representations[0].is_stale #=> Boolean
# resp.table.is_multi_dialect_view #=> Boolean
+ # resp.table.status.requested_by #=> String
+ # resp.table.status.updated_by #=> String
+ # resp.table.status.request_time #=> Time
+ # resp.table.status.update_time #=> Time
+ # resp.table.status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table.status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table.status.error.error_code #=> String
+ # resp.table.status.error.error_message #=> String
+ # resp.table.status.details.requested_change #=> Types::Table
+ # resp.table.status.details.view_validations #=> Array
+ # resp.table.status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table.status.details.view_validations[0].dialect_version #=> String
+ # resp.table.status.details.view_validations[0].view_validation_text #=> String
+ # resp.table.status.details.view_validations[0].update_time #=> Time
+ # resp.table.status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table.status.details.view_validations[0].error.error_code #=> String
+ # resp.table.status.details.view_validations[0].error.error_message #=> String
# resp.authorized_columns #=> Array
# resp.authorized_columns[0] #=> String
# resp.is_registered_with_lake_formation #=> Boolean
# resp.cell_filters #=> Array
# resp.cell_filters[0].column_name #=> String
@@ -15011,10 +15115,14 @@
# account.
#
# * If set to `ALL`, will search the tables shared with your account, as
# well as the tables in yor local account.
#
+ # @option params [Boolean] :include_status_details
+ # Specifies whether to include status details related to a request to
+ # create or update an Glue Data Catalog view.
+ #
# @return [Types::SearchTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::SearchTablesResponse#next_token #next_token} => String
# * {Types::SearchTablesResponse#table_list #table_list} => Array<Types::Table>
#
@@ -15039,10 +15147,11 @@
# sort: "ASC", # accepts ASC, DESC
# },
# ],
# max_results: 1,
# resource_share_type: "FOREIGN", # accepts FOREIGN, ALL, FEDERATED
+ # include_status_details: false,
# })
#
# @example Response structure
#
# resp.next_token #=> String
@@ -15124,10 +15233,27 @@
# resp.table_list[0].view_definition.representations[0].view_original_text #=> String
# resp.table_list[0].view_definition.representations[0].view_expanded_text #=> String
# resp.table_list[0].view_definition.representations[0].validation_connection #=> String
# resp.table_list[0].view_definition.representations[0].is_stale #=> Boolean
# resp.table_list[0].is_multi_dialect_view #=> Boolean
+ # resp.table_list[0].status.requested_by #=> String
+ # resp.table_list[0].status.updated_by #=> String
+ # resp.table_list[0].status.request_time #=> Time
+ # resp.table_list[0].status.update_time #=> Time
+ # resp.table_list[0].status.action #=> String, one of "UPDATE", "CREATE"
+ # resp.table_list[0].status.state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_list[0].status.error.error_code #=> String
+ # resp.table_list[0].status.error.error_message #=> String
+ # resp.table_list[0].status.details.requested_change #=> Types::Table
+ # resp.table_list[0].status.details.view_validations #=> Array
+ # resp.table_list[0].status.details.view_validations[0].dialect #=> String, one of "REDSHIFT", "ATHENA", "SPARK"
+ # resp.table_list[0].status.details.view_validations[0].dialect_version #=> String
+ # resp.table_list[0].status.details.view_validations[0].view_validation_text #=> String
+ # resp.table_list[0].status.details.view_validations[0].update_time #=> Time
+ # resp.table_list[0].status.details.view_validations[0].state #=> String, one of "QUEUED", "IN_PROGRESS", "SUCCESS", "STOPPED", "FAILED"
+ # resp.table_list[0].status.details.view_validations[0].error.error_code #=> String
+ # resp.table_list[0].status.details.view_validations[0].error.error_message #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables AWS API Documentation
#
# @overload search_tables(params = {})
# @param [Hash] params ({})
@@ -16513,11 +16639,11 @@
# catalog_id: "CatalogIdString",
# name: "NameString", # required
# connection_input: { # required
# name: "NameString", # required
# description: "DescriptionString",
- # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
# match_criteria: ["NameString"],
# connection_properties: { # required
# "HOST" => "ValueString",
# },
# physical_connection_requirements: {
@@ -17876,10 +18002,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-glue'
- context[:gem_version] = '1.187.0'
+ context[:gem_version] = '1.188.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated