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 |
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.
DeleteConnection' | |
|
Instances
:: 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:
$sel:endpointArn:DeleteConnection'
, deleteConnection_endpointArn
- The Amazon Resource Name (ARN) string that uniquely identifies the
endpoint.
$sel:replicationInstanceArn: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.
DeleteConnectionResponse' | |
|
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.