1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAgentRecommendation`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`recommendation_arn(impl Into<String>)`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder::recommendation_arn) / [`set_recommendation_arn(Option<String>)`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder::set_recommendation_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the recommendation to retrieve.</p><br>
/// - [`remediation_type(RemediationType)`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder::remediation_type) / [`set_remediation_type(Option<RemediationType>)`](crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder::set_remediation_type):<br>required: **false**<br><p>Optional filter on remediation type.</p><br>
/// - On success, responds with [`GetAgentRecommendationOutput`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput) with field(s):
/// - [`recommendation_arn(String)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::recommendation_arn): <p>The Amazon Resource Name (ARN) of the recommendation.</p>
/// - [`profile_arn(String)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::profile_arn): <p>The Amazon Resource Name (ARN) of the associated profile.</p>
/// - [`title(String)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::title): <p>The title of the recommendation.</p>
/// - [`description(String)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::description): <p>A description of the recommendation.</p>
/// - [`r#type(RecommendationType)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::type): <p>The type of the recommendation.</p>
/// - [`pillar(Pillar)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::pillar): <p>The Well-Architected Tool Framework pillar that the recommendation addresses.</p>
/// - [`priority(Priority)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::priority): <p>The priority of the recommendation.</p>
/// - [`effort(Effort)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::effort): <p>The effort required to implement the recommendation.</p>
/// - [`status(RecommendationStatus)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::status): <p>The current status of the recommendation.</p>
/// - [`state(RecommendationState)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::state): <p>The current state of the recommendation.</p>
/// - [`update_reason(Option<String>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::update_reason): <p>The free-text reason associated with the recommendation's most recent status update.</p>
/// - [`impact(ImpactCategory)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::impact): <p>The severity of the recommendation's impact.</p>
/// - [`roi(Option<Roi>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::roi): <p>The return on investment estimate for the recommendation.</p>
/// - [`number_of_resources(Option<i32>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::number_of_resources): <p>The number of Amazon Web Services resources this recommendation affects.</p>
/// - [`aws_services(Option<Vec::<String>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::aws_services): <p>The Amazon Web Services services that the recommendation applies to.</p>
/// - [`business_units(Option<Vec::<String>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::business_units): <p>The business units that own the affected resources.</p>
/// - [`applications(Option<Vec::<String>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::applications): <p>The applications that the recommendation targets.</p>
/// - [`impact_details(Vec::<String>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::impact_details): <p>Detailed impact information for the recommendation.</p>
/// - [`insights(Vec::<Insight>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::insights): <p>A list of insights about the recommendation.</p>
/// - [`highlights(Vec::<String>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::highlights): <p>Highlights describing what was detected.</p>
/// - [`remediation_summary(Option<RemediationSummary>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::remediation_summary): <p>A high-level summary of the recommended remediation.</p>
/// - [`cross_pillar_benefits(Option<Vec::<CrossPillarBenefit>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::cross_pillar_benefits): <p>Cross-pillar benefits of acting on the recommendation.</p>
/// - [`trade_offs(Option<Vec::<TradeOff>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::trade_offs): <p>Trade-offs of acting on the recommendation.</p>
/// - [`sources(Option<Vec::<RecommendationSource>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::sources): <p>Sources that generated this recommendation.</p>
/// - [`goals(Option<Vec::<RecommendationGoal>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::goals): <p>Goals that this recommendation targets.</p>
/// - [`tags(Option<Vec::<Tag>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::tags): <p>A set of key-value pairs associated with the recommendation, used for cost allocation and access control.</p>
/// - [`created_by(String)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::created_by): <p>The identifier of the user or system that created this recommendation.</p>
/// - [`created_at(DateTime)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::created_at): <p>The timestamp when the recommendation was created.</p>
/// - [`last_modified_by(Option<String>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::last_modified_by): <p>The identifier of the user or system that last modified this recommendation.</p>
/// - [`last_modified_at(Option<DateTime>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::last_modified_at): <p>The timestamp when the recommendation was last modified.</p>
/// - [`remediations(Option<Vec::<AgentRecommendationRemediation>>)`](crate::operation::get_agent_recommendation::GetAgentRecommendationOutput::remediations): <p>A list of remediations for the recommendation.</p>
/// - On failure, responds with [`SdkError<GetAgentRecommendationError>`](crate::operation::get_agent_recommendation::GetAgentRecommendationError)
pub fn get_agent_recommendation(&self) -> crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder {
crate::operation::get_agent_recommendation::builders::GetAgentRecommendationFluentBuilder::new(self.handle.clone())
}
}