Struct aws_sdk_gamelift::client::fluent_builders::StopMatchmaking [−][src]
pub struct StopMatchmaking<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StopMatchmaking
.
Cancels a matchmaking ticket or match backfill ticket that is currently being
processed. To stop the matchmaking operation, specify the ticket ID. If successful, work
on the ticket is stopped, and the ticket status is changed to
CANCELLED
.
This call is also used to turn off automatic backfill for an individual game session.
This is for game sessions that are created with a matchmaking configuration that has
automatic backfill enabled. The ticket ID is included in the MatchmakerData
of an updated game session object, which is provided to the game server.
If the operation is successful, the service sends back an empty JSON struct with the HTTP 200 response (not an empty HTTP body).
Learn more
Add FlexMatch to a game client
Related actions
StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task
Implementations
impl<C, M, R> StopMatchmaking<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StopMatchmaking<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StopMatchmakingOutput, SdkError<StopMatchmakingError>> where
R::Policy: SmithyRetryPolicy<StopMatchmakingInputOperationOutputAlias, StopMatchmakingOutput, StopMatchmakingError, StopMatchmakingInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StopMatchmakingOutput, SdkError<StopMatchmakingError>> where
R::Policy: SmithyRetryPolicy<StopMatchmakingInputOperationOutputAlias, StopMatchmakingOutput, StopMatchmakingError, StopMatchmakingInputOperationRetryAlias>,
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 a matchmaking ticket.
A unique identifier for a matchmaking ticket.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StopMatchmaking<C, M, R>
impl<C, M, R> Send for StopMatchmaking<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StopMatchmaking<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StopMatchmaking<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StopMatchmaking<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