aws-sdk-wellarchitected 1.110.0

AWS SDK for AWS Well-Architected Tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAgentGoal`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile to associate the goal with.</p><br>
    ///   - [`pillars(Pillar)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::pillars) / [`set_pillars(Option<Vec::<Pillar>>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::set_pillars):<br>required: **true**<br><p>The Well-Architected Tool Framework pillars to associate with this goal.</p><br>
    ///   - [`title(impl Into<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::title) / [`set_title(Option<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::set_title):<br>required: **true**<br><p>The title of the goal.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::set_description):<br>required: **false**<br><p>A description of the goal.</p><br>
    /// - On success, responds with [`CreateAgentGoalOutput`](crate::operation::create_agent_goal::CreateAgentGoalOutput) with field(s):
    ///   - [`goal(Option<GoalSummary>)`](crate::operation::create_agent_goal::CreateAgentGoalOutput::goal): <p>The created goal summary.</p>
    /// - On failure, responds with [`SdkError<CreateAgentGoalError>`](crate::operation::create_agent_goal::CreateAgentGoalError)
    pub fn create_agent_goal(&self) -> crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder {
        crate::operation::create_agent_goal::builders::CreateAgentGoalFluentBuilder::new(self.handle.clone())
    }
}