1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListVirtualMFADevices`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`assignment_status(AssignmentStatusType)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::assignment_status) / [`set_assignment_status(Option<AssignmentStatusType>)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::set_assignment_status):<br>required: **false**<br><p> The status (<code>Unassigned</code> or <code>Assigned</code>) of the devices to list. If you do not specify an <code>AssignmentStatus</code>, the operation defaults to <code>Any</code>, which lists both assigned and unassigned virtual MFA devices.,</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::set_marker):<br>required: **false**<br><p>Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the <code>Marker</code> element in the response that you received to indicate where the next call should start.</p><br>
    ///   - [`max_items(i32)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::set_max_items):<br>required: **false**<br><p>Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the <code>IsTruncated</code> response element is <code>true</code>.</p>  <p>If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the <code>IsTruncated</code> response element returns <code>true</code>, and <code>Marker</code> contains a value to include in the subsequent call that tells the service where to continue from.</p><br>
    /// - On success, responds with [`ListVirtualMfaDevicesOutput`](crate::operation::list_virtual_mfa_devices::ListVirtualMfaDevicesOutput) with field(s):
    ///   - [`virtual_mfa_devices(Vec::<VirtualMfaDevice>)`](crate::operation::list_virtual_mfa_devices::ListVirtualMfaDevicesOutput::virtual_mfa_devices): <p> The list of virtual MFA devices in the current account that match the <code>AssignmentStatus</code> value that was passed in the request.</p>
    ///   - [`is_truncated(bool)`](crate::operation::list_virtual_mfa_devices::ListVirtualMfaDevicesOutput::is_truncated): <p>A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the <code>Marker</code> request parameter to retrieve more items. Note that IAM might return fewer than the <code>MaxItems</code> number of results even when there are more results available. We recommend that you check <code>IsTruncated</code> after every call to ensure that you receive all your results.</p>
    ///   - [`marker(Option<String>)`](crate::operation::list_virtual_mfa_devices::ListVirtualMfaDevicesOutput::marker): <p>When <code>IsTruncated</code> is <code>true</code>, this element is present and contains the value to use for the <code>Marker</code> parameter in a subsequent pagination request.</p>
    /// - On failure, responds with [`SdkError<ListVirtualMFADevicesError>`](crate::operation::list_virtual_mfa_devices::ListVirtualMFADevicesError)
    pub fn list_virtual_mfa_devices(&self) -> crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder {
        crate::operation::list_virtual_mfa_devices::builders::ListVirtualMFADevicesFluentBuilder::new(self.handle.clone())
    }
}