// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreatePlayerSession`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`game_session_id(impl ::std::convert::Into<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::game_session_id) / [`set_game_session_id(Option<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::set_game_session_id): <p>A unique identifier for the game session to add a player to.</p>
/// - [`player_id(impl ::std::convert::Into<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::player_id) / [`set_player_id(Option<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::set_player_id): <p>A unique identifier for a player. Player IDs are developer-defined.</p>
/// - [`player_data(impl ::std::convert::Into<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::player_data) / [`set_player_data(Option<String>)`](crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::set_player_data): <p>Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.</p>
/// - On success, responds with [`CreatePlayerSessionOutput`](crate::operation::create_player_session::CreatePlayerSessionOutput) with field(s):
/// - [`player_session(Option<PlayerSession>)`](crate::operation::create_player_session::CreatePlayerSessionOutput::player_session): <p>Object that describes the newly created player session record.</p>
/// - On failure, responds with [`SdkError<CreatePlayerSessionError>`](crate::operation::create_player_session::CreatePlayerSessionError)
pub fn create_player_session(&self) -> crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder {
crate::operation::create_player_session::builders::CreatePlayerSessionFluentBuilder::new(self.handle.clone())
}
}