« blib/lib/Paws/EMR/InstanceGroupDetail.pm
↑ Summary
blib/lib/Paws/EMR/InstanceGroupStateChangeReason.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::EMR::InstanceGroupModifyConfig; | ||
| 3 | use Moose; | ||
| 4 | has Configurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]'); | ||
| 5 | has EC2InstanceIdsToTerminate => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | has InstanceCount => (is => 'ro', isa => 'Int'); | ||
| 7 | has InstanceGroupId => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has ShrinkPolicy => (is => 'ro', isa => 'Paws::EMR::ShrinkPolicy'); | ||
| 9 | |||
| 10 | 1; | ||
| 11 | |||
| 12 | ### main pod documentation begin ### | ||
| 13 | |||
| 14 | =head1 NAME | ||
| 15 | |||
| 16 | Paws::EMR::InstanceGroupModifyConfig | ||
| 17 | |||
| 18 | =head1 USAGE | ||
| 19 | |||
| 20 | This class represents one of two things: | ||
| 21 | |||
| 22 | =head3 Arguments in a call to a service | ||
| 23 | |||
| 24 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 25 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 26 | |||
| 27 | As an example, if Att1 is expected to be a Paws::EMR::InstanceGroupModifyConfig object: | ||
| 28 | |||
| 29 | $service_obj->Method(Att1 => { Configurations => $value, ..., ShrinkPolicy => $value }); | ||
| 30 | |||
| 31 | =head3 Results returned from an API call | ||
| 32 | |||
| 33 | Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::InstanceGroupModifyConfig object: | ||
| 34 | |||
| 35 | $result = $service_obj->Method(...); | ||
| 36 | $result->Att1->Configurations | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | Modify the size or configurations of an instance group. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Configurations => ArrayRef[L<Paws::EMR::Configuration>] | ||
| 46 | |||
| 47 | A list of new or modified configurations to apply for an instance | ||
| 48 | group. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 EC2InstanceIdsToTerminate => ArrayRef[Str|Undef] | ||
| 52 | |||
| 53 | The EC2 InstanceIds to terminate. After you terminate the instances, | ||
| 54 | the instance group will not return to its original requested size. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 InstanceCount => Int | ||
| 58 | |||
| 59 | Target size for the instance group. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> InstanceGroupId => Str | ||
| 63 | |||
| 64 | Unique ID of the instance group to modify. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 ShrinkPolicy => L<Paws::EMR::ShrinkPolicy> | ||
| 68 | |||
| 69 | Policy for customizing shrink operations. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::EMR> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |