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

Description

 
Synopsis

Documentation

data DatabaseResource Source #

A structure for the database object.

See: newDatabaseResource smart constructor.

Constructors

DatabaseResource' 

Fields

  • catalogId :: Maybe Text

    The identifier for the Data Catalog. By default, it is the account ID of the caller.

  • name :: Text

    The name of the database resource. Unique to the Data Catalog.

Instances

Instances details
Eq DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Read DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Show DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Generic DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Associated Types

type Rep DatabaseResource :: Type -> Type #

NFData DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Methods

rnf :: DatabaseResource -> () #

Hashable DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

ToJSON DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

FromJSON DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

type Rep DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

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

newDatabaseResource Source #

Create a value of DatabaseResource 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:DatabaseResource', databaseResource_catalogId - The identifier for the Data Catalog. By default, it is the account ID of the caller.

$sel:name:DatabaseResource', databaseResource_name - The name of the database resource. Unique to the Data Catalog.

databaseResource_catalogId :: Lens' DatabaseResource (Maybe Text) Source #

The identifier for the Data Catalog. By default, it is the account ID of the caller.

databaseResource_name :: Lens' DatabaseResource Text Source #

The name of the database resource. Unique to the Data Catalog.