Struct aws_sdk_gamelift::input::DeleteGameServerGroupInput
source · [−]#[non_exhaustive]pub struct DeleteGameServerGroupInput {
pub game_server_group_name: Option<String>,
pub delete_option: Option<GameServerGroupDeleteOption>,
}
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.game_server_group_name: Option<String>
A unique identifier for the game server group. Use either the GameServerGroup
name or ARN value.
delete_option: Option<GameServerGroupDeleteOption>
The type of delete to perform. Options include the following:
-
SAFE_DELETE
– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZED
status. -
FORCE_DELETE
– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN
– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
Implementations
sourceimpl DeleteGameServerGroupInput
impl DeleteGameServerGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteGameServerGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteGameServerGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteGameServerGroup
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteGameServerGroupInput
sourceimpl DeleteGameServerGroupInput
impl DeleteGameServerGroupInput
sourcepub fn game_server_group_name(&self) -> Option<&str>
pub fn game_server_group_name(&self) -> Option<&str>
A unique identifier for the game server group. Use either the GameServerGroup
name or ARN value.
sourcepub fn delete_option(&self) -> Option<&GameServerGroupDeleteOption>
pub fn delete_option(&self) -> Option<&GameServerGroupDeleteOption>
The type of delete to perform. Options include the following:
-
SAFE_DELETE
– (default) Terminates the game server group and Amazon EC2 Auto Scaling group only when it has no game servers that are inUTILIZED
status. -
FORCE_DELETE
– Terminates the game server group, including all active game servers regardless of their utilization status, and the Amazon EC2 Auto Scaling group. -
RETAIN
– Does a safe delete of the game server group but retains the Amazon EC2 Auto Scaling group as is.
Trait Implementations
sourceimpl Clone for DeleteGameServerGroupInput
impl Clone for DeleteGameServerGroupInput
sourcefn clone(&self) -> DeleteGameServerGroupInput
fn clone(&self) -> DeleteGameServerGroupInput
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 DeleteGameServerGroupInput
impl Debug for DeleteGameServerGroupInput
sourceimpl PartialEq<DeleteGameServerGroupInput> for DeleteGameServerGroupInput
impl PartialEq<DeleteGameServerGroupInput> for DeleteGameServerGroupInput
sourcefn eq(&self, other: &DeleteGameServerGroupInput) -> bool
fn eq(&self, other: &DeleteGameServerGroupInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeleteGameServerGroupInput) -> bool
fn ne(&self, other: &DeleteGameServerGroupInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeleteGameServerGroupInput
Auto Trait Implementations
impl RefUnwindSafe for DeleteGameServerGroupInput
impl Send for DeleteGameServerGroupInput
impl Sync for DeleteGameServerGroupInput
impl Unpin for DeleteGameServerGroupInput
impl UnwindSafe for DeleteGameServerGroupInput
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