#[non_exhaustive]pub struct GetComputeAuthTokenOutput {
pub fleet_id: Option<String>,
pub fleet_arn: Option<String>,
pub compute_name: Option<String>,
pub compute_arn: Option<String>,
pub auth_token: Option<String>,
pub expiration_timestamp: Option<DateTime>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fleet_id: Option<String>A unique identifier for the fleet that the compute is registered to.
fleet_arn: Option<String>The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
compute_name: Option<String>The name of the compute resource you are requesting the authentication token for.
compute_arn: Option<String>The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
auth_token: Option<String>The authentication token that your game server uses to authenticate with Amazon GameLift.
expiration_timestamp: Option<DateTime>The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.
Implementations§
source§impl GetComputeAuthTokenOutput
impl GetComputeAuthTokenOutput
sourcepub fn fleet_id(&self) -> Option<&str>
pub fn fleet_id(&self) -> Option<&str>
A unique identifier for the fleet that the compute is registered to.
sourcepub fn fleet_arn(&self) -> Option<&str>
pub fn fleet_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn compute_name(&self) -> Option<&str>
pub fn compute_name(&self) -> Option<&str>
The name of the compute resource you are requesting the authentication token for.
sourcepub fn compute_arn(&self) -> Option<&str>
pub fn compute_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
sourcepub fn auth_token(&self) -> Option<&str>
pub fn auth_token(&self) -> Option<&str>
The authentication token that your game server uses to authenticate with Amazon GameLift.
sourcepub fn expiration_timestamp(&self) -> Option<&DateTime>
pub fn expiration_timestamp(&self) -> Option<&DateTime>
The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.
source§impl GetComputeAuthTokenOutput
impl GetComputeAuthTokenOutput
sourcepub fn builder() -> GetComputeAuthTokenOutputBuilder
pub fn builder() -> GetComputeAuthTokenOutputBuilder
Creates a new builder-style object to manufacture GetComputeAuthTokenOutput.
Trait Implementations§
source§impl Clone for GetComputeAuthTokenOutput
impl Clone for GetComputeAuthTokenOutput
source§fn clone(&self) -> GetComputeAuthTokenOutput
fn clone(&self) -> GetComputeAuthTokenOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetComputeAuthTokenOutput
impl Debug for GetComputeAuthTokenOutput
source§impl PartialEq<GetComputeAuthTokenOutput> for GetComputeAuthTokenOutput
impl PartialEq<GetComputeAuthTokenOutput> for GetComputeAuthTokenOutput
source§fn eq(&self, other: &GetComputeAuthTokenOutput) -> bool
fn eq(&self, other: &GetComputeAuthTokenOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetComputeAuthTokenOutput
impl RequestId for GetComputeAuthTokenOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.