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

Contents

Description

Retrieves a connection definition from the Data Catalog.

Synopsis

Creating a Request

getConnection Source #

Arguments

:: Text

gName

-> GetConnection 

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

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

  • gCatalogId - The ID of the Data Catalog in which the connection resides. If none is supplied, the AWS account ID is used by default.
  • gName - The name of the connection definition to retrieve.

data GetConnection Source #

See: getConnection smart constructor.

Instances

Eq GetConnection Source # 
Data GetConnection Source # 

Methods

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

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

toConstr :: GetConnection -> Constr #

dataTypeOf :: GetConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetConnection Source # 
Show GetConnection Source # 
Generic GetConnection Source # 

Associated Types

type Rep GetConnection :: * -> * #

Hashable GetConnection Source # 
ToJSON GetConnection Source # 
NFData GetConnection Source # 

Methods

rnf :: GetConnection -> () #

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

Request Lenses

gCatalogId :: Lens' GetConnection (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.

gName :: Lens' GetConnection Text Source #

The name of the connection definition to retrieve.

Destructuring the Response

getConnectionResponse Source #

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

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

data GetConnectionResponse Source #

See: getConnectionResponse smart constructor.

Instances

Eq GetConnectionResponse Source # 
Data GetConnectionResponse Source # 

Methods

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

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

toConstr :: GetConnectionResponse -> Constr #

dataTypeOf :: GetConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetConnectionResponse Source # 
Show GetConnectionResponse Source # 
Generic GetConnectionResponse Source # 
NFData GetConnectionResponse Source # 

Methods

rnf :: GetConnectionResponse -> () #

type Rep GetConnectionResponse Source # 
type Rep GetConnectionResponse = D1 * (MetaData "GetConnectionResponse" "Network.AWS.Glue.GetConnection" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "GetConnectionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_getrsConnection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Connection))) (S1 * (MetaSel (Just Symbol "_getrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

getrsConnection :: Lens' GetConnectionResponse (Maybe Connection) Source #

The requested connection definition.

getrsResponseStatus :: Lens' GetConnectionResponse Int Source #

  • - | The response status code.