amazonka-glue-1.6.1: Amazon Glue SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Glue.UpdateTable

Contents

Description

Updates a metadata table in the Data Catalog.

Synopsis

Creating a Request

updateTable Source #

Creates a value of UpdateTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • utSkipArchive - By default, UpdateTable always creates an archived version of the table before updating it. If skipArchive is set to true, however, UpdateTable does not create the archived version.
  • utCatalogId - The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.
  • utDatabaseName - The name of the catalog database in which the table resides. For Hive compatibility, this name is entirely lowercase.
  • utTableInput - An updated TableInput object to define the metadata table in the catalog.

data UpdateTable Source #

See: updateTable smart constructor.

Instances
Eq UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Data UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateTable -> c UpdateTable #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateTable #

toConstr :: UpdateTable -> Constr #

dataTypeOf :: UpdateTable -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateTable) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateTable) #

gmapT :: (forall b. Data b => b -> b) -> UpdateTable -> UpdateTable #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTable -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTable -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateTable -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateTable -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateTable -> m UpdateTable #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTable -> m UpdateTable #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTable -> m UpdateTable #

Read UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Show UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Generic UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Associated Types

type Rep UpdateTable :: Type -> Type #

Hashable UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

ToJSON UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

AWSRequest UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Associated Types

type Rs UpdateTable :: Type #

ToHeaders UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Methods

toHeaders :: UpdateTable -> [Header] #

ToPath UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

ToQuery UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

NFData UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Methods

rnf :: UpdateTable -> () #

type Rep UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

type Rep UpdateTable = D1 (MetaData "UpdateTable" "Network.AWS.Glue.UpdateTable" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "UpdateTable'" PrefixI True) ((S1 (MetaSel (Just "_utSkipArchive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_utCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_utDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_utTableInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TableInput))))
type Rs UpdateTable Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Request Lenses

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

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

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

The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.

utDatabaseName :: Lens' UpdateTable Text Source #

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

utTableInput :: Lens' UpdateTable TableInput Source #

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

Destructuring the Response

updateTableResponse Source #

Creates a value of UpdateTableResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UpdateTableResponse Source #

See: updateTableResponse smart constructor.

Instances
Eq UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Data UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateTableResponse -> c UpdateTableResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateTableResponse #

toConstr :: UpdateTableResponse -> Constr #

dataTypeOf :: UpdateTableResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateTableResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateTableResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateTableResponse -> UpdateTableResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTableResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateTableResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateTableResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateTableResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateTableResponse -> m UpdateTableResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTableResponse -> m UpdateTableResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateTableResponse -> m UpdateTableResponse #

Read UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Show UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Generic UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Associated Types

type Rep UpdateTableResponse :: Type -> Type #

NFData UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

Methods

rnf :: UpdateTableResponse -> () #

type Rep UpdateTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateTable

type Rep UpdateTableResponse = D1 (MetaData "UpdateTableResponse" "Network.AWS.Glue.UpdateTable" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" True) (C1 (MetaCons "UpdateTableResponse'" PrefixI True) (S1 (MetaSel (Just "_utrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

utrsResponseStatus :: Lens' UpdateTableResponse Int Source #

  • - | The response status code.