aws emr
Amazon EMR is a web service that makes it easier to process large amounts of data efficiently. AWS CLI reference
79 commands Its page in the AWS CLI reference
Commands
add-instance-fleetAdds an instance fleet to a running cluster.add-instance-groupsAdds one or more instance groups to a running cluster.add-job-flow-stepsAddJobFlowSteps adds new steps to a running cluster.add-stepsAdd a list of steps to a cluster.add-tagsAdds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio.cancel-stepsCancels a pending step or steps in a running cluster.create-clusterCreates an Amazon EMR cluster with the specified configurations.create-default-rolesCreates the default IAM role EMR_EC2_DefaultRole and EMR_DefaultRole which can be used when creating the cluster using the create-cluster command.create-hbase-backupCreates a HBase backup in S3.create-persistent-app-uiCreates a persistent application user interface.create-security-configurationCreates a security configuration, which is stored in the service and can be specified when a cluster is created.create-studioCreates a new Amazon EMR Studio.create-studio-session-mappingMaps a user or group to the Amazon EMR Studio specified by StudioId, and applies a session policy to refine Studio permissions for that user or group.delete-security-configurationDeletes a security configuration.delete-studioRemoves an Amazon EMR Studio from the Studio metadata store.delete-studio-session-mappingRemoves a user or group from an Amazon EMR Studio.describe-clusterProvides cluster-level details including status, hardware and software configuration, VPC settings, and so on.describe-job-flowsThis API is no longer supported and will eventually be removed.describe-notebook-executionProvides details of a notebook execution.describe-persistent-app-uiDescribes a persistent application user interface.describe-release-labelProvides Amazon EMR release label details, such as the releases available the Region where the API request is run, and the available applications for a specific Amazon EMR release label.describe-security-configurationProvides the details of a security configuration by returning the configuration JSON.describe-stepProvides more detail about the cluster step.describe-studioReturns details for the specified Amazon EMR Studio including ID, Name, VPC, Studio access URL, and so on.disable-hbase-backupsAdd a step to disable automated HBase backups.getGet file from master node.get-auto-termination-policyReturns the auto-termination policy for an Amazon EMR cluster.get-block-public-access-configurationReturns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region.get-cluster-session-credentialsProvides temporary, HTTP basic credentials that are associated with a given runtime IAM role and used by a cluster with fine-grained access control activated.get-managed-scaling-policyFetches the attached managed scaling policy for an Amazon EMR cluster.get-on-cluster-app-ui-presigned-urlThe presigned URL properties for the cluster's application user interface.get-persistent-app-ui-presigned-urlThe presigned URL properties for the cluster's application user interface.get-sessionReturns detailed information about a session.get-session-endpointReturns the Spark Connect endpoint URL and a time-limited authentication token for the specified session.get-studio-session-mappingFetches mapping details for the specified Amazon EMR Studio and identity (user or group).install-applicationsInstalls applications on a running cluster.list-bootstrap-actionsProvides information about the bootstrap actions associated with a cluster.list-clustersProvides the status of all clusters visible to this Amazon Web Services account.list-instance-fleetsLists all available details about the instance fleets in a cluster.list-instance-groupsProvides all available details about the instance groups in a cluster.list-instancesProvides information for all active Amazon EC2 instances and Amazon EC2 instances terminated in the last 30 days, up to a maximum of 2,000.list-notebook-executionsProvides summaries of all notebook executions.list-release-labelsRetrieves release labels of Amazon EMR services in the Region where the API is called.list-security-configurationsLists all the security configurations visible to this account, providing their creation dates and times, and their names.list-sessionsLists the sessions on a cluster.list-stepsProvides a list of steps for the cluster in reverse order unless you specify stepIds with the request or filter by StepStates.list-studio-session-mappingsReturns a list of all user or group session mappings for the Amazon EMR Studio specified by StudioId.list-studiosReturns a list of all Amazon EMR Studios associated with the Amazon Web Services account.list-supported-instance-typesA list of the instance types that Amazon EMR supports.modify-clusterModifies the number of steps that can be executed concurrently for the cluster specified using ClusterID.modify-cluster-attributesModifies the cluster attributes 'visible-to-all-users', 'termination-protected' and 'unhealthy-node-replacement'.modify-instance-fleetModifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID.modify-instance-groupsModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group.putPut file onto the master node.put-auto-scaling-policyCreates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster.put-auto-termination-policyAuto-termination is supported in Amazon EMR releases 5.30.0 and 6.1.0 and later.put-block-public-access-configurationCreates or updates an Amazon EMR block public access configuration for your Amazon Web Services account in the current Region.put-managed-scaling-policyCreates or updates a managed scaling policy for an Amazon EMR cluster.remove-auto-scaling-policyRemoves an automatic scaling policy from a specified instance group within an Amazon EMR cluster.remove-auto-termination-policyRemoves an auto-termination policy from an Amazon EMR cluster.remove-managed-scaling-policyRemoves a managed scaling policy from a specified Amazon EMR cluster.remove-tagsRemoves tags from an Amazon EMR resource, such as a cluster or Amazon EMR Studio.restore-from-hbase-backupRestores HBase from S3.run-job-flowRunJobFlow creates and starts running a new cluster (job flow).schedule-hbase-backupAdds a step to schedule automated HBase backup.set-keep-job-flow-alive-when-no-stepsYou can use the SetKeepJobFlowAliveWhenNoSteps to configure a cluster (job flow) to terminate after the step execution, i.e., all your steps are executed.set-termination-protectionSetTerminationProtection locks a cluster (job flow) so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error.set-unhealthy-node-replacementSpecify whether to enable unhealthy node replacement, which lets Amazon EMR gracefully replace core nodes on a cluster if any nodes become unhealthy.set-visible-to-all-usersThe SetVisibleToAllUsers parameter is no longer supported.socksCreate a socks tunnel on port 8157 from your machine to the master.sshSSH into master node of the cluster.start-notebook-executionStarts a notebook execution.start-sessionCreates and starts a new Spark Connect session on the specified cluster.stop-notebook-executionStops a notebook execution.terminate-clustersShuts down one or more clusters, each specified by cluster ID.terminate-job-flowsTerminateJobFlows shuts a list of clusters (job flows) down.terminate-sessionTerminates an active session.update-studioUpdates an Amazon EMR Studio configuration, including attributes such as name, description, and subnets.update-studio-session-mappingUpdates the session policy attached to the user or group for the specified Amazon EMR Studio.