1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeTransitGateways`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`transit_gateway_ids(impl Into<String>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::transit_gateway_ids) / [`set_transit_gateway_ids(Option<Vec::<String>>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::set_transit_gateway_ids):<br>required: **false**<br><p>The IDs of the transit gateways.</p><br>
    ///   - [`filters(Filter)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. The possible values are:</p> <ul>  <li>   <p><code>options.propagation-default-route-table-id</code> - The ID of the default propagation route table.</p></li>  <li>   <p><code>options.amazon-side-asn</code> - The private ASN for the Amazon side of a BGP session.</p></li>  <li>   <p><code>options.association-default-route-table-id</code> - The ID of the default association route table.</p></li>  <li>   <p><code>options.auto-accept-shared-attachments</code> - Indicates whether there is automatic acceptance of attachment requests (<code>enable</code> | <code>disable</code>).</p></li>  <li>   <p><code>options.default-route-table-association</code> - Indicates whether resource attachments are automatically associated with the default association route table (<code>enable</code> | <code>disable</code>).</p></li>  <li>   <p><code>options.default-route-table-propagation</code> - Indicates whether resource attachments automatically propagate routes to the default propagation route table (<code>enable</code> | <code>disable</code>).</p></li>  <li>   <p><code>options.dns-support</code> - Indicates whether DNS support is enabled (<code>enable</code> | <code>disable</code>).</p></li>  <li>   <p><code>options.vpn-ecmp-support</code> - Indicates whether Equal Cost Multipath Protocol support is enabled (<code>enable</code> | <code>disable</code>).</p></li>  <li>   <p><code>owner-id</code> - The ID of the Amazon Web Services account that owns the transit gateway.</p></li>  <li>   <p><code>state</code> - The state of the transit gateway (<code>available</code> | <code>deleted</code> | <code>deleting</code> | <code>modifying</code> | <code>pending</code>).</p></li>  <li>   <p><code>transit-gateway-id</code> - The ID of the transit gateway.</p></li>  <li>   <p><code>tag-key </code>- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p></li> </ul><br>
    ///   - [`max_results(i32)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::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>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::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 [`DescribeTransitGatewaysOutput`](crate::operation::describe_transit_gateways::DescribeTransitGatewaysOutput) with field(s):
    ///   - [`transit_gateways(Option<Vec::<TransitGateway>>)`](crate::operation::describe_transit_gateways::DescribeTransitGatewaysOutput::transit_gateways): <p>Information about the transit gateways.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_transit_gateways::DescribeTransitGatewaysOutput::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>
    /// - On failure, responds with [`SdkError<DescribeTransitGatewaysError>`](crate::operation::describe_transit_gateways::DescribeTransitGatewaysError)
    pub fn describe_transit_gateways(&self) -> crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder {
        crate::operation::describe_transit_gateways::builders::DescribeTransitGatewaysFluentBuilder::new(self.handle.clone())
    }
}