#[non_exhaustive]pub struct DisassociateTransitGatewayRouteTableInput { /* private fields */ }
Implementations§
source§impl DisassociateTransitGatewayRouteTableInput
impl DisassociateTransitGatewayRouteTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateTransitGatewayRouteTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateTransitGatewayRouteTable
>
Examples found in repository?
src/client.rs (line 55333)
55317 55318 55319 55320 55321 55322 55323 55324 55325 55326 55327 55328 55329 55330 55331 55332 55333 55334 55335 55336 55337 55338 55339 55340 55341 55342 55343 55344 55345 55346 55347 55348 55349 55350 55351 55352 55353 55354 55355 55356 55357 55358 55359 55360 55361 55362 55363
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateTransitGatewayRouteTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayRouteTableError,
>,
> {
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::DisassociateTransitGatewayRouteTableOutput,
aws_smithy_http::result::SdkError<
crate::error::DisassociateTransitGatewayRouteTableError,
>,
> {
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 DisassociateTransitGatewayRouteTableInput
.
source§impl DisassociateTransitGatewayRouteTableInput
impl DisassociateTransitGatewayRouteTableInput
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 DisassociateTransitGatewayRouteTableInput
impl Clone for DisassociateTransitGatewayRouteTableInput
source§fn clone(&self) -> DisassociateTransitGatewayRouteTableInput
fn clone(&self) -> DisassociateTransitGatewayRouteTableInput
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