Struct aws_sdk_directconnect::client::fluent_builders::CreatePublicVirtualInterface [−][src]
pub struct CreatePublicVirtualInterface<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to CreatePublicVirtualInterface.
Creates 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.
Implementations
impl<C, M, R> CreatePublicVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreatePublicVirtualInterface<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreatePublicVirtualInterfaceOutput, SdkError<CreatePublicVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<CreatePublicVirtualInterfaceInputOperationOutputAlias, CreatePublicVirtualInterfaceOutput, CreatePublicVirtualInterfaceError, CreatePublicVirtualInterfaceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreatePublicVirtualInterfaceOutput, SdkError<CreatePublicVirtualInterfaceError>> where
R::Policy: SmithyRetryPolicy<CreatePublicVirtualInterfaceInputOperationOutputAlias, CreatePublicVirtualInterfaceOutput, CreatePublicVirtualInterfaceError, CreatePublicVirtualInterfaceInputOperationRetryAlias>,
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 public virtual interface.
pub fn set_new_public_virtual_interface(
self,
input: Option<NewPublicVirtualInterface>
) -> Self
pub fn set_new_public_virtual_interface(
self,
input: Option<NewPublicVirtualInterface>
) -> Self
Information about the public virtual interface.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreatePublicVirtualInterface<C, M, R>
impl<C, M, R> Send for CreatePublicVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreatePublicVirtualInterface<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreatePublicVirtualInterface<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreatePublicVirtualInterface<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
