#[non_exhaustive]pub struct AssociateTransitGatewayRouteTableInput { /* private fields */ }
Implementations§
source§impl AssociateTransitGatewayRouteTableInput
impl AssociateTransitGatewayRouteTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AssociateTransitGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AssociateTransitGatewayRouteTable
>
Examples found in repository?
src/client.rs (line 11050)
11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::AssociateTransitGatewayRouteTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::AssociateTransitGatewayRouteTableError>,
> {
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::AssociateTransitGatewayRouteTableOutput,
aws_smithy_http::result::SdkError<crate::error::AssociateTransitGatewayRouteTableError>,
> {
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 AssociateTransitGatewayRouteTableInput
.
source§impl AssociateTransitGatewayRouteTableInput
impl AssociateTransitGatewayRouteTableInput
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the transit gateway route table.
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment.
Trait Implementations§
source§impl Clone for AssociateTransitGatewayRouteTableInput
impl Clone for AssociateTransitGatewayRouteTableInput
source§fn clone(&self) -> AssociateTransitGatewayRouteTableInput
fn clone(&self) -> AssociateTransitGatewayRouteTableInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more