Struct aws_sdk_directconnect::client::fluent_builders::CreatePrivateVirtualInterface [−][src]
pub struct CreatePrivateVirtualInterface<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreatePrivateVirtualInterface.
Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.
Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.
Implementations
impl<C, M, R> CreatePrivateVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePrivateVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<CreatePrivateVirtualInterfaceInputOperationOutputAlias, CreatePrivateVirtualInterfaceOutput, CreatePrivateVirtualInterfaceError, CreatePrivateVirtualInterfaceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePrivateVirtualInterfaceOutput, SdkError<CreatePrivateVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<CreatePrivateVirtualInterfaceInputOperationOutputAlias, CreatePrivateVirtualInterfaceOutput, CreatePrivateVirtualInterfaceError, CreatePrivateVirtualInterfaceInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the connection.
The ID of the connection.
Information about the private virtual interface.
pub fn set_new_private_virtual_interface(
self,
input: Option<NewPrivateVirtualInterface>
) -> Self
pub fn set_new_private_virtual_interface(
self,
input: Option<NewPrivateVirtualInterface>
) -> Self
Information about the private virtual interface.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreatePrivateVirtualInterface<C, M, R>
impl<C, M, R> Send for CreatePrivateVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePrivateVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePrivateVirtualInterface<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreatePrivateVirtualInterface<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
