Struct aws_sdk_directconnect::client::fluent_builders::AllocatePrivateVirtualInterface [−][src]
pub struct AllocatePrivateVirtualInterface<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to AllocatePrivateVirtualInterface.
Provisions a private virtual interface to be owned by the specified Amazon Web Services account.
Virtual interfaces created using this action must be confirmed by the owner using ConfirmPrivateVirtualInterface. Until then, the virtual interface is in the Confirming state and is not available to handle traffic.
Implementations
impl<C, M, R> AllocatePrivateVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AllocatePrivateVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AllocatePrivateVirtualInterfaceOutput, SdkError<AllocatePrivateVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<AllocatePrivateVirtualInterfaceInputOperationOutputAlias, AllocatePrivateVirtualInterfaceOutput, AllocatePrivateVirtualInterfaceError, AllocatePrivateVirtualInterfaceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AllocatePrivateVirtualInterfaceOutput, SdkError<AllocatePrivateVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<AllocatePrivateVirtualInterfaceInputOperationOutputAlias, AllocatePrivateVirtualInterfaceOutput, AllocatePrivateVirtualInterfaceError, AllocatePrivateVirtualInterfaceInputOperationRetryAlias>,
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 on which the private virtual interface is provisioned.
The ID of the connection on which the private virtual interface is provisioned.
The ID of the Amazon Web Services account that owns the virtual private interface.
The ID of the Amazon Web Services account that owns the virtual private interface.
pub fn new_private_virtual_interface_allocation(
self,
input: NewPrivateVirtualInterfaceAllocation
) -> Self
pub fn new_private_virtual_interface_allocation(
self,
input: NewPrivateVirtualInterfaceAllocation
) -> Self
Information about the private virtual interface.
pub fn set_new_private_virtual_interface_allocation(
self,
input: Option<NewPrivateVirtualInterfaceAllocation>
) -> Self
pub fn set_new_private_virtual_interface_allocation(
self,
input: Option<NewPrivateVirtualInterfaceAllocation>
) -> Self
Information about the private virtual interface.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for AllocatePrivateVirtualInterface<C, M, R>
impl<C, M, R> Send for AllocatePrivateVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AllocatePrivateVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AllocatePrivateVirtualInterface<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AllocatePrivateVirtualInterface<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
