aws_sdk_cloudwatchlogs/client/
delete_data_protection_policy.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 [`DeleteDataProtectionPolicy`](crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`log_group_identifier(impl Into<String>)`](crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder::set_log_group_identifier):<br>required: **true**<br><p>The name or ARN of the log group that you want to delete the data protection policy for.</p><br>
    /// - On success, responds with [`DeleteDataProtectionPolicyOutput`](crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicyOutput)
    /// - On failure, responds with [`SdkError<DeleteDataProtectionPolicyError>`](crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicyError)
    pub fn delete_data_protection_policy(
        &self,
    ) -> crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder {
        crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder::new(self.handle.clone())
    }
}