1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInstanceProfile`](crate::operation::get_instance_profile::builders::GetInstanceProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`arn(impl Into<String>)`](crate::operation::get_instance_profile::builders::GetInstanceProfileFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_instance_profile::builders::GetInstanceProfileFluentBuilder::set_arn): <p>The Amazon Resource Name (ARN) of an instance profile.</p>
    /// - On success, responds with [`GetInstanceProfileOutput`](crate::operation::get_instance_profile::GetInstanceProfileOutput) with field(s):
    ///   - [`instance_profile(Option<InstanceProfile>)`](crate::operation::get_instance_profile::GetInstanceProfileOutput::instance_profile): <p>An object that contains information about an instance profile.</p>
    /// - On failure, responds with [`SdkError<GetInstanceProfileError>`](crate::operation::get_instance_profile::GetInstanceProfileError)
    pub fn get_instance_profile(
        &self,
    ) -> crate::operation::get_instance_profile::builders::GetInstanceProfileFluentBuilder {
        crate::operation::get_instance_profile::builders::GetInstanceProfileFluentBuilder::new(
            self.handle.clone(),
        )
    }
}