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.
emr(config = list())
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.
Optional configuration of credentials, endpoint, and/or region.
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"
)
)
add_instance_fleet | Adds an instance fleet to a running cluster |
add_instance_groups | Adds one or more instance groups to a running cluster |
add_job_flow_steps | AddJobFlowSteps adds new steps to a running cluster |
add_tags | Adds tags to an Amazon EMR resource |
cancel_steps | Cancels a pending step or steps in a running cluster |
create_security_configuration | Creates a security configuration, which is stored in the service and can be specified when a cluster is created |
create_studio | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
create_studio_session_mapping | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
delete_security_configuration | Deletes a security configuration |
delete_studio | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
delete_studio_session_mapping | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
describe_cluster | Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on |
describe_job_flows | This API is no longer supported and will eventually be removed |
describe_notebook_execution | Provides details of a notebook execution |
describe_security_configuration | Provides the details of a security configuration by returning the configuration JSON |
describe_step | Provides more detail about the cluster step |
describe_studio | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
get_block_public_access_configuration | Returns the Amazon EMR block public access configuration for your AWS account in the current Region |
get_managed_scaling_policy | Fetches the attached managed scaling policy for an Amazon EMR cluster |
get_studio_session_mapping | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
list_bootstrap_actions | Provides information about the bootstrap actions associated with a cluster |
list_clusters | Provides the status of all clusters visible to this AWS account |
list_instance_fleets | Lists all available details about the instance fleets in a cluster |
list_instance_groups | Provides all available details about the instance groups in a cluster |
list_instances | Provides information for all active EC2 instances and EC2 instances terminated in the last 30 days, up to a maximum of 2,000 |
list_notebook_executions | Provides summaries of all notebook executions |
list_security_configurations | Lists all the security configurations visible to this account, providing their creation dates and times, and their names |
list_steps | Provides a list of steps for the cluster in reverse order unless you specify stepIds with the request of filter by StepStates |
list_studios | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
list_studio_session_mappings | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
modify_cluster | Modifies the number of steps that can be executed concurrently for the cluster specified using ClusterID |
modify_instance_fleet | Modifies the target On-Demand and target Spot capacities for the instance fleet with the specified InstanceFleetID within the cluster specified using ClusterID |
modify_instance_groups | ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group |
put_auto_scaling_policy | Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster |
put_block_public_access_configuration | Creates or updates an Amazon EMR block public access configuration for your AWS account in the current Region |
put_managed_scaling_policy | Creates or updates a managed scaling policy for an Amazon EMR cluster |
remove_auto_scaling_policy | Removes an automatic scaling policy from a specified instance group within an EMR cluster |
remove_managed_scaling_policy | Removes a managed scaling policy from a specified EMR cluster |
remove_tags | Removes tags from an Amazon EMR resource |
run_job_flow | RunJobFlow creates and starts running a new cluster (job flow) |
set_termination_protection | SetTerminationProtection 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_users | Sets 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_execution | Starts a notebook execution |
stop_notebook_execution | Stops a notebook execution |
terminate_job_flows | TerminateJobFlows shuts a list of clusters (job flows) down |
update_studio_session_mapping | The Amazon EMR Studio APIs are in preview release for Amazon EMR and are subject to change |
if (FALSE) {
svc <- emr()
svc$add_instance_fleet(
Foo = 123
)
}
Run the code above in your browser using DataLab