// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetCustomRulePolicy`](crate::operation::get_custom_rule_policy::builders::GetCustomRulePolicyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`config_rule_name(impl Into<String>)`](crate::operation::get_custom_rule_policy::builders::GetCustomRulePolicyFluentBuilder::config_rule_name) / [`set_config_rule_name(Option<String>)`](crate::operation::get_custom_rule_policy::builders::GetCustomRulePolicyFluentBuilder::set_config_rule_name): <p>The name of your Config Custom Policy rule.</p>
/// - On success, responds with [`GetCustomRulePolicyOutput`](crate::operation::get_custom_rule_policy::GetCustomRulePolicyOutput) with field(s):
/// - [`policy_text(Option<String>)`](crate::operation::get_custom_rule_policy::GetCustomRulePolicyOutput::policy_text): <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
/// - On failure, responds with [`SdkError<GetCustomRulePolicyError>`](crate::operation::get_custom_rule_policy::GetCustomRulePolicyError)
pub fn get_custom_rule_policy(
&self,
) -> crate::operation::get_custom_rule_policy::builders::GetCustomRulePolicyFluentBuilder {
crate::operation::get_custom_rule_policy::builders::GetCustomRulePolicyFluentBuilder::new(
self.handle.clone(),
)
}
}