amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.UnpeerVpc

Description

Unpeers the Lightsail VPC from the user's default VPC.

Synopsis

Creating a Request

data UnpeerVpc Source #

See: newUnpeerVpc smart constructor.

Constructors

UnpeerVpc' 

Instances

Instances details
ToJSON UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

ToHeaders UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Methods

toHeaders :: UnpeerVpc -> [Header] #

ToPath UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

ToQuery UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

AWSRequest UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Associated Types

type AWSResponse UnpeerVpc #

Generic UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Associated Types

type Rep UnpeerVpc :: Type -> Type #

Read UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Show UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

NFData UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Methods

rnf :: UnpeerVpc -> () #

Eq UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Hashable UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

type AWSResponse UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

type Rep UnpeerVpc Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

type Rep UnpeerVpc = D1 ('MetaData "UnpeerVpc" "Amazonka.Lightsail.UnpeerVpc" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "UnpeerVpc'" 'PrefixI 'False) (U1 :: Type -> Type))

newUnpeerVpc :: UnpeerVpc Source #

Create a value of UnpeerVpc with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data UnpeerVpcResponse Source #

See: newUnpeerVpcResponse smart constructor.

Constructors

UnpeerVpcResponse' 

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
Generic UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Associated Types

type Rep UnpeerVpcResponse :: Type -> Type #

Read UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Show UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

NFData UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

Methods

rnf :: UnpeerVpcResponse -> () #

Eq UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

type Rep UnpeerVpcResponse Source # 
Instance details

Defined in Amazonka.Lightsail.UnpeerVpc

type Rep UnpeerVpcResponse = D1 ('MetaData "UnpeerVpcResponse" "Amazonka.Lightsail.UnpeerVpc" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "UnpeerVpcResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUnpeerVpcResponse Source #

Create a value of UnpeerVpcResponse 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:UnpeerVpcResponse', unpeerVpcResponse_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:UnpeerVpcResponse', unpeerVpcResponse_httpStatus - The response's http status code.

Response Lenses

unpeerVpcResponse_operation :: Lens' UnpeerVpcResponse (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.

unpeerVpcResponse_httpStatus :: Lens' UnpeerVpcResponse Int Source #

The response's http status code.