Struct aws_sdk_gamelift::client::fluent_builders::UpdateFleetAttributes [−][src]
pub struct UpdateFleetAttributes<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateFleetAttributes
.
Updates a fleet's mutable attributes, including game session protection and resource creation limits.
To update fleet attributes, specify the fleet ID and the property values that you want to change.
If successful, an updated FleetAttributes
object is returned.
Learn more
Related actions
CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task
Implementations
impl<C, M, R> UpdateFleetAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateFleetAttributes<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateFleetAttributesOutput, SdkError<UpdateFleetAttributesError>> where
R::Policy: SmithyRetryPolicy<UpdateFleetAttributesInputOperationOutputAlias, UpdateFleetAttributesOutput, UpdateFleetAttributesError, UpdateFleetAttributesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateFleetAttributesOutput, SdkError<UpdateFleetAttributesError>> where
R::Policy: SmithyRetryPolicy<UpdateFleetAttributesInputOperationOutputAlias, UpdateFleetAttributesOutput, UpdateFleetAttributesError, UpdateFleetAttributesInputOperationRetryAlias>,
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.
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A human-readable description of a fleet.
A human-readable description of a fleet.
The game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVE
status, it cannot be terminated during a scale-down event.
The game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
-
NoProtection -- The game session can be terminated during a scale-down event.
-
FullProtection -- If the game session is in an
ACTIVE
status, it cannot be terminated during a scale-down event.
Policy settings that limit the number of game sessions an individual player can create over a span of time.
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
Policy settings that limit the number of game sessions an individual player can create over a span of time.
Appends an item to MetricGroups
.
To override the contents of this collection use set_metric_groups
.
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateFleetAttributes<C, M, R>
impl<C, M, R> Send for UpdateFleetAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateFleetAttributes<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateFleetAttributes<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateFleetAttributes<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more