aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateGoal`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier for the agent space containing the goal<br>
    ///   - [`goal_id(impl Into<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::goal_id) / [`set_goal_id(Option<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::set_goal_id):<br>required: **true**<br>The unique identifier of the goal to update<br>
    ///   - [`evaluation_schedule(GoalScheduleInput)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::evaluation_schedule) / [`set_evaluation_schedule(Option<GoalScheduleInput>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::set_evaluation_schedule):<br>required: **false**<br>Update goal schedule state<br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_goal::builders::UpdateGoalFluentBuilder::set_client_token):<br>required: **false**<br>Client-provided token for idempotent operations<br>
    /// - On success, responds with [`UpdateGoalOutput`](crate::operation::update_goal::UpdateGoalOutput) with field(s):
    ///   - [`goal(Option<Goal>)`](crate::operation::update_goal::UpdateGoalOutput::goal): The updated goal object
    /// - On failure, responds with [`SdkError<UpdateGoalError>`](crate::operation::update_goal::UpdateGoalError)
    pub fn update_goal(&self) -> crate::operation::update_goal::builders::UpdateGoalFluentBuilder {
        crate::operation::update_goal::builders::UpdateGoalFluentBuilder::new(self.handle.clone())
    }
}