aws_sdk_transfer/client/
describe_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 [`DescribeProfile`](crate::operation::describe_profile::builders::DescribeProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`profile_id(impl Into<String>)`](crate::operation::describe_profile::builders::DescribeProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::describe_profile::builders::DescribeProfileFluentBuilder::set_profile_id):<br>required: **true**<br><p>The identifier of the profile that you want described.</p><br>
7    /// - On success, responds with [`DescribeProfileOutput`](crate::operation::describe_profile::DescribeProfileOutput) with field(s):
8    ///   - [`profile(Option<DescribedProfile>)`](crate::operation::describe_profile::DescribeProfileOutput::profile): <p>The details of the specified profile, returned as an object.</p>
9    /// - On failure, responds with [`SdkError<DescribeProfileError>`](crate::operation::describe_profile::DescribeProfileError)
10    pub fn describe_profile(&self) -> crate::operation::describe_profile::builders::DescribeProfileFluentBuilder {
11        crate::operation::describe_profile::builders::DescribeProfileFluentBuilder::new(self.handle.clone())
12    }
13}