Skip to content

UpdateApplicationRequest

Source code in docs_src/capo_emr_serverless/types/update_application_request.py
class UpdateApplicationRequest(TypedDict, closed=True):
    application_id: "capo_emr_serverless.types.application_id.ApplicationId"
    """<p>The ID of the application to update.</p>"""
    client_token: "capo_emr_serverless.types.client_token.ClientToken"
    """<p>The client idempotency token of the application to update. Its value must be unique for each request.</p>"""
    initial_capacity: NotRequired[
        "capo_emr_serverless.types.initial_capacity_config_map.InitialCapacityConfigMap"
    ]
    """<p>The capacity to initialize when the application is updated.</p>"""
    maximum_capacity: NotRequired[
        "capo_emr_serverless.types.maximum_allowed_resources.MaximumAllowedResources"
    ]
    """<p>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.</p>"""
    auto_start_configuration: NotRequired[
        "capo_emr_serverless.types.auto_start_config.AutoStartConfig"
    ]
    """<p>The configuration for an application to automatically start on job submission.</p>"""
    auto_stop_configuration: NotRequired[
        "capo_emr_serverless.types.auto_stop_config.AutoStopConfig"
    ]
    """<p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>"""
    network_configuration: NotRequired[
        "capo_emr_serverless.types.network_configuration.NetworkConfiguration"
    ]
    architecture: NotRequired["capo_emr_serverless.types.architecture.Architecture"]
    """<p>The CPU architecture of an application.</p>"""
    image_configuration: NotRequired[
        "capo_emr_serverless.types.image_configuration_input.ImageConfigurationInput"
    ]
    """<p>The image configuration to be used for all worker types. You can either set this parameter or <code>imageConfiguration</code> for each worker type in <code>WorkerTypeSpecificationInput</code>.</p>"""
    worker_type_specifications: NotRequired[
        "capo_emr_serverless.types.worker_type_specification_input_map.WorkerTypeSpecificationInputMap"
    ]
    """<p>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.</p>"""
    interactive_configuration: NotRequired[
        "capo_emr_serverless.types.interactive_configuration.InteractiveConfiguration"
    ]
    """<p>The interactive configuration object that contains new interactive use cases when the application is updated.</p>"""
    release_label: NotRequired["capo_emr_serverless.types.release_label.ReleaseLabel"]
    """<p>The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.</p>"""
    runtime_configuration: NotRequired[
        "capo_emr_serverless.types.configuration_list.ConfigurationList"
    ]
    """<p>The <a href="https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html">Configuration</a> 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.</p>"""
    monitoring_configuration: NotRequired[
        "capo_emr_serverless.types.monitoring_configuration.MonitoringConfiguration"
    ]
    """<p>The configuration setting for monitoring.</p>"""
    disk_encryption_configuration: NotRequired[
        "capo_emr_serverless.types.disk_encryption_configuration.DiskEncryptionConfiguration"
    ]
    """<p>The configuration object that allows encrypting local disks.</p>"""
    scheduler_configuration: NotRequired[
        "capo_emr_serverless.types.scheduler_configuration.SchedulerConfiguration"
    ]
    """<p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>"""
    identity_center_configuration: NotRequired[
        "capo_emr_serverless.types.identity_center_configuration_input.IdentityCenterConfigurationInput"
    ]
    """<p>Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.</p>"""
    job_level_cost_allocation_configuration: NotRequired[
        "capo_emr_serverless.types.job_level_cost_allocation_configuration.JobLevelCostAllocationConfiguration"
    ]
    """<p>The configuration object that enables job level cost allocation.</p>"""

application_id instance-attribute

application_id: ApplicationId

The ID of the application to update.

architecture instance-attribute

architecture: NotRequired[Architecture]

The CPU architecture of an application.

auto_start_configuration instance-attribute

auto_start_configuration: NotRequired[AutoStartConfig]

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

auto_stop_configuration instance-attribute

auto_stop_configuration: NotRequired[AutoStopConfig]

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

client_token instance-attribute

client_token: ClientToken

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

disk_encryption_configuration instance-attribute

disk_encryption_configuration: NotRequired[DiskEncryptionConfiguration]

The configuration object that allows encrypting local disks.

identity_center_configuration instance-attribute

identity_center_configuration: NotRequired[IdentityCenterConfigurationInput]

Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.

image_configuration instance-attribute

image_configuration: NotRequired[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.

initial_capacity instance-attribute

initial_capacity: NotRequired[InitialCapacityConfigMap]

The capacity to initialize when the application is updated.

interactive_configuration instance-attribute

interactive_configuration: NotRequired[InteractiveConfiguration]

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

job_level_cost_allocation_configuration instance-attribute

job_level_cost_allocation_configuration: NotRequired[
    JobLevelCostAllocationConfiguration
]

The configuration object that enables job level cost allocation.

maximum_capacity instance-attribute

maximum_capacity: NotRequired[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.

monitoring_configuration instance-attribute

monitoring_configuration: NotRequired[MonitoringConfiguration]

The configuration setting for monitoring.

network_configuration instance-attribute

network_configuration: NotRequired[NetworkConfiguration]

release_label instance-attribute

release_label: NotRequired[ReleaseLabel]

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

runtime_configuration instance-attribute

runtime_configuration: NotRequired[ConfigurationList]

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.

scheduler_configuration instance-attribute

scheduler_configuration: NotRequired[SchedulerConfiguration]

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

worker_type_specifications instance-attribute

worker_type_specifications: NotRequired[WorkerTypeSpecificationInputMap]

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.