1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeMovingAddresses`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(Filter)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::set_filters):<br>required: **false**<br><p>One or more filters.</p> <ul>  <li>   <p><code>moving-status</code> - The status of the Elastic IP address (<code>MovingToVpc</code> | <code>RestoringToClassic</code>).</p></li> </ul><br>
    ///   - [`dry_run(bool)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::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>
    ///   - [`max_results(i32)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned <code>NextToken</code> value. This value can be between 5 and 1000; if <code>MaxResults</code> is given a value outside of this range, an error is returned.</p> <p>Default: If no value is provided, the default is 1000.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next page of results.</p><br>
    ///   - [`public_ips(impl Into<String>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::public_ips) / [`set_public_ips(Option<Vec::<String>>)`](crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::set_public_ips):<br>required: **false**<br><p>One or more Elastic IP addresses.</p><br>
    /// - On success, responds with [`DescribeMovingAddressesOutput`](crate::operation::describe_moving_addresses::DescribeMovingAddressesOutput) with field(s):
    ///   - [`moving_address_statuses(Option<Vec::<MovingAddressStatus>>)`](crate::operation::describe_moving_addresses::DescribeMovingAddressesOutput::moving_address_statuses): <p>The status for each Elastic IP address.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_moving_addresses::DescribeMovingAddressesOutput::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<DescribeMovingAddressesError>`](crate::operation::describe_moving_addresses::DescribeMovingAddressesError)
    pub fn describe_moving_addresses(&self) -> crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder {
        crate::operation::describe_moving_addresses::builders::DescribeMovingAddressesFluentBuilder::new(self.handle.clone())
    }
}