Module Smaws_Client_DirectConnect.AllocatePublicVirtualInterface

Provisions a public virtual interface to be owned by the specified Amazon Web Services account.

The owner of a connection calls this function to provision a public virtual interface to be owned by the specified Amazon Web Services 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.

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 | `LimitExceededException of Types.limit_exceeded_exception | `TooManyTagsException of Types.too_many_tags_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.allocate_public_virtual_interface_request -> (Types.virtual_interface, [> 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 | `LimitExceededException of Types.limit_exceeded_exception | `TooManyTagsException of Types.too_many_tags_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.allocate_public_virtual_interface_request -> (Types.virtual_interface 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 | `LimitExceededException of Types.limit_exceeded_exception | `TooManyTagsException of Types.too_many_tags_exception ] * Smaws_Lib.Response.metadata) Stdlib.result