libZSservicesZSamazonka-directconnectZSamazonka-directconnect
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.DirectConnect.DeleteBGPPeer

Description

Deletes the specified BGP peer on the specified virtual interface with the specified customer address and ASN.

You cannot delete the last BGP peer from a virtual interface.

Synopsis

Creating a Request

data DeleteBGPPeer Source #

See: newDeleteBGPPeer smart constructor.

Constructors

DeleteBGPPeer' 

Fields

Instances

Instances details
Eq DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Read DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Show DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Generic DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Associated Types

type Rep DeleteBGPPeer :: Type -> Type #

NFData DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Methods

rnf :: DeleteBGPPeer -> () #

Hashable DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

ToJSON DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

AWSRequest DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Associated Types

type AWSResponse DeleteBGPPeer #

ToHeaders DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

ToPath DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

ToQuery DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

type Rep DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

type Rep DeleteBGPPeer = D1 ('MetaData "DeleteBGPPeer" "Amazonka.DirectConnect.DeleteBGPPeer" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DeleteBGPPeer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "asn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "bgpPeerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "virtualInterfaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DeleteBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

newDeleteBGPPeer :: DeleteBGPPeer Source #

Create a value of DeleteBGPPeer 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:customerAddress:DeleteBGPPeer', deleteBGPPeer_customerAddress - The IP address assigned to the customer interface.

$sel:asn:DeleteBGPPeer', deleteBGPPeer_asn - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

$sel:bgpPeerId:DeleteBGPPeer', deleteBGPPeer_bgpPeerId - The ID of the BGP peer.

$sel:virtualInterfaceId:DeleteBGPPeer', deleteBGPPeer_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

deleteBGPPeer_customerAddress :: Lens' DeleteBGPPeer (Maybe Text) Source #

The IP address assigned to the customer interface.

deleteBGPPeer_asn :: Lens' DeleteBGPPeer (Maybe Int) Source #

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Destructuring the Response

data DeleteBGPPeerResponse Source #

See: newDeleteBGPPeerResponse smart constructor.

Constructors

DeleteBGPPeerResponse' 

Fields

Instances

Instances details
Eq DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Read DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Show DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Generic DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Associated Types

type Rep DeleteBGPPeerResponse :: Type -> Type #

NFData DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

Methods

rnf :: DeleteBGPPeerResponse -> () #

type Rep DeleteBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.DeleteBGPPeer

type Rep DeleteBGPPeerResponse = D1 ('MetaData "DeleteBGPPeerResponse" "Amazonka.DirectConnect.DeleteBGPPeer" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "DeleteBGPPeerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "virtualInterface") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualInterface)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteBGPPeerResponse Source #

Create a value of DeleteBGPPeerResponse 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:virtualInterface:DeleteBGPPeerResponse', deleteBGPPeerResponse_virtualInterface - The virtual interface.

$sel:httpStatus:DeleteBGPPeerResponse', deleteBGPPeerResponse_httpStatus - The response's http status code.

Response Lenses