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

Contents

Description

Retrieves a list of connection definitions from the Data Catalog.

This operation returns paginated results.

Synopsis

Creating a Request

getConnections :: GetConnections Source #

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

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

  • gcsCatalogId - The ID of the Data Catalog in which the connections reside. If none is supplied, the AWS account ID is used by default.
  • gcsNextToken - A continuation token, if this is a continuation call.
  • gcsFilter - A filter that controls which connections will be returned.
  • gcsMaxResults - The maximum number of connections to return in one response.

data GetConnections Source #

See: getConnections smart constructor.

Instances
Eq GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Data GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Methods

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

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

toConstr :: GetConnections -> Constr #

dataTypeOf :: GetConnections -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Show GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Generic GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Associated Types

type Rep GetConnections :: Type -> Type #

Hashable GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

ToJSON GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

AWSPager GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

AWSRequest GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Associated Types

type Rs GetConnections :: Type #

ToHeaders GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

ToPath GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

ToQuery GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

NFData GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Methods

rnf :: GetConnections -> () #

type Rep GetConnections Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

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

Defined in Network.AWS.Glue.GetConnections

Request Lenses

gcsCatalogId :: Lens' GetConnections (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.

gcsNextToken :: Lens' GetConnections (Maybe Text) Source #

A continuation token, if this is a continuation call.

gcsFilter :: Lens' GetConnections (Maybe GetConnectionsFilter) Source #

A filter that controls which connections will be returned.

gcsMaxResults :: Lens' GetConnections (Maybe Natural) Source #

The maximum number of connections to return in one response.

Destructuring the Response

getConnectionsResponse Source #

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

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

data GetConnectionsResponse Source #

See: getConnectionsResponse smart constructor.

Instances
Eq GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Data GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Methods

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

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

toConstr :: GetConnectionsResponse -> Constr #

dataTypeOf :: GetConnectionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Show GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Generic GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Associated Types

type Rep GetConnectionsResponse :: Type -> Type #

NFData GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

Methods

rnf :: GetConnectionsResponse -> () #

type Rep GetConnectionsResponse Source # 
Instance details

Defined in Network.AWS.Glue.GetConnections

type Rep GetConnectionsResponse = D1 (MetaData "GetConnectionsResponse" "Network.AWS.Glue.GetConnections" "amazonka-glue-1.6.1-4wrowkj7LqMExQlCyUUmWF" False) (C1 (MetaCons "GetConnectionsResponse'" PrefixI True) (S1 (MetaSel (Just "_gccrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gccrsConnectionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Connection])) :*: S1 (MetaSel (Just "_gccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gccrsNextToken :: Lens' GetConnectionsResponse (Maybe Text) Source #

A continuation token, if the list of connections returned does not include the last of the filtered connections.

gccrsConnectionList :: Lens' GetConnectionsResponse [Connection] Source #

A list of requested connection definitions.