amazonka-glue-1.6.0: 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.BatchDeleteTableVersion

Contents

Description

Deletes a specified batch of versions of a table.

Synopsis

Creating a Request

batchDeleteTableVersion Source #

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

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

  • bdtvCatalogId - The ID of the Data Catalog where the tables reside. If none is supplied, the AWS account ID is used by default.
  • bdtvDatabaseName - The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.
  • bdtvTableName - The name of the table. For Hive compatibility, this name is entirely lowercase.
  • bdtvVersionIds - A list of the IDs of versions to be deleted.

data BatchDeleteTableVersion Source #

See: batchDeleteTableVersion smart constructor.

Instances

Eq BatchDeleteTableVersion Source # 
Data BatchDeleteTableVersion Source # 

Methods

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

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

toConstr :: BatchDeleteTableVersion -> Constr #

dataTypeOf :: BatchDeleteTableVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: BatchDeleteTableVersion -> () #

AWSRequest BatchDeleteTableVersion Source # 
ToHeaders BatchDeleteTableVersion Source # 
ToPath BatchDeleteTableVersion Source # 
ToQuery BatchDeleteTableVersion Source # 
type Rep BatchDeleteTableVersion Source # 
type Rep BatchDeleteTableVersion = D1 * (MetaData "BatchDeleteTableVersion" "Network.AWS.Glue.BatchDeleteTableVersion" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "BatchDeleteTableVersion'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_bdtvCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_bdtvDatabaseName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_bdtvTableName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_bdtvVersionIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])))))
type Rs BatchDeleteTableVersion Source # 

Request Lenses

bdtvCatalogId :: Lens' BatchDeleteTableVersion (Maybe Text) Source #

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

bdtvDatabaseName :: Lens' BatchDeleteTableVersion Text Source #

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

bdtvTableName :: Lens' BatchDeleteTableVersion Text Source #

The name of the table. For Hive compatibility, this name is entirely lowercase.

bdtvVersionIds :: Lens' BatchDeleteTableVersion [Text] Source #

A list of the IDs of versions to be deleted.

Destructuring the Response

batchDeleteTableVersionResponse Source #

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

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

data BatchDeleteTableVersionResponse Source #

See: batchDeleteTableVersionResponse smart constructor.

Instances

Eq BatchDeleteTableVersionResponse Source # 
Data BatchDeleteTableVersionResponse Source # 

Methods

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

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

toConstr :: BatchDeleteTableVersionResponse -> Constr #

dataTypeOf :: BatchDeleteTableVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeleteTableVersionResponse Source # 
Show BatchDeleteTableVersionResponse Source # 
Generic BatchDeleteTableVersionResponse Source # 
NFData BatchDeleteTableVersionResponse Source # 
type Rep BatchDeleteTableVersionResponse Source # 
type Rep BatchDeleteTableVersionResponse = D1 * (MetaData "BatchDeleteTableVersionResponse" "Network.AWS.Glue.BatchDeleteTableVersion" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "BatchDeleteTableVersionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_bdtvrsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [TableVersionError]))) (S1 * (MetaSel (Just Symbol "_bdtvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

bdtvrsErrors :: Lens' BatchDeleteTableVersionResponse [TableVersionError] Source #

A list of errors encountered while trying to delete the specified table versions.