| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DMS.TestConnection
Description
Tests the connection between the replication instance and the endpoint.
- testConnection :: Text -> Text -> TestConnection
- data TestConnection
- tcReplicationInstanceARN :: Lens' TestConnection Text
- tcEndpointARN :: Lens' TestConnection Text
- testConnectionResponse :: Int -> TestConnectionResponse
- data TestConnectionResponse
- tcrsConnection :: Lens' TestConnectionResponse (Maybe Connection)
- tcrsResponseStatus :: Lens' TestConnectionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> 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:
tcReplicationInstanceARN- The Amazon Resource Name (ARN) of the replication instance.tcEndpointARN- The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
data TestConnection Source #
See: testConnection smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> 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:
tcrsConnection- The connection tested.tcrsResponseStatus- -- | The response status code.
data TestConnectionResponse Source #
See: testConnectionResponse smart constructor.
Response Lenses
tcrsConnection :: Lens' TestConnectionResponse (Maybe Connection) Source #
The connection tested.
tcrsResponseStatus :: Lens' TestConnectionResponse Int Source #
- - | The response status code.