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

Contents

Description

Updates a connection definition in the Data Catalog.

Synopsis

Creating a Request

updateConnection Source #

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

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

  • ucCatalogId - The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.
  • ucName - The name of the connection definition to update.
  • ucConnectionInput - A ConnectionInput object that redefines the connection in question.

data UpdateConnection Source #

See: updateConnection smart constructor.

Instances

Eq UpdateConnection Source # 
Data UpdateConnection Source # 

Methods

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

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

toConstr :: UpdateConnection -> Constr #

dataTypeOf :: UpdateConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateConnection -> () #

AWSRequest UpdateConnection Source # 
ToHeaders UpdateConnection Source # 
ToPath UpdateConnection Source # 
ToQuery UpdateConnection Source # 
type Rep UpdateConnection Source # 
type Rep UpdateConnection = D1 * (MetaData "UpdateConnection" "Network.AWS.Glue.UpdateConnection" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "UpdateConnection'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ucConnectionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ConnectionInput)))))
type Rs UpdateConnection Source # 

Request Lenses

ucCatalogId :: Lens' UpdateConnection (Maybe Text) Source #

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

ucName :: Lens' UpdateConnection Text Source #

The name of the connection definition to update.

ucConnectionInput :: Lens' UpdateConnection ConnectionInput Source #

A ConnectionInput object that redefines the connection in question.

Destructuring the Response

updateConnectionResponse Source #

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

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

data UpdateConnectionResponse Source #

See: updateConnectionResponse smart constructor.

Instances

Eq UpdateConnectionResponse Source # 
Data UpdateConnectionResponse Source # 

Methods

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

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

toConstr :: UpdateConnectionResponse -> Constr #

dataTypeOf :: UpdateConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateConnectionResponse Source # 
Show UpdateConnectionResponse Source # 
Generic UpdateConnectionResponse Source # 
NFData UpdateConnectionResponse Source # 
type Rep UpdateConnectionResponse Source # 
type Rep UpdateConnectionResponse = D1 * (MetaData "UpdateConnectionResponse" "Network.AWS.Glue.UpdateConnection" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" True) (C1 * (MetaCons "UpdateConnectionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ucrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses