amazonka-dms-1.6.0: Amazon Database Migration Service 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.DMS.TestConnection

Contents

Description

Tests the connection between the replication instance and the endpoint.

Synopsis

Creating a Request

testConnection #

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 #

See: testConnection smart constructor.

Instances

Eq TestConnection # 
Data TestConnection # 

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 # 
Show TestConnection # 
Generic TestConnection # 

Associated Types

type Rep TestConnection :: * -> * #

Hashable TestConnection # 
ToJSON TestConnection # 
NFData TestConnection # 

Methods

rnf :: TestConnection -> () #

AWSRequest TestConnection # 
ToHeaders TestConnection # 
ToPath TestConnection # 
ToQuery TestConnection # 
type Rep TestConnection # 
type Rep TestConnection = D1 * (MetaData "TestConnection" "Network.AWS.DMS.TestConnection" "amazonka-dms-1.6.0-GqH7kuM5kL3HMlibDeDmZp" 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 # 

Request Lenses

tcReplicationInstanceARN :: Lens' TestConnection Text #

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

tcEndpointARN :: Lens' TestConnection Text #

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

Destructuring the Response

testConnectionResponse #

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 #

See: testConnectionResponse smart constructor.

Instances

Eq TestConnectionResponse # 
Data TestConnectionResponse # 

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

Methods

rnf :: TestConnectionResponse -> () #

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

Response Lenses

tcrsResponseStatus :: Lens' TestConnectionResponse Int #

  • - | The response status code.