update_game_session_queue
async
¶
update_game_session_queue(
*,
config_overrides: Optional[AsyncGameLiftClientConfig] = None,
name: Optional[GameSessionQueueNameOrArn] = None,
timeout_in_seconds: Optional[WholeNumber] = None,
player_latency_policies: Optional[PlayerLatencyPolicyList] = None,
destinations: Optional[GameSessionQueueDestinationList] = None,
filter_configuration: Optional[FilterConfiguration] = None,
priority_configuration: Optional[PriorityConfiguration] = None,
custom_event_data: Optional[QueueCustomEventData] = None,
notification_target: Optional[QueueSnsArnStringModel] = None,
) -> UpdateGameSessionQueueOutput
This API works with the following fleet types: EC2, Anywhere, Container
Updates the configuration of a game session queue, which determines how the queue processes new game session requests. To update settings, specify the queue name to be updated and provide the new settings. When updating destinations, provide a complete list of destinations.
Learn more
Parameters:
-
name(Optional[GameSessionQueueNameOrArn], default:None) –A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.
-
timeout_in_seconds(Optional[WholeNumber], default:None) –The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a
TIMED_OUTstatus.The minimum value is 10 and the maximum value is 600.
-
player_latency_policies(Optional[PlayerLatencyPolicyList], default:None) –A set of policies that enforce a sliding cap on player latency when processing game sessions placement requests. Use multiple policies to gradually relax the cap over time if Amazon GameLift Servers can't make a placement. Policies are evaluated in order starting with the lowest maximum latency value. When updating policies, provide a complete collection of policies.
-
destinations(Optional[GameSessionQueueDestinationList], default:None) –A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference. When updating this list, provide a complete list of destinations.
-
filter_configuration(Optional[FilterConfiguration], default:None) –A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of Amazon Web Services Region codes, such as
us-west-2. If this parameter is not set, game sessions can be placed in any queue location. To remove an existing filter configuration, pass in an empty set. -
priority_configuration(Optional[PriorityConfiguration], default:None) –Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process. To remove an existing priority configuration, pass in an empty set.
-
custom_event_data(Optional[QueueCustomEventData], default:None) –Information to be added to all events that are related to this game session queue.
-
notification_target(Optional[QueueSnsArnStringModel], default:None) –An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
Raises:
-
InternalServiceException–The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
-
InvalidRequestException–One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
-
NotFoundException–The requested resource was not found. The resource was either not created yet or deleted.
-
UnauthorizedException–The client failed authentication. Clients should not retry such requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_gamelift/_services/async_game_lift.py
9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 | |