amazonka-emr-serverless-2.0: Amazon EMR Serverless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EMRServerless.UpdateApplication

Description

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

Synopsis

Creating a Request

data UpdateApplication Source #

See: newUpdateApplication smart constructor.

Constructors

UpdateApplication' 

Fields

Instances

Instances details
ToJSON UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

ToHeaders UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Associated Types

type AWSResponse UpdateApplication #

Generic UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

Read UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

NFData UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

Eq UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Hashable UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

type AWSResponse UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

type Rep UpdateApplication Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

type Rep UpdateApplication = D1 ('MetaData "UpdateApplication" "Amazonka.EMRServerless.UpdateApplication" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "UpdateApplication'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "architecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Architecture)) :*: S1 ('MetaSel ('Just "autoStartConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoStartConfig))) :*: (S1 ('MetaSel ('Just "autoStopConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoStopConfig)) :*: (S1 ('MetaSel ('Just "imageConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageConfigurationInput)) :*: S1 ('MetaSel ('Just "initialCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text InitialCapacityConfig)))))) :*: ((S1 ('MetaSel ('Just "maximumCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaximumAllowedResources)) :*: S1 ('MetaSel ('Just "networkConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConfiguration))) :*: (S1 ('MetaSel ('Just "workerTypeSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text WorkerTypeSpecificationInput))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newUpdateApplication Source #

Create a value of UpdateApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateApplication, updateApplication_architecture - The CPU architecture of an application.

UpdateApplication, updateApplication_autoStartConfiguration - The configuration for an application to automatically start on job submission.

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

UpdateApplication, updateApplication_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.

UpdateApplication, updateApplication_initialCapacity - The capacity to initialize when the application is updated.

UpdateApplication, updateApplication_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.

UpdateApplication, updateApplication_networkConfiguration - Undocumented member.

UpdateApplication, updateApplication_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.

UpdateApplication, updateApplication_applicationId - The ID of the application to update.

$sel:clientToken:UpdateApplication', updateApplication_clientToken - The client idempotency token of the application to update. Its value must be unique for each request.

Request Lenses

updateApplication_autoStartConfiguration :: Lens' UpdateApplication (Maybe AutoStartConfig) Source #

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

updateApplication_autoStopConfiguration :: Lens' UpdateApplication (Maybe AutoStopConfig) Source #

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

updateApplication_imageConfiguration :: Lens' UpdateApplication (Maybe ImageConfigurationInput) Source #

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

updateApplication_initialCapacity :: Lens' UpdateApplication (Maybe (HashMap Text InitialCapacityConfig)) Source #

The capacity to initialize when the application is updated.

updateApplication_maximumCapacity :: Lens' UpdateApplication (Maybe MaximumAllowedResources) Source #

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.

updateApplication_workerTypeSpecifications :: Lens' UpdateApplication (Maybe (HashMap Text WorkerTypeSpecificationInput)) Source #

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.

updateApplication_applicationId :: Lens' UpdateApplication Text Source #

The ID of the application to update.

updateApplication_clientToken :: Lens' UpdateApplication Text Source #

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

Destructuring the Response

data UpdateApplicationResponse Source #

See: newUpdateApplicationResponse smart constructor.

Constructors

UpdateApplicationResponse' 

Fields

Instances

Instances details
Generic UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

Read UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

Eq UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.UpdateApplication

type Rep UpdateApplicationResponse = D1 ('MetaData "UpdateApplicationResponse" "Amazonka.EMRServerless.UpdateApplication" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "UpdateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "application") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Application)))

newUpdateApplicationResponse Source #

Create a value of UpdateApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateApplicationResponse', updateApplicationResponse_httpStatus - The response's http status code.

$sel:application:UpdateApplicationResponse', updateApplicationResponse_application - Information about the updated application.

Response Lenses