TableWithColumnsResource
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
.
Contents
- 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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: Yes
- 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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: Yes
- CatalogId
-
The identifier for the Data Catalog. By default, it is the account ID of the caller.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: No
- ColumnNames
-
The list of column names for the table. At least one of
ColumnNames
orColumnWildcard
is required.Type: Array of strings
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Required: No
- ColumnWildcard
-
A wildcard specified by a
ColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
is required.Type: ColumnWildcard object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: