aws-sdk-ec2 1.222.0

AWS SDK for Amazon Elastic Compute Cloud
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTransitGatewayPrefixListReferences`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`transit_gateway_route_table_id(impl Into<String>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::transit_gateway_route_table_id) / [`set_transit_gateway_route_table_id(Option<String>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::set_transit_gateway_route_table_id):<br>required: **true**<br><p>The ID of the transit gateway route table.</p><br>
    ///   - [`filters(Filter)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. The possible values are:</p> <ul>  <li>   <p><code>attachment.resource-id</code> - The ID of the resource for the attachment.</p></li>  <li>   <p><code>attachment.resource-type</code> - The type of resource for the attachment. Valid values are <code>vpc</code> | <code>vpn</code> | <code>direct-connect-gateway</code> | <code>peering</code>.</p></li>  <li>   <p><code>attachment.transit-gateway-attachment-id</code> - The ID of the attachment.</p></li>  <li>   <p><code>is-blackhole</code> - Whether traffic matching the route is blocked (<code>true</code> | <code>false</code>).</p></li>  <li>   <p><code>prefix-list-id</code> - The ID of the prefix list.</p></li>  <li>   <p><code>prefix-list-owner-id</code> - The ID of the owner of the prefix list.</p></li>  <li>   <p><code>state</code> - The state of the prefix list reference (<code>pending</code> | <code>available</code> | <code>modifying</code> | <code>deleting</code>).</p></li> </ul><br>
    ///   - [`max_results(i32)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::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::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
    ///   - [`dry_run(bool)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::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 [`GetTransitGatewayPrefixListReferencesOutput`](crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesOutput) with field(s):
    ///   - [`transit_gateway_prefix_list_references(Option<Vec::<TransitGatewayPrefixListReference>>)`](crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesOutput::transit_gateway_prefix_list_references): <p>Information about the prefix list references.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesOutput::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<GetTransitGatewayPrefixListReferencesError>`](crate::operation::get_transit_gateway_prefix_list_references::GetTransitGatewayPrefixListReferencesError)
    pub fn get_transit_gateway_prefix_list_references(
        &self,
    ) -> crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder {
        crate::operation::get_transit_gateway_prefix_list_references::builders::GetTransitGatewayPrefixListReferencesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}