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 |
Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:
- Enable/disable communication over the peering connection between an EC2-Classic instance that's linked to your VPC (using ClassicLink) and instances in the peer VPC.
- Enable/disable communication over the peering connection between instances in your VPC and an EC2-Classic instance that's linked to the peer VPC.
If the peered VPCs are in different accounts, each owner must initiate a separate request to enable or disable communication in either direction, depending on whether their VPC was the requester or accepter for the VPC peering connection. If the peered VPCs are in the same account, you can modify the requester and accepter options in the same request. To confirm which VPC is the accepter and requester for a VPC peering connection, use the DescribeVpcPeeringConnections command.
- modifyVPCPeeringConnectionOptions :: Text -> ModifyVPCPeeringConnectionOptions
- data ModifyVPCPeeringConnectionOptions
- mvpcoRequesterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptions (Maybe PeeringConnectionOptionsRequest)
- mvpcoAccepterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptions (Maybe PeeringConnectionOptionsRequest)
- mvpcoDryRun :: Lens' ModifyVPCPeeringConnectionOptions (Maybe Bool)
- mvpcoVPCPeeringConnectionId :: Lens' ModifyVPCPeeringConnectionOptions Text
- modifyVPCPeeringConnectionOptionsResponse :: Int -> ModifyVPCPeeringConnectionOptionsResponse
- data ModifyVPCPeeringConnectionOptionsResponse
- mvpcorsRequesterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptionsResponse (Maybe PeeringConnectionOptions)
- mvpcorsAccepterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptionsResponse (Maybe PeeringConnectionOptions)
- mvpcorsResponseStatus :: Lens' ModifyVPCPeeringConnectionOptionsResponse Int
Creating a Request
modifyVPCPeeringConnectionOptions Source #
Creates a value of ModifyVPCPeeringConnectionOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyVPCPeeringConnectionOptions Source #
See: modifyVPCPeeringConnectionOptions
smart constructor.
Request Lenses
mvpcoRequesterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptions (Maybe PeeringConnectionOptionsRequest) Source #
The VPC peering connection options for the requester VPC.
mvpcoAccepterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptions (Maybe PeeringConnectionOptionsRequest) Source #
The VPC peering connection options for the accepter VPC.
mvpcoDryRun :: Lens' ModifyVPCPeeringConnectionOptions (Maybe Bool) Source #
Checks whether you have the required permissions for the operation,
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
.
mvpcoVPCPeeringConnectionId :: Lens' ModifyVPCPeeringConnectionOptions Text Source #
The ID of the VPC peering connection.
Destructuring the Response
modifyVPCPeeringConnectionOptionsResponse Source #
Creates a value of ModifyVPCPeeringConnectionOptionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyVPCPeeringConnectionOptionsResponse Source #
See: modifyVPCPeeringConnectionOptionsResponse
smart constructor.
Response Lenses
mvpcorsRequesterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptionsResponse (Maybe PeeringConnectionOptions) Source #
Information about the VPC peering connection options for the requester VPC.
mvpcorsAccepterPeeringConnectionOptions :: Lens' ModifyVPCPeeringConnectionOptionsResponse (Maybe PeeringConnectionOptions) Source #
Information about the VPC peering connection options for the accepter VPC.
mvpcorsResponseStatus :: Lens' ModifyVPCPeeringConnectionOptionsResponse Int Source #
The response status code.