aws_sdk_wellarchitected/client/
get_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetProfile`](crate::operation::get_profile::builders::GetProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The profile ARN.</p><br>
    ///   - [`profile_version(impl Into<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::profile_version) / [`set_profile_version(Option<String>)`](crate::operation::get_profile::builders::GetProfileFluentBuilder::set_profile_version):<br>required: **false**<br><p>The profile version.</p><br>
    /// - On success, responds with [`GetProfileOutput`](crate::operation::get_profile::GetProfileOutput) with field(s):
    ///   - [`profile(Option<Profile>)`](crate::operation::get_profile::GetProfileOutput::profile): <p>The profile.</p>
    /// - On failure, responds with [`SdkError<GetProfileError>`](crate::operation::get_profile::GetProfileError)
    pub fn get_profile(&self) -> crate::operation::get_profile::builders::GetProfileFluentBuilder {
        crate::operation::get_profile::builders::GetProfileFluentBuilder::new(self.handle.clone())
    }
}