aws_sdk_gamelift/client/
validate_matchmaking_rule_set.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ValidateMatchmakingRuleSet`](crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`ValidateMatchmakingRuleSetOutput`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetOutput) with field(s):
8    ///   - [`valid(Option<bool>)`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetOutput::valid): <p>A response indicating whether the rule set is valid.</p>
9    /// - On failure, responds with [`SdkError<ValidateMatchmakingRuleSetError>`](crate::operation::validate_matchmaking_rule_set::ValidateMatchmakingRuleSetError)
10    pub fn validate_matchmaking_rule_set(
11        &self,
12    ) -> crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder {
13        crate::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder::new(self.handle.clone())
14    }
15}