Class: Aws::LakeFormation::Types::TableWithColumnsResource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb

Overview

Note:

When making an API call, you may pass TableWithColumnsResource data as a hash:

{
  database_name: "NameString",
  name: "NameString",
  column_names: ["NameString"],
  column_wildcard: {
    excluded_column_names: ["NameString"],
  },
}

A structure for a table with columns object. This object is only used when granting a SELECT permission.

This object must take a value for at least one of ColumnsNames, ColumnsIndexes, or ColumnsWildcard.

Instance Attribute Summary collapse

Instance Attribute Details

#column_namesArray<String>

The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.

Returns:

  • (Array<String>)


1285
1286
1287
1288
1289
1290
1291
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1285

class TableWithColumnsResource < Struct.new(
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  include Aws::Structure
end

#column_wildcardTypes::ColumnWildcard

A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.



1285
1286
1287
1288
1289
1290
1291
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1285

class TableWithColumnsResource < Struct.new(
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  include Aws::Structure
end

#database_nameString

The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.

Returns:

  • (String)


1285
1286
1287
1288
1289
1290
1291
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1285

class TableWithColumnsResource < Struct.new(
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  include Aws::Structure
end

#nameString

The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

Returns:

  • (String)


1285
1286
1287
1288
1289
1290
1291
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1285

class TableWithColumnsResource < Struct.new(
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  include Aws::Structure
end