| 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.DeleteConnection
Description
Deletes the connection between a replication instance and an endpoint.
Synopsis
- data DeleteConnection = DeleteConnection' {}
- newDeleteConnection :: Text -> Text -> DeleteConnection
- deleteConnection_endpointArn :: Lens' DeleteConnection Text
- deleteConnection_replicationInstanceArn :: Lens' DeleteConnection Text
- data DeleteConnectionResponse = DeleteConnectionResponse' {}
- newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
- deleteConnectionResponse_connection :: Lens' DeleteConnectionResponse (Maybe Connection)
- deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
Creating a Request
data DeleteConnection Source #
See: newDeleteConnection smart constructor.
Constructors
| DeleteConnection' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteConnection |
Create a value of DeleteConnection 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:
DeleteConnection, deleteConnection_endpointArn - The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
DeleteConnection, deleteConnection_replicationInstanceArn - The Amazon Resource Name (ARN) of the replication instance.
Request Lenses
deleteConnection_endpointArn :: Lens' DeleteConnection Text Source #
The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
deleteConnection_replicationInstanceArn :: Lens' DeleteConnection Text Source #
The Amazon Resource Name (ARN) of the replication instance.
Destructuring the Response
data DeleteConnectionResponse Source #
See: newDeleteConnectionResponse smart constructor.
Constructors
| DeleteConnectionResponse' | |
Fields
| |
Instances
newDeleteConnectionResponse Source #
Create a value of DeleteConnectionResponse 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:DeleteConnectionResponse', deleteConnectionResponse_connection - The connection that is being deleted.
$sel:httpStatus:DeleteConnectionResponse', deleteConnectionResponse_httpStatus - The response's http status code.
Response Lenses
deleteConnectionResponse_connection :: Lens' DeleteConnectionResponse (Maybe Connection) Source #
The connection that is being deleted.
deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int Source #
The response's http status code.