aws_sdk_devicefarm/client/
list_instance_profiles.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListInstanceProfiles`](crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder::set_max_results):<br>required: **false**<br><p>An integer that specifies the maximum number of items you want to return in the API response.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.</p><br>
    /// - On success, responds with [`ListInstanceProfilesOutput`](crate::operation::list_instance_profiles::ListInstanceProfilesOutput) with field(s):
    ///   - [`instance_profiles(Option<Vec::<InstanceProfile>>)`](crate::operation::list_instance_profiles::ListInstanceProfilesOutput::instance_profiles): <p>An object that contains information about your instance profiles.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_instance_profiles::ListInstanceProfilesOutput::next_token): <p>An identifier that can be used in the next call to this operation to return the next set of items in the list.</p>
    /// - On failure, responds with [`SdkError<ListInstanceProfilesError>`](crate::operation::list_instance_profiles::ListInstanceProfilesError)
    pub fn list_instance_profiles(&self) -> crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder {
        crate::operation::list_instance_profiles::builders::ListInstanceProfilesFluentBuilder::new(self.handle.clone())
    }
}