| 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 |
Amazonka.Lightsail.PeerVpc
Description
Peers the Lightsail VPC with the user's default VPC.
Synopsis
- data PeerVpc = PeerVpc' {
- newPeerVpc :: PeerVpc
- data PeerVpcResponse = PeerVpcResponse' {
- operation :: Maybe Operation
- httpStatus :: Int
- newPeerVpcResponse :: Int -> PeerVpcResponse
- peerVpcResponse_operation :: Lens' PeerVpcResponse (Maybe Operation)
- peerVpcResponse_httpStatus :: Lens' PeerVpcResponse Int
Creating a Request
See: newPeerVpc smart constructor.
Constructors
| PeerVpc' | |
Instances
newPeerVpc :: PeerVpc Source #
Create a value of PeerVpc with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data PeerVpcResponse Source #
See: newPeerVpcResponse smart constructor.
Constructors
| PeerVpcResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> PeerVpcResponse |
Create a value of PeerVpcResponse 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:
$sel:operation:PeerVpcResponse', peerVpcResponse_operation - An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:PeerVpcResponse', peerVpcResponse_httpStatus - The response's http status code.
Response Lenses
peerVpcResponse_operation :: Lens' PeerVpcResponse (Maybe Operation) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
peerVpcResponse_httpStatus :: Lens' PeerVpcResponse Int Source #
The response's http status code.