Struct aws_sdk_ec2::input::EnableVgwRoutePropagationInput
source · #[non_exhaustive]pub struct EnableVgwRoutePropagationInput { /* private fields */ }
Expand description
Contains the parameters for EnableVgwRoutePropagation.
Implementations§
source§impl EnableVgwRoutePropagationInput
impl EnableVgwRoutePropagationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableVgwRoutePropagation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<EnableVgwRoutePropagation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<EnableVgwRoutePropagation
>
Examples found in repository?
src/client.rs (line 56333)
56319 56320 56321 56322 56323 56324 56325 56326 56327 56328 56329 56330 56331 56332 56333 56334 56335 56336 56337 56338 56339 56340 56341 56342 56343 56344 56345 56346 56347 56348 56349 56350 56351 56352 56353 56354 56355 56356 56357 56358 56359 56360 56361
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::EnableVgwRoutePropagation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::EnableVgwRoutePropagationError>,
> {
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::EnableVgwRoutePropagationOutput,
aws_smithy_http::result::SdkError<crate::error::EnableVgwRoutePropagationError>,
> {
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 EnableVgwRoutePropagationInput
.
source§impl EnableVgwRoutePropagationInput
impl EnableVgwRoutePropagationInput
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the virtual private gateway that is attached to a VPC. The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
sourcepub fn route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.
Trait Implementations§
source§impl Clone for EnableVgwRoutePropagationInput
impl Clone for EnableVgwRoutePropagationInput
source§fn clone(&self) -> EnableVgwRoutePropagationInput
fn clone(&self) -> EnableVgwRoutePropagationInput
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