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.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
FromJSON DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

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

Read DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Show DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

NFData DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Methods

rnf :: DatabaseResource -> () #

Eq DatabaseResource Source # 
Instance details

Defined in Amazonka.LakeFormation.Types.DatabaseResource

Hashable 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" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" '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.