pub struct UpdateGameSessionQueue { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateGameSessionQueue
.
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
Related actions
CreateGameSessionQueue | DescribeGameSessionQueues | UpdateGameSessionQueue | DeleteGameSessionQueue | All APIs by task
Implementations
sourceimpl UpdateGameSessionQueue
impl UpdateGameSessionQueue
sourcepub async fn send(
self
) -> Result<UpdateGameSessionQueueOutput, SdkError<UpdateGameSessionQueueError>>
pub async fn send(
self
) -> Result<UpdateGameSessionQueueOutput, SdkError<UpdateGameSessionQueueError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
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.
sourcepub fn timeout_in_seconds(self, input: i32) -> Self
pub fn timeout_in_seconds(self, input: i32) -> Self
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_OUT
status.
sourcepub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
pub fn set_timeout_in_seconds(self, input: Option<i32>) -> Self
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_OUT
status.
sourcepub fn player_latency_policies(self, input: PlayerLatencyPolicy) -> Self
pub fn player_latency_policies(self, input: PlayerLatencyPolicy) -> Self
Appends an item to PlayerLatencyPolicies
.
To override the contents of this collection use set_player_latency_policies
.
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value. When updating policies, provide a complete collection of policies.
sourcepub fn set_player_latency_policies(
self,
input: Option<Vec<PlayerLatencyPolicy>>
) -> Self
pub fn set_player_latency_policies(
self,
input: Option<Vec<PlayerLatencyPolicy>>
) -> Self
A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value. When updating policies, provide a complete collection of policies.
sourcepub fn destinations(self, input: GameSessionQueueDestination) -> Self
pub fn destinations(self, input: GameSessionQueueDestination) -> Self
Appends an item to Destinations
.
To override the contents of this collection use set_destinations
.
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.
sourcepub fn set_destinations(
self,
input: Option<Vec<GameSessionQueueDestination>>
) -> Self
pub fn set_destinations(
self,
input: Option<Vec<GameSessionQueueDestination>>
) -> Self
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.
sourcepub fn filter_configuration(self, input: FilterConfiguration) -> Self
pub fn filter_configuration(self, input: FilterConfiguration) -> Self
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.
sourcepub fn set_filter_configuration(
self,
input: Option<FilterConfiguration>
) -> Self
pub fn set_filter_configuration(
self,
input: Option<FilterConfiguration>
) -> Self
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.
sourcepub fn priority_configuration(self, input: PriorityConfiguration) -> Self
pub fn priority_configuration(self, input: PriorityConfiguration) -> Self
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.
sourcepub fn set_priority_configuration(
self,
input: Option<PriorityConfiguration>
) -> Self
pub fn set_priority_configuration(
self,
input: Option<PriorityConfiguration>
) -> Self
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.
sourcepub fn custom_event_data(self, input: impl Into<String>) -> Self
pub fn custom_event_data(self, input: impl Into<String>) -> Self
Information to be added to all events that are related to this game session queue.
sourcepub fn set_custom_event_data(self, input: Option<String>) -> Self
pub fn set_custom_event_data(self, input: Option<String>) -> Self
Information to be added to all events that are related to this game session queue.
sourcepub fn notification_target(self, input: impl Into<String>) -> Self
pub fn notification_target(self, input: impl Into<String>) -> Self
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
sourcepub fn set_notification_target(self, input: Option<String>) -> Self
pub fn set_notification_target(self, input: Option<String>) -> Self
An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
Trait Implementations
sourceimpl Clone for UpdateGameSessionQueue
impl Clone for UpdateGameSessionQueue
sourcefn clone(&self) -> UpdateGameSessionQueue
fn clone(&self) -> UpdateGameSessionQueue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateGameSessionQueue
impl Send for UpdateGameSessionQueue
impl Sync for UpdateGameSessionQueue
impl Unpin for UpdateGameSessionQueue
impl !UnwindSafe for UpdateGameSessionQueue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more