Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::EMRServerless::Types::UpdateApplicationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The ID of the application to update.

Returns:

  • (String)

1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#architectureString

The CPU architecture of an application.

Returns:

  • (String)

1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#auto_start_configurationTypes::AutoStartConfig

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


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#auto_stop_configurationTypes::AutoStopConfig

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


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)

1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#image_configurationTypes::ImageConfigurationInput

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


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#initial_capacityHash<String,Types::InitialCapacityConfig>

The capacity to initialize when the application is updated.

Returns:


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#interactive_configurationTypes::InteractiveConfiguration

The interactive configuration object that contains new interactive use cases when the application is updated.


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_capacityTypes::MaximumAllowedResources

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.


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#monitoring_configurationTypes::MonitoringConfiguration

The configuration setting for monitoring.


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::NetworkConfiguration

The network configuration for customer VPC connectivity.


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#release_labelString

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

Returns:

  • (String)

1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#runtime_configurationArray<Types::Configuration>

The Configuration specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.

Returns:


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#scheduler_configurationTypes::SchedulerConfiguration

The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#worker_type_specificationsHash<String,Types::WorkerTypeSpecificationInput>

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.

Returns:


1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
# File 'gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/types.rb', line 1847

class UpdateApplicationRequest < Struct.new(
  :application_id,
  :client_token,
  :initial_capacity,
  :maximum_capacity,
  :auto_start_configuration,
  :auto_stop_configuration,
  :network_configuration,
  :architecture,
  :image_configuration,
  :worker_type_specifications,
  :interactive_configuration,
  :release_label,
  :runtime_configuration,
  :monitoring_configuration,
  :scheduler_configuration)
  SENSITIVE = []
  include Aws::Structure
end