Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Tests the connection between the replication instance and the endpoint.
Synopsis
- data TestConnection = TestConnection' {}
- newTestConnection :: Text -> Text -> TestConnection
- testConnection_replicationInstanceArn :: Lens' TestConnection Text
- testConnection_endpointArn :: Lens' TestConnection Text
- data TestConnectionResponse = TestConnectionResponse' {}
- newTestConnectionResponse :: Int -> TestConnectionResponse
- testConnectionResponse_connection :: Lens' TestConnectionResponse (Maybe Connection)
- testConnectionResponse_httpStatus :: Lens' TestConnectionResponse Int
Creating a Request
data TestConnection Source #
See: newTestConnection
smart constructor.
TestConnection' | |
|
Instances
:: Text | |
-> Text | |
-> TestConnection |
Create a value of TestConnection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:replicationInstanceArn:TestConnection'
, testConnection_replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance.
$sel:endpointArn:TestConnection'
, testConnection_endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
Request Lenses
testConnection_replicationInstanceArn :: Lens' TestConnection Text Source #
The Amazon Resource Name (ARN) of the replication instance.
testConnection_endpointArn :: Lens' TestConnection Text Source #
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
Destructuring the Response
data TestConnectionResponse Source #
See: newTestConnectionResponse
smart constructor.
TestConnectionResponse' | |
|
Instances
newTestConnectionResponse Source #
Create a value of TestConnectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connection:TestConnectionResponse'
, testConnectionResponse_connection
- The connection tested.
$sel:httpStatus:TestConnectionResponse'
, testConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
testConnectionResponse_connection :: Lens' TestConnectionResponse (Maybe Connection) Source #
The connection tested.
testConnectionResponse_httpStatus :: Lens' TestConnectionResponse Int Source #
The response's http status code.