aws-sdk-applicationsignals 1.80.0

AWS SDK for Amazon CloudWatch Application Signals
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetServiceLevelObjective`](crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetServiceLevelObjectiveOutput`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveOutput) with field(s):
    ///   - [`slo(Option<ServiceLevelObjective>)`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveOutput::slo): <p>A structure containing the information about the SLO.</p>
    /// - On failure, responds with [`SdkError<GetServiceLevelObjectiveError>`](crate::operation::get_service_level_objective::GetServiceLevelObjectiveError)
    pub fn get_service_level_objective(&self) -> crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder {
        crate::operation::get_service_level_objective::builders::GetServiceLevelObjectiveFluentBuilder::new(self.handle.clone())
    }
}