aws_sdk_applicationsignals/client/get_service_level_objective.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 [`GetServiceLevelObjective`](crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder::set_id):<br>required: **true**<br><p>The ARN or name of the SLO that you want to retrieve information about. You can find the ARNs of SLOs by using the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListServiceLevelObjectives.html">ListServiceLevelObjectives</a> operation.</p><br>
7 /// - On success, responds with [`GetServiceLevelObjectiveOutput`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveOutput) with field(s):
8 /// - [`slo(Option<ServiceLevelObjective>)`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveOutput::slo): <p>A structure containing the information about the SLO.</p>
9 /// - On failure, responds with [`SdkError<GetServiceLevelObjectiveError>`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveError)
10 pub fn get_service_level_objective(&self) -> crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder {
11 crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder::new(self.handle.clone())
12 }
13}