1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`EnableVgwRoutePropagation`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_id(impl Into<String>)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::gateway_id) / [`set_gateway_id(Option<String>)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::set_gateway_id):<br>required: **true**<br><p>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.</p><br>
    ///   - [`route_table_id(impl Into<String>)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::route_table_id) / [`set_route_table_id(Option<String>)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::set_route_table_id):<br>required: **true**<br><p>The ID of the route table. The routing table must be associated with the same VPC that the virtual private gateway is attached to.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::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>
    /// - On success, responds with [`EnableVgwRoutePropagationOutput`](crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationOutput)
    /// - On failure, responds with [`SdkError<EnableVgwRoutePropagationError>`](crate::operation::enable_vgw_route_propagation::EnableVgwRoutePropagationError)
    pub fn enable_vgw_route_propagation(&self) -> crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder {
        crate::operation::enable_vgw_route_propagation::builders::EnableVgwRoutePropagationFluentBuilder::new(self.handle.clone())
    }
}