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 |
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.
Instances
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.
DeletePeeringResponse' | |
|
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.