aws-sdk-route53 1.63.0

AWS SDK for Amazon Route 53
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 [`GetHealthCheckStatus`](crate::operation::get_health_check_status::builders::GetHealthCheckStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`health_check_id(impl Into<String>)`](crate::operation::get_health_check_status::builders::GetHealthCheckStatusFluentBuilder::health_check_id) / [`set_health_check_id(Option<String>)`](crate::operation::get_health_check_status::builders::GetHealthCheckStatusFluentBuilder::set_health_check_id):<br>required: **true**<br><p>The ID for the health check that you want the current status for. When you created the health check, <code>CreateHealthCheck</code> returned the ID in the response, in the <code>HealthCheckId</code> element.</p><note>  <p>If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use <code>GetHealthCheckStatus</code> to get the status of a calculated health check.</p> </note><br>
    /// - On success, responds with [`GetHealthCheckStatusOutput`](crate::operation::get_health_check_status::GetHealthCheckStatusOutput) with field(s):
    ///   - [`health_check_observations(Vec::<HealthCheckObservation>)`](crate::operation::get_health_check_status::GetHealthCheckStatusOutput::health_check_observations): <p>A list that contains one <code>HealthCheckObservation</code> element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.</p>
    /// - On failure, responds with [`SdkError<GetHealthCheckStatusError>`](crate::operation::get_health_check_status::GetHealthCheckStatusError)
    pub fn get_health_check_status(&self) -> crate::operation::get_health_check_status::builders::GetHealthCheckStatusFluentBuilder {
        crate::operation::get_health_check_status::builders::GetHealthCheckStatusFluentBuilder::new(self.handle.clone())
    }
}