// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDataProtectionPolicy`](crate::operation::get_data_protection_policy::builders::GetDataProtectionPolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`log_group_identifier(impl Into<String>)`](crate::operation::get_data_protection_policy::builders::GetDataProtectionPolicyFluentBuilder::log_group_identifier) / [`set_log_group_identifier(Option<String>)`](crate::operation::get_data_protection_policy::builders::GetDataProtectionPolicyFluentBuilder::set_log_group_identifier): <p>The name or ARN of the log group that contains the data protection policy that you want to see.</p>
/// - On success, responds with [`GetDataProtectionPolicyOutput`](crate::operation::get_data_protection_policy::GetDataProtectionPolicyOutput) with field(s):
/// - [`log_group_identifier(Option<String>)`](crate::operation::get_data_protection_policy::GetDataProtectionPolicyOutput::log_group_identifier): <p>The log group name or ARN that you specified in your request.</p>
/// - [`policy_document(Option<String>)`](crate::operation::get_data_protection_policy::GetDataProtectionPolicyOutput::policy_document): <p>The data protection policy document for this log group.</p>
/// - [`last_updated_time(Option<i64>)`](crate::operation::get_data_protection_policy::GetDataProtectionPolicyOutput::last_updated_time): <p>The date and time that this policy was most recently updated.</p>
/// - On failure, responds with [`SdkError<GetDataProtectionPolicyError>`](crate::operation::get_data_protection_policy::GetDataProtectionPolicyError)
pub fn get_data_protection_policy(
&self,
) -> crate::operation::get_data_protection_policy::builders::GetDataProtectionPolicyFluentBuilder
{
crate::operation::get_data_protection_policy::builders::GetDataProtectionPolicyFluentBuilder::new(self.handle.clone())
}
}