amazonka-dms-1.4.5: Amazon Database Migration Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DMS.TestConnection

Contents

Description

Tests the connection between the replication instance and the endpoint.

Synopsis

Creating a Request

testConnection Source #

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

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

data TestConnection Source #

See: testConnection smart constructor.

Instances

Eq TestConnection Source # 
Data TestConnection Source # 

Methods

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

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

toConstr :: TestConnection -> Constr #

dataTypeOf :: TestConnection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestConnection Source # 
Show TestConnection Source # 
Generic TestConnection Source # 

Associated Types

type Rep TestConnection :: * -> * #

Hashable TestConnection Source # 
ToJSON TestConnection Source # 
NFData TestConnection Source # 

Methods

rnf :: TestConnection -> () #

AWSRequest TestConnection Source # 
ToPath TestConnection Source # 
ToHeaders TestConnection Source # 
ToQuery TestConnection Source # 
type Rep TestConnection Source # 
type Rep TestConnection = D1 (MetaData "TestConnection" "Network.AWS.DMS.TestConnection" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "TestConnection'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tcReplicationInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tcEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs TestConnection Source # 

Request Lenses

tcReplicationInstanceARN :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) of the replication instance.

tcEndpointARN :: Lens' TestConnection Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

Destructuring the Response

testConnectionResponse Source #

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

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

data TestConnectionResponse Source #

See: testConnectionResponse smart constructor.

Instances

Eq TestConnectionResponse Source # 
Data TestConnectionResponse Source # 

Methods

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

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

toConstr :: TestConnectionResponse -> Constr #

dataTypeOf :: TestConnectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestConnectionResponse Source # 
Show TestConnectionResponse Source # 
Generic TestConnectionResponse Source # 
NFData TestConnectionResponse Source # 

Methods

rnf :: TestConnectionResponse -> () #

type Rep TestConnectionResponse Source # 
type Rep TestConnectionResponse = D1 (MetaData "TestConnectionResponse" "Network.AWS.DMS.TestConnection" "amazonka-dms-1.4.5-EltuN0Q20gz5uVOAfZKolj" False) (C1 (MetaCons "TestConnectionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tcrsConnection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Connection))) (S1 (MetaSel (Just Symbol "_tcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

tcrsResponseStatus :: Lens' TestConnectionResponse Int Source #

  • - | The response status code.