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,
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/async_game_lift.py
11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 | |