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 |
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
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.
Request Lenses
tcReplicationInstanceARN :: Lens' TestConnection Text Source #
The Amazon Resource Number (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.
Response Lenses
tcrsConnection :: Lens' TestConnectionResponse (Maybe Connection) Source #
The connection tested.
tcrsResponseStatus :: Lens' TestConnectionResponse Int Source #
The response status code.