Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TableWithColumnsResource = TableWithColumnsResource' {
- catalogId :: Maybe Text
- columnWildcard :: Maybe ColumnWildcard
- columnNames :: Maybe [Text]
- databaseName :: Text
- name :: Text
- newTableWithColumnsResource :: Text -> Text -> TableWithColumnsResource
- tableWithColumnsResource_catalogId :: Lens' TableWithColumnsResource (Maybe Text)
- tableWithColumnsResource_columnWildcard :: Lens' TableWithColumnsResource (Maybe ColumnWildcard)
- tableWithColumnsResource_columnNames :: Lens' TableWithColumnsResource (Maybe [Text])
- tableWithColumnsResource_databaseName :: Lens' TableWithColumnsResource Text
- tableWithColumnsResource_name :: Lens' TableWithColumnsResource Text
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.
TableWithColumnsResource' | |
|
Instances
newTableWithColumnsResource Source #
:: Text | |
-> Text | |
-> TableWithColumnsResource |
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.