aws_sdk_opsworks/client/
describe_my_user_profile.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 [`DescribeMyUserProfile`](crate::operation::describe_my_user_profile::builders::DescribeMyUserProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_my_user_profile::builders::DescribeMyUserProfileFluentBuilder::send) it.
6    /// - On success, responds with [`DescribeMyUserProfileOutput`](crate::operation::describe_my_user_profile::DescribeMyUserProfileOutput) with field(s):
7    ///   - [`user_profile(Option<SelfUserProfile>)`](crate::operation::describe_my_user_profile::DescribeMyUserProfileOutput::user_profile): <p>A <code>UserProfile</code> object that describes the user's SSH information.</p>
8    /// - On failure, responds with [`SdkError<DescribeMyUserProfileError>`](crate::operation::describe_my_user_profile::DescribeMyUserProfileError)
9    pub fn describe_my_user_profile(&self) -> crate::operation::describe_my_user_profile::builders::DescribeMyUserProfileFluentBuilder {
10        crate::operation::describe_my_user_profile::builders::DescribeMyUserProfileFluentBuilder::new(self.handle.clone())
11    }
12}