emrserverless_update_application: Updates a specified application

View source: R/emrserverless_operations.R

emrserverless_update_applicationR Documentation

Updates a specified application

Description

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

See https://www.paws-r-sdk.com/docs/emrserverless_update_application/ for full documentation.

Usage

emrserverless_update_application(
  applicationId,
  clientToken,
  initialCapacity = NULL,
  maximumCapacity = NULL,
  autoStartConfiguration = NULL,
  autoStopConfiguration = NULL,
  networkConfiguration = NULL,
  architecture = NULL,
  imageConfiguration = NULL,
  workerTypeSpecifications = NULL,
  releaseLabel = NULL
)

Arguments

applicationId

[required] The ID of the application to update.

clientToken

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

initialCapacity

The capacity to initialize when the application is updated.

maximumCapacity

The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.

autoStartConfiguration

The configuration for an application to automatically start on job submission.

autoStopConfiguration

The configuration for an application to automatically stop after a certain amount of time being idle.

networkConfiguration
architecture

The CPU architecture of an application.

imageConfiguration

The image configuration to be used for all worker types. You can either set this parameter or imageConfiguration for each worker type in WorkerTypeSpecificationInput.

workerTypeSpecifications

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

releaseLabel

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


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.