Amazon Elastic MapReduce
API Reference (API Version 2009-03-31)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

ModifyInstanceGroups

Description

ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.

Request Parameters

For information about the common parameters that all actions use, see Common Query Parameters.

Name Description Required
InstanceGroups.member.N

Instance groups to change.

Type: InstanceGroupModifyConfig list

No

Errors

For information about the common errors that all actions use, see Common Errors.

Error Description HTTP Status Code
InternalServerError

Indicates that an error occurred while processing the request and that the request was not completed.

500

Examples

Sample Request

https://elasticmapreduce.amazonaws.com?Action=ModifyInstanceGroups
&InstanceGroups.member.1.InstanceGroupId=i-3UN6WX5RRO2AG 
&InstanceGroups.member.1.InstanceRequestCount=2
&AuthParams

Sample Response

<ModifyInstanceGroupsResponse xmlns="http://elasticmapreduce.amazonaws.com/doc/2009-03-31">
   <ResponseMetadata> 
      <RequestId> 
         2690d7eb-ed86-11dd-9877-6fad448a8419
      </RequestId> 
   </ResponseMetadata> 
</ModifyInstanceGroupsResponse>