aws_sdk_rds/client/
disable_http_endpoint.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableHttpEndpoint`](crate::operation::disable_http_endpoint::builders::DisableHttpEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::disable_http_endpoint::builders::DisableHttpEndpointFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::disable_http_endpoint::builders::DisableHttpEndpointFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the DB cluster.</p><br>
    /// - On success, responds with [`DisableHttpEndpointOutput`](crate::operation::disable_http_endpoint::DisableHttpEndpointOutput) with field(s):
    ///   - [`resource_arn(Option<String>)`](crate::operation::disable_http_endpoint::DisableHttpEndpointOutput::resource_arn): <p>The ARN of the DB cluster.</p>
    ///   - [`http_endpoint_enabled(Option<bool>)`](crate::operation::disable_http_endpoint::DisableHttpEndpointOutput::http_endpoint_enabled): <p>Indicates whether the HTTP endpoint is enabled or disabled for the DB cluster.</p>
    /// - On failure, responds with [`SdkError<DisableHttpEndpointError>`](crate::operation::disable_http_endpoint::DisableHttpEndpointError)
    pub fn disable_http_endpoint(&self) -> crate::operation::disable_http_endpoint::builders::DisableHttpEndpointFluentBuilder {
        crate::operation::disable_http_endpoint::builders::DisableHttpEndpointFluentBuilder::new(self.handle.clone())
    }
}