|
@@ -33,6 +33,9 @@ class WorkfloadAnalyticsClient():
|
|
|
def get_impala_query(self, cluster_id, query_id):
|
|
def get_impala_query(self, cluster_id, query_id):
|
|
|
return WorkloadAnalytics(self.user).get_impala_query(cluster_id=cluster_id, query_id=query_id)
|
|
return WorkloadAnalytics(self.user).get_impala_query(cluster_id=cluster_id, query_id=query_id)
|
|
|
|
|
|
|
|
|
|
+ def list_uploads(self):
|
|
|
|
|
+ return WorkloadAnalytics(self.user).list_uploads()
|
|
|
|
|
+
|
|
|
def list_environments(self):
|
|
def list_environments(self):
|
|
|
return WorkloadAnalytics(self.user).list_environments()
|
|
return WorkloadAnalytics(self.user).list_environments()
|
|
|
|
|
|
|
@@ -54,6 +57,10 @@ class WorkloadAnalytics():
|
|
|
return _exec('wa', 'getImpalaQuery', parameters=parameters)
|
|
return _exec('wa', 'getImpalaQuery', parameters=parameters)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ def list_uploads(self):
|
|
|
|
|
+ return _exec('wa', 'listUploads')
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
def list_environments(self):
|
|
def list_environments(self):
|
|
|
return _exec('wa', 'listEnvironments')
|
|
return _exec('wa', 'listEnvironments')
|
|
|
|
|
|