aws_sdk_ec2/client/
describe_transit_gateway_route_tables.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 [`DescribeTransitGatewayRouteTables`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`transit_gateway_route_table_ids(impl Into<String>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::transit_gateway_route_table_ids) / [`set_transit_gateway_route_table_ids(Option<Vec::<String>>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::set_transit_gateway_route_table_ids):<br>required: **false**<br><p>The IDs of the transit gateway route tables.</p><br>
8    ///   - [`filters(Filter)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. The possible values are:</p> <ul>  <li>   <p><code>default-association-route-table</code> - Indicates whether this is the default association route table for the transit gateway (<code>true</code> | <code>false</code>).</p></li>  <li>   <p><code>default-propagation-route-table</code> - Indicates whether this is the default propagation route table for the transit gateway (<code>true</code> | <code>false</code>).</p></li>  <li>   <p><code>state</code> - The state of the route table (<code>available</code> | <code>deleting</code> | <code>deleted</code> | <code>pending</code>).</p></li>  <li>   <p><code>transit-gateway-id</code> - The ID of the transit gateway.</p></li>  <li>   <p><code>transit-gateway-route-table-id</code> - The ID of the transit gateway route table.</p></li> </ul><br>
9    ///   - [`max_results(i32)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
11    ///   - [`dry_run(bool)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::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>
12    /// - On success, responds with [`DescribeTransitGatewayRouteTablesOutput`](crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesOutput) with field(s):
13    ///   - [`transit_gateway_route_tables(Option<Vec::<TransitGatewayRouteTable>>)`](crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesOutput::transit_gateway_route_tables): <p>Information about the transit gateway route tables.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
15    /// - On failure, responds with [`SdkError<DescribeTransitGatewayRouteTablesError>`](crate::operation::describe_transit_gateway_route_tables::DescribeTransitGatewayRouteTablesError)
16    pub fn describe_transit_gateway_route_tables(
17        &self,
18    ) -> crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder {
19        crate::operation::describe_transit_gateway_route_tables::builders::DescribeTransitGatewayRouteTablesFluentBuilder::new(self.handle.clone())
20    }
21}