update_game_session_queue
¶
update_game_session_queue(
*,
config_overrides: Optional[GameLiftClientConfig] = 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,
add_log_delivery_destinations: Optional[LogDeliveryDestinationList] = None,
remove_log_delivery_destinations: Optional[LogDeliveryDestinationList] = 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 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.
-
add_log_delivery_destinations(Optional[LogDeliveryDestinationList], default:None) –Log delivery destinations to add to the queue's log configuration (
LogConfiguration). -
remove_log_delivery_destinations(Optional[LogDeliveryDestinationList], default:None) –Log delivery destinations to remove from the queue's log configuration (
LogConfiguration).
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/game_lift.py
10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 | |