// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetAutomationRuleV2`](crate::operation::get_automation_rule_v2::builders::GetAutomationRuleV2FluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`identifier(impl Into<String>)`](crate::operation::get_automation_rule_v2::builders::GetAutomationRuleV2FluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_automation_rule_v2::builders::GetAutomationRuleV2FluentBuilder::set_identifier):<br>required: **true**<br><p>The ARN of the V2 automation rule.</p><br>
/// - On success, responds with [`GetAutomationRuleV2Output`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output) with field(s):
/// - [`rule_arn(Option<String>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::rule_arn): <p>The ARN of the V2 automation rule.</p>
/// - [`rule_id(Option<String>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::rule_id): <p>The ID of the V2 automation rule.</p>
/// - [`rule_order(Option<f32>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::rule_order): <p>The value for the rule priority.</p>
/// - [`rule_name(Option<String>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::rule_name): <p>The name of the V2 automation rule.</p>
/// - [`rule_status(Option<RuleStatusV2>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::rule_status): <p>The status of the V2 automation automation rule.</p>
/// - [`description(Option<String>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::description): <p>A description of the automation rule.</p>
/// - [`criteria(Option<Criteria>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::criteria): <p>The filtering type and configuration of the V2 automation rule.</p>
/// - [`actions(Option<Vec::<AutomationRulesActionV2>>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::actions): <p>A list of actions performed when the rule criteria is met.</p>
/// - [`created_at(Option<DateTime>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::created_at): <p>The timestamp when the V2 automation rule was created.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Output::updated_at): <p>The timestamp when the V2 automation rule was updated.</p>
/// - On failure, responds with [`SdkError<GetAutomationRuleV2Error>`](crate::operation::get_automation_rule_v2::GetAutomationRuleV2Error)
pub fn get_automation_rule_v2(&self) -> crate::operation::get_automation_rule_v2::builders::GetAutomationRuleV2FluentBuilder {
crate::operation::get_automation_rule_v2::builders::GetAutomationRuleV2FluentBuilder::new(self.handle.clone())
}
}