Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Accept a VPC peering connection request. To accept a request, the VPC
peering connection must be in the 'pending-acceptance' state, and you
must be the owner of the peer VPC. Use the
DescribeVpcPeeringConnections
request to view your outstanding VPC
peering connection requests.
- acceptVPCPeeringConnection :: AcceptVPCPeeringConnection
- data AcceptVPCPeeringConnection
- avpcVPCPeeringConnectionId :: Lens' AcceptVPCPeeringConnection (Maybe Text)
- avpcDryRun :: Lens' AcceptVPCPeeringConnection (Maybe Bool)
- acceptVPCPeeringConnectionResponse :: Int -> AcceptVPCPeeringConnectionResponse
- data AcceptVPCPeeringConnectionResponse
- avpcrsVPCPeeringConnection :: Lens' AcceptVPCPeeringConnectionResponse (Maybe VPCPeeringConnection)
- avpcrsResponseStatus :: Lens' AcceptVPCPeeringConnectionResponse Int
Creating a Request
acceptVPCPeeringConnection :: AcceptVPCPeeringConnection Source #
Creates a value of AcceptVPCPeeringConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AcceptVPCPeeringConnection Source #
Contains the parameters for AcceptVpcPeeringConnection.
See: acceptVPCPeeringConnection
smart constructor.
Request Lenses
avpcVPCPeeringConnectionId :: Lens' AcceptVPCPeeringConnection (Maybe Text) Source #
The ID of the VPC peering connection.
avpcDryRun :: Lens' AcceptVPCPeeringConnection (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Destructuring the Response
acceptVPCPeeringConnectionResponse Source #
Creates a value of AcceptVPCPeeringConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AcceptVPCPeeringConnectionResponse Source #
Contains the output of AcceptVpcPeeringConnection.
See: acceptVPCPeeringConnectionResponse
smart constructor.
Response Lenses
avpcrsVPCPeeringConnection :: Lens' AcceptVPCPeeringConnectionResponse (Maybe VPCPeeringConnection) Source #
Information about the VPC peering connection.
avpcrsResponseStatus :: Lens' AcceptVPCPeeringConnectionResponse Int Source #
The response status code.