#[non_exhaustive]
pub struct CreatePrivateVirtualInterfaceOutput { /* private fields */ }
Expand description

Information about a virtual interface.

Implementations§

source§

impl CreatePrivateVirtualInterfaceOutput

source

pub fn owner_account(&self) -> Option<&str>

The ID of the Amazon Web Services account that owns the virtual interface.

source

pub fn virtual_interface_id(&self) -> Option<&str>

The ID of the virtual interface.

source

pub fn location(&self) -> Option<&str>

The location of the connection.

source

pub fn connection_id(&self) -> Option<&str>

The ID of the connection.

source

pub fn virtual_interface_type(&self) -> Option<&str>

The type of virtual interface. The possible values are private and public.

source

pub fn virtual_interface_name(&self) -> Option<&str>

The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

source

pub fn vlan(&self) -> i32

The ID of the VLAN.

source

pub fn asn(&self) -> i32

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.

source

pub fn amazon_side_asn(&self) -> Option<i64>

The autonomous system number (ASN) for the Amazon side of the connection.

source

pub fn auth_key(&self) -> Option<&str>

The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

source

pub fn amazon_address(&self) -> Option<&str>

The IP address assigned to the Amazon interface.

source

pub fn customer_address(&self) -> Option<&str>

The IP address assigned to the customer interface.

source

pub fn address_family(&self) -> Option<&AddressFamily>

The address family for the BGP peer.

source

pub fn virtual_interface_state(&self) -> Option<&VirtualInterfaceState>

The state of the virtual interface. The following are the possible values:

  • confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.

  • verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.

  • pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.

  • available: A virtual interface that is able to forward traffic.

  • down: A virtual interface that is BGP down.

  • deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.

  • deleted: A virtual interface that cannot forward traffic.

  • rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.

  • unknown: The state of the virtual interface is not available.

source

pub fn customer_router_config(&self) -> Option<&str>

The customer router configuration.

source

pub fn mtu(&self) -> Option<i32>

The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 8500. The default value is 1500

source

pub fn jumbo_frame_capable(&self) -> Option<bool>

Indicates whether jumbo frames (9001 MTU) are supported.

source

pub fn virtual_gateway_id(&self) -> Option<&str>

The ID of the virtual private gateway. Applies only to private virtual interfaces.

source

pub fn direct_connect_gateway_id(&self) -> Option<&str>

The ID of the Direct Connect gateway.

source

pub fn route_filter_prefixes(&self) -> Option<&[RouteFilterPrefix]>

The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.

source

pub fn bgp_peers(&self) -> Option<&[BgpPeer]>

The BGP peers configured on this virtual interface.

source

pub fn region(&self) -> Option<&str>

The Amazon Web Services Region where the virtual interface is located.

source

pub fn aws_device_v2(&self) -> Option<&str>

The Direct Connect endpoint that terminates the physical connection.

source

pub fn aws_logical_device_id(&self) -> Option<&str>

The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.

source

pub fn tags(&self) -> Option<&[Tag]>

The tags associated with the virtual interface.

Indicates whether SiteLink is enabled.

source§

impl CreatePrivateVirtualInterfaceOutput

source

pub fn builder() -> CreatePrivateVirtualInterfaceOutputBuilder

Creates a new builder-style object to manufacture CreatePrivateVirtualInterfaceOutput.

Trait Implementations§

source§

impl Clone for CreatePrivateVirtualInterfaceOutput

source§

fn clone(&self) -> CreatePrivateVirtualInterfaceOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreatePrivateVirtualInterfaceOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CreatePrivateVirtualInterfaceOutput> for CreatePrivateVirtualInterfaceOutput

source§

fn eq(&self, other: &CreatePrivateVirtualInterfaceOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for CreatePrivateVirtualInterfaceOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for CreatePrivateVirtualInterfaceOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more