Struct aws_sdk_gamelift::operation::describe_game_session_placement::builders::DescribeGameSessionPlacementFluentBuilder
source · pub struct DescribeGameSessionPlacementFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeGameSessionPlacement
.
Retrieves information, including current status, about a game session placement request.
To get game session placement details, specify the placement ID.
This operation is not designed to be continually called to track game session status. This practice can cause you to exceed your API limit, which results in errors. Instead, you must configure configure an Amazon Simple Notification Service (SNS) topic to receive notifications from FlexMatch or queues. Continuously polling with DescribeGameSessionPlacement
should only be used for games in development with low game session usage.
Implementations§
source§impl DescribeGameSessionPlacementFluentBuilder
impl DescribeGameSessionPlacementFluentBuilder
sourcepub fn as_input(&self) -> &DescribeGameSessionPlacementInputBuilder
pub fn as_input(&self) -> &DescribeGameSessionPlacementInputBuilder
Access the DescribeGameSessionPlacement as a reference.
sourcepub async fn send(
self
) -> Result<DescribeGameSessionPlacementOutput, SdkError<DescribeGameSessionPlacementError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeGameSessionPlacementOutput, SdkError<DescribeGameSessionPlacementError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DescribeGameSessionPlacementOutput, DescribeGameSessionPlacementError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeGameSessionPlacementOutput, DescribeGameSessionPlacementError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn placement_id(self, input: impl Into<String>) -> Self
pub fn placement_id(self, input: impl Into<String>) -> Self
A unique identifier for a game session placement to retrieve.
sourcepub fn set_placement_id(self, input: Option<String>) -> Self
pub fn set_placement_id(self, input: Option<String>) -> Self
A unique identifier for a game session placement to retrieve.
sourcepub fn get_placement_id(&self) -> &Option<String>
pub fn get_placement_id(&self) -> &Option<String>
A unique identifier for a game session placement to retrieve.
Trait Implementations§
source§impl Clone for DescribeGameSessionPlacementFluentBuilder
impl Clone for DescribeGameSessionPlacementFluentBuilder
source§fn clone(&self) -> DescribeGameSessionPlacementFluentBuilder
fn clone(&self) -> DescribeGameSessionPlacementFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeGameSessionPlacementFluentBuilder
impl !RefUnwindSafe for DescribeGameSessionPlacementFluentBuilder
impl Send for DescribeGameSessionPlacementFluentBuilder
impl Sync for DescribeGameSessionPlacementFluentBuilder
impl Unpin for DescribeGameSessionPlacementFluentBuilder
impl !UnwindSafe for DescribeGameSessionPlacementFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more