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 [`GetIpamPrefixListResolverRules`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for 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>
    ///   - [`ipam_prefix_list_resolver_id(impl Into<String>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::ipam_prefix_list_resolver_id) / [`set_ipam_prefix_list_resolver_id(Option<String>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::set_ipam_prefix_list_resolver_id):<br>required: **true**<br><p>The ID of the IPAM prefix list resolver whose rules you want to retrieve.</p><br>
    ///   - [`filters(Filter)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters to limit the results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
    /// - On success, responds with [`GetIpamPrefixListResolverRulesOutput`](crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesOutput) with field(s):
    ///   - [`rules(Option<Vec::<IpamPrefixListResolverRule>>)`](crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesOutput::rules): <p>The CIDR selection rules for the IPAM prefix list resolver.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesOutput::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<GetIpamPrefixListResolverRulesError>`](crate::operation::get_ipam_prefix_list_resolver_rules::GetIpamPrefixListResolverRulesError)
    pub fn get_ipam_prefix_list_resolver_rules(
        &self,
    ) -> crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder {
        crate::operation::get_ipam_prefix_list_resolver_rules::builders::GetIpamPrefixListResolverRulesFluentBuilder::new(self.handle.clone())
    }
}