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

Defined in Network.AWS.Glue.GetConnection

Data GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

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

Defined in Network.AWS.Glue.GetConnection

Show GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Generic GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Associated Types

type Rep GetConnection :: Type -> Type #

Hashable GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

ToJSON GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

AWSRequest GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Associated Types

type Rs GetConnection :: Type #

ToHeaders GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

ToPath GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

ToQuery GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

NFData GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Methods

rnf :: GetConnection -> () #

type Rep GetConnection Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

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

Defined in Network.AWS.Glue.GetConnection

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

Defined in Network.AWS.Glue.GetConnection

Data GetConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

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

Defined in Network.AWS.Glue.GetConnection

Show GetConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Generic GetConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Associated Types

type Rep GetConnectionResponse :: Type -> Type #

NFData GetConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

Methods

rnf :: GetConnectionResponse -> () #

type Rep GetConnectionResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnection

type Rep GetConnectionResponse = D1 (MetaData "GetConnectionResponse" "Network.AWS.Glue.GetConnection" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetConnectionResponse'" PrefixI True) (S1 (MetaSel (Just "_getrsConnection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Connection)) :*: S1 (MetaSel (Just "_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.