![]() |
![]()
| ![]() |
![]()
NAMEPaws::GameLift::UpdateFleetCapacity - Arguments for method UpdateFleetCapacity on Paws::GameLift DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESDesiredInstances => IntThe 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 => StrA unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN value. Location => StrThe 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 => IntThe maximum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 1. MinSize => IntThe minimum number of instances that are allowed in the specified fleet location. If this parameter is not set, the default is 0. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateFleetCapacity in Paws::GameLift BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|