Struct aws_sdk_gamelift::client::fluent_builders::ListGameServers [−][src]
pub struct ListGameServers<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListGameServers
.
This operation is used with the GameLift FleetIQ solution and game server groups.
Retrieves information on all game servers that are currently active in a specified game server group. You can opt to sort the list by game server age. Use the pagination parameters to retrieve results in a set of sequential segments.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
Implementations
impl<C, M, R> ListGameServers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListGameServers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListGameServersOutput, SdkError<ListGameServersError>> where
R::Policy: SmithyRetryPolicy<ListGameServersInputOperationOutputAlias, ListGameServersOutput, ListGameServersError, ListGameServersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListGameServersOutput, SdkError<ListGameServersError>> where
R::Policy: SmithyRetryPolicy<ListGameServersInputOperationOutputAlias, ListGameServersOutput, ListGameServersError, ListGameServersInputOperationRetryAlias>,
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.
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup name or ARN value.
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup name or ARN value.
Indicates how to sort the returned data based on game server registration timestamp.
Use ASCENDING
to retrieve oldest game servers first, or use
DESCENDING
to retrieve newest game servers first. If this parameter is
left empty, game servers are returned in no particular order.
Indicates how to sort the returned data based on game server registration timestamp.
Use ASCENDING
to retrieve oldest game servers first, or use
DESCENDING
to retrieve newest game servers first. If this parameter is
left empty, game servers are returned in no particular order.
The maximum number of results to return. Use this parameter with NextToken
to get results as a set of sequential pages.
The maximum number of results to return. Use this parameter with NextToken
to get results as a set of sequential pages.
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListGameServers<C, M, R>
impl<C, M, R> Send for ListGameServers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListGameServers<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListGameServers<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListGameServers<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