View Source AWS.EMRServerless (aws-elixir v1.0.4)
Amazon EMR Serverless is a new deployment option for Amazon EMR.
Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.
The API reference to Amazon EMR Serverless is emr-serverless
. The
emr-serverless
prefix is used in the following scenarios:
*
It is the prefix in the CLI commands for Amazon EMR Serverless. For
example, aws emr-serverless start-job-run
.
*
It is the prefix before IAM policy actions for Amazon EMR Serverless. For
example, "Action": ["emr-serverless:StartJobRun"]
. For more information, see Policy actions for Amazon EMR
Serverless.
*
It is the prefix used in Amazon EMR Serverless service endpoints. For
example, emr-serverless.us-east-2.amazonaws.com
.
Link to this section Summary
Functions
Cancels a job run.
Creates an application.
Deletes an application.
Displays detailed information about a specified application.
Creates and returns a URL that you can use to access the application UIs for a job run.
Displays detailed information about a job run.
Lists applications based on a set of parameters.
Lists all attempt of a job run.
Lists job runs based on a set of parameters.
Lists the tags assigned to the resources.
Starts a specified application and initializes initial capacity if configured.
Starts a job run.
Stops a specified application and releases initial capacity if configured.
Assigns tags to resources.
Removes tags from resources.
Updates a specified application.
Link to this section Functions
cancel_job_run(client, application_id, job_run_id, input, options \\ [])
View SourceCancels a job run.
Creates an application.
Deletes an application.
An application has to be in a stopped or created state in order to be deleted.
Displays detailed information about a specified application.
get_dashboard_for_job_run(client, application_id, job_run_id, attempt \\ nil, options \\ [])
View SourceCreates and returns a URL that you can use to access the application UIs for a job run.
For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.
The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.
get_job_run(client, application_id, job_run_id, attempt \\ nil, options \\ [])
View SourceDisplays detailed information about a job run.
list_applications(client, max_results \\ nil, next_token \\ nil, states \\ nil, options \\ [])
View SourceLists applications based on a set of parameters.
list_job_run_attempts(client, application_id, job_run_id, max_results \\ nil, next_token \\ nil, options \\ [])
View SourceLists all attempt of a job run.
list_job_runs(client, application_id, created_at_after \\ nil, created_at_before \\ nil, max_results \\ nil, mode \\ nil, next_token \\ nil, states \\ nil, options \\ [])
View SourceLists job runs based on a set of parameters.
Lists the tags assigned to the resources.
Starts a specified application and initializes initial capacity if configured.
Starts a job run.
Stops a specified application and releases initial capacity if configured.
All scheduled and running jobs must be completed or cancelled before stopping an application.
Assigns tags to resources.
A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it.
Removes tags from resources.
Updates a specified application.
An application has to be in a stopped or created state in order to be updated.