libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.CreateDatabase

Description

Creates a new database in a Data Catalog.

Synopsis

Creating a Request

data CreateDatabase Source #

See: newCreateDatabase smart constructor.

Constructors

CreateDatabase' 

Fields

Instances

Instances details
Eq CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Read CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Show CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Generic CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Associated Types

type Rep CreateDatabase :: Type -> Type #

NFData CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Methods

rnf :: CreateDatabase -> () #

Hashable CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

ToJSON CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

AWSRequest CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Associated Types

type AWSResponse CreateDatabase #

ToHeaders CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

ToPath CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

ToQuery CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

type Rep CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

type Rep CreateDatabase = D1 ('MetaData "CreateDatabase" "Amazonka.Glue.CreateDatabase" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateDatabase'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "databaseInput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DatabaseInput)))
type AWSResponse CreateDatabase Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

newCreateDatabase Source #

Create a value of CreateDatabase 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:CreateDatabase', createDatabase_catalogId - The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseInput:CreateDatabase', createDatabase_databaseInput - The metadata for the database.

Request Lenses

createDatabase_catalogId :: Lens' CreateDatabase (Maybe Text) Source #

The ID of the Data Catalog in which to create the database. If none is provided, the Amazon Web Services account ID is used by default.

Destructuring the Response

data CreateDatabaseResponse Source #

See: newCreateDatabaseResponse smart constructor.

Constructors

CreateDatabaseResponse' 

Fields

Instances

Instances details
Eq CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Read CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Show CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Generic CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Associated Types

type Rep CreateDatabaseResponse :: Type -> Type #

NFData CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

Methods

rnf :: CreateDatabaseResponse -> () #

type Rep CreateDatabaseResponse Source # 
Instance details

Defined in Amazonka.Glue.CreateDatabase

type Rep CreateDatabaseResponse = D1 ('MetaData "CreateDatabaseResponse" "Amazonka.Glue.CreateDatabase" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "CreateDatabaseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateDatabaseResponse Source #

Create a value of CreateDatabaseResponse 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:httpStatus:CreateDatabaseResponse', createDatabaseResponse_httpStatus - The response's http status code.

Response Lenses