aws_sdk_ec2/client/
disable_vgw_route_propagation.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DisableVgwRoutePropagation`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_id(impl Into<String>)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::set_gateway_id):<br>required: **true**<br><p>The ID of the virtual private gateway.</p><br>
7    ///   - [`route_table_id(impl Into<String>)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::route_table_id) / [`set_route_table_id(Option<String>)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::set_route_table_id):<br>required: **true**<br><p>The ID of the route table.</p><br>
8    ///   - [`dry_run(bool)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
9    /// - On success, responds with [`DisableVgwRoutePropagationOutput`](crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationOutput)
10    /// - On failure, responds with [`SdkError<DisableVgwRoutePropagationError>`](crate::operation::disable_vgw_route_propagation::DisableVgwRoutePropagationError)
11    pub fn disable_vgw_route_propagation(
12        &self,
13    ) -> crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder {
14        crate::operation::disable_vgw_route_propagation::builders::DisableVgwRoutePropagationFluentBuilder::new(self.handle.clone())
15    }
16}