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 # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Data TestConnection # 
Instance details

Defined in Network.AWS.DMS.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 # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Show TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Generic TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Associated Types

type Rep TestConnection :: * -> * #

Hashable TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

ToJSON TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

AWSRequest TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Associated Types

type Rs TestConnection :: * #

ToHeaders TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

ToPath TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

ToQuery TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

NFData TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Methods

rnf :: TestConnection -> () #

type Rep TestConnection # 
Instance details

Defined in Network.AWS.DMS.TestConnection

type Rep TestConnection = D1 (MetaData "TestConnection" "Network.AWS.DMS.TestConnection" "amazonka-dms-1.6.0-4Gi0lHT2mXm2tQ4v6k2g3I" False) (C1 (MetaCons "TestConnection'" PrefixI True) (S1 (MetaSel (Just "_tcReplicationInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tcEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs TestConnection # 
Instance details

Defined in Network.AWS.DMS.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 # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Data TestConnectionResponse # 
Instance details

Defined in Network.AWS.DMS.TestConnection

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 # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Show TestConnectionResponse # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Generic TestConnectionResponse # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Associated Types

type Rep TestConnectionResponse :: * -> * #

NFData TestConnectionResponse # 
Instance details

Defined in Network.AWS.DMS.TestConnection

Methods

rnf :: TestConnectionResponse -> () #

type Rep TestConnectionResponse # 
Instance details

Defined in Network.AWS.DMS.TestConnection

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

Response Lenses

tcrsResponseStatus :: Lens' TestConnectionResponse Int #

  • - | The response status code.