amazonka-glue-1.5.0: Amazon Glue SDK.

Copyright(c) 2013-2017 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.

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 # 
Data GetConnections Source # 

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 # 
Show GetConnections Source # 
Generic GetConnections Source # 

Associated Types

type Rep GetConnections :: * -> * #

Hashable GetConnections Source # 
ToJSON GetConnections Source # 
NFData GetConnections Source # 

Methods

rnf :: GetConnections -> () #

AWSRequest GetConnections Source # 
ToQuery GetConnections Source # 
ToPath GetConnections Source # 
ToHeaders GetConnections Source # 
type Rep GetConnections Source # 
type Rep GetConnections = D1 (MetaData "GetConnections" "Network.AWS.Glue.GetConnections" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetConnections'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gcsCatalogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gcsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gcsFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GetConnectionsFilter))) (S1 (MetaSel (Just Symbol "_gcsMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs GetConnections Source # 

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 # 
Data GetConnectionsResponse Source # 

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 # 
Show GetConnectionsResponse Source # 
Generic GetConnectionsResponse Source # 
NFData GetConnectionsResponse Source # 

Methods

rnf :: GetConnectionsResponse -> () #

type Rep GetConnectionsResponse Source # 
type Rep GetConnectionsResponse = D1 (MetaData "GetConnectionsResponse" "Network.AWS.Glue.GetConnections" "amazonka-glue-1.5.0-4Up8HzkFFhK6642ZlsxA7K" False) (C1 (MetaCons "GetConnectionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gccrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gccrsConnectionList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Connection]))) (S1 (MetaSel (Just Symbol "_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.