#[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§
source§impl 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 exact_cidr_matches(&self) -> &[String]
pub fn exact_cidr_matches(&self) -> &[String]
An exact CIDR block.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exact_cidr_matches.is_none().
sourcepub fn longest_prefix_matches(&self) -> &[String]
pub fn longest_prefix_matches(&self) -> &[String]
The most specific route that matches the traffic (longest prefix match).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .longest_prefix_matches.is_none().
sourcepub fn subnet_of_matches(&self) -> &[String]
pub fn subnet_of_matches(&self) -> &[String]
The routes with a subnet that match the specified CIDR filter.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_of_matches.is_none().
sourcepub fn supernet_of_matches(&self) -> &[String]
pub fn supernet_of_matches(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supernet_of_matches.is_none().
sourcepub fn prefix_list_ids(&self) -> &[String]
pub fn prefix_list_ids(&self) -> &[String]
The IDs of the prefix lists.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .prefix_list_ids.is_none().
sourcepub fn states(&self) -> &[RouteState]
pub fn states(&self) -> &[RouteState]
The route states.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .states.is_none().
source§impl GetNetworkRoutesInput
impl GetNetworkRoutesInput
sourcepub fn builder() -> GetNetworkRoutesInputBuilder
pub fn builder() -> GetNetworkRoutesInputBuilder
Creates a new builder-style object to manufacture GetNetworkRoutesInput.
Trait Implementations§
source§impl Clone for GetNetworkRoutesInput
impl Clone for GetNetworkRoutesInput
source§fn clone(&self) -> GetNetworkRoutesInput
fn clone(&self) -> GetNetworkRoutesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetNetworkRoutesInput
impl Debug for GetNetworkRoutesInput
source§impl PartialEq for GetNetworkRoutesInput
impl PartialEq for GetNetworkRoutesInput
source§fn eq(&self, other: &GetNetworkRoutesInput) -> bool
fn eq(&self, other: &GetNetworkRoutesInput) -> bool
self and other values to be equal, and is used
by ==.