libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LakeFormation.Types.TableWithColumnsResource

Description

 
Synopsis

Documentation

data TableWithColumnsResource Source #

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.

See: newTableWithColumnsResource smart constructor.

Constructors

TableWithColumnsResource' 

Fields

  • catalogId :: Maybe Text

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

  • columnWildcard :: Maybe ColumnWildcard

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

  • columnNames :: Maybe [Text]

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

  • databaseName :: Text

    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.

  • name :: Text

    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.

Instances

Instances details
Eq TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

Read TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

Show TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

Generic TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

Associated Types

type Rep TableWithColumnsResource :: Type -> Type #

NFData TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

Hashable TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

ToJSON TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

FromJSON TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

type Rep TableWithColumnsResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableWithColumnsResource

type Rep TableWithColumnsResource = D1 ('MetaData "TableWithColumnsResource" "Amazonka.LakeFormation.Types.TableWithColumnsResource" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "TableWithColumnsResource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "columnWildcard") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ColumnWildcard))) :*: (S1 ('MetaSel ('Just "columnNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newTableWithColumnsResource Source #

Create a value of TableWithColumnsResource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:catalogId:TableWithColumnsResource', tableWithColumnsResource_catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.

$sel:columnWildcard:TableWithColumnsResource', tableWithColumnsResource_columnWildcard - A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.

$sel:columnNames:TableWithColumnsResource', tableWithColumnsResource_columnNames - The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.

$sel:databaseName:TableWithColumnsResource', tableWithColumnsResource_databaseName - 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.

$sel:name:TableWithColumnsResource', tableWithColumnsResource_name - 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.

tableWithColumnsResource_catalogId :: Lens' TableWithColumnsResource (Maybe Text) Source #

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

tableWithColumnsResource_columnWildcard :: Lens' TableWithColumnsResource (Maybe ColumnWildcard) Source #

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

tableWithColumnsResource_columnNames :: Lens' TableWithColumnsResource (Maybe [Text]) Source #

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

tableWithColumnsResource_databaseName :: Lens' TableWithColumnsResource Text Source #

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.

tableWithColumnsResource_name :: Lens' TableWithColumnsResource Text Source #

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.