Smaws_Client_DirectConnect.CreatePublicVirtualInterfaceCreates a public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A public virtual interface supports sending traffic to public services of Amazon Web Services 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.
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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_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