| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DMS.TestConnection
Description
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.
Constructors
| TestConnection' | |
Fields
| |
Instances
Arguments
| :: 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:
TestConnection, testConnection_replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
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.
Constructors
| TestConnectionResponse' | |
Fields
| |
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.