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.TableResource

Description

 
Synopsis

Documentation

data TableResource Source #

A structure for the table object. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

See: newTableResource smart constructor.

Constructors

TableResource' 

Fields

  • catalogId :: Maybe Text

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

  • tableWildcard :: Maybe TableWildcard

    A wildcard object representing every table under a database.

    At least one of TableResource$Name or TableResource$TableWildcard is required.

  • name :: Maybe Text

    The name of the table.

  • databaseName :: Text

    The name of the database for the table. Unique to a 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.

Instances

Instances details
Eq TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

Read TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

Show TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

Generic TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

Associated Types

type Rep TableResource :: Type -> Type #

NFData TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

Methods

rnf :: TableResource -> () #

Hashable TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

ToJSON TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

FromJSON TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

type Rep TableResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.TableResource

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

newTableResource Source #

Create a value of TableResource 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:TableResource', tableResource_catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.

$sel:tableWildcard:TableResource', tableResource_tableWildcard - A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

$sel:name:TableResource', tableResource_name - The name of the table.

$sel:databaseName:TableResource', tableResource_databaseName - The name of the database for the table. Unique to a 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.

tableResource_catalogId :: Lens' TableResource (Maybe Text) Source #

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

tableResource_tableWildcard :: Lens' TableResource (Maybe TableWildcard) Source #

A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.

tableResource_databaseName :: Lens' TableResource Text Source #

The name of the database for the table. Unique to a 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.