aws_sdk_shield/client/disassociate_health_check.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 [`DisassociateHealthCheck`](crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`protection_id(impl Into<String>)`](crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder::protection_id) / [`set_protection_id(Option<String>)`](crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder::set_protection_id):<br>required: **true**<br><p>The unique identifier (ID) for the <code>Protection</code> object to remove the health check association from.</p><br>
7 /// - [`health_check_arn(impl Into<String>)`](crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder::health_check_arn) / [`set_health_check_arn(Option<String>)`](crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder::set_health_check_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the health check that is associated with the protection.</p><br>
8 /// - On success, responds with [`DisassociateHealthCheckOutput`](crate::operation::disassociate_health_check::DisassociateHealthCheckOutput)
9 /// - On failure, responds with [`SdkError<DisassociateHealthCheckError>`](crate::operation::disassociate_health_check::DisassociateHealthCheckError)
10 pub fn disassociate_health_check(&self) -> crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder {
11 crate::operation::disassociate_health_check::builders::DisassociateHealthCheckFluentBuilder::new(self.handle.clone())
12 }
13}