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,
) -> 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/game_lift.py
9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 | |