1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ValidateMatchmakingRuleSet`](crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rule_set_body(impl Into<String>)`](crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder::rule_set_body) / [`set_rule_set_body(Option<String>)`](crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder::set_rule_set_body):<br>required: **true**<br><p>A collection of matchmaking rules to validate, formatted as a JSON string.</p><br>
    /// - On success, responds with [`ValidateMatchmakingRuleSetOutput`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetOutput) with field(s):
    ///   - [`valid(Option<bool>)`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetOutput::valid): <p>A response indicating whether the rule set is valid.</p>
    /// - On failure, responds with [`SdkError<ValidateMatchmakingRuleSetError>`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetError)
    pub fn validate_matchmaking_rule_set(
        &self,
    ) -> crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder {
        crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder::new(self.handle.clone())
    }
}