Struct aws_sdk_ec2::operation::export_transit_gateway_routes::ExportTransitGatewayRoutesInput
source · #[non_exhaustive]pub struct ExportTransitGatewayRoutesInput {
pub transit_gateway_route_table_id: Option<String>,
pub filters: Option<Vec<Filter>>,
pub s3_bucket: Option<String>,
pub dry_run: Option<bool>,
}
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.transit_gateway_route_table_id: Option<String>
The ID of the route table.
filters: Option<Vec<Filter>>
One or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
s3_bucket: Option<String>
The name of the S3 bucket.
dry_run: Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Implementations§
source§impl ExportTransitGatewayRoutesInput
impl ExportTransitGatewayRoutesInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the route table.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
One or more filters. The possible values are:
-
attachment.transit-gateway-attachment-id
- The id of the transit gateway attachment. -
attachment.resource-id
- The resource id of the transit gateway attachment. -
route-search.exact-match
- The exact match of the specified filter. -
route-search.longest-prefix-match
- The longest prefix that matches the route. -
route-search.subnet-of-match
- The routes with a subnet that match the specified CIDR filter. -
route-search.supernet-of-match
- The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29. -
state
- The state of the route (active
|blackhole
). -
transit-gateway-route-destination-cidr-block
- The CIDR range. -
type
- The type of route (propagated
|static
).
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ExportTransitGatewayRoutesInput
impl ExportTransitGatewayRoutesInput
sourcepub fn builder() -> ExportTransitGatewayRoutesInputBuilder
pub fn builder() -> ExportTransitGatewayRoutesInputBuilder
Creates a new builder-style object to manufacture ExportTransitGatewayRoutesInput
.
Trait Implementations§
source§impl Clone for ExportTransitGatewayRoutesInput
impl Clone for ExportTransitGatewayRoutesInput
source§fn clone(&self) -> ExportTransitGatewayRoutesInput
fn clone(&self) -> ExportTransitGatewayRoutesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ExportTransitGatewayRoutesInput
impl PartialEq for ExportTransitGatewayRoutesInput
source§fn eq(&self, other: &ExportTransitGatewayRoutesInput) -> bool
fn eq(&self, other: &ExportTransitGatewayRoutesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportTransitGatewayRoutesInput
Auto Trait Implementations§
impl Freeze for ExportTransitGatewayRoutesInput
impl RefUnwindSafe for ExportTransitGatewayRoutesInput
impl Send for ExportTransitGatewayRoutesInput
impl Sync for ExportTransitGatewayRoutesInput
impl Unpin for ExportTransitGatewayRoutesInput
impl UnwindSafe for ExportTransitGatewayRoutesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more