aws_sdk_wellarchitected/client/get_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 [`GetProfile`](crate::operation::get_profile::builders::GetProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetProfileOutput`](crate::operation::get_profile::GetProfileOutput) with field(s):
9 /// - [`profile(Option<Profile>)`](crate::operation::get_profile::GetProfileOutput::profile): <p>The profile.</p>
10 /// - On failure, responds with [`SdkError<GetProfileError>`](crate::operation::get_profile::GetProfileError)
11 pub fn get_profile(&self) -> crate::operation::get_profile::builders::GetProfileFluentBuilder {
12 crate::operation::get_profile::builders::GetProfileFluentBuilder::new(self.handle.clone())
13 }
14}