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 [`CreateMatchmakingRuleSet`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::set_name):<br>required: **true**<br><p>A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by this name value. Note that the rule set name is different from the optional <code>name</code> field in the rule set body.</p><br>
    ///   - [`rule_set_body(impl Into<String>)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::rule_set_body) / [`set_rule_set_body(Option<String>)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::set_rule_set_body):<br>required: **true**<br><p>A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::set_tags):<br>required: **false**<br><p>A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging Amazon Web Services Resources</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
    /// - On success, responds with [`CreateMatchmakingRuleSetOutput`](crate::operation::create_matchmaking_rule_set::CreateMatchmakingRuleSetOutput) with field(s):
    ///   - [`rule_set(Option<MatchmakingRuleSet>)`](crate::operation::create_matchmaking_rule_set::CreateMatchmakingRuleSetOutput::rule_set): <p>The newly created matchmaking rule set.</p>
    /// - On failure, responds with [`SdkError<CreateMatchmakingRuleSetError>`](crate::operation::create_matchmaking_rule_set::CreateMatchmakingRuleSetError)
    pub fn create_matchmaking_rule_set(&self) -> crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder {
        crate::operation::create_matchmaking_rule_set::builders::CreateMatchmakingRuleSetFluentBuilder::new(self.handle.clone())
    }
}