public ListInstancesResponse listInstances ( ListInstancesRequest request ) { checkNotNull ( request , "request should not be null." ) ; checkStringNotEmpty ( request . getClusterId ( ) , "The parameter clusterId should not be null or empty string." ) ; checkStringNotEmpty ( request . getInstanceGroupId ( ) , "The parameter instanceGroupId should not be null or empty string." ) ; InternalRequest internalRequest = this . createRequest ( request , HttpMethodName . GET , CLUSTER , request . getClusterId ( ) , INSTANCE_GROUP , request . getInstanceGroupId ( ) , INSTANCE ) ; return this . invokeHttpClient ( internalRequest , ListInstancesResponse . class ) ; }
List the instances belonging to the target instance group in the BMR cluster .