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

Defined in Network.AWS.Glue.DeletePartition

Data DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

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

Defined in Network.AWS.Glue.DeletePartition

Show DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Generic DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Associated Types

type Rep DeletePartition :: Type -> Type #

Hashable DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

ToJSON DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

AWSRequest DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Associated Types

type Rs DeletePartition :: Type #

ToHeaders DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

ToPath DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

ToQuery DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

NFData DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Methods

rnf :: DeletePartition -> () #

type Rep DeletePartition Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

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

Defined in Network.AWS.Glue.DeletePartition

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

Defined in Network.AWS.Glue.DeletePartition

Data DeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

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

Defined in Network.AWS.Glue.DeletePartition

Show DeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Generic DeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Associated Types

type Rep DeletePartitionResponse :: Type -> Type #

NFData DeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

Methods

rnf :: DeletePartitionResponse -> () #

type Rep DeletePartitionResponse Source # 
Instance details

Defined in Network.AWS.Glue.DeletePartition

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

Response Lenses