aws_sdk_xray/client/update_sampling_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSamplingRule`](crate::operation::update_sampling_rule::builders::UpdateSamplingRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`sampling_rule_update(SamplingRuleUpdate)`](crate::operation::update_sampling_rule::builders::UpdateSamplingRuleFluentBuilder::sampling_rule_update) / [`set_sampling_rule_update(Option<SamplingRuleUpdate>)`](crate::operation::update_sampling_rule::builders::UpdateSamplingRuleFluentBuilder::set_sampling_rule_update):<br>required: **true**<br><p>The rule and fields to change.</p><br>
/// - On success, responds with [`UpdateSamplingRuleOutput`](crate::operation::update_sampling_rule::UpdateSamplingRuleOutput) with field(s):
/// - [`sampling_rule_record(Option<SamplingRuleRecord>)`](crate::operation::update_sampling_rule::UpdateSamplingRuleOutput::sampling_rule_record): <p>The updated rule definition and metadata.</p>
/// - On failure, responds with [`SdkError<UpdateSamplingRuleError>`](crate::operation::update_sampling_rule::UpdateSamplingRuleError)
pub fn update_sampling_rule(&self) -> crate::operation::update_sampling_rule::builders::UpdateSamplingRuleFluentBuilder {
crate::operation::update_sampling_rule::builders::UpdateSamplingRuleFluentBuilder::new(self.handle.clone())
}
}