Struct aws_sdk_gamelift::client::fluent_builders::CreateFleetLocations [−][src]
pub struct CreateFleetLocations<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateFleetLocations
.
Adds remote locations to a fleet and begins populating the new locations with EC2 instances. The new instances conform to the fleet's instance type, auto-scaling, and other configuration settings.
This operation cannot be used with fleets that don't support remote locations. Fleets can have multiple locations only if they reside in AWS Regions that support this feature (see CreateFleet for the complete list) and were created after the feature was released in March 2021.
To add fleet locations, specify the fleet to be updated and provide a list of one or more locations.
If successful, this operation returns the list of added locations with their status set
to NEW
. GameLift initiates the process of starting an instance in each added
location. You can track the status of each new location by monitoring location creation
events using DescribeFleetEvents. Alternatively, you can poll location
status by calling DescribeFleetLocationAttributes. After a location
status becomes ACTIVE
, you can adjust the location's capacity as needed
with UpdateFleetCapacity.
Learn more
Related actions
CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity | DescribeFleetUtilization | UpdateFleetCapacity | StopFleetActions | DeleteFleetLocations | All APIs by task
Implementations
impl<C, M, R> CreateFleetLocations<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateFleetLocations<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateFleetLocationsOutput, SdkError<CreateFleetLocationsError>> where
R::Policy: SmithyRetryPolicy<CreateFleetLocationsInputOperationOutputAlias, CreateFleetLocationsOutput, CreateFleetLocationsError, CreateFleetLocationsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateFleetLocationsOutput, SdkError<CreateFleetLocationsError>> where
R::Policy: SmithyRetryPolicy<CreateFleetLocationsInputOperationOutputAlias, CreateFleetLocationsOutput, CreateFleetLocationsError, CreateFleetLocationsInputOperationRetryAlias>,
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 add locations to. You can use either the fleet ID or ARN value.
A unique identifier for the fleet to add locations to. You can use either the fleet ID or ARN value.
Appends an item to Locations
.
To override the contents of this collection use set_locations
.
A list of locations to deploy additional instances to and manage as part of the fleet.
You can add any GameLift-supported AWS Region as a remote location, in the form of an AWS
Region code such as us-west-2
.
A list of locations to deploy additional instances to and manage as part of the fleet.
You can add any GameLift-supported AWS Region as a remote location, in the form of an AWS
Region code such as us-west-2
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateFleetLocations<C, M, R>
impl<C, M, R> Send for CreateFleetLocations<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateFleetLocations<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateFleetLocations<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateFleetLocations<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