aws_sdk_rds/client/
enable_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 [`EnableHttpEndpoint`](crate::operation::enable_http_endpoint::builders::EnableHttpEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_arn(impl Into<String>)`](crate::operation::enable_http_endpoint::builders::EnableHttpEndpointFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::enable_http_endpoint::builders::EnableHttpEndpointFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the DB cluster.</p><br>
    /// - On success, responds with [`EnableHttpEndpointOutput`](crate::operation::enable_http_endpoint::EnableHttpEndpointOutput) with field(s):
    ///   - [`resource_arn(Option<String>)`](crate::operation::enable_http_endpoint::EnableHttpEndpointOutput::resource_arn): <p>The ARN of the DB cluster.</p>
    ///   - [`http_endpoint_enabled(Option<bool>)`](crate::operation::enable_http_endpoint::EnableHttpEndpointOutput::http_endpoint_enabled): <p>Indicates whether the HTTP endpoint is enabled or disabled for the DB cluster.</p>
    /// - On failure, responds with [`SdkError<EnableHttpEndpointError>`](crate::operation::enable_http_endpoint::EnableHttpEndpointError)
    pub fn enable_http_endpoint(&self) -> crate::operation::enable_http_endpoint::builders::EnableHttpEndpointFluentBuilder {
        crate::operation::enable_http_endpoint::builders::EnableHttpEndpointFluentBuilder::new(self.handle.clone())
    }
}