#[non_exhaustive]pub struct GetNetworkRoutesInput {
pub global_network_id: Option<String>,
pub route_table_identifier: Option<RouteTableIdentifier>,
pub exact_cidr_matches: Option<Vec<String>>,
pub longest_prefix_matches: Option<Vec<String>>,
pub subnet_of_matches: Option<Vec<String>>,
pub supernet_of_matches: Option<Vec<String>>,
pub prefix_list_ids: Option<Vec<String>>,
pub states: Option<Vec<RouteState>>,
pub types: Option<Vec<RouteType>>,
pub destination_filters: Option<HashMap<String, Vec<String>>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.global_network_id: Option<String>
The ID of the global network.
route_table_identifier: Option<RouteTableIdentifier>
The ID of the route table.
exact_cidr_matches: Option<Vec<String>>
An exact CIDR block.
longest_prefix_matches: Option<Vec<String>>
The most specific route that matches the traffic (longest prefix match).
subnet_of_matches: Option<Vec<String>>
The routes with a subnet that match the specified CIDR filter.
supernet_of_matches: Option<Vec<String>>
The routes with a CIDR that encompasses the CIDR filter. Example: If you specify 10.0.1.0/30, then the result returns 10.0.1.0/29.
prefix_list_ids: Option<Vec<String>>
The IDs of the prefix lists.
states: Option<Vec<RouteState>>
The route states.
types: Option<Vec<RouteType>>
The route types.
destination_filters: Option<HashMap<String, Vec<String>>>
Filter by route table destination. Possible Values: TRANSIT_GATEWAY_ATTACHMENT_ID, RESOURCE_ID, or RESOURCE_TYPE.
Implementations
sourceimpl GetNetworkRoutesInput
impl GetNetworkRoutesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkRoutes, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetNetworkRoutes, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetNetworkRoutes
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetNetworkRoutesInput
sourceimpl GetNetworkRoutesInput
impl GetNetworkRoutesInput
sourcepub fn global_network_id(&self) -> Option<&str>
pub fn global_network_id(&self) -> Option<&str>
The ID of the global network.
sourcepub fn route_table_identifier(&self) -> Option<&RouteTableIdentifier>
pub fn route_table_identifier(&self) -> Option<&RouteTableIdentifier>
The ID of the route table.
sourcepub fn longest_prefix_matches(&self) -> Option<&[String]>
pub fn longest_prefix_matches(&self) -> Option<&[String]>
The most specific route that matches the traffic (longest prefix match).
sourcepub fn subnet_of_matches(&self) -> Option<&[String]>
pub fn subnet_of_matches(&self) -> Option<&[String]>
The routes with a subnet that match the specified CIDR filter.
Trait Implementations
sourceimpl Clone for GetNetworkRoutesInput
impl Clone for GetNetworkRoutesInput
sourcefn clone(&self) -> GetNetworkRoutesInput
fn clone(&self) -> GetNetworkRoutesInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetNetworkRoutesInput
impl Debug for GetNetworkRoutesInput
sourceimpl PartialEq<GetNetworkRoutesInput> for GetNetworkRoutesInput
impl PartialEq<GetNetworkRoutesInput> for GetNetworkRoutesInput
sourcefn eq(&self, other: &GetNetworkRoutesInput) -> bool
fn eq(&self, other: &GetNetworkRoutesInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetNetworkRoutesInput) -> bool
fn ne(&self, other: &GetNetworkRoutesInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetNetworkRoutesInput
Auto Trait Implementations
impl RefUnwindSafe for GetNetworkRoutesInput
impl Send for GetNetworkRoutesInput
impl Sync for GetNetworkRoutesInput
impl Unpin for GetNetworkRoutesInput
impl UnwindSafe for GetNetworkRoutesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more