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

Contents

Description

Deletes multiple tables at once.

Synopsis

Creating a Request

batchDeleteTable Source #

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

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

  • bdtCatalogId - The ID of the Data Catalog where the table resides. If none is supplied, the AWS account ID is used by default.
  • bdtDatabaseName - The name of the catalog database where the tables to delete reside.
  • bdtTablesToDelete - A list of the table to delete.

data BatchDeleteTable Source #

See: batchDeleteTable smart constructor.

Instances

Eq BatchDeleteTable Source # 
Data BatchDeleteTable Source # 

Methods

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

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

toConstr :: BatchDeleteTable -> Constr #

dataTypeOf :: BatchDeleteTable -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeleteTable Source # 
Show BatchDeleteTable Source # 
Generic BatchDeleteTable Source # 
Hashable BatchDeleteTable Source # 
ToJSON BatchDeleteTable Source # 
NFData BatchDeleteTable Source # 

Methods

rnf :: BatchDeleteTable -> () #

AWSRequest BatchDeleteTable Source # 
ToQuery BatchDeleteTable Source # 
ToPath BatchDeleteTable Source # 
ToHeaders BatchDeleteTable Source # 
type Rep BatchDeleteTable Source # 
type Rep BatchDeleteTable = D1 (MetaData "BatchDeleteTable" "Network.AWS.Glue.BatchDeleteTable" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "BatchDeleteTable'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bdtCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdtDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_bdtTablesToDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text])))))
type Rs BatchDeleteTable Source # 

Request Lenses

bdtCatalogId :: Lens' BatchDeleteTable (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.

bdtDatabaseName :: Lens' BatchDeleteTable Text Source #

The name of the catalog database where the tables to delete reside.

bdtTablesToDelete :: Lens' BatchDeleteTable [Text] Source #

A list of the table to delete.

Destructuring the Response

batchDeleteTableResponse Source #

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

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

data BatchDeleteTableResponse Source #

See: batchDeleteTableResponse smart constructor.

Instances

Eq BatchDeleteTableResponse Source # 
Data BatchDeleteTableResponse Source # 

Methods

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

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

toConstr :: BatchDeleteTableResponse -> Constr #

dataTypeOf :: BatchDeleteTableResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeleteTableResponse Source # 
Show BatchDeleteTableResponse Source # 
Generic BatchDeleteTableResponse Source # 
NFData BatchDeleteTableResponse Source # 
type Rep BatchDeleteTableResponse Source # 
type Rep BatchDeleteTableResponse = D1 (MetaData "BatchDeleteTableResponse" "Network.AWS.Glue.BatchDeleteTable" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "BatchDeleteTableResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bdtrsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableError]))) (S1 (MetaSel (Just Symbol "_bdtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

bdtrsErrors :: Lens' BatchDeleteTableResponse [TableError] Source #

A list of errors encountered in attempting to delete the specified tables.