amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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:

  • 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.
  • utTableInput - An updated TableInput object to define the metadata table in the catalog.

data UpdateTable Source #

See: updateTable smart constructor.

Instances

Eq UpdateTable Source # 
Data UpdateTable Source # 

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 # 
Show UpdateTable Source # 
Generic UpdateTable Source # 

Associated Types

type Rep UpdateTable :: * -> * #

Hashable UpdateTable Source # 
ToJSON UpdateTable Source # 
NFData UpdateTable Source # 

Methods

rnf :: UpdateTable -> () #

AWSRequest UpdateTable Source # 
ToQuery UpdateTable Source # 
ToPath UpdateTable Source # 
ToHeaders UpdateTable Source # 

Methods

toHeaders :: UpdateTable -> [Header] #

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

Request Lenses

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.

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 # 
Data UpdateTableResponse Source # 

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 # 
Show UpdateTableResponse Source # 
Generic UpdateTableResponse Source # 
NFData UpdateTableResponse Source # 

Methods

rnf :: UpdateTableResponse -> () #

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

Response Lenses

utrsResponseStatus :: Lens' UpdateTableResponse Int Source #

  • - | The response status code.