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.CreateBGPPeer

Description

Creates a BGP peer on the specified virtual interface.

You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.

If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot be in the same address family as an existing BGP peer on the virtual interface.

When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.

For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.

Synopsis

Creating a Request

data CreateBGPPeer Source #

See: newCreateBGPPeer smart constructor.

Constructors

CreateBGPPeer' 

Fields

Instances

Instances details
Eq CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Read CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Show CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Generic CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Associated Types

type Rep CreateBGPPeer :: Type -> Type #

NFData CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Methods

rnf :: CreateBGPPeer -> () #

Hashable CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

ToJSON CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

AWSRequest CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Associated Types

type AWSResponse CreateBGPPeer #

ToHeaders CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

ToPath CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

ToQuery CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

type Rep CreateBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

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

Defined in Amazonka.DirectConnect.CreateBGPPeer

newCreateBGPPeer :: CreateBGPPeer Source #

Create a value of CreateBGPPeer 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:newBGPPeer':CreateBGPPeer', createBGPPeer_newBGPPeer - Information about the BGP peer.

$sel:virtualInterfaceId:CreateBGPPeer', createBGPPeer_virtualInterfaceId - The ID of the virtual interface.

Request Lenses

Destructuring the Response

data CreateBGPPeerResponse Source #

See: newCreateBGPPeerResponse smart constructor.

Constructors

CreateBGPPeerResponse' 

Fields

Instances

Instances details
Eq CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Read CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Show CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Generic CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Associated Types

type Rep CreateBGPPeerResponse :: Type -> Type #

NFData CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

Methods

rnf :: CreateBGPPeerResponse -> () #

type Rep CreateBGPPeerResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateBGPPeer

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

newCreateBGPPeerResponse Source #

Create a value of CreateBGPPeerResponse 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:CreateBGPPeerResponse', createBGPPeerResponse_virtualInterface - The virtual interface.

$sel:httpStatus:CreateBGPPeerResponse', createBGPPeerResponse_httpStatus - The response's http status code.

Response Lenses