Learn R Programming

paws (version 0.1.12)

emr: Amazon Elastic MapReduce

Description

Amazon EMR is a web service that makes it easier to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS services to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehouse management.

Usage

emr(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- emr(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

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_tagsAdds tags to an Amazon EMR resource
cancel_stepsCancels a pending step or steps in a running cluster
create_security_configurationCreates a security configuration, which is stored in the service and can be specified when a cluster is created
create_studioThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
create_studio_session_mappingThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
delete_security_configurationDeletes a security configuration
delete_studioThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
delete_studio_session_mappingThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
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_security_configurationProvides the details of a security configuration by returning the configuration JSON
describe_stepProvides more detail about the cluster step
describe_studioThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
get_block_public_access_configurationReturns the Amazon EMR block public access configuration for your AWS account in the current Region
get_managed_scaling_policyFetches the attached managed scaling policy for an Amazon EMR cluster
get_studio_session_mappingThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
list_bootstrap_actionsProvides information about the bootstrap actions associated with a cluster
list_clustersProvides the status of all clusters visible to this AWS 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 EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000
list_notebook_executionsProvides summaries of all notebook executions
list_security_configurationsLists all the security configurations visible to this account, providing their creation dates and times, and their names
list_stepsProvides a list of steps for the cluster in reverse order unless you specify stepIds with the request of filter by StepStates
list_studiosThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
list_studio_session_mappingsThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change
modify_clusterModifies the number of steps that can be executed concurrently for the cluster specified using ClusterID
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
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_block_public_access_configurationCreates or updates an Amazon EMR block public access configuration for your AWS 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 EMR cluster
remove_managed_scaling_policyRemoves a managed scaling policy from a specified EMR cluster
remove_tagsRemoves tags from an Amazon EMR resource
run_job_flowRunJobFlow creates and starts running a new cluster (job flow)
set_termination_protectionSetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error
set_visible_to_all_usersSets the Cluster$VisibleToAllUsers value, which determines whether the cluster is visible to all IAM users of the AWS account associated with the cluster
start_notebook_executionStarts a notebook execution
stop_notebook_executionStops a notebook execution
terminate_job_flowsTerminateJobFlows shuts a list of clusters (job flows) down
update_studio_session_mappingThe Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change

Examples

Run this code
if (FALSE) {
svc <- emr()
svc$add_instance_fleet(
  Foo = 123
)
}

Run the code above in your browser using DataLab