Struct aws_sdk_gamelift::client::fluent_builders::CreateMatchmakingRuleSet [−][src]
pub struct CreateMatchmakingRuleSet<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateMatchmakingRuleSet
.
Creates a new rule set for FlexMatch matchmaking. A rule set describes the type of match to create, such as the number and size of teams. It also sets the parameters for acceptable player matches, such as minimum skill level or character type. A rule set is used by a MatchmakingConfiguration.
To create a matchmaking rule set, provide unique rule set name and the rule set body in JSON format. Rule sets must be defined in the same Region as the matchmaking configuration they are used with.
Since matchmaking rule sets cannot be edited, it is a good idea to check the rule set syntax using ValidateMatchmakingRuleSet before creating a new rule set.
Learn more
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
Implementations
impl<C, M, R> CreateMatchmakingRuleSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateMatchmakingRuleSet<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateMatchmakingRuleSetOutput, SdkError<CreateMatchmakingRuleSetError>> where
R::Policy: SmithyRetryPolicy<CreateMatchmakingRuleSetInputOperationOutputAlias, CreateMatchmakingRuleSetOutput, CreateMatchmakingRuleSetError, CreateMatchmakingRuleSetInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateMatchmakingRuleSetOutput, SdkError<CreateMatchmakingRuleSetError>> where
R::Policy: SmithyRetryPolicy<CreateMatchmakingRuleSetInputOperationOutputAlias, CreateMatchmakingRuleSetOutput, CreateMatchmakingRuleSetError, CreateMatchmakingRuleSetInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 name
field in the rule set body.
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 name
field in the rule set body.
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateMatchmakingRuleSet<C, M, R>
impl<C, M, R> Send for CreateMatchmakingRuleSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateMatchmakingRuleSet<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateMatchmakingRuleSet<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateMatchmakingRuleSet<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more