Copyright | (c) 2013-2021 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 |
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.
Instances
Eq PeerVpc Source # | |
Read PeerVpc Source # | |
Show PeerVpc Source # | |
Generic PeerVpc Source # | |
NFData PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc | |
Hashable PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc | |
ToJSON PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc | |
AWSRequest PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc type AWSResponse PeerVpc # request :: PeerVpc -> Request PeerVpc # response :: MonadResource m => Logger -> Service -> Proxy PeerVpc -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse PeerVpc))) # | |
ToHeaders PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc | |
ToPath PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc toPath :: PeerVpc -> ByteString # | |
ToQuery PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc toQuery :: PeerVpc -> QueryString # | |
type Rep PeerVpc Source # | |
type AWSResponse PeerVpc Source # | |
Defined in Amazonka.Lightsail.PeerVpc |
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.
PeerVpcResponse' | |
|
Instances
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.