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

Description

 
Synopsis

Documentation

data DataLocationResource Source #

A structure for a data location object where permissions are granted or revoked.

See: newDataLocationResource smart constructor.

Constructors

DataLocationResource' 

Fields

  • catalogId :: Maybe Text

    The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) that uniquely identifies the data location resource.

Instances

Instances details
Eq DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

Read DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

Show DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

Generic DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

Associated Types

type Rep DataLocationResource :: Type -> Type #

NFData DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

Methods

rnf :: DataLocationResource -> () #

Hashable DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

ToJSON DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

FromJSON DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

type Rep DataLocationResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DataLocationResource

type Rep DataLocationResource = D1 ('MetaData "DataLocationResource" "Amazonka.LakeFormation.Types.DataLocationResource" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "DataLocationResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDataLocationResource Source #

Create a value of DataLocationResource 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:DataLocationResource', dataLocationResource_catalogId - The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.

$sel:resourceArn:DataLocationResource', dataLocationResource_resourceArn - The Amazon Resource Name (ARN) that uniquely identifies the data location resource.

dataLocationResource_catalogId :: Lens' DataLocationResource (Maybe Text) Source #

The identifier for the Data Catalog where the location is registered with AWS Lake Formation. By default, it is the account ID of the caller.

dataLocationResource_resourceArn :: Lens' DataLocationResource Text Source #

The Amazon Resource Name (ARN) that uniquely identifies the data location resource.