![]() |
![]()
| ![]() |
![]()
NAMEPaws::GameLift::UpdateFleetAttributes - Arguments for method UpdateFleetAttributes on Paws::GameLift DESCRIPTIONThis class represents the parameters used for calling the method UpdateFleetAttributes on the Amazon GameLift service. Use the attributes of this class as arguments to method UpdateFleetAttributes. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFleetAttributes. SYNOPSISmy $gamelift = Paws->service('GameLift'); my $UpdateFleetAttributesOutput = $gamelift->UpdateFleetAttributes( FleetId => 'MyFleetIdOrArn', Description => 'MyNonZeroAndMaxString', # OPTIONAL MetricGroups => [ 'MyMetricGroup', ... # min: 1, max: 255 ], # OPTIONAL Name => 'MyNonZeroAndMaxString', # OPTIONAL NewGameSessionProtectionPolicy => 'NoProtection', # OPTIONAL ResourceCreationLimitPolicy => { NewGameSessionsPerCreator => 1, # OPTIONAL PolicyPeriodInMinutes => 1, # OPTIONAL }, # OPTIONAL ); # Results: my $FleetId = $UpdateFleetAttributesOutput->FleetId; # Returns a L<Paws::GameLift::UpdateFleetAttributesOutput> 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/UpdateFleetAttributes> ATTRIBUTESDescription => StrA human-readable description of a fleet. REQUIRED FleetId => StrA unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value. MetricGroups => ArrayRef[Str|Undef]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. Name => StrA descriptive label that is associated with a fleet. Fleet names do not need to be unique. NewGameSessionProtectionPolicy => StrThe 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.
Valid values are: "NoProtection", "FullProtection" ResourceCreationLimitPolicy => Paws::GameLift::ResourceCreationLimitPolicyPolicy settings that limit the number of game sessions an individual player can create over a span of time. SEE ALSOThis class forms part of Paws, documenting arguments for method UpdateFleetAttributes 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>
|