| 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.NetworkManager.DeleteConnection
Description
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.
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_globalNetworkId - The ID of the global network.
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.
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 - 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.