| 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.DeletePeering
Description
Deletes an existing peering connection.
Synopsis
- data DeletePeering = DeletePeering' {}
- newDeletePeering :: Text -> DeletePeering
- deletePeering_peeringId :: Lens' DeletePeering Text
- data DeletePeeringResponse = DeletePeeringResponse' {
- peering :: Maybe Peering
- httpStatus :: Int
- newDeletePeeringResponse :: Int -> DeletePeeringResponse
- deletePeeringResponse_peering :: Lens' DeletePeeringResponse (Maybe Peering)
- deletePeeringResponse_httpStatus :: Lens' DeletePeeringResponse Int
Creating a Request
data DeletePeering Source #
See: newDeletePeering smart constructor.
Constructors
| DeletePeering' | |
Instances
Arguments
| :: Text | |
| -> DeletePeering |
Create a value of DeletePeering 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:
DeletePeering, deletePeering_peeringId - The ID of the peering connection to delete.
Request Lenses
deletePeering_peeringId :: Lens' DeletePeering Text Source #
The ID of the peering connection to delete.
Destructuring the Response
data DeletePeeringResponse Source #
See: newDeletePeeringResponse smart constructor.
Constructors
| DeletePeeringResponse' | |
Fields
| |
Instances
newDeletePeeringResponse Source #
Create a value of DeletePeeringResponse 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:
DeletePeeringResponse, deletePeeringResponse_peering - Information about a deleted peering connection.
$sel:httpStatus:DeletePeeringResponse', deletePeeringResponse_httpStatus - The response's http status code.
Response Lenses
deletePeeringResponse_peering :: Lens' DeletePeeringResponse (Maybe Peering) Source #
Information about a deleted peering connection.
deletePeeringResponse_httpStatus :: Lens' DeletePeeringResponse Int Source #
The response's http status code.