NAME
Paws::GameLift::UpdateFleetCapacity - Arguments for method UpdateFleetCapacity on Paws::GameLift
DESCRIPTION
This class represents the parameters used for calling the method UpdateFleetCapacity on the Amazon GameLift service. Use the attributes of this class as arguments to method UpdateFleetCapacity.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFleetCapacity.
SYNOPSIS
my $gamelift = Paws->service('GameLift');
my $UpdateFleetCapacityOutput = $gamelift->UpdateFleetCapacity(
FleetId => 'MyFleetIdOrArn',
DesiredInstances => 1, # OPTIONAL
Location => 'MyLocationStringModel', # OPTIONAL
MaxSize => 1, # OPTIONAL
MinSize => 1, # OPTIONAL
);
# Results:
my $FleetArn = $UpdateFleetCapacityOutput->FleetArn;
my $FleetId = $UpdateFleetCapacityOutput->FleetId;
my $Location = $UpdateFleetCapacityOutput->Location;
# Returns a L<Paws::GameLift::UpdateFleetCapacityOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/gamelift/UpdateFleetCapacity
ATTRIBUTES
DesiredInstances => Int
The number of EC2 instances you want to maintain in the specified fleet location. This value must fall between the minimum and maximum size limits.
REQUIRED FleetId => Str
A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value.
Location => Str
The name of a remote location to update fleet capacity settings for, in the form of an AWS Region code such as us-west-2
.
MaxSize => Int
The maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1.
MinSize => Int
The minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateFleetCapacity in Paws::GameLift
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues