aws_sdk_cloudwatchlogs/client/delete_data_protection_policy.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 [`DeleteDataProtectionPolicy`](crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`DeleteDataProtectionPolicyOutput`](crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicyOutput)
8 /// - On failure, responds with [`SdkError<DeleteDataProtectionPolicyError>`](crate::operation::delete_data_protection_policy::DeleteDataProtectionPolicyError)
9 pub fn delete_data_protection_policy(
10 &self,
11 ) -> crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder {
12 crate::operation::delete_data_protection_policy::builders::DeleteDataProtectionPolicyFluentBuilder::new(self.handle.clone())
13 }
14}