Struct aws_sdk_ec2::input::DisassociateRouteTableInput
source · #[non_exhaustive]pub struct DisassociateRouteTableInput { /* private fields */ }
Implementations§
source§impl DisassociateRouteTableInput
impl DisassociateRouteTableInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateRouteTable, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateRouteTable, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateRouteTable
>
Examples found in repository?
src/client.rs (line 54934)
54920 54921 54922 54923 54924 54925 54926 54927 54928 54929 54930 54931 54932 54933 54934 54935 54936 54937 54938 54939 54940 54941 54942 54943 54944 54945 54946 54947 54948 54949 54950 54951 54952 54953 54954 54955 54956 54957 54958 54959 54960 54961 54962
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateRouteTable,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisassociateRouteTableError>,
> {
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::DisassociateRouteTableOutput,
aws_smithy_http::result::SdkError<crate::error::DisassociateRouteTableError>,
> {
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 DisassociateRouteTableInput
.
source§impl DisassociateRouteTableInput
impl DisassociateRouteTableInput
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The association ID representing the current association between the route table and subnet or gateway.
Trait Implementations§
source§impl Clone for DisassociateRouteTableInput
impl Clone for DisassociateRouteTableInput
source§fn clone(&self) -> DisassociateRouteTableInput
fn clone(&self) -> DisassociateRouteTableInput
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