Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 DescribeVpcPeeringConnections
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:
avpcVPCPeeringConnectionId
- The ID of the VPC peering connection.avpcDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.
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:
avpcrsVPCPeeringConnection
- Information about the VPC peering connection.avpcrsResponseStatus
- -- | The response status code.
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.