awswrangler.emr.terminate_cluster

awswrangler.emr.terminate_cluster(cluster_id: str, boto3_session: Optional[boto3.session.Session] = None) → None

Terminate EMR cluster.

Parameters
  • cluster_id (str) – Cluster ID.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.

Returns

None.

Return type

None

Examples

>>> import awswrangler as wr
>>> wr.emr.terminate_cluster("cluster-id")