libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.PeerVpc

Description

Peers the Lightsail VPC with the user's default VPC.

Synopsis

Creating a Request

data PeerVpc Source #

See: newPeerVpc smart constructor.

Constructors

PeerVpc' 

Instances

Instances details
Eq PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

(==) :: PeerVpc -> PeerVpc -> Bool #

(/=) :: PeerVpc -> PeerVpc -> Bool #

Read PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Show PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Generic PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Associated Types

type Rep PeerVpc :: Type -> Type #

Methods

from :: PeerVpc -> Rep PeerVpc x #

to :: Rep PeerVpc x -> PeerVpc #

NFData PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

rnf :: PeerVpc -> () #

Hashable PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

hashWithSalt :: Int -> PeerVpc -> Int #

hash :: PeerVpc -> Int #

ToJSON PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

AWSRequest PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Associated Types

type AWSResponse PeerVpc #

ToHeaders PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

toHeaders :: PeerVpc -> [Header] #

ToPath PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

toPath :: PeerVpc -> ByteString #

ToQuery PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

type Rep PeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

type Rep PeerVpc = D1 ('MetaData "PeerVpc" "Amazonka.Lightsail.PeerVpc" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "PeerVpc'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse PeerVpc Source # 
Instance details

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.

Constructors

PeerVpcResponse' 

Fields

  • operation :: Maybe 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Read PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Show PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Generic PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Associated Types

type Rep PeerVpcResponse :: Type -> Type #

NFData PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

Methods

rnf :: PeerVpcResponse -> () #

type Rep PeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.PeerVpc

type Rep PeerVpcResponse = D1 ('MetaData "PeerVpcResponse" "Amazonka.Lightsail.PeerVpc" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "PeerVpcResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPeerVpcResponse Source #

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.