amazonka-lakeformation-2.0: Amazon Lake Formation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LakeFormation.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

A structure for the resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

ToJSON Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

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: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 Lake Formation environment.

$sel:dataCellsFilter:Resource', resource_dataCellsFilter - A data cell filter.

$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 LF-tag key and values attached to a resource.

$sel:lFTagPolicy:Resource', resource_lFTagPolicy - A list of LF-tag conditions that define a resource's LF-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_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 Lake Formation environment.

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 LF-tag key and values attached to a resource.

resource_lFTagPolicy :: Lens' Resource (Maybe LFTagPolicyResource) Source #

A list of LF-tag conditions that define a resource's LF-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.