aws_sdk_ec2/client/
describe_ipam_prefix_list_resolvers.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 [`DescribeIpamPrefixListResolvers`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`dry_run(bool)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::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>
8    ///   - [`filters(Filter)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters to limit the results.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::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>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
11    ///   - [`ipam_prefix_list_resolver_ids(impl Into<String>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::ipam_prefix_list_resolver_ids) / [`set_ipam_prefix_list_resolver_ids(Option<Vec::<String>>)`](crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::set_ipam_prefix_list_resolver_ids):<br>required: **false**<br><p>The IDs of the IPAM prefix list resolvers to describe. If not specified, all resolvers in your account are described.</p><br>
12    /// - On success, responds with [`DescribeIpamPrefixListResolversOutput`](crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversOutput) with field(s):
13    ///   - [`next_token(Option<String>)`](crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversOutput::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>
14    ///   - [`ipam_prefix_list_resolvers(Option<Vec::<IpamPrefixListResolver>>)`](crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversOutput::ipam_prefix_list_resolvers): <p>Information about the IPAM prefix list resolvers.</p>
15    /// - On failure, responds with [`SdkError<DescribeIpamPrefixListResolversError>`](crate::operation::describe_ipam_prefix_list_resolvers::DescribeIpamPrefixListResolversError)
16    pub fn describe_ipam_prefix_list_resolvers(
17        &self,
18    ) -> crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder {
19        crate::operation::describe_ipam_prefix_list_resolvers::builders::DescribeIpamPrefixListResolversFluentBuilder::new(self.handle.clone())
20    }
21}