lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.164.0 vs lib/aws-sdk-glue/client.rb in aws-sdk-glue-1.165.0
- old
+ new
@@ -2779,10 +2779,13 @@
req.send_request(options)
end
# Creates a connection definition in the Data Catalog.
#
+ # Connections used for creating federated resources require the IAM
+ # `glue:PassConnection` permission.
+ #
# @option params [String] :catalog_id
# The ID of the Data Catalog in which to create the connection. If none
# is provided, the Amazon Web Services account ID is used by default.
#
# @option params [required, Types::ConnectionInput] :connection_input
@@ -11400,10 +11403,14 @@
# unfiltered metadata.
#
# For IAM authorization, the public IAM action associated with this API
# is `glue:GetPartition`.
#
+ # @option params [String] :region
+ # Specified only if the base tables belong to a different Amazon Web
+ # Services Region.
+ #
# @option params [required, String] :catalog_id
# The catalog ID where the partition resides.
#
# @option params [required, String] :database_name
# (Required) Specifies the name of a database that contains the
@@ -11419,29 +11426,45 @@
# A structure containing Lake Formation audit context information.
#
# @option params [required, Array<String>] :supported_permission_types
# (Required) A list of supported permission types.
#
+ # @option params [Types::QuerySessionContext] :query_session_context
+ # A structure used as a protocol between query engines and Lake
+ # Formation or Glue. Contains both a Lake Formation generated
+ # authorization identifier and information from the request's
+ # authorization context.
+ #
# @return [Types::GetUnfilteredPartitionMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetUnfilteredPartitionMetadataResponse#partition #data.partition} => Types::Partition (This method conflicts with a method on Response, call it through the data member)
# * {Types::GetUnfilteredPartitionMetadataResponse#authorized_columns #authorized_columns} => Array<String>
# * {Types::GetUnfilteredPartitionMetadataResponse#is_registered_with_lake_formation #is_registered_with_lake_formation} => Boolean
#
# @example Request syntax with placeholder values
#
# resp = client.get_unfiltered_partition_metadata({
+ # region: "ValueString",
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
# partition_values: ["ValueString"], # required
# audit_context: {
# additional_audit_context: "AuditContextString",
# requested_columns: ["ColumnNameString"],
# all_columns_requested: false,
# },
# supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION, NESTED_PERMISSION, NESTED_CELL_PERMISSION
+ # query_session_context: {
+ # query_id: "HashString",
+ # query_start_time: Time.now,
+ # cluster_id: "NullableString",
+ # query_authorization_id: "HashString",
+ # additional_context: {
+ # "ContextKey" => "ContextValue",
+ # },
+ # },
# })
#
# @example Response structure
#
# resp.data.partition.values #=> Array
@@ -11507,10 +11530,14 @@
# unfiltered metadata.
#
# For IAM authorization, the public IAM action associated with this API
# is `glue:GetPartitions`.
#
+ # @option params [String] :region
+ # Specified only if the base tables belong to a different Amazon Web
+ # Services Region.
+ #
# @option params [required, String] :catalog_id
# The ID of the Data Catalog where the partitions in question reside. If
# none is provided, the AWS account ID is used by default.
#
# @option params [required, String] :database_name
@@ -11620,20 +11647,27 @@
# The segment of the table's partitions to scan in this request.
#
# @option params [Integer] :max_results
# The maximum number of partitions to return in a single response.
#
+ # @option params [Types::QuerySessionContext] :query_session_context
+ # A structure used as a protocol between query engines and Lake
+ # Formation or Glue. Contains both a Lake Formation generated
+ # authorization identifier and information from the request's
+ # authorization context.
+ #
# @return [Types::GetUnfilteredPartitionsMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetUnfilteredPartitionsMetadataResponse#unfiltered_partitions #unfiltered_partitions} => Array<Types::UnfilteredPartition>
# * {Types::GetUnfilteredPartitionsMetadataResponse#next_token #next_token} => String
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
# @example Request syntax with placeholder values
#
# resp = client.get_unfiltered_partitions_metadata({
+ # region: "ValueString",
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
# expression: "PredicateString",
# audit_context: {
@@ -11646,10 +11680,19 @@
# segment: {
# segment_number: 1, # required
# total_segments: 1, # required
# },
# max_results: 1,
+ # query_session_context: {
+ # query_id: "HashString",
+ # query_start_time: Time.now,
+ # cluster_id: "NullableString",
+ # query_authorization_id: "HashString",
+ # additional_context: {
+ # "ContextKey" => "ContextValue",
+ # },
+ # },
# })
#
# @example Response structure
#
# resp.unfiltered_partitions #=> Array
@@ -11717,10 +11760,14 @@
# unfiltered metadata.
#
# For IAM authorization, the public IAM action associated with this API
# is `glue:GetTable`.
#
+ # @option params [String] :region
+ # Specified only if the base tables belong to a different Amazon Web
+ # Services Region.
+ #
# @option params [required, String] :catalog_id
# The catalog ID where the table resides.
#
# @option params [required, String] :database_name
# (Required) Specifies the name of a database that contains the table.
@@ -11733,29 +11780,61 @@
# A structure containing Lake Formation audit context information.
#
# @option params [required, Array<String>] :supported_permission_types
# (Required) A list of supported permission types.
#
+ # @option params [Types::SupportedDialect] :supported_dialect
+ # A structure specifying the dialect and dialect version used by the
+ # query engine.
+ #
+ # @option params [Array<String>] :permissions
+ # The Lake Formation data permissions of the caller on the table. Used
+ # to authorize the call when no view context is found.
+ #
+ # @option params [Types::QuerySessionContext] :query_session_context
+ # A structure used as a protocol between query engines and Lake
+ # Formation or Glue. Contains both a Lake Formation generated
+ # authorization identifier and information from the request's
+ # authorization context.
+ #
# @return [Types::GetUnfilteredTableMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetUnfilteredTableMetadataResponse#table #table} => Types::Table
# * {Types::GetUnfilteredTableMetadataResponse#authorized_columns #authorized_columns} => Array<String>
# * {Types::GetUnfilteredTableMetadataResponse#is_registered_with_lake_formation #is_registered_with_lake_formation} => Boolean
# * {Types::GetUnfilteredTableMetadataResponse#cell_filters #cell_filters} => Array<Types::ColumnRowFilter>
+ # * {Types::GetUnfilteredTableMetadataResponse#query_authorization_id #query_authorization_id} => String
+ # * {Types::GetUnfilteredTableMetadataResponse#resource_arn #resource_arn} => String
+ # * {Types::GetUnfilteredTableMetadataResponse#permissions #permissions} => Array<String>
#
# @example Request syntax with placeholder values
#
# resp = client.get_unfiltered_table_metadata({
+ # region: "ValueString",
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# name: "NameString", # required
# audit_context: {
# additional_audit_context: "AuditContextString",
# requested_columns: ["ColumnNameString"],
# all_columns_requested: false,
# },
# supported_permission_types: ["COLUMN_PERMISSION"], # required, accepts COLUMN_PERMISSION, CELL_FILTER_PERMISSION, NESTED_PERMISSION, NESTED_CELL_PERMISSION
+ # supported_dialect: {
+ # dialect: "REDSHIFT", # accepts REDSHIFT, ATHENA, SPARK
+ # dialect_version: "ViewDialectVersionString",
+ # },
+ # permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
+ # query_session_context: {
+ # query_id: "HashString",
+ # query_start_time: Time.now,
+ # cluster_id: "NullableString",
+ # query_authorization_id: "HashString",
+ # additional_context: {
+ # "ContextKey" => "ContextValue",
+ # },
+ # },
# })
#
# @example Response structure
#
# resp.table.name #=> String
@@ -11829,10 +11908,14 @@
# resp.authorized_columns[0] #=> String
# resp.is_registered_with_lake_formation #=> Boolean
# resp.cell_filters #=> Array
# resp.cell_filters[0].column_name #=> String
# resp.cell_filters[0].row_filter_expression #=> String
+ # resp.query_authorization_id #=> String
+ # resp.resource_arn #=> String
+ # resp.permissions #=> Array
+ # resp.permissions[0] #=> String, one of "ALL", "SELECT", "ALTER", "DROP", "DELETE", "INSERT", "CREATE_DATABASE", "CREATE_TABLE", "DATA_LOCATION_ACCESS"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadata AWS API Documentation
#
# @overload get_unfiltered_table_metadata(params = {})
# @param [Hash] params ({})
@@ -16921,10 +17004,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-glue'
- context[:gem_version] = '1.164.0'
+ context[:gem_version] = '1.165.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated