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

Description

Updates a metadata table in the Data Catalog.

Synopsis

Creating a Request

data UpdateTable Source #

See: newUpdateTable smart constructor.

Constructors

UpdateTable' 

Fields

  • skipArchive :: Maybe Bool

    By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version.

  • catalogId :: Maybe Text

    The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

  • databaseName :: Text

    The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.

  • tableInput :: TableInput

    An updated TableInput object to define the metadata table in the catalog.

Instances

Instances details
Eq UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Read UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Show UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Generic UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Associated Types

type Rep UpdateTable :: Type -> Type #

NFData UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Methods

rnf :: UpdateTable -> () #

Hashable UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

ToJSON UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

AWSRequest UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Associated Types

type AWSResponse UpdateTable #

ToHeaders UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Methods

toHeaders :: UpdateTable -> [Header] #

ToPath UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

ToQuery UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

type Rep UpdateTable Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

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

Defined in Amazonka.Glue.UpdateTable

newUpdateTable Source #

Create a value of UpdateTable 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:skipArchive:UpdateTable', updateTable_skipArchive - By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version.

$sel:catalogId:UpdateTable', updateTable_catalogId - The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

$sel:databaseName:UpdateTable', updateTable_databaseName - The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.

$sel:tableInput:UpdateTable', updateTable_tableInput - An updated TableInput object to define the metadata table in the catalog.

Request Lenses

updateTable_skipArchive :: Lens' UpdateTable (Maybe Bool) Source #

By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version.

updateTable_catalogId :: Lens' UpdateTable (Maybe Text) Source #

The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

updateTable_databaseName :: Lens' UpdateTable Text Source #

The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.

updateTable_tableInput :: Lens' UpdateTable TableInput Source #

An updated TableInput object to define the metadata table in the catalog.

Destructuring the Response

data UpdateTableResponse Source #

See: newUpdateTableResponse smart constructor.

Constructors

UpdateTableResponse' 

Fields

Instances

Instances details
Eq UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Read UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Show UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Generic UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Associated Types

type Rep UpdateTableResponse :: Type -> Type #

NFData UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

Methods

rnf :: UpdateTableResponse -> () #

type Rep UpdateTableResponse Source # 
Instance details

Defined in Amazonka.Glue.UpdateTable

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

newUpdateTableResponse Source #

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

Response Lenses