Smaws_Client_GameLift.UpdateGameSessionThis API works with the following fleet types: EC2, Anywhere, Container
Updates the mutable properties of a game session.
To update a game session, specify the game session ID and the values you want to change.
If successful, the updated GameSession object is returned.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidGameSessionStatusException of
Types.invalid_game_session_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `NotReadyException of Types.not_ready_exception
| `UnauthorizedException of Types.unauthorized_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_game_session_input ->
(Types.update_game_session_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidGameSessionStatusException of
Types.invalid_game_session_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `NotReadyException of Types.not_ready_exception
| `UnauthorizedException of Types.unauthorized_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_game_session_input ->
(Types.update_game_session_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `InternalServiceException of Types.internal_service_exception
| `InvalidGameSessionStatusException of
Types.invalid_game_session_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NotFoundException of Types.not_found_exception
| `NotReadyException of Types.not_ready_exception
| `UnauthorizedException of Types.unauthorized_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result