Struct aws_sdk_gamelift::operation::stop_matchmaking::builders::StopMatchmakingFluentBuilder
source · pub struct StopMatchmakingFluentBuilder { /* private fields */ }
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
Implementations§
source§impl StopMatchmakingFluentBuilder
impl StopMatchmakingFluentBuilder
sourcepub fn as_input(&self) -> &StopMatchmakingInputBuilder
pub fn as_input(&self) -> &StopMatchmakingInputBuilder
Access the StopMatchmaking as a reference.
sourcepub async fn send(
self
) -> Result<StopMatchmakingOutput, SdkError<StopMatchmakingError, HttpResponse>>
pub async fn send( self ) -> Result<StopMatchmakingOutput, SdkError<StopMatchmakingError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<StopMatchmakingOutput, StopMatchmakingError, Self>
pub fn customize( self ) -> CustomizableOperation<StopMatchmakingOutput, StopMatchmakingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn ticket_id(self, input: impl Into<String>) -> Self
pub fn ticket_id(self, input: impl Into<String>) -> Self
A unique identifier for a matchmaking ticket.
sourcepub fn set_ticket_id(self, input: Option<String>) -> Self
pub fn set_ticket_id(self, input: Option<String>) -> Self
A unique identifier for a matchmaking ticket.
sourcepub fn get_ticket_id(&self) -> &Option<String>
pub fn get_ticket_id(&self) -> &Option<String>
A unique identifier for a matchmaking ticket.
Trait Implementations§
source§impl Clone for StopMatchmakingFluentBuilder
impl Clone for StopMatchmakingFluentBuilder
source§fn clone(&self) -> StopMatchmakingFluentBuilder
fn clone(&self) -> StopMatchmakingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StopMatchmakingFluentBuilder
impl !RefUnwindSafe for StopMatchmakingFluentBuilder
impl Send for StopMatchmakingFluentBuilder
impl Sync for StopMatchmakingFluentBuilder
impl Unpin for StopMatchmakingFluentBuilder
impl !UnwindSafe for StopMatchmakingFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more