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.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. For Hive compatibility, this name is entirely lowercase.
  • bdtTablesToDelete - A list of the table to delete.

data BatchDeleteTable Source #

See: batchDeleteTable smart constructor.

Instances
Eq BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Data BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

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 # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Show BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Generic BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Associated Types

type Rep BatchDeleteTable :: Type -> Type #

Hashable BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

ToJSON BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

AWSRequest BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Associated Types

type Rs BatchDeleteTable :: Type #

ToHeaders BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

ToPath BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

ToQuery BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

NFData BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Methods

rnf :: BatchDeleteTable -> () #

type Rep BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

type Rep BatchDeleteTable = D1 (MetaData "BatchDeleteTable" "Network.AWS.Glue.BatchDeleteTable" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "BatchDeleteTable'" PrefixI True) (S1 (MetaSel (Just "_bdtCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bdtDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_bdtTablesToDelete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs BatchDeleteTable Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

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. For Hive compatibility, this name is entirely lowercase.

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 # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Data BatchDeleteTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

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 # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Show BatchDeleteTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Generic BatchDeleteTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

Associated Types

type Rep BatchDeleteTableResponse :: Type -> Type #

NFData BatchDeleteTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

type Rep BatchDeleteTableResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeleteTable

type Rep BatchDeleteTableResponse = D1 (MetaData "BatchDeleteTableResponse" "Network.AWS.Glue.BatchDeleteTable" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "BatchDeleteTableResponse'" PrefixI True) (S1 (MetaSel (Just "_bdtrsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableError])) :*: S1 (MetaSel (Just "_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.