v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1422181132.4 KB

Updates a specified application. An application has to be in a stopped or created state in order to be updated.

patch/applications/{applicationId}

Path parameters

applicationIdstring required

The ID of the application to update.

Request body

clientTokenstring required

The client idempotency token of the application to update. Its value must be unique for each request.

initialCapacityobject

The capacity to initialize when the application is updated.

architecture'ARM64' | 'X86_64'

The CPU architecture of an application.

workerTypeSpecificationsobject

The key-value pairs that specify worker type to <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.

releaseLabelstring

The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.

Response

Success