aws_sdk_transfer/client/
describe_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeProfile`](crate::operation::describe_profile::builders::DescribeProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DescribeProfileOutput`](crate::operation::describe_profile::DescribeProfileOutput) with field(s):
    ///   - [`profile(Option<DescribedProfile>)`](crate::operation::describe_profile::DescribeProfileOutput::profile): <p>The details of the specified profile, returned as an object.</p>
    /// - On failure, responds with [`SdkError<DescribeProfileError>`](crate::operation::describe_profile::DescribeProfileError)
    pub fn describe_profile(&self) -> crate::operation::describe_profile::builders::DescribeProfileFluentBuilder {
        crate::operation::describe_profile::builders::DescribeProfileFluentBuilder::new(self.handle.clone())
    }
}