#[non_exhaustive]pub struct ExportTransitGatewayRoutesInput { /* private fields */ }
Implementations§
source§impl ExportTransitGatewayRoutesInput
impl ExportTransitGatewayRoutesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportTransitGatewayRoutes, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ExportTransitGatewayRoutes, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ExportTransitGatewayRoutes
>
Examples found in repository?
57001 57002 57003 57004 57005 57006 57007 57008 57009 57010 57011 57012 57013 57014 57015 57016 57017 57018 57019 57020 57021 57022 57023 57024 57025 57026 57027 57028 57029 57030 57031 57032 57033 57034 57035 57036 57037 57038 57039 57040 57041 57042 57043
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ExportTransitGatewayRoutes,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ExportTransitGatewayRoutesError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ExportTransitGatewayRoutesOutput,
aws_smithy_http::result::SdkError<crate::error::ExportTransitGatewayRoutesError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExportTransitGatewayRoutesInput
.
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) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[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
).
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 more