Struct rusoto_gamelift::GameServerInstance
source · [−]pub struct GameServerInstance {
pub game_server_group_arn: Option<String>,
pub game_server_group_name: Option<String>,
pub instance_id: Option<String>,
pub instance_status: Option<String>,
}
Expand description
This data type is used with the GameLift FleetIQ and game server groups.
Additional properties, including status, that describe an EC2 instance in a game server group. Instance configurations are set with game server group properties (see DescribeGameServerGroup
and with the EC2 launch template that was used when creating the game server group.
Retrieve game server instances for a game server group by calling DescribeGameServerInstances
.
Related actions
CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup | DescribeGameServerInstances | All APIs by task
Fields
game_server_group_arn: Option<String>
A generated unique identifier for the game server group that includes the game server instance.
game_server_group_name: Option<String>
A developer-defined identifier for the game server group that includes the game server instance. The name is unique for each Region in each AWS account.
instance_id: Option<String>
The unique identifier for the instance where the game server is running. This ID is available in the instance metadata. EC2 instance IDs use a 17-character format, for example: i-1234567890abcdef0
.
instance_status: Option<String>
Current status of the game server instance.
-
ACTIVE -- The instance is viable for hosting game servers.
-
DRAINING -- The instance is not viable for hosting game servers. Existing game servers are in the process of ending, and new game servers are not started on this instance unless no other resources are available. When the instance is put in DRAINING, a new instance is started up to replace it. Once the instance has no UTILIZED game servers, it will be terminated in favor of the new instance.
-
SPOT_TERMINATING -- The instance is in the process of shutting down due to a Spot instance interruption. No new game servers are started on this instance.
Trait Implementations
sourceimpl Clone for GameServerInstance
impl Clone for GameServerInstance
sourcefn clone(&self) -> GameServerInstance
fn clone(&self) -> GameServerInstance
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
sourceimpl Debug for GameServerInstance
impl Debug for GameServerInstance
sourceimpl Default for GameServerInstance
impl Default for GameServerInstance
sourcefn default() -> GameServerInstance
fn default() -> GameServerInstance
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GameServerInstance
impl<'de> Deserialize<'de> for GameServerInstance
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GameServerInstance> for GameServerInstance
impl PartialEq<GameServerInstance> for GameServerInstance
sourcefn eq(&self, other: &GameServerInstance) -> bool
fn eq(&self, other: &GameServerInstance) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GameServerInstance) -> bool
fn ne(&self, other: &GameServerInstance) -> bool
This method tests for !=
.
impl StructuralPartialEq for GameServerInstance
Auto Trait Implementations
impl RefUnwindSafe for GameServerInstance
impl Send for GameServerInstance
impl Sync for GameServerInstance
impl Unpin for GameServerInstance
impl UnwindSafe for GameServerInstance
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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