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

Description

 
Synopsis

Documentation

data Resource Source #

A structure for the resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

  • dataLocation :: Maybe DataLocationResource

    The location of an Amazon S3 path where permissions are granted or revoked.

  • database :: Maybe DatabaseResource

    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.

  • lFTag :: Maybe LFTagKeyResource

    The tag key and values attached to a resource.

  • catalog :: Maybe CatalogResource

    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.

  • lFTagPolicy :: Maybe LFTagPolicyResource

    A list of tag conditions that define a resource's tag policy.

  • table :: Maybe TableResource

    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.

  • tableWithColumns :: Maybe TableWithColumnsResource

    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.

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Show 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 #

NFData Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

ToJSON Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

FromJSON Resource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.Resource

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