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:

{
  catalog_id: "CatalogIdString",
  database_name: "NameString", # required
  name: "NameString", # required
  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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The identifier for the Data Catalog. By default, it is the account ID of the caller.

Returns:

  • (String)


1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1469

class TableWithColumnsResource < Struct.new(
  :catalog_id,
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  SENSITIVE = []
  include Aws::Structure
end

#column_namesArray<String>

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

Returns:

  • (Array<String>)


1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1469

class TableWithColumnsResource < Struct.new(
  :catalog_id,
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  SENSITIVE = []
  include Aws::Structure
end

#column_wildcardTypes::ColumnWildcard

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



1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1469

class TableWithColumnsResource < Struct.new(
  :catalog_id,
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  SENSITIVE = []
  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)


1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1469

class TableWithColumnsResource < Struct.new(
  :catalog_id,
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  SENSITIVE = []
  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)


1469
1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1469

class TableWithColumnsResource < Struct.new(
  :catalog_id,
  :database_name,
  :name,
  :column_names,
  :column_wildcard)
  SENSITIVE = []
  include Aws::Structure
end