NAME
Paws::GameLift::UpdateFleetAttributes - Arguments for method UpdateFleetAttributes on Paws::GameLift
DESCRIPTION
This 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.
SYNOPSIS
my $gamelift = Paws->service('GameLift');
my $UpdateFleetAttributesOutput = $gamelift->UpdateFleetAttributes(
FleetId => 'MyFleetId',
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
ATTRIBUTES
Description => Str
Human-readable description of a fleet.
REQUIRED FleetId => Str
A unique identifier for a fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
MetricGroups => ArrayRef[Str|Undef]
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group. Or use a new name to create a new metric group. A fleet can only be included in one metric group at a time.
Name => Str
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
NewGameSessionProtectionPolicy => Str
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
ACTIVEstatus, it cannot be terminated during a scale-down event.
Valid values are: "NoProtection", "FullProtection"
ResourceCreationLimitPolicy => Paws::GameLift::ResourceCreationLimitPolicy
Policy that limits the number of game sessions an individual player can create over a span of time.
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateFleetAttributes 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