#[non_exhaustive]pub struct DisableVgwRoutePropagationInput { /* private fields */ }
Expand description
Contains the parameters for DisableVgwRoutePropagation.
Implementations§
source§impl DisableVgwRoutePropagationInput
impl DisableVgwRoutePropagationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableVgwRoutePropagation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisableVgwRoutePropagation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisableVgwRoutePropagation
>
Examples found in repository?
src/client.rs (line 54187)
54173 54174 54175 54176 54177 54178 54179 54180 54181 54182 54183 54184 54185 54186 54187 54188 54189 54190 54191 54192 54193 54194 54195 54196 54197 54198 54199 54200 54201 54202 54203 54204 54205 54206 54207 54208 54209 54210 54211 54212 54213 54214 54215
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisableVgwRoutePropagation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisableVgwRoutePropagationError>,
> {
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::DisableVgwRoutePropagationOutput,
aws_smithy_http::result::SdkError<crate::error::DisableVgwRoutePropagationError>,
> {
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 DisableVgwRoutePropagationInput
.
source§impl DisableVgwRoutePropagationInput
impl DisableVgwRoutePropagationInput
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway.
sourcepub fn route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table.
Trait Implementations§
source§impl Clone for DisableVgwRoutePropagationInput
impl Clone for DisableVgwRoutePropagationInput
source§fn clone(&self) -> DisableVgwRoutePropagationInput
fn clone(&self) -> DisableVgwRoutePropagationInput
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