aws_sdk_ec2/client/
get_transit_gateway_policy_table_entries.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 [`GetTransitGatewayPolicyTableEntries`](crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>The filters associated with the transit gateway policy table.</p><br>
8    ///   - [`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>
9    ///   - [`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>
10    ///   - [`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>
11    /// - On success, responds with [`GetTransitGatewayPolicyTableEntriesOutput`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesOutput) with field(s):
12    ///   - [`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>
13    /// - On failure, responds with [`SdkError<GetTransitGatewayPolicyTableEntriesError>`](crate::operation::get_transit_gateway_policy_table_entries::GetTransitGatewayPolicyTableEntriesError)
14    pub fn get_transit_gateway_policy_table_entries(
15        &self,
16    ) -> crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder {
17        crate::operation::get_transit_gateway_policy_table_entries::builders::GetTransitGatewayPolicyTableEntriesFluentBuilder::new(
18            self.handle.clone(),
19        )
20    }
21}