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 Resource = Resource' {}
- newResource :: Resource
- resource_dataLocation :: Lens' Resource (Maybe DataLocationResource)
- resource_database :: Lens' Resource (Maybe DatabaseResource)
- resource_lFTag :: Lens' Resource (Maybe LFTagKeyResource)
- resource_catalog :: Lens' Resource (Maybe CatalogResource)
- resource_lFTagPolicy :: Lens' Resource (Maybe LFTagPolicyResource)
- resource_table :: Lens' Resource (Maybe TableResource)
- resource_tableWithColumns :: Lens' Resource (Maybe TableWithColumnsResource)
Documentation
A structure for the resource.
See: newResource
smart constructor.
Resource' | |
|
Instances
newResource :: Resource Source #
Create a value of Resource
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:dataLocation:Resource'
, resource_dataLocation
- The location of an Amazon S3 path where permissions are granted or
revoked.
$sel:database:Resource'
, resource_database
- The database for the 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 permissions to a principal.
$sel:lFTag:Resource'
, resource_lFTag
- The tag key and values attached to a resource.
$sel:catalog:Resource'
, resource_catalog
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your AWS Lake Formation environment.
$sel:lFTagPolicy:Resource'
, resource_lFTagPolicy
- A list of tag conditions that define a resource's tag policy.
$sel:table:Resource'
, resource_table
- The table for the resource. A table is a metadata definition that
represents your data. You can Grant and Revoke table privileges to a
principal.
$sel:tableWithColumns:Resource'
, resource_tableWithColumns
- The table with columns for the resource. A principal with permissions to
this resource can select metadata from the columns of a table in the
Data Catalog and the underlying data in Amazon S3.
resource_dataLocation :: Lens' Resource (Maybe DataLocationResource) Source #
The location of an Amazon S3 path where permissions are granted or revoked.
resource_database :: Lens' Resource (Maybe DatabaseResource) Source #
The database for the 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 permissions to a principal.
resource_lFTag :: Lens' Resource (Maybe LFTagKeyResource) Source #
The tag key and values attached to a resource.
resource_catalog :: Lens' Resource (Maybe CatalogResource) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.
resource_lFTagPolicy :: Lens' Resource (Maybe LFTagPolicyResource) Source #
A list of tag conditions that define a resource's tag policy.
resource_table :: Lens' Resource (Maybe TableResource) Source #
The table for the resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.
resource_tableWithColumns :: Lens' Resource (Maybe TableWithColumnsResource) Source #
The table with columns for the resource. A principal with permissions to this resource can select metadata from the columns of a table in the Data Catalog and the underlying data in Amazon S3.