AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DirectConnect

import "github.com/aws/aws-sdk-go/service/directconnect"

type DirectConnect struct { *client.Client }

DirectConnect provides the API operation methods for making requests to AWS Direct Connect. See this package's package overview docs for details on the service.

DirectConnect methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

Client

Type: *client.Client

Method

AllocateConnectionOnInterconnect

func (c *DirectConnect) AllocateConnectionOnInterconnect(input *AllocateConnectionOnInterconnectInput) (*Connection, error)

AllocateConnectionOnInterconnect API operation for AWS Direct Connect.

Deprecated. Use AllocateHostedConnection instead.

Creates a hosted connection on an interconnect.

Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AllocateConnectionOnInterconnect for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect

Deprecated: AllocateConnectionOnInterconnect has been deprecated

AllocateConnectionOnInterconnectRequest

func (c *DirectConnect) AllocateConnectionOnInterconnectRequest(input *AllocateConnectionOnInterconnectInput) (req *request.Request, output *Connection)

AllocateConnectionOnInterconnectRequest generates a "aws/request.Request" representing the client's request for the AllocateConnectionOnInterconnect operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AllocateConnectionOnInterconnect for more information on using the AllocateConnectionOnInterconnect API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AllocateConnectionOnInterconnectRequest method. req, resp := client.AllocateConnectionOnInterconnectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect

Deprecated: AllocateConnectionOnInterconnect has been deprecated

AllocateConnectionOnInterconnectWithContext

func (c *DirectConnect) AllocateConnectionOnInterconnectWithContext(ctx aws.Context, input *AllocateConnectionOnInterconnectInput, opts ...request.Option) (*Connection, error)

AllocateConnectionOnInterconnectWithContext is the same as AllocateConnectionOnInterconnect with the addition of the ability to pass a context and additional request options.

See AllocateConnectionOnInterconnect for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: AllocateConnectionOnInterconnectWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

AllocateHostedConnection

func (c *DirectConnect) AllocateHostedConnection(input *AllocateHostedConnectionInput) (*Connection, error)

AllocateHostedConnection API operation for AWS Direct Connect.

Creates a hosted connection on the specified interconnect or a link aggregation group (LAG).

Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection on the specified interconnect or LAG.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AllocateHostedConnection for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection

AllocateHostedConnectionRequest

func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedConnectionInput) (req *request.Request, output *Connection)

AllocateHostedConnectionRequest generates a "aws/request.Request" representing the client's request for the AllocateHostedConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AllocateHostedConnection for more information on using the AllocateHostedConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AllocateHostedConnectionRequest method. req, resp := client.AllocateHostedConnectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection

AllocateHostedConnectionWithContext

func (c *DirectConnect) AllocateHostedConnectionWithContext(ctx aws.Context, input *AllocateHostedConnectionInput, opts ...request.Option) (*Connection, error)

AllocateHostedConnectionWithContext is the same as AllocateHostedConnection with the addition of the ability to pass a context and additional request options.

See AllocateHostedConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AllocatePrivateVirtualInterface

func (c *DirectConnect) AllocatePrivateVirtualInterface(input *AllocatePrivateVirtualInterfaceInput) (*VirtualInterface, error)

AllocatePrivateVirtualInterface API operation for AWS Direct Connect.

Provisions a private virtual interface to be owned by the specified AWS account.

Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state and is not available to handle traffic.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AllocatePrivateVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface

AllocatePrivateVirtualInterfaceRequest

func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface)

AllocatePrivateVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the AllocatePrivateVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AllocatePrivateVirtualInterface for more information on using the AllocatePrivateVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AllocatePrivateVirtualInterfaceRequest method. req, resp := client.AllocatePrivateVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface

AllocatePrivateVirtualInterfaceWithContext

func (c *DirectConnect) AllocatePrivateVirtualInterfaceWithContext(ctx aws.Context, input *AllocatePrivateVirtualInterfaceInput, opts ...request.Option) (*VirtualInterface, error)

AllocatePrivateVirtualInterfaceWithContext is the same as AllocatePrivateVirtualInterface with the addition of the ability to pass a context and additional request options.

See AllocatePrivateVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AllocatePublicVirtualInterface

func (c *DirectConnect) AllocatePublicVirtualInterface(input *AllocatePublicVirtualInterfaceInput) (*VirtualInterface, error)

AllocatePublicVirtualInterface API operation for AWS Direct Connect.

Provisions a public virtual interface to be owned by the specified AWS account.

The owner of a connection calls this function to provision a public virtual interface to be owned by the specified AWS account.

Virtual interfaces created using this function must be confirmed by the owner using ConfirmPublicVirtualInterface. Until this step has been completed, the virtual interface is in the confirming state and is not available to handle traffic.

When creating an IPv6 public virtual interface, 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AllocatePublicVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface

AllocatePublicVirtualInterfaceRequest

func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface)

AllocatePublicVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the AllocatePublicVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AllocatePublicVirtualInterface for more information on using the AllocatePublicVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AllocatePublicVirtualInterfaceRequest method. req, resp := client.AllocatePublicVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface

AllocatePublicVirtualInterfaceWithContext

func (c *DirectConnect) AllocatePublicVirtualInterfaceWithContext(ctx aws.Context, input *AllocatePublicVirtualInterfaceInput, opts ...request.Option) (*VirtualInterface, error)

AllocatePublicVirtualInterfaceWithContext is the same as AllocatePublicVirtualInterface with the addition of the ability to pass a context and additional request options.

See AllocatePublicVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AssociateConnectionWithLag

func (c *DirectConnect) AssociateConnectionWithLag(input *AssociateConnectionWithLagInput) (*Connection, error)

AssociateConnectionWithLag API operation for AWS Direct Connect.

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 is 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 re-associate a connection that's currently associated with a different LAG; however, if removing the connection would 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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AssociateConnectionWithLag for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag

AssociateConnectionWithLagRequest

func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnectionWithLagInput) (req *request.Request, output *Connection)

AssociateConnectionWithLagRequest generates a "aws/request.Request" representing the client's request for the AssociateConnectionWithLag operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateConnectionWithLag for more information on using the AssociateConnectionWithLag API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateConnectionWithLagRequest method. req, resp := client.AssociateConnectionWithLagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag

AssociateConnectionWithLagWithContext

func (c *DirectConnect) AssociateConnectionWithLagWithContext(ctx aws.Context, input *AssociateConnectionWithLagInput, opts ...request.Option) (*Connection, error)

AssociateConnectionWithLagWithContext is the same as AssociateConnectionWithLag with the addition of the ability to pass a context and additional request options.

See AssociateConnectionWithLag for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AssociateHostedConnection

func (c *DirectConnect) AssociateHostedConnection(input *AssociateHostedConnectionInput) (*Connection, error)

AssociateHostedConnection API operation for AWS Direct Connect.

Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AssociateHostedConnection for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection

AssociateHostedConnectionRequest

func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedConnectionInput) (req *request.Request, output *Connection)

AssociateHostedConnectionRequest generates a "aws/request.Request" representing the client's request for the AssociateHostedConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateHostedConnection for more information on using the AssociateHostedConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateHostedConnectionRequest method. req, resp := client.AssociateHostedConnectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection

AssociateHostedConnectionWithContext

func (c *DirectConnect) AssociateHostedConnectionWithContext(ctx aws.Context, input *AssociateHostedConnectionInput, opts ...request.Option) (*Connection, error)

AssociateHostedConnectionWithContext is the same as AssociateHostedConnection with the addition of the ability to pass a context and additional request options.

See AssociateHostedConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

AssociateVirtualInterface

func (c *DirectConnect) AssociateVirtualInterface(input *AssociateVirtualInterfaceInput) (*VirtualInterface, error)

AssociateVirtualInterface API operation for AWS Direct Connect.

Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails.

Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection.

To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation AssociateVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface

AssociateVirtualInterfaceRequest

func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface)

AssociateVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the AssociateVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See AssociateVirtualInterface for more information on using the AssociateVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the AssociateVirtualInterfaceRequest method. req, resp := client.AssociateVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface

AssociateVirtualInterfaceWithContext

func (c *DirectConnect) AssociateVirtualInterfaceWithContext(ctx aws.Context, input *AssociateVirtualInterfaceInput, opts ...request.Option) (*VirtualInterface, error)

AssociateVirtualInterfaceWithContext is the same as AssociateVirtualInterface with the addition of the ability to pass a context and additional request options.

See AssociateVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ConfirmConnection

func (c *DirectConnect) ConfirmConnection(input *ConfirmConnectionInput) (*ConfirmConnectionOutput, error)

ConfirmConnection API operation for AWS Direct Connect.

Confirms the creation of the specified hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation ConfirmConnection for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection

ConfirmConnectionRequest

func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput) (req *request.Request, output *ConfirmConnectionOutput)

ConfirmConnectionRequest generates a "aws/request.Request" representing the client's request for the ConfirmConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ConfirmConnection for more information on using the ConfirmConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ConfirmConnectionRequest method. req, resp := client.ConfirmConnectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection

ConfirmConnectionWithContext

func (c *DirectConnect) ConfirmConnectionWithContext(ctx aws.Context, input *ConfirmConnectionInput, opts ...request.Option) (*ConfirmConnectionOutput, error)

ConfirmConnectionWithContext is the same as ConfirmConnection with the addition of the ability to pass a context and additional request options.

See ConfirmConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ConfirmPrivateVirtualInterface

func (c *DirectConnect) ConfirmPrivateVirtualInterface(input *ConfirmPrivateVirtualInterfaceInput) (*ConfirmPrivateVirtualInterfaceOutput, error)

ConfirmPrivateVirtualInterface API operation for AWS Direct Connect.

Accepts ownership of a private virtual interface created by another AWS account.

After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation ConfirmPrivateVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface

ConfirmPrivateVirtualInterfaceRequest

func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPrivateVirtualInterfaceInput) (req *request.Request, output *ConfirmPrivateVirtualInterfaceOutput)

ConfirmPrivateVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the ConfirmPrivateVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ConfirmPrivateVirtualInterface for more information on using the ConfirmPrivateVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ConfirmPrivateVirtualInterfaceRequest method. req, resp := client.ConfirmPrivateVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface

ConfirmPrivateVirtualInterfaceWithContext

func (c *DirectConnect) ConfirmPrivateVirtualInterfaceWithContext(ctx aws.Context, input *ConfirmPrivateVirtualInterfaceInput, opts ...request.Option) (*ConfirmPrivateVirtualInterfaceOutput, error)

ConfirmPrivateVirtualInterfaceWithContext is the same as ConfirmPrivateVirtualInterface with the addition of the ability to pass a context and additional request options.

See ConfirmPrivateVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

ConfirmPublicVirtualInterface

func (c *DirectConnect) ConfirmPublicVirtualInterface(input *ConfirmPublicVirtualInterfaceInput) (*ConfirmPublicVirtualInterfaceOutput, error)

ConfirmPublicVirtualInterface API operation for AWS Direct Connect.

Accepts ownership of a public virtual interface created by another AWS account.

After the virtual interface owner makes this call, the specified virtual interface is created and made available to handle traffic.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation ConfirmPublicVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface

ConfirmPublicVirtualInterfaceRequest

func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPublicVirtualInterfaceInput) (req *request.Request, output *ConfirmPublicVirtualInterfaceOutput)

ConfirmPublicVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the ConfirmPublicVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ConfirmPublicVirtualInterface for more information on using the ConfirmPublicVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ConfirmPublicVirtualInterfaceRequest method. req, resp := client.ConfirmPublicVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface

ConfirmPublicVirtualInterfaceWithContext

func (c *DirectConnect) ConfirmPublicVirtualInterfaceWithContext(ctx aws.Context, input *ConfirmPublicVirtualInterfaceInput, opts ...request.Option) (*ConfirmPublicVirtualInterfaceOutput, error)

ConfirmPublicVirtualInterfaceWithContext is the same as ConfirmPublicVirtualInterface with the addition of the ability to pass a context and additional request options.

See ConfirmPublicVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateBGPPeer

func (c *DirectConnect) CreateBGPPeer(input *CreateBGPPeerInput) (*CreateBGPPeerOutput, error)

CreateBGPPeer API operation for AWS Direct Connect.

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 AWS 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 whitelisted for the virtual interface.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateBGPPeer for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer

CreateBGPPeerRequest

func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *request.Request, output *CreateBGPPeerOutput)

CreateBGPPeerRequest generates a "aws/request.Request" representing the client's request for the CreateBGPPeer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateBGPPeer for more information on using the CreateBGPPeer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateBGPPeerRequest method. req, resp := client.CreateBGPPeerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer

CreateBGPPeerWithContext

func (c *DirectConnect) CreateBGPPeerWithContext(ctx aws.Context, input *CreateBGPPeerInput, opts ...request.Option) (*CreateBGPPeerOutput, error)

CreateBGPPeerWithContext is the same as CreateBGPPeer with the addition of the ability to pass a context and additional request options.

See CreateBGPPeer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateConnection

func (c *DirectConnect) CreateConnection(input *CreateConnectionInput) (*Connection, error)

CreateConnection API operation for AWS Direct Connect.

Creates a connection between a customer network and a specific AWS Direct Connect location.

A connection links your internal network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router.

To find the locations for your Region, use DescribeLocations.

You can automatically add the new connection to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new connection is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no connection is created.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateConnection for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection

CreateConnectionRequest

func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *Connection)

CreateConnectionRequest generates a "aws/request.Request" representing the client's request for the CreateConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateConnection for more information on using the CreateConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateConnectionRequest method. req, resp := client.CreateConnectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection

CreateConnectionWithContext

func (c *DirectConnect) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*Connection, error)

CreateConnectionWithContext is the same as CreateConnection with the addition of the ability to pass a context and additional request options.

See CreateConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDirectConnectGateway

func (c *DirectConnect) CreateDirectConnectGateway(input *CreateDirectConnectGatewayInput) (*CreateDirectConnectGatewayOutput, error)

CreateDirectConnectGateway API operation for AWS Direct Connect.

Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any AWS Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different AWS Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateDirectConnectGateway for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway

CreateDirectConnectGatewayAssociation

func (c *DirectConnect) CreateDirectConnectGatewayAssociation(input *CreateDirectConnectGatewayAssociationInput) (*CreateDirectConnectGatewayAssociationOutput, error)

CreateDirectConnectGatewayAssociation API operation for AWS Direct Connect.

Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateDirectConnectGatewayAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation

CreateDirectConnectGatewayAssociationRequest

func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *CreateDirectConnectGatewayAssociationInput) (req *request.Request, output *CreateDirectConnectGatewayAssociationOutput)

CreateDirectConnectGatewayAssociationRequest generates a "aws/request.Request" representing the client's request for the CreateDirectConnectGatewayAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDirectConnectGatewayAssociation for more information on using the CreateDirectConnectGatewayAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDirectConnectGatewayAssociationRequest method. req, resp := client.CreateDirectConnectGatewayAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation

CreateDirectConnectGatewayAssociationWithContext

func (c *DirectConnect) CreateDirectConnectGatewayAssociationWithContext(ctx aws.Context, input *CreateDirectConnectGatewayAssociationInput, opts ...request.Option) (*CreateDirectConnectGatewayAssociationOutput, error)

CreateDirectConnectGatewayAssociationWithContext is the same as CreateDirectConnectGatewayAssociation with the addition of the ability to pass a context and additional request options.

See CreateDirectConnectGatewayAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateDirectConnectGatewayRequest

func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectConnectGatewayInput) (req *request.Request, output *CreateDirectConnectGatewayOutput)

CreateDirectConnectGatewayRequest generates a "aws/request.Request" representing the client's request for the CreateDirectConnectGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateDirectConnectGateway for more information on using the CreateDirectConnectGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateDirectConnectGatewayRequest method. req, resp := client.CreateDirectConnectGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway

CreateDirectConnectGatewayWithContext

func (c *DirectConnect) CreateDirectConnectGatewayWithContext(ctx aws.Context, input *CreateDirectConnectGatewayInput, opts ...request.Option) (*CreateDirectConnectGatewayOutput, error)

CreateDirectConnectGatewayWithContext is the same as CreateDirectConnectGateway with the addition of the ability to pass a context and additional request options.

See CreateDirectConnectGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateInterconnect

func (c *DirectConnect) CreateInterconnect(input *CreateInterconnectInput) (*Interconnect, error)

CreateInterconnect API operation for AWS Direct Connect.

Creates an interconnect between an AWS Direct Connect partner's network and a specific AWS Direct Connect location.

An interconnect is a connection which is capable of hosting other connections. The partner can use an interconnect to provide sub-1Gbps AWS Direct Connect service to tier 2 customers who do not have their own connections. Like a standard connection, an interconnect links the partner's network to an AWS Direct Connect location over a standard Ethernet fiber-optic cable. One end is connected to the partner's router, the other to an AWS Direct Connect router.

You can automatically add the new interconnect to a link aggregation group (LAG) by specifying a LAG ID in the request. This ensures that the new interconnect is allocated on the same AWS Direct Connect endpoint that hosts the specified LAG. If there are no available ports on the endpoint, the request fails and no interconnect is created.

For each end customer, the AWS Direct Connect partner provisions a connection on their interconnect by calling AllocateConnectionOnInterconnect. The end customer can then connect to AWS resources by creating a virtual interface on their connection, using the VLAN assigned to them by the partner.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateInterconnect for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect

CreateInterconnectRequest

func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput) (req *request.Request, output *Interconnect)

CreateInterconnectRequest generates a "aws/request.Request" representing the client's request for the CreateInterconnect operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateInterconnect for more information on using the CreateInterconnect API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateInterconnectRequest method. req, resp := client.CreateInterconnectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect

CreateInterconnectWithContext

func (c *DirectConnect) CreateInterconnectWithContext(ctx aws.Context, input *CreateInterconnectInput, opts ...request.Option) (*Interconnect, error)

CreateInterconnectWithContext is the same as CreateInterconnect with the addition of the ability to pass a context and additional request options.

See CreateInterconnect for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreateLag

func (c *DirectConnect) CreateLag(input *CreateLagInput) (*Lag, error)

CreateLag API operation for AWS Direct Connect.

Creates a link aggregation group (LAG) with the specified number of bundled physical connections between the customer network and a specific AWS Direct Connect location. A LAG is a logical interface that uses the Link Aggregation Control Protocol (LACP) to aggregate multiple interfaces, enabling you to treat them as a single interface.

All connections in a LAG must use the same bandwidth and must terminate at the same AWS Direct Connect endpoint.

You can have up to 10 connections per LAG. Regardless of this limit, if you request more connections for the LAG than AWS Direct Connect can allocate on a single endpoint, no LAG is created.

You can specify an existing physical connection or interconnect to include in the LAG (which counts towards the total number of connections). Doing so interrupts the current physical connection or hosted connections, and re-establishes them as a member of the LAG. The LAG will be created on the same AWS Direct Connect endpoint to which the connection terminates. Any virtual interfaces associated with the connection are automatically disassociated and re-associated with the LAG. The connection ID does not change.

If the AWS account used to create a LAG is a registered AWS Direct Connect partner, the LAG is automatically enabled to host sub-connections. For a LAG owned by a partner, any associated virtual interfaces cannot be directly configured.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreateLag for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag

CreateLagRequest

func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Request, output *Lag)

CreateLagRequest generates a "aws/request.Request" representing the client's request for the CreateLag operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateLag for more information on using the CreateLag API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateLagRequest method. req, resp := client.CreateLagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag

CreateLagWithContext

func (c *DirectConnect) CreateLagWithContext(ctx aws.Context, input *CreateLagInput, opts ...request.Option) (*Lag, error)

CreateLagWithContext is the same as CreateLag with the addition of the ability to pass a context and additional request options.

See CreateLag for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreatePrivateVirtualInterface

func (c *DirectConnect) CreatePrivateVirtualInterface(input *CreatePrivateVirtualInterfaceInput) (*VirtualInterface, error)

CreatePrivateVirtualInterface API operation for AWS Direct Connect.

Creates a private virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different AWS Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreatePrivateVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface

CreatePrivateVirtualInterfaceRequest

func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface)

CreatePrivateVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the CreatePrivateVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePrivateVirtualInterface for more information on using the CreatePrivateVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePrivateVirtualInterfaceRequest method. req, resp := client.CreatePrivateVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface

CreatePrivateVirtualInterfaceWithContext

func (c *DirectConnect) CreatePrivateVirtualInterfaceWithContext(ctx aws.Context, input *CreatePrivateVirtualInterfaceInput, opts ...request.Option) (*VirtualInterface, error)

CreatePrivateVirtualInterfaceWithContext is the same as CreatePrivateVirtualInterface with the addition of the ability to pass a context and additional request options.

See CreatePrivateVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

CreatePublicVirtualInterface

func (c *DirectConnect) CreatePublicVirtualInterface(input *CreatePublicVirtualInterfaceInput) (*VirtualInterface, error)

CreatePublicVirtualInterface API operation for AWS Direct Connect.

Creates a public virtual interface. A virtual interface is the VLAN that transports AWS Direct Connect traffic. A public virtual interface supports sending traffic to public services of AWS such as Amazon S3.

When creating an IPv6 public virtual interface (addressFamily is ipv6), leave the customer and amazon address fields blank to use auto-assigned IPv6 space. Custom IPv6 addresses are not supported.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation CreatePublicVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface

CreatePublicVirtualInterfaceRequest

func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface)

CreatePublicVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the CreatePublicVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreatePublicVirtualInterface for more information on using the CreatePublicVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreatePublicVirtualInterfaceRequest method. req, resp := client.CreatePublicVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface

CreatePublicVirtualInterfaceWithContext

func (c *DirectConnect) CreatePublicVirtualInterfaceWithContext(ctx aws.Context, input *CreatePublicVirtualInterfaceInput, opts ...request.Option) (*VirtualInterface, error)

CreatePublicVirtualInterfaceWithContext is the same as CreatePublicVirtualInterface with the addition of the ability to pass a context and additional request options.

See CreatePublicVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteBGPPeer

func (c *DirectConnect) DeleteBGPPeer(input *DeleteBGPPeerInput) (*DeleteBGPPeerOutput, error)

DeleteBGPPeer API operation for AWS Direct Connect.

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.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteBGPPeer for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer

DeleteBGPPeerRequest

func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *request.Request, output *DeleteBGPPeerOutput)

DeleteBGPPeerRequest generates a "aws/request.Request" representing the client's request for the DeleteBGPPeer operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteBGPPeer for more information on using the DeleteBGPPeer API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteBGPPeerRequest method. req, resp := client.DeleteBGPPeerRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer

DeleteBGPPeerWithContext

func (c *DirectConnect) DeleteBGPPeerWithContext(ctx aws.Context, input *DeleteBGPPeerInput, opts ...request.Option) (*DeleteBGPPeerOutput, error)

DeleteBGPPeerWithContext is the same as DeleteBGPPeer with the addition of the ability to pass a context and additional request options.

See DeleteBGPPeer for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteConnection

func (c *DirectConnect) DeleteConnection(input *DeleteConnectionInput) (*Connection, error)

DeleteConnection API operation for AWS Direct Connect.

Deletes the specified connection.

Deleting a connection only stops the AWS Direct Connect port hour and data transfer charges. If you are partnering with any third parties to connect with the AWS Direct Connect location, you must cancel your service with them separately.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteConnection for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection

DeleteConnectionRequest

func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *Connection)

DeleteConnectionRequest generates a "aws/request.Request" representing the client's request for the DeleteConnection operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteConnection for more information on using the DeleteConnection API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteConnectionRequest method. req, resp := client.DeleteConnectionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection

DeleteConnectionWithContext

func (c *DirectConnect) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*Connection, error)

DeleteConnectionWithContext is the same as DeleteConnection with the addition of the ability to pass a context and additional request options.

See DeleteConnection for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDirectConnectGateway

func (c *DirectConnect) DeleteDirectConnectGateway(input *DeleteDirectConnectGatewayInput) (*DeleteDirectConnectGatewayOutput, error)

DeleteDirectConnectGateway API operation for AWS Direct Connect.

Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways that are associated with the Direct Connect gateway.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteDirectConnectGateway for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway

DeleteDirectConnectGatewayAssociation

func (c *DirectConnect) DeleteDirectConnectGatewayAssociation(input *DeleteDirectConnectGatewayAssociationInput) (*DeleteDirectConnectGatewayAssociationOutput, error)

DeleteDirectConnectGatewayAssociation API operation for AWS Direct Connect.

Deletes the association between the specified Direct Connect gateway and virtual private gateway.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteDirectConnectGatewayAssociation for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation

DeleteDirectConnectGatewayAssociationRequest

func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *DeleteDirectConnectGatewayAssociationInput) (req *request.Request, output *DeleteDirectConnectGatewayAssociationOutput)

DeleteDirectConnectGatewayAssociationRequest generates a "aws/request.Request" representing the client's request for the DeleteDirectConnectGatewayAssociation operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDirectConnectGatewayAssociation for more information on using the DeleteDirectConnectGatewayAssociation API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDirectConnectGatewayAssociationRequest method. req, resp := client.DeleteDirectConnectGatewayAssociationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation

DeleteDirectConnectGatewayAssociationWithContext

func (c *DirectConnect) DeleteDirectConnectGatewayAssociationWithContext(ctx aws.Context, input *DeleteDirectConnectGatewayAssociationInput, opts ...request.Option) (*DeleteDirectConnectGatewayAssociationOutput, error)

DeleteDirectConnectGatewayAssociationWithContext is the same as DeleteDirectConnectGatewayAssociation with the addition of the ability to pass a context and additional request options.

See DeleteDirectConnectGatewayAssociation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteDirectConnectGatewayRequest

func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectConnectGatewayInput) (req *request.Request, output *DeleteDirectConnectGatewayOutput)

DeleteDirectConnectGatewayRequest generates a "aws/request.Request" representing the client's request for the DeleteDirectConnectGateway operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteDirectConnectGateway for more information on using the DeleteDirectConnectGateway API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteDirectConnectGatewayRequest method. req, resp := client.DeleteDirectConnectGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway

DeleteDirectConnectGatewayWithContext

func (c *DirectConnect) DeleteDirectConnectGatewayWithContext(ctx aws.Context, input *DeleteDirectConnectGatewayInput, opts ...request.Option) (*DeleteDirectConnectGatewayOutput, error)

DeleteDirectConnectGatewayWithContext is the same as DeleteDirectConnectGateway with the addition of the ability to pass a context and additional request options.

See DeleteDirectConnectGateway for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteInterconnect

func (c *DirectConnect) DeleteInterconnect(input *DeleteInterconnectInput) (*DeleteInterconnectOutput, error)

DeleteInterconnect API operation for AWS Direct Connect.

Deletes the specified interconnect.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteInterconnect for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect

DeleteInterconnectRequest

func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput) (req *request.Request, output *DeleteInterconnectOutput)

DeleteInterconnectRequest generates a "aws/request.Request" representing the client's request for the DeleteInterconnect operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteInterconnect for more information on using the DeleteInterconnect API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteInterconnectRequest method. req, resp := client.DeleteInterconnectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect

DeleteInterconnectWithContext

func (c *DirectConnect) DeleteInterconnectWithContext(ctx aws.Context, input *DeleteInterconnectInput, opts ...request.Option) (*DeleteInterconnectOutput, error)

DeleteInterconnectWithContext is the same as DeleteInterconnect with the addition of the ability to pass a context and additional request options.

See DeleteInterconnect for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteLag

func (c *DirectConnect) DeleteLag(input *DeleteLagInput) (*Lag, error)

DeleteLag API operation for AWS Direct Connect.

Deletes the specified link aggregation group (LAG). You cannot delete a LAG if it has active virtual interfaces or hosted connections.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteLag for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag

DeleteLagRequest

func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Request, output *Lag)

DeleteLagRequest generates a "aws/request.Request" representing the client's request for the DeleteLag operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteLag for more information on using the DeleteLag API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteLagRequest method. req, resp := client.DeleteLagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag

DeleteLagWithContext

func (c *DirectConnect) DeleteLagWithContext(ctx aws.Context, input *DeleteLagInput, opts ...request.Option) (*Lag, error)

DeleteLagWithContext is the same as DeleteLag with the addition of the ability to pass a context and additional request options.

See DeleteLag for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DeleteVirtualInterface

func (c *DirectConnect) DeleteVirtualInterface(input *DeleteVirtualInterfaceInput) (*DeleteVirtualInterfaceOutput, error)

DeleteVirtualInterface API operation for AWS Direct Connect.

Deletes a virtual interface.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DeleteVirtualInterface for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface

DeleteVirtualInterfaceRequest

func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterfaceInput) (req *request.Request, output *DeleteVirtualInterfaceOutput)

DeleteVirtualInterfaceRequest generates a "aws/request.Request" representing the client's request for the DeleteVirtualInterface operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteVirtualInterface for more information on using the DeleteVirtualInterface API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteVirtualInterfaceRequest method. req, resp := client.DeleteVirtualInterfaceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface

DeleteVirtualInterfaceWithContext

func (c *DirectConnect) DeleteVirtualInterfaceWithContext(ctx aws.Context, input *DeleteVirtualInterfaceInput, opts ...request.Option) (*DeleteVirtualInterfaceOutput, error)

DeleteVirtualInterfaceWithContext is the same as DeleteVirtualInterface with the addition of the ability to pass a context and additional request options.

See DeleteVirtualInterface for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeConnectionLoa

func (c *DirectConnect) DescribeConnectionLoa(input *DescribeConnectionLoaInput) (*DescribeConnectionLoaOutput, error)

DescribeConnectionLoa API operation for AWS Direct Connect.

Deprecated. Use DescribeLoa instead.

Gets the LOA-CFA for a connection.

The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that your APN partner or service provider uses when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations (https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html) in the AWS Direct Connect User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeConnectionLoa for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa

Deprecated: DescribeConnectionLoa has been deprecated

DescribeConnectionLoaRequest

func (c *DirectConnect) DescribeConnectionLoaRequest(input *DescribeConnectionLoaInput) (req *request.Request, output *DescribeConnectionLoaOutput)

DescribeConnectionLoaRequest generates a "aws/request.Request" representing the client's request for the DescribeConnectionLoa operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConnectionLoa for more information on using the DescribeConnectionLoa API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConnectionLoaRequest method. req, resp := client.DescribeConnectionLoaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa

Deprecated: DescribeConnectionLoa has been deprecated

DescribeConnectionLoaWithContext

func (c *DirectConnect) DescribeConnectionLoaWithContext(ctx aws.Context, input *DescribeConnectionLoaInput, opts ...request.Option) (*DescribeConnectionLoaOutput, error)

DescribeConnectionLoaWithContext is the same as DescribeConnectionLoa with the addition of the ability to pass a context and additional request options.

See DescribeConnectionLoa for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: DescribeConnectionLoaWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

DescribeConnections

func (c *DirectConnect) DescribeConnections(input *DescribeConnectionsInput) (*Connections, error)

DescribeConnections API operation for AWS Direct Connect.

Displays the specified connection or all connections in this Region.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeConnections for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections

DescribeConnectionsOnInterconnect

func (c *DirectConnect) DescribeConnectionsOnInterconnect(input *DescribeConnectionsOnInterconnectInput) (*Connections, error)

DescribeConnectionsOnInterconnect API operation for AWS Direct Connect.

Deprecated. Use DescribeHostedConnections instead.

Lists the connections that have been provisioned on the specified interconnect.

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeConnectionsOnInterconnect for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect

Deprecated: DescribeConnectionsOnInterconnect has been deprecated

DescribeConnectionsOnInterconnectRequest

func (c *DirectConnect) DescribeConnectionsOnInterconnectRequest(input *DescribeConnectionsOnInterconnectInput) (req *request.Request, output *Connections)

DescribeConnectionsOnInterconnectRequest generates a "aws/request.Request" representing the client's request for the DescribeConnectionsOnInterconnect operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConnectionsOnInterconnect for more information on using the DescribeConnectionsOnInterconnect API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConnectionsOnInterconnectRequest method. req, resp := client.DescribeConnectionsOnInterconnectRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect

Deprecated: DescribeConnectionsOnInterconnect has been deprecated

DescribeConnectionsOnInterconnectWithContext

func (c *DirectConnect) DescribeConnectionsOnInterconnectWithContext(ctx aws.Context, input *DescribeConnectionsOnInterconnectInput, opts ...request.Option) (*Connections, error)

DescribeConnectionsOnInterconnectWithContext is the same as DescribeConnectionsOnInterconnect with the addition of the ability to pass a context and additional request options.

See DescribeConnectionsOnInterconnect for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: DescribeConnectionsOnInterconnectWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

DescribeConnectionsRequest

func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *Connections)

DescribeConnectionsRequest generates a "aws/request.Request" representing the client's request for the DescribeConnections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeConnections for more information on using the DescribeConnections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeConnectionsRequest method. req, resp := client.DescribeConnectionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections

DescribeConnectionsWithContext

func (c *DirectConnect) DescribeConnectionsWithContext(ctx aws.Context, input *DescribeConnectionsInput, opts ...request.Option) (*Connections, error)

DescribeConnectionsWithContext is the same as DescribeConnections with the addition of the ability to pass a context and additional request options.

See DescribeConnections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDirectConnectGatewayAssociations

func (c *DirectConnect) DescribeDirectConnectGatewayAssociations(input *DescribeDirectConnectGatewayAssociationsInput) (*DescribeDirectConnectGatewayAssociationsOutput, error)

DescribeDirectConnectGatewayAssociations API operation for AWS Direct Connect.

Lists the associations between your Direct Connect gateways and virtual private gateways. You must specify a Direct Connect gateway, a virtual private gateway, or both. If you specify a Direct Connect gateway, the response contains all virtual private gateways associated with the Direct Connect gateway. If you specify a virtual private gateway, the response contains all Direct Connect gateways associated with the virtual private gateway. If you specify both, the response contains the association between the Direct Connect gateway and the virtual private gateway.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeDirectConnectGatewayAssociations for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations

DescribeDirectConnectGatewayAssociationsRequest

func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *DescribeDirectConnectGatewayAssociationsInput) (req *request.Request, output *DescribeDirectConnectGatewayAssociationsOutput)

DescribeDirectConnectGatewayAssociationsRequest generates a "aws/request.Request" representing the client's request for the DescribeDirectConnectGatewayAssociations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDirectConnectGatewayAssociations for more information on using the DescribeDirectConnectGatewayAssociations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDirectConnectGatewayAssociationsRequest method. req, resp := client.DescribeDirectConnectGatewayAssociationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations

DescribeDirectConnectGatewayAssociationsWithContext

func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsWithContext(ctx aws.Context, input *DescribeDirectConnectGatewayAssociationsInput, opts ...request.Option) (*DescribeDirectConnectGatewayAssociationsOutput, error)

DescribeDirectConnectGatewayAssociationsWithContext is the same as DescribeDirectConnectGatewayAssociations with the addition of the ability to pass a context and additional request options.

See DescribeDirectConnectGatewayAssociations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDirectConnectGatewayAttachments

func (c *DirectConnect) DescribeDirectConnectGatewayAttachments(input *DescribeDirectConnectGatewayAttachmentsInput) (*DescribeDirectConnectGatewayAttachmentsOutput, error)

DescribeDirectConnectGatewayAttachments API operation for AWS Direct Connect.

Lists the attachments between your Direct Connect gateways and virtual interfaces. You must specify a Direct Connect gateway, a virtual interface, or both. If you specify a Direct Connect gateway, the response contains all virtual interfaces attached to the Direct Connect gateway. If you specify a virtual interface, the response contains all Direct Connect gateways attached to the virtual interface. If you specify both, the response contains the attachment between the Direct Connect gateway and the virtual interface.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeDirectConnectGatewayAttachments for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments

DescribeDirectConnectGatewayAttachmentsRequest

func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *DescribeDirectConnectGatewayAttachmentsInput) (req *request.Request, output *DescribeDirectConnectGatewayAttachmentsOutput)

DescribeDirectConnectGatewayAttachmentsRequest generates a "aws/request.Request" representing the client's request for the DescribeDirectConnectGatewayAttachments operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDirectConnectGatewayAttachments for more information on using the DescribeDirectConnectGatewayAttachments API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDirectConnectGatewayAttachmentsRequest method. req, resp := client.DescribeDirectConnectGatewayAttachmentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments

DescribeDirectConnectGatewayAttachmentsWithContext

func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsWithContext(ctx aws.Context, input *DescribeDirectConnectGatewayAttachmentsInput, opts ...request.Option) (*DescribeDirectConnectGatewayAttachmentsOutput, error)

DescribeDirectConnectGatewayAttachmentsWithContext is the same as DescribeDirectConnectGatewayAttachments with the addition of the ability to pass a context and additional request options.

See DescribeDirectConnectGatewayAttachments for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeDirectConnectGateways

func (c *DirectConnect) DescribeDirectConnectGateways(input *DescribeDirectConnectGatewaysInput) (*DescribeDirectConnectGatewaysOutput, error)

DescribeDirectConnectGateways API operation for AWS Direct Connect.

Lists all your Direct Connect gateways or only the specified Direct Connect gateway. Deleted Direct Connect gateways are not returned.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeDirectConnectGateways for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways

DescribeDirectConnectGatewaysRequest

func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDirectConnectGatewaysInput) (req *request.Request, output *DescribeDirectConnectGatewaysOutput)

DescribeDirectConnectGatewaysRequest generates a "aws/request.Request" representing the client's request for the DescribeDirectConnectGateways operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeDirectConnectGateways for more information on using the DescribeDirectConnectGateways API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeDirectConnectGatewaysRequest method. req, resp := client.DescribeDirectConnectGatewaysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways

DescribeDirectConnectGatewaysWithContext

func (c *DirectConnect) DescribeDirectConnectGatewaysWithContext(ctx aws.Context, input *DescribeDirectConnectGatewaysInput, opts ...request.Option) (*DescribeDirectConnectGatewaysOutput, error)

DescribeDirectConnectGatewaysWithContext is the same as DescribeDirectConnectGateways with the addition of the ability to pass a context and additional request options.

See DescribeDirectConnectGateways for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeHostedConnections

func (c *DirectConnect) DescribeHostedConnections(input *DescribeHostedConnectionsInput) (*Connections, error)

DescribeHostedConnections API operation for AWS Direct Connect.

Lists the hosted connections that have been provisioned on the specified interconnect or link aggregation group (LAG).

Intended for use by AWS Direct Connect partners only.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeHostedConnections for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections

DescribeHostedConnectionsRequest

func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedConnectionsInput) (req *request.Request, output *Connections)

DescribeHostedConnectionsRequest generates a "aws/request.Request" representing the client's request for the DescribeHostedConnections operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeHostedConnections for more information on using the DescribeHostedConnections API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeHostedConnectionsRequest method. req, resp := client.DescribeHostedConnectionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections

DescribeHostedConnectionsWithContext

func (c *DirectConnect) DescribeHostedConnectionsWithContext(ctx aws.Context, input *DescribeHostedConnectionsInput, opts ...request.Option) (*Connections, error)

DescribeHostedConnectionsWithContext is the same as DescribeHostedConnections with the addition of the ability to pass a context and additional request options.

See DescribeHostedConnections for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeInterconnectLoa

func (c *DirectConnect) DescribeInterconnectLoa(input *DescribeInterconnectLoaInput) (*DescribeInterconnectLoaOutput, error)

DescribeInterconnectLoa API operation for AWS Direct Connect.

Deprecated. Use DescribeLoa instead.

Gets the LOA-CFA for the specified interconnect.

The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations (https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html) in the AWS Direct Connect User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeInterconnectLoa for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa

Deprecated: DescribeInterconnectLoa has been deprecated

DescribeInterconnectLoaRequest

func (c *DirectConnect) DescribeInterconnectLoaRequest(input *DescribeInterconnectLoaInput) (req *request.Request, output *DescribeInterconnectLoaOutput)

DescribeInterconnectLoaRequest generates a "aws/request.Request" representing the client's request for the DescribeInterconnectLoa operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInterconnectLoa for more information on using the DescribeInterconnectLoa API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInterconnectLoaRequest method. req, resp := client.DescribeInterconnectLoaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa

Deprecated: DescribeInterconnectLoa has been deprecated

DescribeInterconnectLoaWithContext

func (c *DirectConnect) DescribeInterconnectLoaWithContext(ctx aws.Context, input *DescribeInterconnectLoaInput, opts ...request.Option) (*DescribeInterconnectLoaOutput, error)

DescribeInterconnectLoaWithContext is the same as DescribeInterconnectLoa with the addition of the ability to pass a context and additional request options.

See DescribeInterconnectLoa for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

Deprecated: DescribeInterconnectLoaWithContext has been deprecated

See Also

For more information about using this API, see AWS API Documentation.

DescribeInterconnects

func (c *DirectConnect) DescribeInterconnects(input *DescribeInterconnectsInput) (*DescribeInterconnectsOutput, error)

DescribeInterconnects API operation for AWS Direct Connect.

Lists the interconnects owned by the AWS account or only the specified interconnect.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeInterconnects for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects

DescribeInterconnectsRequest

func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnectsInput) (req *request.Request, output *DescribeInterconnectsOutput)

DescribeInterconnectsRequest generates a "aws/request.Request" representing the client's request for the DescribeInterconnects operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeInterconnects for more information on using the DescribeInterconnects API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeInterconnectsRequest method. req, resp := client.DescribeInterconnectsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects

DescribeInterconnectsWithContext

func (c *DirectConnect) DescribeInterconnectsWithContext(ctx aws.Context, input *DescribeInterconnectsInput, opts ...request.Option) (*DescribeInterconnectsOutput, error)

DescribeInterconnectsWithContext is the same as DescribeInterconnects with the addition of the ability to pass a context and additional request options.

See DescribeInterconnects for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeLags

func (c *DirectConnect) DescribeLags(input *DescribeLagsInput) (*DescribeLagsOutput, error)

DescribeLags API operation for AWS Direct Connect.

Describes all your link aggregation groups (LAG) or the specified LAG.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeLags for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags

DescribeLagsRequest

func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *request.Request, output *DescribeLagsOutput)

DescribeLagsRequest generates a "aws/request.Request" representing the client's request for the DescribeLags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeLags for more information on using the DescribeLags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeLagsRequest method. req, resp := client.DescribeLagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags

DescribeLagsWithContext

func (c *DirectConnect) DescribeLagsWithContext(ctx aws.Context, input *DescribeLagsInput, opts ...request.Option) (*DescribeLagsOutput, error)

DescribeLagsWithContext is the same as DescribeLags with the addition of the ability to pass a context and additional request options.

See DescribeLags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeLoa

func (c *DirectConnect) DescribeLoa(input *DescribeLoaInput) (*Loa, error)

DescribeLoa API operation for AWS Direct Connect.

Gets the LOA-CFA for a connection, interconnect, or link aggregation group (LAG).

The Letter of Authorization - Connecting Facility Assignment (LOA-CFA) is a document that is used when establishing your cross connect to AWS at the colocation facility. For more information, see Requesting Cross Connects at AWS Direct Connect Locations (https://docs.aws.amazon.com/directconnect/latest/UserGuide/Colocation.html) in the AWS Direct Connect User Guide.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeLoa for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa

DescribeLoaRequest

func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *request.Request, output *Loa)

DescribeLoaRequest generates a "aws/request.Request" representing the client's request for the DescribeLoa operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeLoa for more information on using the DescribeLoa API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeLoaRequest method. req, resp := client.DescribeLoaRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa

DescribeLoaWithContext

func (c *DirectConnect) DescribeLoaWithContext(ctx aws.Context, input *DescribeLoaInput, opts ...request.Option) (*Loa, error)

DescribeLoaWithContext is the same as DescribeLoa with the addition of the ability to pass a context and additional request options.

See DescribeLoa for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeLocations

func (c *DirectConnect) DescribeLocations(input *DescribeLocationsInput) (*DescribeLocationsOutput, error)

DescribeLocations API operation for AWS Direct Connect.

Lists the AWS Direct Connect locations in the current AWS Region. These are the locations that can be selected when calling CreateConnection or CreateInterconnect.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeLocations for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations

DescribeLocationsRequest

func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput) (req *request.Request, output *DescribeLocationsOutput)

DescribeLocationsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeLocations for more information on using the DescribeLocations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeLocationsRequest method. req, resp := client.DescribeLocationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations

DescribeLocationsWithContext

func (c *DirectConnect) DescribeLocationsWithContext(ctx aws.Context, input *DescribeLocationsInput, opts ...request.Option) (*DescribeLocationsOutput, error)

DescribeLocationsWithContext is the same as DescribeLocations with the addition of the ability to pass a context and additional request options.

See DescribeLocations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeTags

func (c *DirectConnect) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error)

DescribeTags API operation for AWS Direct Connect.

Describes the tags associated with the specified AWS Direct Connect resources.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeTags for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags

DescribeTagsRequest

func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput)

DescribeTagsRequest generates a "aws/request.Request" representing the client's request for the DescribeTags operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeTags for more information on using the DescribeTags API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeTagsRequest method. req, resp := client.DescribeTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags

DescribeTagsWithContext

func (c *DirectConnect) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsInput, opts ...request.Option) (*DescribeTagsOutput, error)

DescribeTagsWithContext is the same as DescribeTags with the addition of the ability to pass a context and additional request options.

See DescribeTags for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeVirtualGateways

func (c *DirectConnect) DescribeVirtualGateways(input *DescribeVirtualGatewaysInput) (*DescribeVirtualGatewaysOutput, error)

DescribeVirtualGateways API operation for AWS Direct Connect.

Lists the virtual private gateways owned by the AWS account.

You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeVirtualGateways for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways

DescribeVirtualGatewaysRequest

func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGatewaysInput) (req *request.Request, output *DescribeVirtualGatewaysOutput)

DescribeVirtualGatewaysRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualGateways operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeVirtualGateways for more information on using the DescribeVirtualGateways API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeVirtualGatewaysRequest method. req, resp := client.DescribeVirtualGatewaysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways

DescribeVirtualGatewaysWithContext

func (c *DirectConnect) DescribeVirtualGatewaysWithContext(ctx aws.Context, input *DescribeVirtualGatewaysInput, opts ...request.Option) (*DescribeVirtualGatewaysOutput, error)

DescribeVirtualGatewaysWithContext is the same as DescribeVirtualGateways with the addition of the ability to pass a context and additional request options.

See DescribeVirtualGateways for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DescribeVirtualInterfaces

func (c *DirectConnect) DescribeVirtualInterfaces(input *DescribeVirtualInterfacesInput) (*DescribeVirtualInterfacesOutput, error)

DescribeVirtualInterfaces API operation for AWS Direct Connect.

Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned.

A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DescribeVirtualInterfaces for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces

DescribeVirtualInterfacesRequest

func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualInterfacesInput) (req *request.Request, output *DescribeVirtualInterfacesOutput)

DescribeVirtualInterfacesRequest generates a "aws/request.Request" representing the client's request for the DescribeVirtualInterfaces operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DescribeVirtualInterfaces for more information on using the DescribeVirtualInterfaces API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DescribeVirtualInterfacesRequest method. req, resp := client.DescribeVirtualInterfacesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces

DescribeVirtualInterfacesWithContext

func (c *DirectConnect) DescribeVirtualInterfacesWithContext(ctx aws.Context, input *DescribeVirtualInterfacesInput, opts ...request.Option) (*DescribeVirtualInterfacesOutput, error)

DescribeVirtualInterfacesWithContext is the same as DescribeVirtualInterfaces with the addition of the ability to pass a context and additional request options.

See DescribeVirtualInterfaces for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

DisassociateConnectionFromLag

func (c *DirectConnect) DisassociateConnectionFromLag(input *DisassociateConnectionFromLagInput) (*Connection, error)

DisassociateConnectionFromLag API operation for AWS Direct Connect.

Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect partner is automatically converted to an interconnect.

If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation DisassociateConnectionFromLag for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag

DisassociateConnectionFromLagRequest

func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *DisassociateConnectionFromLagInput) (req *request.Request, output *Connection)

DisassociateConnectionFromLagRequest generates a "aws/request.Request" representing the client's request for the DisassociateConnectionFromLag operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DisassociateConnectionFromLag for more information on using the DisassociateConnectionFromLag API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DisassociateConnectionFromLagRequest method. req, resp := client.DisassociateConnectionFromLagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag

DisassociateConnectionFromLagWithContext

func (c *DirectConnect) DisassociateConnectionFromLagWithContext(ctx aws.Context, input *DisassociateConnectionFromLagInput, opts ...request.Option) (*Connection, error)

DisassociateConnectionFromLagWithContext is the same as DisassociateConnectionFromLag with the addition of the ability to pass a context and additional request options.

See DisassociateConnectionFromLag for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

TagResource

func (c *DirectConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Direct Connect.

Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation TagResource for usage and error information.

Returned Error Codes:

  • ErrCodeDuplicateTagKeysException "DuplicateTagKeysException" A tag key was specified more than once.

  • ErrCodeTooManyTagsException "TooManyTagsException" You have reached the limit on the number of tags that can be assigned.

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource

TagResourceRequest

func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)

TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See TagResource for more information on using the TagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource

TagResourceWithContext

func (c *DirectConnect) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)

TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.

See TagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UntagResource

func (c *DirectConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Direct Connect.

Removes one or more tags from the specified AWS Direct Connect resource.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation UntagResource for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource

UntagResourceRequest

func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)

UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UntagResource for more information on using the UntagResource API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource

UntagResourceWithContext

func (c *DirectConnect) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)

UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.

See UntagResource for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateLag

func (c *DirectConnect) UpdateLag(input *UpdateLagInput) (*Lag, error)

UpdateLag API operation for AWS Direct Connect.

Updates the attributes of the specified link aggregation group (LAG).

You can update the following attributes:

  • The name of the LAG.

  • The value for the minimum number of connections that must be operational for the LAG itself to be operational.

When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation UpdateLag for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag

UpdateLagRequest

func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Request, output *Lag)

UpdateLagRequest generates a "aws/request.Request" representing the client's request for the UpdateLag operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateLag for more information on using the UpdateLag API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateLagRequest method. req, resp := client.UpdateLagRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag

UpdateLagWithContext

func (c *DirectConnect) UpdateLagWithContext(ctx aws.Context, input *UpdateLagInput, opts ...request.Option) (*Lag, error)

UpdateLagWithContext is the same as UpdateLag with the addition of the ability to pass a context and additional request options.

See UpdateLag for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

UpdateVirtualInterfaceAttributes

func (c *DirectConnect) UpdateVirtualInterfaceAttributes(input *UpdateVirtualInterfaceAttributesInput) (*UpdateVirtualInterfaceAttributesOutput, error)

UpdateVirtualInterfaceAttributes API operation for AWS Direct Connect.

Updates the specified attributes of the specified virtual private interface.

Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Direct Connect's API operation UpdateVirtualInterfaceAttributes for usage and error information.

Returned Error Codes:

  • ErrCodeServerException "DirectConnectServerException" A server-side error occurred.

  • ErrCodeClientException "DirectConnectClientException" One or more parameters are not valid.

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateVirtualInterfaceAttributes

UpdateVirtualInterfaceAttributesRequest

func (c *DirectConnect) UpdateVirtualInterfaceAttributesRequest(input *UpdateVirtualInterfaceAttributesInput) (req *request.Request, output *UpdateVirtualInterfaceAttributesOutput)

UpdateVirtualInterfaceAttributesRequest generates a "aws/request.Request" representing the client's request for the UpdateVirtualInterfaceAttributes operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateVirtualInterfaceAttributes for more information on using the UpdateVirtualInterfaceAttributes API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateVirtualInterfaceAttributesRequest method. req, resp := client.UpdateVirtualInterfaceAttributesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }

See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateVirtualInterfaceAttributes

UpdateVirtualInterfaceAttributesWithContext

func (c *DirectConnect) UpdateVirtualInterfaceAttributesWithContext(ctx aws.Context, input *UpdateVirtualInterfaceAttributesInput, opts ...request.Option) (*UpdateVirtualInterfaceAttributesOutput, error)

UpdateVirtualInterfaceAttributesWithContext is the same as UpdateVirtualInterfaceAttributes with the addition of the ability to pass a context and additional request options.

See UpdateVirtualInterfaceAttributes for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

See Also

For more information about using this API, see AWS API Documentation.

On this page: