aws_sdk_datazone/client/get_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetRule`](crate::operation::get_rule::builders::GetRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the <code>GetRule</code> action is to be invoked.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the rule.</p><br>
/// - [`revision(impl Into<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::revision) / [`set_revision(Option<String>)`](crate::operation::get_rule::builders::GetRuleFluentBuilder::set_revision):<br>required: **false**<br><p>The revision of the rule.</p><br>
/// - On success, responds with [`GetRuleOutput`](crate::operation::get_rule::GetRuleOutput) with field(s):
/// - [`identifier(String)`](crate::operation::get_rule::GetRuleOutput::identifier): <p>The ID of the rule.</p>
/// - [`revision(String)`](crate::operation::get_rule::GetRuleOutput::revision): <p>The revision of the rule.</p>
/// - [`name(String)`](crate::operation::get_rule::GetRuleOutput::name): <p>The name of the rule.</p>
/// - [`rule_type(RuleType)`](crate::operation::get_rule::GetRuleOutput::rule_type): <p>The type of the rule.</p>
/// - [`target(Option<RuleTarget>)`](crate::operation::get_rule::GetRuleOutput::target): <p>The target of the rule.</p>
/// - [`action(RuleAction)`](crate::operation::get_rule::GetRuleOutput::action): <p>The action of the rule.</p>
/// - [`scope(Option<RuleScope>)`](crate::operation::get_rule::GetRuleOutput::scope): <p>The scope of the rule.</p>
/// - [`detail(Option<RuleDetail>)`](crate::operation::get_rule::GetRuleOutput::detail): <p>The detail of the rule.</p>
/// - [`target_type(Option<RuleTargetType>)`](crate::operation::get_rule::GetRuleOutput::target_type): <p>The target type of the rule.</p>
/// - [`description(Option<String>)`](crate::operation::get_rule::GetRuleOutput::description): <p>The description of the rule.</p>
/// - [`created_at(DateTime)`](crate::operation::get_rule::GetRuleOutput::created_at): <p>The timestamp at which the rule was created.</p>
/// - [`updated_at(DateTime)`](crate::operation::get_rule::GetRuleOutput::updated_at): <p>The timestamp at which the rule was last updated.</p>
/// - [`created_by(String)`](crate::operation::get_rule::GetRuleOutput::created_by): <p>The user who created the rule.</p>
/// - [`last_updated_by(String)`](crate::operation::get_rule::GetRuleOutput::last_updated_by): <p>The timestamp at which the rule was last updated.</p>
/// - On failure, responds with [`SdkError<GetRuleError>`](crate::operation::get_rule::GetRuleError)
pub fn get_rule(&self) -> crate::operation::get_rule::builders::GetRuleFluentBuilder {
crate::operation::get_rule::builders::GetRuleFluentBuilder::new(self.handle.clone())
}
}