aws_sdk_wellarchitected/client/get_milestone.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 [`GetMilestone`](crate::operation::get_milestone::builders::GetMilestoneFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workload_id(impl Into<String>)`](crate::operation::get_milestone::builders::GetMilestoneFluentBuilder::workload_id) / [`set_workload_id(Option<String>)`](crate::operation::get_milestone::builders::GetMilestoneFluentBuilder::set_workload_id):<br>required: **true**<br><p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p><br>
7 /// - [`milestone_number(i32)`](crate::operation::get_milestone::builders::GetMilestoneFluentBuilder::milestone_number) / [`set_milestone_number(Option<i32>)`](crate::operation::get_milestone::builders::GetMilestoneFluentBuilder::set_milestone_number):<br>required: **true**<br><p>The milestone number.</p> <p>A workload can have a maximum of 100 milestones.</p><br>
8 /// - On success, responds with [`GetMilestoneOutput`](crate::operation::get_milestone::GetMilestoneOutput) with field(s):
9 /// - [`workload_id(Option<String>)`](crate::operation::get_milestone::GetMilestoneOutput::workload_id): <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
10 /// - [`milestone(Option<Milestone>)`](crate::operation::get_milestone::GetMilestoneOutput::milestone): <p>A milestone return object.</p>
11 /// - On failure, responds with [`SdkError<GetMilestoneError>`](crate::operation::get_milestone::GetMilestoneError)
12 pub fn get_milestone(&self) -> crate::operation::get_milestone::builders::GetMilestoneFluentBuilder {
13 crate::operation::get_milestone::builders::GetMilestoneFluentBuilder::new(self.handle.clone())
14 }
15}