aws-sdk-wellarchitected 1.110.0

AWS SDK for AWS Well-Architected Tool
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgentProfile`](crate::operation::get_agent_profile::builders::GetAgentProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::get_agent_profile::builders::GetAgentProfileFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::get_agent_profile::builders::GetAgentProfileFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the optimization profile to retrieve.</p><br>
    /// - On success, responds with [`GetAgentProfileOutput`](crate::operation::get_agent_profile::GetAgentProfileOutput) with field(s):
    ///   - [`name(String)`](crate::operation::get_agent_profile::GetAgentProfileOutput::name): <p>The system name of the profile.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::display_name): <p>The display name of the profile.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::description): <p>A description of the profile.</p>
    ///   - [`business_overview(Option<String>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::business_overview): <p>The business overview of the profile.</p>
    ///   - [`pillars(Vec::<Pillar>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::pillars): <p>The Well-Architected Tool Framework pillars associated with the profile.</p>
    ///   - [`deletion_protection(bool)`](crate::operation::get_agent_profile::GetAgentProfileOutput::deletion_protection): <p>Indicates whether deletion protection is enabled.</p>
    ///   - [`execution_role_arn(String)`](crate::operation::get_agent_profile::GetAgentProfileOutput::execution_role_arn): <p>The ARN of the IAM execution role.</p>
    ///   - [`aggregation_configuration(Vec::<AggregationConfiguration>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::aggregation_configuration): <p>The aggregation configuration.</p>
    ///   - [`arn(String)`](crate::operation::get_agent_profile::GetAgentProfileOutput::arn): <p>The Amazon Resource Name (ARN) of the profile.</p>
    ///   - [`eligible_for_scheduled_generation(Option<bool>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::eligible_for_scheduled_generation): <p>Indicates whether the profile is valid for scheduled recommendation generation.</p>
    ///   - [`eligible_for_architecture_generation(Option<bool>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::eligible_for_architecture_generation): <p>Indicates whether the profile is valid for manual architecture generation.</p>
    ///   - [`field_errors(Option<HashMap::<String, String>>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::field_errors): <p>A map of field paths to error messages for invalid or missing input fields.</p>
    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::tags): <p>The tags associated with the profile.</p>
    ///   - [`created_by(String)`](crate::operation::get_agent_profile::GetAgentProfileOutput::created_by): <p>The identifier of the user or system that created this profile.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_agent_profile::GetAgentProfileOutput::created_at): <p>The timestamp when the profile was created.</p>
    ///   - [`last_modified_by(Option<String>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::last_modified_by): <p>The identifier of the user or system that last modified this profile.</p>
    ///   - [`last_modified_at(Option<DateTime>)`](crate::operation::get_agent_profile::GetAgentProfileOutput::last_modified_at): <p>The timestamp when the profile was last modified.</p>
    /// - On failure, responds with [`SdkError<GetAgentProfileError>`](crate::operation::get_agent_profile::GetAgentProfileError)
    pub fn get_agent_profile(&self) -> crate::operation::get_agent_profile::builders::GetAgentProfileFluentBuilder {
        crate::operation::get_agent_profile::builders::GetAgentProfileFluentBuilder::new(self.handle.clone())
    }
}