AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS will be interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can reassociate a connection that's currently associated with a different LAG; however, if removing the connection will cause the original LAG to fall below its setting for minimum number of operational connections, the request fails.

Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG.

For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.

Note:

For PCL this operation is only available in asynchronous form. Please refer to AssociateConnectionWithLagAsync.

Namespace: Amazon.DirectConnect
Assembly: AWSSDK.DirectConnect.dll
Version: 3.x.y.z

Syntax

C#
public virtual AssociateConnectionWithLagResponse AssociateConnectionWithLag(
         AssociateConnectionWithLagRequest request
)
Parameters
request
Type: Amazon.DirectConnect.Model.AssociateConnectionWithLagRequest

Container for the necessary parameters to execute the AssociateConnectionWithLag service method.

Return Value
The response from the AssociateConnectionWithLag service method, as returned by DirectConnect.

Exceptions

ExceptionCondition
DirectConnectClientException The API was called with invalid parameters. The error message will contain additional details about the cause.
DirectConnectServerException A server-side error occurred during the API call. The error message will contain additional details about the cause.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also