Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- ApplicationState
- Architecture
- JobRunState
- Application
- ApplicationSummary
- AutoStartConfig
- AutoStopConfig
- Configuration
- ConfigurationOverrides
- Hive
- ImageConfiguration
- ImageConfigurationInput
- InitialCapacityConfig
- JobDriver
- JobRun
- JobRunSummary
- ManagedPersistenceMonitoringConfiguration
- MaximumAllowedResources
- MonitoringConfiguration
- NetworkConfiguration
- S3MonitoringConfiguration
- SparkSubmit
- TotalResourceUtilization
- WorkerResourceConfig
- WorkerTypeSpecification
- WorkerTypeSpecificationInput
Synopsis
- defaultService :: Service
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype ApplicationState where
- ApplicationState' { }
- pattern ApplicationState_CREATED :: ApplicationState
- pattern ApplicationState_CREATING :: ApplicationState
- pattern ApplicationState_STARTED :: ApplicationState
- pattern ApplicationState_STARTING :: ApplicationState
- pattern ApplicationState_STOPPED :: ApplicationState
- pattern ApplicationState_STOPPING :: ApplicationState
- pattern ApplicationState_TERMINATED :: ApplicationState
- newtype Architecture where
- Architecture' { }
- pattern Architecture_ARM64 :: Architecture
- pattern Architecture_X86_64 :: Architecture
- newtype JobRunState where
- JobRunState' { }
- pattern JobRunState_CANCELLED :: JobRunState
- pattern JobRunState_CANCELLING :: JobRunState
- pattern JobRunState_FAILED :: JobRunState
- pattern JobRunState_PENDING :: JobRunState
- pattern JobRunState_RUNNING :: JobRunState
- pattern JobRunState_SCHEDULED :: JobRunState
- pattern JobRunState_SUBMITTED :: JobRunState
- pattern JobRunState_SUCCESS :: JobRunState
- data Application = Application' {
- architecture :: Maybe Architecture
- autoStartConfiguration :: Maybe AutoStartConfig
- autoStopConfiguration :: Maybe AutoStopConfig
- imageConfiguration :: Maybe ImageConfiguration
- initialCapacity :: Maybe (HashMap Text InitialCapacityConfig)
- maximumCapacity :: Maybe MaximumAllowedResources
- name :: Maybe Text
- networkConfiguration :: Maybe NetworkConfiguration
- stateDetails :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- workerTypeSpecifications :: Maybe (HashMap Text WorkerTypeSpecification)
- applicationId :: Text
- arn :: Text
- releaseLabel :: Text
- type' :: Text
- state :: ApplicationState
- createdAt :: POSIX
- updatedAt :: POSIX
- newApplication :: Text -> Text -> Text -> Text -> ApplicationState -> UTCTime -> UTCTime -> Application
- application_architecture :: Lens' Application (Maybe Architecture)
- application_autoStartConfiguration :: Lens' Application (Maybe AutoStartConfig)
- application_autoStopConfiguration :: Lens' Application (Maybe AutoStopConfig)
- application_imageConfiguration :: Lens' Application (Maybe ImageConfiguration)
- application_initialCapacity :: Lens' Application (Maybe (HashMap Text InitialCapacityConfig))
- application_maximumCapacity :: Lens' Application (Maybe MaximumAllowedResources)
- application_name :: Lens' Application (Maybe Text)
- application_networkConfiguration :: Lens' Application (Maybe NetworkConfiguration)
- application_stateDetails :: Lens' Application (Maybe Text)
- application_tags :: Lens' Application (Maybe (HashMap Text Text))
- application_workerTypeSpecifications :: Lens' Application (Maybe (HashMap Text WorkerTypeSpecification))
- application_applicationId :: Lens' Application Text
- application_arn :: Lens' Application Text
- application_releaseLabel :: Lens' Application Text
- application_type :: Lens' Application Text
- application_state :: Lens' Application ApplicationState
- application_createdAt :: Lens' Application UTCTime
- application_updatedAt :: Lens' Application UTCTime
- data ApplicationSummary = ApplicationSummary' {
- architecture :: Maybe Architecture
- name :: Maybe Text
- stateDetails :: Maybe Text
- id :: Text
- arn :: Text
- releaseLabel :: Text
- type' :: Text
- state :: ApplicationState
- createdAt :: POSIX
- updatedAt :: POSIX
- newApplicationSummary :: Text -> Text -> Text -> Text -> ApplicationState -> UTCTime -> UTCTime -> ApplicationSummary
- applicationSummary_architecture :: Lens' ApplicationSummary (Maybe Architecture)
- applicationSummary_name :: Lens' ApplicationSummary (Maybe Text)
- applicationSummary_stateDetails :: Lens' ApplicationSummary (Maybe Text)
- applicationSummary_id :: Lens' ApplicationSummary Text
- applicationSummary_arn :: Lens' ApplicationSummary Text
- applicationSummary_releaseLabel :: Lens' ApplicationSummary Text
- applicationSummary_type :: Lens' ApplicationSummary Text
- applicationSummary_state :: Lens' ApplicationSummary ApplicationState
- applicationSummary_createdAt :: Lens' ApplicationSummary UTCTime
- applicationSummary_updatedAt :: Lens' ApplicationSummary UTCTime
- data AutoStartConfig = AutoStartConfig' {}
- newAutoStartConfig :: AutoStartConfig
- autoStartConfig_enabled :: Lens' AutoStartConfig (Maybe Bool)
- data AutoStopConfig = AutoStopConfig' {}
- newAutoStopConfig :: AutoStopConfig
- autoStopConfig_enabled :: Lens' AutoStopConfig (Maybe Bool)
- autoStopConfig_idleTimeoutMinutes :: Lens' AutoStopConfig (Maybe Natural)
- data Configuration = Configuration' {
- configurations :: Maybe [Configuration]
- properties :: Maybe (Sensitive (HashMap Text Text))
- classification :: Text
- newConfiguration :: Text -> Configuration
- configuration_configurations :: Lens' Configuration (Maybe [Configuration])
- configuration_properties :: Lens' Configuration (Maybe (HashMap Text Text))
- configuration_classification :: Lens' Configuration Text
- data ConfigurationOverrides = ConfigurationOverrides' {}
- newConfigurationOverrides :: ConfigurationOverrides
- configurationOverrides_applicationConfiguration :: Lens' ConfigurationOverrides (Maybe [Configuration])
- configurationOverrides_monitoringConfiguration :: Lens' ConfigurationOverrides (Maybe MonitoringConfiguration)
- data Hive = Hive' {}
- newHive :: Text -> Hive
- hive_initQueryFile :: Lens' Hive (Maybe Text)
- hive_parameters :: Lens' Hive (Maybe Text)
- hive_query :: Lens' Hive Text
- data ImageConfiguration = ImageConfiguration' {}
- newImageConfiguration :: Text -> ImageConfiguration
- imageConfiguration_resolvedImageDigest :: Lens' ImageConfiguration (Maybe Text)
- imageConfiguration_imageUri :: Lens' ImageConfiguration Text
- data ImageConfigurationInput = ImageConfigurationInput' {}
- newImageConfigurationInput :: ImageConfigurationInput
- imageConfigurationInput_imageUri :: Lens' ImageConfigurationInput (Maybe Text)
- data InitialCapacityConfig = InitialCapacityConfig' {}
- newInitialCapacityConfig :: Natural -> InitialCapacityConfig
- initialCapacityConfig_workerConfiguration :: Lens' InitialCapacityConfig (Maybe WorkerResourceConfig)
- initialCapacityConfig_workerCount :: Lens' InitialCapacityConfig Natural
- data JobDriver = JobDriver' {
- hive :: Maybe Hive
- sparkSubmit :: Maybe SparkSubmit
- newJobDriver :: JobDriver
- jobDriver_hive :: Lens' JobDriver (Maybe Hive)
- jobDriver_sparkSubmit :: Lens' JobDriver (Maybe SparkSubmit)
- data JobRun = JobRun' {
- configurationOverrides :: Maybe ConfigurationOverrides
- name :: Maybe Text
- networkConfiguration :: Maybe NetworkConfiguration
- tags :: Maybe (HashMap Text Text)
- totalExecutionDurationSeconds :: Maybe Int
- totalResourceUtilization :: Maybe TotalResourceUtilization
- applicationId :: Text
- jobRunId :: Text
- arn :: Text
- createdBy :: Text
- createdAt :: POSIX
- updatedAt :: POSIX
- executionRole :: Text
- state :: JobRunState
- stateDetails :: Text
- releaseLabel :: Text
- jobDriver :: JobDriver
- newJobRun :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> Text -> JobRunState -> Text -> Text -> JobDriver -> JobRun
- jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides)
- jobRun_name :: Lens' JobRun (Maybe Text)
- jobRun_networkConfiguration :: Lens' JobRun (Maybe NetworkConfiguration)
- jobRun_tags :: Lens' JobRun (Maybe (HashMap Text Text))
- jobRun_totalExecutionDurationSeconds :: Lens' JobRun (Maybe Int)
- jobRun_totalResourceUtilization :: Lens' JobRun (Maybe TotalResourceUtilization)
- jobRun_applicationId :: Lens' JobRun Text
- jobRun_jobRunId :: Lens' JobRun Text
- jobRun_arn :: Lens' JobRun Text
- jobRun_createdBy :: Lens' JobRun Text
- jobRun_createdAt :: Lens' JobRun UTCTime
- jobRun_updatedAt :: Lens' JobRun UTCTime
- jobRun_executionRole :: Lens' JobRun Text
- jobRun_state :: Lens' JobRun JobRunState
- jobRun_stateDetails :: Lens' JobRun Text
- jobRun_releaseLabel :: Lens' JobRun Text
- jobRun_jobDriver :: Lens' JobRun JobDriver
- data JobRunSummary = JobRunSummary' {}
- newJobRunSummary :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> Text -> JobRunState -> Text -> Text -> JobRunSummary
- jobRunSummary_name :: Lens' JobRunSummary (Maybe Text)
- jobRunSummary_type :: Lens' JobRunSummary (Maybe Text)
- jobRunSummary_applicationId :: Lens' JobRunSummary Text
- jobRunSummary_id :: Lens' JobRunSummary Text
- jobRunSummary_arn :: Lens' JobRunSummary Text
- jobRunSummary_createdBy :: Lens' JobRunSummary Text
- jobRunSummary_createdAt :: Lens' JobRunSummary UTCTime
- jobRunSummary_updatedAt :: Lens' JobRunSummary UTCTime
- jobRunSummary_executionRole :: Lens' JobRunSummary Text
- jobRunSummary_state :: Lens' JobRunSummary JobRunState
- jobRunSummary_stateDetails :: Lens' JobRunSummary Text
- jobRunSummary_releaseLabel :: Lens' JobRunSummary Text
- data ManagedPersistenceMonitoringConfiguration = ManagedPersistenceMonitoringConfiguration' {}
- newManagedPersistenceMonitoringConfiguration :: ManagedPersistenceMonitoringConfiguration
- managedPersistenceMonitoringConfiguration_enabled :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Bool)
- managedPersistenceMonitoringConfiguration_encryptionKeyArn :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Text)
- data MaximumAllowedResources = MaximumAllowedResources' {}
- newMaximumAllowedResources :: Text -> Text -> MaximumAllowedResources
- maximumAllowedResources_disk :: Lens' MaximumAllowedResources (Maybe Text)
- maximumAllowedResources_cpu :: Lens' MaximumAllowedResources Text
- maximumAllowedResources_memory :: Lens' MaximumAllowedResources Text
- data MonitoringConfiguration = MonitoringConfiguration' {}
- newMonitoringConfiguration :: MonitoringConfiguration
- monitoringConfiguration_managedPersistenceMonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe ManagedPersistenceMonitoringConfiguration)
- monitoringConfiguration_s3MonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe S3MonitoringConfiguration)
- data NetworkConfiguration = NetworkConfiguration' {}
- newNetworkConfiguration :: NetworkConfiguration
- networkConfiguration_securityGroupIds :: Lens' NetworkConfiguration (Maybe [Text])
- networkConfiguration_subnetIds :: Lens' NetworkConfiguration (Maybe [Text])
- data S3MonitoringConfiguration = S3MonitoringConfiguration' {}
- newS3MonitoringConfiguration :: S3MonitoringConfiguration
- s3MonitoringConfiguration_encryptionKeyArn :: Lens' S3MonitoringConfiguration (Maybe Text)
- s3MonitoringConfiguration_logUri :: Lens' S3MonitoringConfiguration (Maybe Text)
- data SparkSubmit = SparkSubmit' {}
- newSparkSubmit :: Text -> SparkSubmit
- sparkSubmit_entryPointArguments :: Lens' SparkSubmit (Maybe [Text])
- sparkSubmit_sparkSubmitParameters :: Lens' SparkSubmit (Maybe Text)
- sparkSubmit_entryPoint :: Lens' SparkSubmit Text
- data TotalResourceUtilization = TotalResourceUtilization' {}
- newTotalResourceUtilization :: TotalResourceUtilization
- totalResourceUtilization_memoryGBHour :: Lens' TotalResourceUtilization (Maybe Double)
- totalResourceUtilization_storageGBHour :: Lens' TotalResourceUtilization (Maybe Double)
- totalResourceUtilization_vCPUHour :: Lens' TotalResourceUtilization (Maybe Double)
- data WorkerResourceConfig = WorkerResourceConfig' {}
- newWorkerResourceConfig :: Text -> Text -> WorkerResourceConfig
- workerResourceConfig_disk :: Lens' WorkerResourceConfig (Maybe Text)
- workerResourceConfig_cpu :: Lens' WorkerResourceConfig Text
- workerResourceConfig_memory :: Lens' WorkerResourceConfig Text
- data WorkerTypeSpecification = WorkerTypeSpecification' {}
- newWorkerTypeSpecification :: WorkerTypeSpecification
- workerTypeSpecification_imageConfiguration :: Lens' WorkerTypeSpecification (Maybe ImageConfiguration)
- data WorkerTypeSpecificationInput = WorkerTypeSpecificationInput' {}
- newWorkerTypeSpecificationInput :: WorkerTypeSpecificationInput
- workerTypeSpecificationInput_imageConfiguration :: Lens' WorkerTypeSpecificationInput (Maybe ImageConfigurationInput)
Service Configuration
defaultService :: Service Source #
API version 2021-07-13
of the Amazon EMR Serverless SDK configuration.
Errors
_ConflictException :: AsError a => Fold a ServiceError Source #
The request could not be processed because of conflict in the current state of the resource.
_InternalServerException :: AsError a => Fold a ServiceError Source #
Request processing failed because of an error or failure with the service.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The specified resource was not found.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
The maximum number of resources per account has been reached.
_ValidationException :: AsError a => Fold a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
ApplicationState
newtype ApplicationState Source #
pattern ApplicationState_CREATED :: ApplicationState | |
pattern ApplicationState_CREATING :: ApplicationState | |
pattern ApplicationState_STARTED :: ApplicationState | |
pattern ApplicationState_STARTING :: ApplicationState | |
pattern ApplicationState_STOPPED :: ApplicationState | |
pattern ApplicationState_STOPPING :: ApplicationState | |
pattern ApplicationState_TERMINATED :: ApplicationState |
Instances
Architecture
newtype Architecture Source #
pattern Architecture_ARM64 :: Architecture | |
pattern Architecture_X86_64 :: Architecture |
Instances
JobRunState
newtype JobRunState Source #
pattern JobRunState_CANCELLED :: JobRunState | |
pattern JobRunState_CANCELLING :: JobRunState | |
pattern JobRunState_FAILED :: JobRunState | |
pattern JobRunState_PENDING :: JobRunState | |
pattern JobRunState_RUNNING :: JobRunState | |
pattern JobRunState_SCHEDULED :: JobRunState | |
pattern JobRunState_SUBMITTED :: JobRunState | |
pattern JobRunState_SUCCESS :: JobRunState |
Instances
Application
data Application Source #
Information about an application. EMR Serverless uses applications to run jobs.
See: newApplication
smart constructor.
Application' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ApplicationState | |
-> UTCTime | |
-> UTCTime | |
-> Application |
Create a value of Application
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:architecture:Application'
, application_architecture
- The CPU architecture of an application.
$sel:autoStartConfiguration:Application'
, application_autoStartConfiguration
- The configuration for an application to automatically start on job
submission.
$sel:autoStopConfiguration:Application'
, application_autoStopConfiguration
- The configuration for an application to automatically stop after a
certain amount of time being idle.
Application
, application_imageConfiguration
- The image configuration applied to all worker types.
$sel:initialCapacity:Application'
, application_initialCapacity
- The initial capacity of the application.
$sel:maximumCapacity:Application'
, application_maximumCapacity
- The maximum capacity of the application. This is cumulative across all
workers at any given point in time during the lifespan of the
application is created. No new resources will be created once any one of
the defined limits is hit.
$sel:name:Application'
, application_name
- The name of the application.
$sel:networkConfiguration:Application'
, application_networkConfiguration
- The network configuration for customer VPC connectivity for the
application.
$sel:stateDetails:Application'
, application_stateDetails
- The state details of the application.
$sel:tags:Application'
, application_tags
- The tags assigned to the application.
$sel:workerTypeSpecifications:Application'
, application_workerTypeSpecifications
- The specification applied to each worker type.
$sel:applicationId:Application'
, application_applicationId
- The ID of the application.
$sel:arn:Application'
, application_arn
- The ARN of the application.
$sel:releaseLabel:Application'
, application_releaseLabel
- The EMR release associated with the application.
$sel:type':Application'
, application_type
- The type of application, such as Spark or Hive.
$sel:state:Application'
, application_state
- The state of the application.
$sel:createdAt:Application'
, application_createdAt
- The date and time when the application run was created.
$sel:updatedAt:Application'
, application_updatedAt
- The date and time when the application run was last updated.
application_architecture :: Lens' Application (Maybe Architecture) Source #
The CPU architecture of an application.
application_autoStartConfiguration :: Lens' Application (Maybe AutoStartConfig) Source #
The configuration for an application to automatically start on job submission.
application_autoStopConfiguration :: Lens' Application (Maybe AutoStopConfig) Source #
The configuration for an application to automatically stop after a certain amount of time being idle.
application_imageConfiguration :: Lens' Application (Maybe ImageConfiguration) Source #
The image configuration applied to all worker types.
application_initialCapacity :: Lens' Application (Maybe (HashMap Text InitialCapacityConfig)) Source #
The initial capacity of the application.
application_maximumCapacity :: Lens' Application (Maybe MaximumAllowedResources) Source #
The maximum capacity of the application. This is cumulative across all workers at any given point in time during the lifespan of the application is created. No new resources will be created once any one of the defined limits is hit.
application_name :: Lens' Application (Maybe Text) Source #
The name of the application.
application_networkConfiguration :: Lens' Application (Maybe NetworkConfiguration) Source #
The network configuration for customer VPC connectivity for the application.
application_stateDetails :: Lens' Application (Maybe Text) Source #
The state details of the application.
application_tags :: Lens' Application (Maybe (HashMap Text Text)) Source #
The tags assigned to the application.
application_workerTypeSpecifications :: Lens' Application (Maybe (HashMap Text WorkerTypeSpecification)) Source #
The specification applied to each worker type.
application_applicationId :: Lens' Application Text Source #
The ID of the application.
application_arn :: Lens' Application Text Source #
The ARN of the application.
application_releaseLabel :: Lens' Application Text Source #
The EMR release associated with the application.
application_type :: Lens' Application Text Source #
The type of application, such as Spark or Hive.
application_state :: Lens' Application ApplicationState Source #
The state of the application.
application_createdAt :: Lens' Application UTCTime Source #
The date and time when the application run was created.
application_updatedAt :: Lens' Application UTCTime Source #
The date and time when the application run was last updated.
ApplicationSummary
data ApplicationSummary Source #
The summary of attributes associated with an application.
See: newApplicationSummary
smart constructor.
ApplicationSummary' | |
|
Instances
newApplicationSummary Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ApplicationState | |
-> UTCTime | |
-> UTCTime | |
-> ApplicationSummary |
Create a value of ApplicationSummary
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:architecture:ApplicationSummary'
, applicationSummary_architecture
- The CPU architecture of an application.
$sel:name:ApplicationSummary'
, applicationSummary_name
- The name of the application.
$sel:stateDetails:ApplicationSummary'
, applicationSummary_stateDetails
- The state details of the application.
$sel:id:ApplicationSummary'
, applicationSummary_id
- The ID of the application.
$sel:arn:ApplicationSummary'
, applicationSummary_arn
- The ARN of the application.
$sel:releaseLabel:ApplicationSummary'
, applicationSummary_releaseLabel
- The EMR release associated with the application.
$sel:type':ApplicationSummary'
, applicationSummary_type
- The type of application, such as Spark or Hive.
$sel:state:ApplicationSummary'
, applicationSummary_state
- The state of the application.
$sel:createdAt:ApplicationSummary'
, applicationSummary_createdAt
- The date and time when the application was created.
$sel:updatedAt:ApplicationSummary'
, applicationSummary_updatedAt
- The date and time when the application was last updated.
applicationSummary_architecture :: Lens' ApplicationSummary (Maybe Architecture) Source #
The CPU architecture of an application.
applicationSummary_name :: Lens' ApplicationSummary (Maybe Text) Source #
The name of the application.
applicationSummary_stateDetails :: Lens' ApplicationSummary (Maybe Text) Source #
The state details of the application.
applicationSummary_id :: Lens' ApplicationSummary Text Source #
The ID of the application.
applicationSummary_arn :: Lens' ApplicationSummary Text Source #
The ARN of the application.
applicationSummary_releaseLabel :: Lens' ApplicationSummary Text Source #
The EMR release associated with the application.
applicationSummary_type :: Lens' ApplicationSummary Text Source #
The type of application, such as Spark or Hive.
applicationSummary_state :: Lens' ApplicationSummary ApplicationState Source #
The state of the application.
applicationSummary_createdAt :: Lens' ApplicationSummary UTCTime Source #
The date and time when the application was created.
applicationSummary_updatedAt :: Lens' ApplicationSummary UTCTime Source #
The date and time when the application was last updated.
AutoStartConfig
data AutoStartConfig Source #
The configuration for an application to automatically start on job submission.
See: newAutoStartConfig
smart constructor.
Instances
newAutoStartConfig :: AutoStartConfig Source #
Create a value of AutoStartConfig
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:enabled:AutoStartConfig'
, autoStartConfig_enabled
- Enables the application to automatically start on job submission.
Defaults to true.
autoStartConfig_enabled :: Lens' AutoStartConfig (Maybe Bool) Source #
Enables the application to automatically start on job submission. Defaults to true.
AutoStopConfig
data AutoStopConfig Source #
The configuration for an application to automatically stop after a certain amount of time being idle.
See: newAutoStopConfig
smart constructor.
Instances
newAutoStopConfig :: AutoStopConfig Source #
Create a value of AutoStopConfig
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:enabled:AutoStopConfig'
, autoStopConfig_enabled
- Enables the application to automatically stop after a certain amount of
time being idle. Defaults to true.
$sel:idleTimeoutMinutes:AutoStopConfig'
, autoStopConfig_idleTimeoutMinutes
- The amount of idle time in minutes after which your application will
automatically stop. Defaults to 15 minutes.
autoStopConfig_enabled :: Lens' AutoStopConfig (Maybe Bool) Source #
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
autoStopConfig_idleTimeoutMinutes :: Lens' AutoStopConfig (Maybe Natural) Source #
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
Configuration
data Configuration Source #
A configuration specification to be used when provisioning an application. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file.
See: newConfiguration
smart constructor.
Configuration' | |
|
Instances
Create a value of Configuration
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:configurations:Configuration'
, configuration_configurations
- A list of additional configurations to apply within a configuration
object.
$sel:properties:Configuration'
, configuration_properties
- A set of properties specified within a configuration classification.
$sel:classification:Configuration'
, configuration_classification
- The classification within a configuration.
configuration_configurations :: Lens' Configuration (Maybe [Configuration]) Source #
A list of additional configurations to apply within a configuration object.
configuration_properties :: Lens' Configuration (Maybe (HashMap Text Text)) Source #
A set of properties specified within a configuration classification.
configuration_classification :: Lens' Configuration Text Source #
The classification within a configuration.
ConfigurationOverrides
data ConfigurationOverrides Source #
A configuration specification to be used to override existing configurations.
See: newConfigurationOverrides
smart constructor.
ConfigurationOverrides' | |
|
Instances
newConfigurationOverrides :: ConfigurationOverrides Source #
Create a value of ConfigurationOverrides
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:applicationConfiguration:ConfigurationOverrides'
, configurationOverrides_applicationConfiguration
- The override configurations for the application.
$sel:monitoringConfiguration:ConfigurationOverrides'
, configurationOverrides_monitoringConfiguration
- The override configurations for monitoring.
configurationOverrides_applicationConfiguration :: Lens' ConfigurationOverrides (Maybe [Configuration]) Source #
The override configurations for the application.
configurationOverrides_monitoringConfiguration :: Lens' ConfigurationOverrides (Maybe MonitoringConfiguration) Source #
The override configurations for monitoring.
Hive
The configurations for the Hive job driver.
See: newHive
smart constructor.
Instances
FromJSON Hive Source # | |
ToJSON Hive Source # | |
Defined in Amazonka.EMRServerless.Types.Hive | |
Generic Hive Source # | |
Show Hive Source # | |
NFData Hive Source # | |
Defined in Amazonka.EMRServerless.Types.Hive | |
Eq Hive Source # | |
Hashable Hive Source # | |
Defined in Amazonka.EMRServerless.Types.Hive | |
type Rep Hive Source # | |
Defined in Amazonka.EMRServerless.Types.Hive type Rep Hive = D1 ('MetaData "Hive" "Amazonka.EMRServerless.Types.Hive" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "Hive'" 'PrefixI 'True) (S1 ('MetaSel ('Just "initQueryFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))) |
Create a value of Hive
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:initQueryFile:Hive'
, hive_initQueryFile
- The query file for the Hive job run.
$sel:parameters:Hive'
, hive_parameters
- The parameters for the Hive job run.
$sel:query:Hive'
, hive_query
- The query for the Hive job run.
ImageConfiguration
data ImageConfiguration Source #
The applied image configuration.
See: newImageConfiguration
smart constructor.
ImageConfiguration' | |
|
Instances
newImageConfiguration Source #
Create a value of ImageConfiguration
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:resolvedImageDigest:ImageConfiguration'
, imageConfiguration_resolvedImageDigest
- The SHA256 digest of the image URI. This indicates which specific image
the application is configured for. The image digest doesn't exist until
an application has started.
$sel:imageUri:ImageConfiguration'
, imageConfiguration_imageUri
- The image URI.
imageConfiguration_resolvedImageDigest :: Lens' ImageConfiguration (Maybe Text) Source #
The SHA256 digest of the image URI. This indicates which specific image the application is configured for. The image digest doesn't exist until an application has started.
imageConfiguration_imageUri :: Lens' ImageConfiguration Text Source #
The image URI.
ImageConfigurationInput
data ImageConfigurationInput Source #
The image configuration.
See: newImageConfigurationInput
smart constructor.
Instances
newImageConfigurationInput :: ImageConfigurationInput Source #
Create a value of ImageConfigurationInput
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:imageUri:ImageConfigurationInput'
, imageConfigurationInput_imageUri
- The URI of an image in the Amazon ECR registry. This field is required
when you create a new application. If you leave this field blank in an
update, Amazon EMR will remove the image configuration.
imageConfigurationInput_imageUri :: Lens' ImageConfigurationInput (Maybe Text) Source #
The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.
InitialCapacityConfig
data InitialCapacityConfig Source #
The initial capacity configuration per worker.
See: newInitialCapacityConfig
smart constructor.
InitialCapacityConfig' | |
|
Instances
newInitialCapacityConfig Source #
Create a value of InitialCapacityConfig
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:workerConfiguration:InitialCapacityConfig'
, initialCapacityConfig_workerConfiguration
- The resource configuration of the initial capacity configuration.
$sel:workerCount:InitialCapacityConfig'
, initialCapacityConfig_workerCount
- The number of workers in the initial capacity configuration.
initialCapacityConfig_workerConfiguration :: Lens' InitialCapacityConfig (Maybe WorkerResourceConfig) Source #
The resource configuration of the initial capacity configuration.
initialCapacityConfig_workerCount :: Lens' InitialCapacityConfig Natural Source #
The number of workers in the initial capacity configuration.
JobDriver
The driver that the job runs on.
See: newJobDriver
smart constructor.
JobDriver' | |
|
Instances
FromJSON JobDriver Source # | |
ToJSON JobDriver Source # | |
Defined in Amazonka.EMRServerless.Types.JobDriver | |
Generic JobDriver Source # | |
Show JobDriver Source # | |
NFData JobDriver Source # | |
Defined in Amazonka.EMRServerless.Types.JobDriver | |
Eq JobDriver Source # | |
Hashable JobDriver Source # | |
Defined in Amazonka.EMRServerless.Types.JobDriver | |
type Rep JobDriver Source # | |
Defined in Amazonka.EMRServerless.Types.JobDriver type Rep JobDriver = D1 ('MetaData "JobDriver" "Amazonka.EMRServerless.Types.JobDriver" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "JobDriver'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Hive)) :*: S1 ('MetaSel ('Just "sparkSubmit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SparkSubmit)))) |
newJobDriver :: JobDriver Source #
Create a value of JobDriver
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:hive:JobDriver'
, jobDriver_hive
- The job driver parameters specified for Hive.
$sel:sparkSubmit:JobDriver'
, jobDriver_sparkSubmit
- The job driver parameters specified for Spark.
jobDriver_hive :: Lens' JobDriver (Maybe Hive) Source #
The job driver parameters specified for Hive.
jobDriver_sparkSubmit :: Lens' JobDriver (Maybe SparkSubmit) Source #
The job driver parameters specified for Spark.
JobRun
Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an EMR Serverless application.
See: newJobRun
smart constructor.
JobRun' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> Text | |
-> JobRunState | |
-> Text | |
-> Text | |
-> JobDriver | |
-> JobRun |
Create a value of JobRun
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:configurationOverrides:JobRun'
, jobRun_configurationOverrides
- The configuration settings that are used to override default
configuration.
$sel:name:JobRun'
, jobRun_name
- The optional job run name. This doesn't have to be unique.
$sel:networkConfiguration:JobRun'
, jobRun_networkConfiguration
- Undocumented member.
$sel:tags:JobRun'
, jobRun_tags
- The tags assigned to the job run.
$sel:totalExecutionDurationSeconds:JobRun'
, jobRun_totalExecutionDurationSeconds
- The job run total execution duration in seconds. This field is only
available for job runs in a COMPLETED
, FAILED
, or CANCELLED
state.
$sel:totalResourceUtilization:JobRun'
, jobRun_totalResourceUtilization
- The aggregate vCPU, memory, and storage resources used from the time job
start executing till the time job is terminated, rounded up to the
nearest second.
$sel:applicationId:JobRun'
, jobRun_applicationId
- The ID of the application the job is running on.
$sel:jobRunId:JobRun'
, jobRun_jobRunId
- The ID of the job run.
$sel:arn:JobRun'
, jobRun_arn
- The execution role ARN of the job run.
$sel:createdBy:JobRun'
, jobRun_createdBy
- The user who created the job run.
$sel:createdAt:JobRun'
, jobRun_createdAt
- The date and time when the job run was created.
$sel:updatedAt:JobRun'
, jobRun_updatedAt
- The date and time when the job run was updated.
$sel:executionRole:JobRun'
, jobRun_executionRole
- The execution role ARN of the job run.
$sel:state:JobRun'
, jobRun_state
- The state of the job run.
$sel:stateDetails:JobRun'
, jobRun_stateDetails
- The state details of the job run.
$sel:releaseLabel:JobRun'
, jobRun_releaseLabel
- The EMR release associated with the application your job is running on.
$sel:jobDriver:JobRun'
, jobRun_jobDriver
- The job driver for the job run.
jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides) Source #
The configuration settings that are used to override default configuration.
jobRun_name :: Lens' JobRun (Maybe Text) Source #
The optional job run name. This doesn't have to be unique.
jobRun_networkConfiguration :: Lens' JobRun (Maybe NetworkConfiguration) Source #
Undocumented member.
jobRun_totalExecutionDurationSeconds :: Lens' JobRun (Maybe Int) Source #
The job run total execution duration in seconds. This field is only
available for job runs in a COMPLETED
, FAILED
, or CANCELLED
state.
jobRun_totalResourceUtilization :: Lens' JobRun (Maybe TotalResourceUtilization) Source #
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
jobRun_state :: Lens' JobRun JobRunState Source #
The state of the job run.
jobRun_releaseLabel :: Lens' JobRun Text Source #
The EMR release associated with the application your job is running on.
JobRunSummary
data JobRunSummary Source #
The summary of attributes associated with a job run.
See: newJobRunSummary
smart constructor.
JobRunSummary' | |
|
Instances
Create a value of JobRunSummary
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:name:JobRunSummary'
, jobRunSummary_name
- The optional job run name. This doesn't have to be unique.
$sel:type':JobRunSummary'
, jobRunSummary_type
- The type of job run, such as Spark or Hive.
$sel:applicationId:JobRunSummary'
, jobRunSummary_applicationId
- The ID of the application the job is running on.
$sel:id:JobRunSummary'
, jobRunSummary_id
- The ID of the job run.
$sel:arn:JobRunSummary'
, jobRunSummary_arn
- The ARN of the job run.
$sel:createdBy:JobRunSummary'
, jobRunSummary_createdBy
- The user who created the job run.
$sel:createdAt:JobRunSummary'
, jobRunSummary_createdAt
- The date and time when the job run was created.
$sel:updatedAt:JobRunSummary'
, jobRunSummary_updatedAt
- The date and time when the job run was last updated.
$sel:executionRole:JobRunSummary'
, jobRunSummary_executionRole
- The execution role ARN of the job run.
$sel:state:JobRunSummary'
, jobRunSummary_state
- The state of the job run.
$sel:stateDetails:JobRunSummary'
, jobRunSummary_stateDetails
- The state details of the job run.
$sel:releaseLabel:JobRunSummary'
, jobRunSummary_releaseLabel
- The EMR release associated with the application your job is running on.
jobRunSummary_name :: Lens' JobRunSummary (Maybe Text) Source #
The optional job run name. This doesn't have to be unique.
jobRunSummary_type :: Lens' JobRunSummary (Maybe Text) Source #
The type of job run, such as Spark or Hive.
jobRunSummary_applicationId :: Lens' JobRunSummary Text Source #
The ID of the application the job is running on.
jobRunSummary_id :: Lens' JobRunSummary Text Source #
The ID of the job run.
jobRunSummary_arn :: Lens' JobRunSummary Text Source #
The ARN of the job run.
jobRunSummary_createdBy :: Lens' JobRunSummary Text Source #
The user who created the job run.
jobRunSummary_createdAt :: Lens' JobRunSummary UTCTime Source #
The date and time when the job run was created.
jobRunSummary_updatedAt :: Lens' JobRunSummary UTCTime Source #
The date and time when the job run was last updated.
jobRunSummary_executionRole :: Lens' JobRunSummary Text Source #
The execution role ARN of the job run.
jobRunSummary_state :: Lens' JobRunSummary JobRunState Source #
The state of the job run.
jobRunSummary_stateDetails :: Lens' JobRunSummary Text Source #
The state details of the job run.
jobRunSummary_releaseLabel :: Lens' JobRunSummary Text Source #
The EMR release associated with the application your job is running on.
ManagedPersistenceMonitoringConfiguration
data ManagedPersistenceMonitoringConfiguration Source #
The managed log persistence configuration for a job run.
See: newManagedPersistenceMonitoringConfiguration
smart constructor.
Instances
newManagedPersistenceMonitoringConfiguration :: ManagedPersistenceMonitoringConfiguration Source #
Create a value of ManagedPersistenceMonitoringConfiguration
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:enabled:ManagedPersistenceMonitoringConfiguration'
, managedPersistenceMonitoringConfiguration_enabled
- Enables managed logging and defaults to true. If set to false, managed
logging will be turned off.
$sel:encryptionKeyArn:ManagedPersistenceMonitoringConfiguration'
, managedPersistenceMonitoringConfiguration_encryptionKeyArn
- The KMS key ARN to encrypt the logs stored in managed log persistence.
managedPersistenceMonitoringConfiguration_enabled :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Bool) Source #
Enables managed logging and defaults to true. If set to false, managed logging will be turned off.
managedPersistenceMonitoringConfiguration_encryptionKeyArn :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Text) Source #
The KMS key ARN to encrypt the logs stored in managed log persistence.
MaximumAllowedResources
data MaximumAllowedResources Source #
The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.
See: newMaximumAllowedResources
smart constructor.
Instances
newMaximumAllowedResources Source #
:: Text | |
-> Text | |
-> MaximumAllowedResources |
Create a value of MaximumAllowedResources
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:disk:MaximumAllowedResources'
, maximumAllowedResources_disk
- The maximum allowed disk for an application.
$sel:cpu:MaximumAllowedResources'
, maximumAllowedResources_cpu
- The maximum allowed CPU for an application.
$sel:memory:MaximumAllowedResources'
, maximumAllowedResources_memory
- The maximum allowed resources for an application.
maximumAllowedResources_disk :: Lens' MaximumAllowedResources (Maybe Text) Source #
The maximum allowed disk for an application.
maximumAllowedResources_cpu :: Lens' MaximumAllowedResources Text Source #
The maximum allowed CPU for an application.
maximumAllowedResources_memory :: Lens' MaximumAllowedResources Text Source #
The maximum allowed resources for an application.
MonitoringConfiguration
data MonitoringConfiguration Source #
The configuration setting for monitoring.
See: newMonitoringConfiguration
smart constructor.
MonitoringConfiguration' | |
|
Instances
newMonitoringConfiguration :: MonitoringConfiguration Source #
Create a value of MonitoringConfiguration
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:managedPersistenceMonitoringConfiguration:MonitoringConfiguration'
, monitoringConfiguration_managedPersistenceMonitoringConfiguration
- The managed log persistence configuration for a job run.
$sel:s3MonitoringConfiguration:MonitoringConfiguration'
, monitoringConfiguration_s3MonitoringConfiguration
- The Amazon S3 configuration for monitoring log publishing.
monitoringConfiguration_managedPersistenceMonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe ManagedPersistenceMonitoringConfiguration) Source #
The managed log persistence configuration for a job run.
monitoringConfiguration_s3MonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe S3MonitoringConfiguration) Source #
The Amazon S3 configuration for monitoring log publishing.
NetworkConfiguration
data NetworkConfiguration Source #
The network configuration for customer VPC connectivity.
See: newNetworkConfiguration
smart constructor.
Instances
newNetworkConfiguration :: NetworkConfiguration Source #
Create a value of NetworkConfiguration
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:securityGroupIds:NetworkConfiguration'
, networkConfiguration_securityGroupIds
- The array of security group Ids for customer VPC connectivity.
$sel:subnetIds:NetworkConfiguration'
, networkConfiguration_subnetIds
- The array of subnet Ids for customer VPC connectivity.
networkConfiguration_securityGroupIds :: Lens' NetworkConfiguration (Maybe [Text]) Source #
The array of security group Ids for customer VPC connectivity.
networkConfiguration_subnetIds :: Lens' NetworkConfiguration (Maybe [Text]) Source #
The array of subnet Ids for customer VPC connectivity.
S3MonitoringConfiguration
data S3MonitoringConfiguration Source #
The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.
See: newS3MonitoringConfiguration
smart constructor.
Instances
newS3MonitoringConfiguration :: S3MonitoringConfiguration Source #
Create a value of S3MonitoringConfiguration
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:encryptionKeyArn:S3MonitoringConfiguration'
, s3MonitoringConfiguration_encryptionKeyArn
- The KMS key ARN to encrypt the logs published to the given Amazon S3
destination.
$sel:logUri:S3MonitoringConfiguration'
, s3MonitoringConfiguration_logUri
- The Amazon S3 destination URI for log publishing.
s3MonitoringConfiguration_encryptionKeyArn :: Lens' S3MonitoringConfiguration (Maybe Text) Source #
The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.
s3MonitoringConfiguration_logUri :: Lens' S3MonitoringConfiguration (Maybe Text) Source #
The Amazon S3 destination URI for log publishing.
SparkSubmit
data SparkSubmit Source #
The configurations for the Spark submit job driver.
See: newSparkSubmit
smart constructor.
SparkSubmit' | |
|
Instances
Create a value of SparkSubmit
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:entryPointArguments:SparkSubmit'
, sparkSubmit_entryPointArguments
- The arguments for the Spark submit job run.
$sel:sparkSubmitParameters:SparkSubmit'
, sparkSubmit_sparkSubmitParameters
- The parameters for the Spark submit job run.
$sel:entryPoint:SparkSubmit'
, sparkSubmit_entryPoint
- The entry point for the Spark submit job run.
sparkSubmit_entryPointArguments :: Lens' SparkSubmit (Maybe [Text]) Source #
The arguments for the Spark submit job run.
sparkSubmit_sparkSubmitParameters :: Lens' SparkSubmit (Maybe Text) Source #
The parameters for the Spark submit job run.
sparkSubmit_entryPoint :: Lens' SparkSubmit Text Source #
The entry point for the Spark submit job run.
TotalResourceUtilization
data TotalResourceUtilization Source #
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
See: newTotalResourceUtilization
smart constructor.
TotalResourceUtilization' | |
|
Instances
newTotalResourceUtilization :: TotalResourceUtilization Source #
Create a value of TotalResourceUtilization
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:memoryGBHour:TotalResourceUtilization'
, totalResourceUtilization_memoryGBHour
- The aggregated memory used per hour from the time job start executing
till the time job is terminated.
$sel:storageGBHour:TotalResourceUtilization'
, totalResourceUtilization_storageGBHour
- The aggregated storage used per hour from the time job start executing
till the time job is terminated.
$sel:vCPUHour:TotalResourceUtilization'
, totalResourceUtilization_vCPUHour
- The aggregated vCPU used per hour from the time job start executing till
the time job is terminated.
totalResourceUtilization_memoryGBHour :: Lens' TotalResourceUtilization (Maybe Double) Source #
The aggregated memory used per hour from the time job start executing till the time job is terminated.
totalResourceUtilization_storageGBHour :: Lens' TotalResourceUtilization (Maybe Double) Source #
The aggregated storage used per hour from the time job start executing till the time job is terminated.
totalResourceUtilization_vCPUHour :: Lens' TotalResourceUtilization (Maybe Double) Source #
The aggregated vCPU used per hour from the time job start executing till the time job is terminated.
WorkerResourceConfig
data WorkerResourceConfig Source #
The cumulative configuration requirements for every worker instance of the worker type.
See: newWorkerResourceConfig
smart constructor.
Instances
newWorkerResourceConfig Source #
:: Text | |
-> Text | |
-> WorkerResourceConfig |
Create a value of WorkerResourceConfig
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:disk:WorkerResourceConfig'
, workerResourceConfig_disk
- The disk requirements for every worker instance of the worker type.
$sel:cpu:WorkerResourceConfig'
, workerResourceConfig_cpu
- The CPU requirements for every worker instance of the worker type.
$sel:memory:WorkerResourceConfig'
, workerResourceConfig_memory
- The memory requirements for every worker instance of the worker type.
workerResourceConfig_disk :: Lens' WorkerResourceConfig (Maybe Text) Source #
The disk requirements for every worker instance of the worker type.
workerResourceConfig_cpu :: Lens' WorkerResourceConfig Text Source #
The CPU requirements for every worker instance of the worker type.
workerResourceConfig_memory :: Lens' WorkerResourceConfig Text Source #
The memory requirements for every worker instance of the worker type.
WorkerTypeSpecification
data WorkerTypeSpecification Source #
The specifications for a worker type.
See: newWorkerTypeSpecification
smart constructor.
WorkerTypeSpecification' | |
|
Instances
newWorkerTypeSpecification :: WorkerTypeSpecification Source #
Create a value of WorkerTypeSpecification
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:imageConfiguration:WorkerTypeSpecification'
, workerTypeSpecification_imageConfiguration
- The image configuration for a worker type.
workerTypeSpecification_imageConfiguration :: Lens' WorkerTypeSpecification (Maybe ImageConfiguration) Source #
The image configuration for a worker type.
WorkerTypeSpecificationInput
data WorkerTypeSpecificationInput Source #
The specifications for a worker type.
See: newWorkerTypeSpecificationInput
smart constructor.
WorkerTypeSpecificationInput' | |
|
Instances
ToJSON WorkerTypeSpecificationInput Source # | |
Generic WorkerTypeSpecificationInput Source # | |
Read WorkerTypeSpecificationInput Source # | |
Show WorkerTypeSpecificationInput Source # | |
NFData WorkerTypeSpecificationInput Source # | |
Defined in Amazonka.EMRServerless.Types.WorkerTypeSpecificationInput rnf :: WorkerTypeSpecificationInput -> () # | |
Eq WorkerTypeSpecificationInput Source # | |
Hashable WorkerTypeSpecificationInput Source # | |
type Rep WorkerTypeSpecificationInput Source # | |
Defined in Amazonka.EMRServerless.Types.WorkerTypeSpecificationInput type Rep WorkerTypeSpecificationInput = D1 ('MetaData "WorkerTypeSpecificationInput" "Amazonka.EMRServerless.Types.WorkerTypeSpecificationInput" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "WorkerTypeSpecificationInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageConfigurationInput)))) |
newWorkerTypeSpecificationInput :: WorkerTypeSpecificationInput Source #
Create a value of WorkerTypeSpecificationInput
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:imageConfiguration:WorkerTypeSpecificationInput'
, workerTypeSpecificationInput_imageConfiguration
- The image configuration for a worker type.
workerTypeSpecificationInput_imageConfiguration :: Lens' WorkerTypeSpecificationInput (Maybe ImageConfigurationInput) Source #
The image configuration for a worker type.