MCPcopy
hub / github.com/aws/aws-cli / get_cluster

Function get_cluster

awscli/customizations/emr/emrutils.py:290–302  ·  view source on GitHub ↗
(cluster_id, session, region, endpoint_url, verify_ssl)

Source from the content-addressed store, hash-verified

288
289
290def get_cluster(cluster_id, session, region, endpoint_url, verify_ssl):
291 describe_cluster_params = {'ClusterId': cluster_id}
292 describe_cluster_response = call(
293 session,
294 'describe_cluster',
295 describe_cluster_params,
296 region,
297 endpoint_url,
298 verify_ssl,
299 )
300
301 if describe_cluster_response is not None:
302 return describe_cluster_response.get('Cluster')
303
304
305def get_release_label(cluster_id, session, region, endpoint_url, verify_ssl):

Callers 1

get_release_labelFunction · 0.85

Calls 1

callFunction · 0.85

Tested by

no test coverage detected