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 [`CancelLegalHold`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`legal_hold_id(impl Into<String>)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::legal_hold_id) / [`set_legal_hold_id(Option<String>)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::set_legal_hold_id):<br>required: **true**<br><p>Legal hold ID required to remove the specified legal hold on a recovery point.</p><br>
    ///   - [`cancel_description(impl Into<String>)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::cancel_description) / [`set_cancel_description(Option<String>)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::set_cancel_description):<br>required: **true**<br><p>String describing the reason for removing the legal hold.</p><br>
    ///   - [`retain_record_in_days(i64)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::retain_record_in_days) / [`set_retain_record_in_days(Option<i64>)`](crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::set_retain_record_in_days):<br>required: **false**<br><p>The integer amount in days specifying amount of days after this API operation to remove legal hold.</p><br>
    /// - On success, responds with [`CancelLegalHoldOutput`](crate::operation::cancel_legal_hold::CancelLegalHoldOutput)
    /// - On failure, responds with [`SdkError<CancelLegalHoldError>`](crate::operation::cancel_legal_hold::CancelLegalHoldError)
    pub fn cancel_legal_hold(&self) -> crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder {
        crate::operation::cancel_legal_hold::builders::CancelLegalHoldFluentBuilder::new(self.handle.clone())
    }
}