Struct aws_sdk_gamelift::client::fluent_builders::DeregisterGameServer [−][src]
pub struct DeregisterGameServer<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeregisterGameServer
.
This operation is used with the GameLift FleetIQ solution and game server groups.
Removes the game server from a game server group. As a result of this operation, the deregistered game server can no longer be claimed and will not be returned in a list of active game servers.
To deregister a game server, specify the game server group and game server ID. If successful, this operation emits a CloudWatch event with termination timestamp and reason.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
Implementations
impl<C, M, R> DeregisterGameServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeregisterGameServer<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeregisterGameServerOutput, SdkError<DeregisterGameServerError>> where
R::Policy: SmithyRetryPolicy<DeregisterGameServerInputOperationOutputAlias, DeregisterGameServerOutput, DeregisterGameServerError, DeregisterGameServerInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeregisterGameServerOutput, SdkError<DeregisterGameServerError>> where
R::Policy: SmithyRetryPolicy<DeregisterGameServerInputOperationOutputAlias, DeregisterGameServerOutput, DeregisterGameServerError, DeregisterGameServerInputOperationRetryAlias>,
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 game server group where the game server is running. Use either the GameServerGroup name or ARN value.
A unique identifier for the game server group where the game server is running. Use either the GameServerGroup name or ARN value.
A custom string that uniquely identifies the game server to deregister.
A custom string that uniquely identifies the game server to deregister.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeregisterGameServer<C, M, R>
impl<C, M, R> Send for DeregisterGameServer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeregisterGameServer<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeregisterGameServer<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeregisterGameServer<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