Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes a VPC peering connection. Either the owner of the requester VPC or
the owner of the peer VPC can delete the VPC peering connection if it's in
the active
state. The owner of the requester VPC can delete a VPC peering
connection in the 'pending-acceptance' state.
- data DeleteVpcPeeringConnection
- deleteVpcPeeringConnection :: Text -> DeleteVpcPeeringConnection
- dvpcDryRun :: Lens' DeleteVpcPeeringConnection (Maybe Bool)
- dvpcVpcPeeringConnectionId :: Lens' DeleteVpcPeeringConnection Text
- data DeleteVpcPeeringConnectionResponse
- deleteVpcPeeringConnectionResponse :: DeleteVpcPeeringConnectionResponse
- dvpcrReturn :: Lens' DeleteVpcPeeringConnectionResponse (Maybe Bool)
Request
data DeleteVpcPeeringConnection Source
Request constructor
deleteVpcPeeringConnection Source
DeleteVpcPeeringConnection
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dvpcVpcPeeringConnectionId :: Lens' DeleteVpcPeeringConnection Text Source
The ID of the VPC peering connection.
Response
Response constructor
deleteVpcPeeringConnectionResponse :: DeleteVpcPeeringConnectionResponse Source
DeleteVpcPeeringConnectionResponse
constructor.
The fields accessible through corresponding lenses are:
dvpcrReturn
::
Maybe
Bool
Response lenses
dvpcrReturn :: Lens' DeleteVpcPeeringConnectionResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.