aws-sdk-cloudwatchlogs 0.25.1

AWS SDK for Amazon CloudWatch Logs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// 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): <p>The name or ARN of the log group that you want to delete the data protection policy for.</p>
    /// - 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())
    }
}