Struct aws_sdk_gamelift::operation::get_compute_auth_token::builders::GetComputeAuthTokenFluentBuilder
source · pub struct GetComputeAuthTokenFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to GetComputeAuthToken.
Requests an authentication token from Amazon GameLift. The authentication token is used by your game server to authenticate with Amazon GameLift. Each authentication token has an expiration time. To continue using the compute resource to host your game server, regularly retrieve a new authorization token.
Implementations§
source§impl GetComputeAuthTokenFluentBuilder
impl GetComputeAuthTokenFluentBuilder
sourcepub fn as_input(&self) -> &GetComputeAuthTokenInputBuilder
pub fn as_input(&self) -> &GetComputeAuthTokenInputBuilder
Access the GetComputeAuthToken as a reference.
sourcepub async fn send(
self
) -> Result<GetComputeAuthTokenOutput, SdkError<GetComputeAuthTokenError, HttpResponse>>
pub async fn send( self ) -> Result<GetComputeAuthTokenOutput, SdkError<GetComputeAuthTokenError, 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 async fn customize(
self
) -> Result<CustomizableOperation<GetComputeAuthTokenOutput, GetComputeAuthTokenError>, SdkError<GetComputeAuthTokenError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetComputeAuthTokenOutput, GetComputeAuthTokenError>, SdkError<GetComputeAuthTokenError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
A unique identifier for the fleet that the compute is registered to.
sourcepub fn compute_name(self, input: impl Into<String>) -> Self
pub fn compute_name(self, input: impl Into<String>) -> Self
The name of the compute resource you are requesting the authentication token for.
sourcepub fn set_compute_name(self, input: Option<String>) -> Self
pub fn set_compute_name(self, input: Option<String>) -> Self
The name of the compute resource you are requesting the authentication token for.
sourcepub fn get_compute_name(&self) -> &Option<String>
pub fn get_compute_name(&self) -> &Option<String>
The name of the compute resource you are requesting the authentication token for.
Trait Implementations§
source§impl Clone for GetComputeAuthTokenFluentBuilder
impl Clone for GetComputeAuthTokenFluentBuilder
source§fn clone(&self) -> GetComputeAuthTokenFluentBuilder
fn clone(&self) -> GetComputeAuthTokenFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more