aws_sdk_gamelift/client/list_game_server_groups.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListGameServerGroups`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`limit(i32)`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::set_limit):<br>required: **false**<br><p>The game server groups' limit.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>Specify the pagination token from a previous request to retrieve the next page of results.</p><br>
9 /// - On success, responds with [`ListGameServerGroupsOutput`](crate::operation::list_game_server_groups::ListGameServerGroupsOutput) with field(s):
10 /// - [`game_server_groups(Option<Vec::<GameServerGroup>>)`](crate::operation::list_game_server_groups::ListGameServerGroupsOutput::game_server_groups): <p>The game server groups' game server groups.</p>
11 /// - [`next_token(Option<String>)`](crate::operation::list_game_server_groups::ListGameServerGroupsOutput::next_token): <p>Specify the pagination token from a previous request to retrieve the next page of results.</p>
12 /// - On failure, responds with [`SdkError<ListGameServerGroupsError>`](crate::operation::list_game_server_groups::ListGameServerGroupsError)
13 pub fn list_game_server_groups(&self) -> crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder {
14 crate::operation::list_game_server_groups::builders::ListGameServerGroupsFluentBuilder::new(self.handle.clone())
15 }
16}