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

Defined in Network.AWS.Glue.UpdateConnection

Data UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

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

Defined in Network.AWS.Glue.UpdateConnection

Show UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Generic UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Associated Types

type Rep UpdateConnection :: Type -> Type #

Hashable UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

ToJSON UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

AWSRequest UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Associated Types

type Rs UpdateConnection :: Type #

ToHeaders UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

ToPath UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

ToQuery UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

NFData UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Methods

rnf :: UpdateConnection -> () #

type Rep UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

type Rep UpdateConnection = D1 (MetaData "UpdateConnection" "Network.AWS.Glue.UpdateConnection" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "UpdateConnection'" PrefixI True) (S1 (MetaSel (Just "_ucCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ucConnectionInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ConnectionInput))))
type Rs UpdateConnection Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

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

Defined in Network.AWS.Glue.UpdateConnection

Data UpdateConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

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

Defined in Network.AWS.Glue.UpdateConnection

Show UpdateConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Generic UpdateConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

Associated Types

type Rep UpdateConnectionResponse :: Type -> Type #

NFData UpdateConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

type Rep UpdateConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.UpdateConnection

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

Response Lenses