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

Contents

Description

Deletes a list of connection definitions from the Data Catalog.

Synopsis

Creating a Request

batchDeleteConnection :: BatchDeleteConnection Source #

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

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

  • bdcCatalogId - The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.
  • bdcConnectionNameList - A list of names of the connections to delete.

data BatchDeleteConnection Source #

See: batchDeleteConnection smart constructor.

Instances

Eq BatchDeleteConnection Source # 
Data BatchDeleteConnection Source # 

Methods

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

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

toConstr :: BatchDeleteConnection -> Constr #

dataTypeOf :: BatchDeleteConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: BatchDeleteConnection -> () #

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

Request Lenses

bdcCatalogId :: Lens' BatchDeleteConnection (Maybe Text) Source #

The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.

bdcConnectionNameList :: Lens' BatchDeleteConnection [Text] Source #

A list of names of the connections to delete.

Destructuring the Response

batchDeleteConnectionResponse Source #

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

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

  • bdcrsSucceeded - A list of names of the connection definitions that were successfully deleted.
  • bdcrsErrors - A map of the names of connections that were not successfully deleted to error details.
  • bdcrsResponseStatus - -- | The response status code.

data BatchDeleteConnectionResponse Source #

See: batchDeleteConnectionResponse smart constructor.

Instances

Eq BatchDeleteConnectionResponse Source # 
Data BatchDeleteConnectionResponse Source # 

Methods

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

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

toConstr :: BatchDeleteConnectionResponse -> Constr #

dataTypeOf :: BatchDeleteConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BatchDeleteConnectionResponse Source # 
Show BatchDeleteConnectionResponse Source # 
Generic BatchDeleteConnectionResponse Source # 
NFData BatchDeleteConnectionResponse Source # 
type Rep BatchDeleteConnectionResponse Source # 
type Rep BatchDeleteConnectionResponse = D1 (MetaData "BatchDeleteConnectionResponse" "Network.AWS.Glue.BatchDeleteConnection" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "BatchDeleteConnectionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bdcrsSucceeded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_bdcrsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text ErrorDetail)))) (S1 (MetaSel (Just Symbol "_bdcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

bdcrsSucceeded :: Lens' BatchDeleteConnectionResponse [Text] Source #

A list of names of the connection definitions that were successfully deleted.

bdcrsErrors :: Lens' BatchDeleteConnectionResponse (HashMap Text ErrorDetail) Source #

A map of the names of connections that were not successfully deleted to error details.