aws_sdk_xray/client/
update_indexing_rule.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateIndexingRule`](crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder::set_name):<br>required: **true**<br><p>Name of the indexing rule to be updated.</p><br>
    ///   - [`rule(IndexingRuleValueUpdate)`](crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder::rule) / [`set_rule(Option<IndexingRuleValueUpdate>)`](crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder::set_rule):<br>required: **true**<br><p>Rule configuration to be updated.</p><br>
    /// - On success, responds with [`UpdateIndexingRuleOutput`](crate::operation::update_indexing_rule::UpdateIndexingRuleOutput) with field(s):
    ///   - [`indexing_rule(Option<IndexingRule>)`](crate::operation::update_indexing_rule::UpdateIndexingRuleOutput::indexing_rule): <p>Updated indexing rule.</p>
    /// - On failure, responds with [`SdkError<UpdateIndexingRuleError>`](crate::operation::update_indexing_rule::UpdateIndexingRuleError)
    pub fn update_indexing_rule(&self) -> crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder {
        crate::operation::update_indexing_rule::builders::UpdateIndexingRuleFluentBuilder::new(self.handle.clone())
    }
}