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

Contents

Description

Creates a connection definition in the Data Catalog.

Synopsis

Creating a Request

createConnection Source #

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

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

  • ccCatalogId - The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.
  • ccConnectionInput - A ConnectionInput object defining the connection to create.

data CreateConnection Source #

See: createConnection smart constructor.

Instances

Eq CreateConnection Source # 
Data CreateConnection Source # 

Methods

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

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

toConstr :: CreateConnection -> Constr #

dataTypeOf :: CreateConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateConnection Source # 
Show CreateConnection Source # 
Generic CreateConnection Source # 
Hashable CreateConnection Source # 
ToJSON CreateConnection Source # 
NFData CreateConnection Source # 

Methods

rnf :: CreateConnection -> () #

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

Request Lenses

ccCatalogId :: Lens' CreateConnection (Maybe Text) Source #

The ID of the Data Catalog in which to create the connection. If none is supplied, the AWS account ID is used by default.

ccConnectionInput :: Lens' CreateConnection ConnectionInput Source #

A ConnectionInput object defining the connection to create.

Destructuring the Response

createConnectionResponse Source #

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

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

data CreateConnectionResponse Source #

See: createConnectionResponse smart constructor.

Instances

Eq CreateConnectionResponse Source # 
Data CreateConnectionResponse Source # 

Methods

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

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

toConstr :: CreateConnectionResponse -> Constr #

dataTypeOf :: CreateConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateConnectionResponse Source # 
Show CreateConnectionResponse Source # 
Generic CreateConnectionResponse Source # 
NFData CreateConnectionResponse Source # 
type Rep CreateConnectionResponse Source # 
type Rep CreateConnectionResponse = D1 * (MetaData "CreateConnectionResponse" "Network.AWS.Glue.CreateConnection" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" True) (C1 * (MetaCons "CreateConnectionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_crsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses