« blib/lib/Paws/EMR/SetVisibleToAllUsers.pm
↑ Summary
blib/lib/Paws/EMR/SimpleScalingPolicyConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EMR::ShrinkPolicy; | ||
| 3 | use Moose; | ||
| 4 | has DecommissionTimeout => (is => 'ro', isa => 'Int'); | ||
| 5 | has InstanceResizePolicy => (is => 'ro', isa => 'Paws::EMR::InstanceResizePolicy'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::EMR::ShrinkPolicy | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::EMR::ShrinkPolicy object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { DecommissionTimeout => $value, ..., InstanceResizePolicy => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::ShrinkPolicy object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->DecommissionTimeout | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Policy for customizing shrink operations. Allows configuration of | ||
| 38 | decommissioning timeout and targeted instance shrinking. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 DecommissionTimeout => Int | ||
| 44 | |||
| 45 | The desired timeout for decommissioning an instance. Overrides the | ||
| 46 | default YARN decommissioning timeout. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 InstanceResizePolicy => L<Paws::EMR::InstanceResizePolicy> | ||
| 50 | |||
| 51 | Custom policy for requesting termination protection or termination of | ||
| 52 | specific instances when shrinking an instance group. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head1 SEE ALSO | ||
| 57 | |||
| 58 | This class forms part of L<Paws>, describing an object used in L<Paws::EMR> | ||
| 59 | |||
| 60 | =head1 BUGS and CONTRIBUTIONS | ||
| 61 | |||
| 62 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 63 | |||
| 64 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 65 | |||
| 66 | =cut | ||
| 67 |