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

Contents

Description

Deletes one or more partitions in a batch operation.

Synopsis

Creating a Request

batchDeletePartition Source #

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

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

  • bdpCatalogId - The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.
  • bdpDatabaseName - The name of the catalog database in which the table in question resides.
  • bdpTableName - The name of the table where the partitions to be deleted is located.
  • bdpPartitionsToDelete - A list of PartitionInput structures that define the partitions to be deleted.

data BatchDeletePartition Source #

See: batchDeletePartition smart constructor.

Instances
Eq BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Data BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Methods

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

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

toConstr :: BatchDeletePartition -> Constr #

dataTypeOf :: BatchDeletePartition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Show BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Generic BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Associated Types

type Rep BatchDeletePartition :: Type -> Type #

Hashable BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

ToJSON BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

AWSRequest BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Associated Types

type Rs BatchDeletePartition :: Type #

ToHeaders BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

ToPath BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

ToQuery BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

NFData BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Methods

rnf :: BatchDeletePartition -> () #

type Rep BatchDeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

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

Defined in Network.AWS.Glue.BatchDeletePartition

Request Lenses

bdpCatalogId :: Lens' BatchDeletePartition (Maybe Text) Source #

The ID of the Data Catalog where the partition to be deleted resides. If none is supplied, the AWS account ID is used by default.

bdpDatabaseName :: Lens' BatchDeletePartition Text Source #

The name of the catalog database in which the table in question resides.

bdpTableName :: Lens' BatchDeletePartition Text Source #

The name of the table where the partitions to be deleted is located.

bdpPartitionsToDelete :: Lens' BatchDeletePartition [PartitionValueList] Source #

A list of PartitionInput structures that define the partitions to be deleted.

Destructuring the Response

batchDeletePartitionResponse Source #

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

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

data BatchDeletePartitionResponse Source #

See: batchDeletePartitionResponse smart constructor.

Instances
Eq BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Data BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Methods

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

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

toConstr :: BatchDeletePartitionResponse -> Constr #

dataTypeOf :: BatchDeletePartitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Show BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Generic BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

Associated Types

type Rep BatchDeletePartitionResponse :: Type -> Type #

NFData BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

type Rep BatchDeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.BatchDeletePartition

type Rep BatchDeletePartitionResponse = D1 (MetaData "BatchDeletePartitionResponse" "Network.AWS.Glue.BatchDeletePartition" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "BatchDeletePartitionResponse'" PrefixI True) (S1 (MetaSel (Just "_bdprsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PartitionError])) :*: S1 (MetaSel (Just "_bdprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

bdprsErrors :: Lens' BatchDeletePartitionResponse [PartitionError] Source #

Errors encountered when trying to delete the requested partitions.