aws-sdk-ec2 1.243.0

AWS SDK for Amazon Elastic Compute Cloud
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetTransitGatewayPolicyTableEntries`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`transit_gateway_policy_table_id(impl Into<String>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::transit_gateway_policy_table_id) / [`set_transit_gateway_policy_table_id(Option<String>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::set_transit_gateway_policy_table_id):<br>required: **true**<br><p>The ID of the transit gateway policy table.</p><br>
    ///   - [`filters(Filter)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters. The possible values are:</p> <ul>  <li>   <p><code>policy-rule-number</code> - The rule number for the transit gateway policy table entry.</p></li>  <li>   <p><code>target-route-table-id</code> - The ID of the target route table.</p></li>  <li>   <p><code>policy-rule.source-ip</code> - The source CIDR block for the policy rule.</p></li>  <li>   <p><code>policy-rule.destination-ip</code> - The destination CIDR block for the policy rule.</p></li>  <li>   <p><code>policy-rule.source-port</code> - The source port or port range for the policy rule.</p></li>  <li>   <p><code>policy-rule.destination-port</code> - The destination port or port range for the policy rule.</p></li>  <li>   <p><code>policy-rule.protocol</code> - The protocol for the policy rule.</p></li>  <li>   <p><code>policy-rule.meta-data.key</code> - The metadata key for the policy rule.</p></li>  <li>   <p><code>policy-rule.meta-data.value</code> - The metadata value for the policy rule.</p></li> </ul><br>
    ///   - [`max_results(i32)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::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_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::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_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::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 [`GetTransitGatewayPolicyTableEntriesOutput`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesOutput) with field(s):
    ///   - [`transit_gateway_policy_table_entries(Option<Vec::<TransitGatewayPolicyTableEntry>>)`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesOutput::transit_gateway_policy_table_entries): <p>The entries for the transit gateway policy table.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesOutput::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<GetTransitGatewayPolicyTableEntriesError>`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError)
    pub fn get_transit_gateway_policy_table_entries(
        &self,
    ) -> crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder {
        crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}