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

Contents

Description

Deletes a specified partition.

Synopsis

Creating a Request

deletePartition Source #

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

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

  • dpCatalogId - 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.
  • dpDatabaseName - The name of the catalog database in which the table in question resides.
  • dpTableName - The name of the table where the partition to be deleted is located.
  • dpPartitionValues - The values that define the partition.

data DeletePartition Source #

See: deletePartition smart constructor.

Instances

Eq DeletePartition Source # 
Data DeletePartition Source # 

Methods

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

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

toConstr :: DeletePartition -> Constr #

dataTypeOf :: DeletePartition -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeletePartition -> () #

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

Request Lenses

dpCatalogId :: Lens' DeletePartition (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.

dpDatabaseName :: Lens' DeletePartition Text Source #

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

dpTableName :: Lens' DeletePartition Text Source #

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

dpPartitionValues :: Lens' DeletePartition [Text] Source #

The values that define the partition.

Destructuring the Response

deletePartitionResponse Source #

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

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

data DeletePartitionResponse Source #

See: deletePartitionResponse smart constructor.

Instances

Eq DeletePartitionResponse Source # 
Data DeletePartitionResponse Source # 

Methods

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

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

toConstr :: DeletePartitionResponse -> Constr #

dataTypeOf :: DeletePartitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeletePartitionResponse Source # 
Show DeletePartitionResponse Source # 
Generic DeletePartitionResponse Source # 
NFData DeletePartitionResponse Source # 

Methods

rnf :: DeletePartitionResponse -> () #

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

Response Lenses