Provides all available details about the instance groups in a cluster.
            
 Declaration Syntax
 Declaration Syntax| C# | 
public ListInstanceGroupsResponse ListInstanceGroups( ListInstanceGroupsRequest request )
 Parameters
 Parameters- request (ListInstanceGroupsRequest)
- Container for the necessary parameters to execute the ListInstanceGroups service method.
 Return Value
 Return ValueThe response from the ListInstanceGroups service method, as returned by ElasticMapReduce.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| InternalServerException | This exception occurs when there is an internal failure in the EMR service. | 
| InvalidRequestException | This exception occurs when there is something wrong with user input. |