Creates a new 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 Simple Storage Service (Amazon S3).
 Declaration Syntax
 Declaration Syntax| C# | 
CreatePublicVirtualInterfaceResponse CreatePublicVirtualInterface( CreatePublicVirtualInterfaceRequest createPublicVirtualInterfaceRequest )
 Parameters
 Parameters- createPublicVirtualInterfaceRequest (CreatePublicVirtualInterfaceRequest)
- Container for the necessary parameters to execute the CreatePublicVirtualInterface service method on AmazonDirectConnect.
 Return Value
 Return ValueThe response from the CreatePublicVirtualInterface service method, as returned by AmazonDirectConnect.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| DirectConnectServerException | |
| DirectConnectClientException |