amazonka-directconnect-1.3.3: Amazon Direct Connect SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DirectConnect

Contents

Description

AWS Direct Connect makes it easy to establish a dedicated network connection from your premises to Amazon Web Services (AWS). Using AWS Direct Connect, you can establish private connectivity between AWS and your data center, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet-based connections.

The AWS Direct Connect API Reference provides descriptions, syntax, and usage examples for each of the actions and data types for AWS Direct Connect. Use the following links to get started using the /AWS Direct Connect API Reference/:

  • Actions: An alphabetical list of all AWS Direct Connect actions.
  • Data Types: An alphabetical list of all AWS Direct Connect data types.
  • Common Query Parameters: Parameters that all Query actions can use.
  • Common Errors: Client and server errors that all actions can return.

See: AWS API Reference

Synopsis

Service Configuration

directConnect :: Service Source

API version '2012-10-25' of the Amazon Direct Connect SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by DirectConnect.

DirectConnectClientException

_DirectConnectClientException :: AsError a => Getting (First ServiceError) a ServiceError Source

The API was called with invalid parameters. The error message will contain additional details about the cause.

DirectConnectServerException

_DirectConnectServerException :: AsError a => Getting (First ServiceError) a ServiceError Source

A server-side error occurred during the API call. The error message will contain additional details about the cause.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeInterconnects

DeleteConnection

CreateConnection

DescribeConnections

DescribeConnectionsOnInterconnect

DeleteInterconnect

ConfirmPrivateVirtualInterface

DescribeLocations

CreatePublicVirtualInterface

AllocatePrivateVirtualInterface

ConfirmConnection

ConfirmPublicVirtualInterface

DescribeVirtualGateways

DescribeVirtualInterfaces

DeleteVirtualInterface

CreatePrivateVirtualInterface

AllocatePublicVirtualInterface

AllocateConnectionOnInterconnect

CreateInterconnect

Types

ConnectionState

data ConnectionState Source

State of the connection.

  • Ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.
  • Requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The connection has been approved, and is being initialized.
  • Available: The network link is up, and the connection is ready for use.
  • Down: The network link is down.
  • Deleted: The connection has been deleted.
  • Rejected: A hosted connection in the 'Ordering' state will enter the 'Rejected' state if it is deleted by the end customer.

InterconnectState

data InterconnectState Source

State of the interconnect.

  • Requested: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.
  • Pending: The interconnect has been approved, and is being initialized.
  • Available: The network link is up, and the interconnect is ready for use.
  • Down: The network link is down.
  • Deleted: The interconnect has been deleted.

VirtualInterfaceState

data VirtualInterfaceState Source

State of the virtual interface.

  • Confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
  • Verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
  • Pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
  • Available: A virtual interface that is able to forward traffic.
  • Deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
  • Deleted: A virtual interface that cannot forward traffic.
  • Rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the 'Confirming' state is deleted by the virtual interface owner, the virtual interface will enter the 'Rejected' state.

Connection

data Connection Source

A connection represents the physical network connection between the AWS Direct Connect location and the customer.

See: connection smart constructor.

connection :: Connection Source

Creates a value of Connection with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cVlan :: Lens' Connection (Maybe Int) Source

Undocumented member.

cLocation :: Lens' Connection (Maybe Text) Source

Undocumented member.

cConnectionId :: Lens' Connection (Maybe Text) Source

Undocumented member.

cPartnerName :: Lens' Connection (Maybe Text) Source

Undocumented member.

cConnectionName :: Lens' Connection (Maybe Text) Source

Undocumented member.

cBandwidth :: Lens' Connection (Maybe Text) Source

Bandwidth of the connection.

Example: 1Gbps (for regular connections), or 500Mbps (for hosted connections)

Default: None

cOwnerAccount :: Lens' Connection (Maybe Text) Source

Undocumented member.

cRegion :: Lens' Connection (Maybe Text) Source

Undocumented member.

Connections

connections :: Connections Source

Creates a value of Connections with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cConnections :: Lens' Connections [Connection] Source

A list of connections.

Interconnect

data Interconnect Source

An interconnect is a connection that can host other connections.

Like a standard AWS Direct Connect connection, an interconnect represents the physical connection between an AWS Direct Connect partner's network and a specific Direct Connect location. An AWS Direct Connect partner who owns an interconnect can provision hosted connections on the interconnect for their end customers, thereby providing the end customers with connectivity to AWS services.

The resources of the interconnect, including bandwidth and VLAN numbers, are shared by all of the hosted connections on the interconnect, and the owner of the interconnect determines how these resources are assigned.

See: interconnect smart constructor.

interconnect :: Interconnect Source

Creates a value of Interconnect with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iLocation :: Lens' Interconnect (Maybe Text) Source

Undocumented member.

iBandwidth :: Lens' Interconnect (Maybe Text) Source

Undocumented member.

iRegion :: Lens' Interconnect (Maybe Text) Source

Undocumented member.

Location

data Location Source

An AWS Direct Connect location where connections and interconnects can be requested.

See: location smart constructor.

location :: Location Source

Creates a value of Location with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lLocationName :: Lens' Location (Maybe Text) Source

The name of the AWS Direct Connect location. The name includes the colocation partner name and the physical site of the lit building.

lLocationCode :: Lens' Location (Maybe Text) Source

The code used to indicate the AWS Direct Connect location.

NewPrivateVirtualInterface

newPrivateVirtualInterface Source

Creates a value of NewPrivateVirtualInterface with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

NewPrivateVirtualInterfaceAllocation

NewPublicVirtualInterface

NewPublicVirtualInterfaceAllocation

RouteFilterPrefix

data RouteFilterPrefix Source

A route filter prefix that the customer can advertise through Border Gateway Protocol (BGP) over a public virtual interface.

See: routeFilterPrefix smart constructor.

routeFilterPrefix :: RouteFilterPrefix Source

Creates a value of RouteFilterPrefix with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rfpCidr :: Lens' RouteFilterPrefix (Maybe Text) Source

CIDR notation for the advertised route. Multiple routes are separated by commas.

Example: 10.10.10.0/24,10.10.11.0/24

VirtualGateway

data VirtualGateway Source

You can create one or more AWS Direct Connect private virtual interfaces linking to your virtual private gateway.

Virtual private gateways can be managed using the Amazon Virtual Private Cloud (Amazon VPC) console or the Amazon EC2 CreateVpnGateway action.

See: virtualGateway smart constructor.

virtualGateway :: VirtualGateway Source

Creates a value of VirtualGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

VirtualInterface

data VirtualInterface Source

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

See: virtualInterface smart constructor.

viVlan :: Lens' VirtualInterface (Maybe Int) Source

Undocumented member.

viAsn :: Lens' VirtualInterface (Maybe Int) Source

Undocumented member.

viAuthKey :: Lens' VirtualInterface (Maybe Text) Source

Undocumented member.

viCustomerRouterConfig :: Lens' VirtualInterface (Maybe Text) Source

Information for generating the customer router configuration.