| 1 | |||
| 2 | package Paws::EMR::ModifyInstanceGroups; | ||
| 3 | use Moose; | ||
| 4 | has ClusterId => (is => 'ro', isa => 'Str'); | ||
| 5 | has InstanceGroups => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceGroupModifyConfig]'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyInstanceGroups'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::EMR::ModifyInstanceGroups - Arguments for method ModifyInstanceGroups on L<Paws::EMR> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method ModifyInstanceGroups on the | ||
| 23 | L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class | ||
| 24 | as arguments to method ModifyInstanceGroups. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyInstanceGroups. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $elasticmapreduce = Paws->service('EMR'); | ||
| 31 | $elasticmapreduce->ModifyInstanceGroups( | ||
| 32 | ClusterId => 'MyClusterId', # OPTIONAL | ||
| 33 | InstanceGroups => [ | ||
| 34 | { | ||
| 35 | InstanceGroupId => 'MyXmlStringMaxLen256', # max: 256 | ||
| 36 | Configurations => [ | ||
| 37 | { | ||
| 38 | Classification => 'MyString', # OPTIONAL | ||
| 39 | Configurations => <ConfigurationList>, | ||
| 40 | Properties => { | ||
| 41 | 'MyString' => 'MyString', # key: OPTIONAL, value: OPTIONAL | ||
| 42 | }, # OPTIONAL | ||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | EC2InstanceIdsToTerminate => [ 'MyInstanceId', ... ], # OPTIONAL | ||
| 47 | InstanceCount => 1, # OPTIONAL | ||
| 48 | ShrinkPolicy => { | ||
| 49 | DecommissionTimeout => 1, # OPTIONAL | ||
| 50 | InstanceResizePolicy => { | ||
| 51 | InstanceTerminationTimeout => 1, # OPTIONAL | ||
| 52 | InstancesToProtect => [ 'MyInstanceId', ... ], # OPTIONAL | ||
| 53 | InstancesToTerminate => [ 'MyInstanceId', ... ], # OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | }, # OPTIONAL | ||
| 56 | }, | ||
| 57 | ... | ||
| 58 | ], # OPTIONAL | ||
| 59 | ); | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/ModifyInstanceGroups> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 ClusterId => Str | ||
| 68 | |||
| 69 | The ID of the cluster to which the instance group belongs. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 InstanceGroups => ArrayRef[L<Paws::EMR::InstanceGroupModifyConfig>] | ||
| 74 | |||
| 75 | Instance groups to change. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method ModifyInstanceGroups in L<Paws::EMR> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |