Module Smaws_Client_DirectConnect.CreateConnection

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

A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an 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 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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `DirectConnectClientException of Types.direct_connect_client_exception | `DirectConnectServerException of Types.direct_connect_server_exception | `DuplicateTagKeysException of Types.duplicate_tag_keys_exception | `TooManyTagsException of Types.too_many_tags_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_connection_request -> (Types.connection, [> Smaws_Lib.Protocols.AwsJson.error | `DirectConnectClientException of Types.direct_connect_client_exception | `DirectConnectServerException of Types.direct_connect_server_exception | `DuplicateTagKeysException of Types.duplicate_tag_keys_exception | `TooManyTagsException of Types.too_many_tags_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_connection_request -> (Types.connection Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `DirectConnectClientException of Types.direct_connect_client_exception | `DirectConnectServerException of Types.direct_connect_server_exception | `DuplicateTagKeysException of Types.duplicate_tag_keys_exception | `TooManyTagsException of Types.too_many_tags_exception ] * Smaws_Lib.Response.metadata) Stdlib.result