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 specified connection in your global network.
Synopsis
- data DeleteConnection = DeleteConnection' {}
- newDeleteConnection :: Text -> Text -> DeleteConnection
- deleteConnection_globalNetworkId :: Lens' DeleteConnection Text
- deleteConnection_connectionId :: 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:globalNetworkId:DeleteConnection'
, deleteConnection_globalNetworkId
- The ID of the global network.
$sel:connectionId:DeleteConnection'
, deleteConnection_connectionId
- The ID of the connection.
Request Lenses
deleteConnection_globalNetworkId :: Lens' DeleteConnection Text Source #
The ID of the global network.
deleteConnection_connectionId :: Lens' DeleteConnection Text Source #
The ID of the connection.
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
- Information about the connection.
$sel:httpStatus:DeleteConnectionResponse'
, deleteConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectionResponse_connection :: Lens' DeleteConnectionResponse (Maybe Connection) Source #
Information about the connection.
deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int Source #
The response's http status code.