File Coverage

blib/lib/Paws/GameLift/UpdateFleetAttributes.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::GameLift::UpdateFleetAttributes;
3 1     1   471 use Moose;
  1         4  
  1         7  
4             has Description => (is => 'ro', isa => 'Str');
5             has FleetId => (is => 'ro', isa => 'Str', required => 1);
6             has MetricGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has Name => (is => 'ro', isa => 'Str');
8             has NewGameSessionProtectionPolicy => (is => 'ro', isa => 'Str');
9             has ResourceCreationLimitPolicy => (is => 'ro', isa => 'Paws::GameLift::ResourceCreationLimitPolicy');
10              
11 1     1   6627 use MooseX::ClassAttribute;
  1         2  
  1         11  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFleetAttributes');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::GameLift::UpdateFleetAttributesOutput');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::GameLift::UpdateFleetAttributes - Arguments for method UpdateFleetAttributes on Paws::GameLift
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method UpdateFleetAttributes on the
27             Amazon GameLift service. Use the attributes of this class
28             as arguments to method UpdateFleetAttributes.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFleetAttributes.
31              
32             As an example:
33              
34             $service_obj->UpdateFleetAttributes(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 Description => Str
42              
43             Human-readable description of a fleet.
44              
45              
46              
47             =head2 B<REQUIRED> FleetId => Str
48              
49             Unique identifier for a fleet to update attribute metadata for.
50              
51              
52              
53             =head2 MetricGroups => ArrayRef[Str|Undef]
54              
55             Names of metric groups to include this fleet in. Amazon CloudWatch uses
56             a fleet metric group is to aggregate metrics from multiple fleets. Use
57             an existing metric group name to add this fleet to the group. Or use a
58             new name to create a new metric group. A fleet can only be included in
59             one metric group at a time.
60              
61              
62              
63             =head2 Name => Str
64              
65             Descriptive label that is associated with a fleet. Fleet names do not
66             need to be unique.
67              
68              
69              
70             =head2 NewGameSessionProtectionPolicy => Str
71              
72             Game session protection policy to apply to all new instances created in
73             this fleet. Instances that already exist are not affected. You can set
74             protection for individual instances using UpdateGameSession.
75              
76             =over
77              
78             =item *
79              
80             B<NoProtection> -- The game session can be terminated during a
81             scale-down event.
82              
83             =item *
84              
85             B<FullProtection> -- If the game session is in an C<ACTIVE> status, it
86             cannot be terminated during a scale-down event.
87              
88             =back
89              
90              
91             Valid values are: C<"NoProtection">, C<"FullProtection">
92              
93             =head2 ResourceCreationLimitPolicy => L<Paws::GameLift::ResourceCreationLimitPolicy>
94              
95             Policy that limits the number of game sessions an individual player can
96             create over a span of time.
97              
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, documenting arguments for method UpdateFleetAttributes in L<Paws::GameLift>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112