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 |
- Operations
- Types
- Application
- ApplicationSummary
- AutoStartConfig
- AutoStopConfig
- Configuration
- ConfigurationOverrides
- Hive
- ImageConfiguration
- ImageConfigurationInput
- InitialCapacityConfig
- JobDriver
- JobRun
- JobRunSummary
- ManagedPersistenceMonitoringConfiguration
- MaximumAllowedResources
- MonitoringConfiguration
- NetworkConfiguration
- S3MonitoringConfiguration
- SparkSubmit
- TotalResourceUtilization
- WorkerResourceConfig
- WorkerTypeSpecification
- WorkerTypeSpecificationInput
Synopsis
- cancelJobRun_applicationId :: Lens' CancelJobRun Text
- cancelJobRun_jobRunId :: Lens' CancelJobRun Text
- cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int
- cancelJobRunResponse_applicationId :: Lens' CancelJobRunResponse Text
- cancelJobRunResponse_jobRunId :: Lens' CancelJobRunResponse Text
- createApplication_architecture :: Lens' CreateApplication (Maybe Architecture)
- createApplication_autoStartConfiguration :: Lens' CreateApplication (Maybe AutoStartConfig)
- createApplication_autoStopConfiguration :: Lens' CreateApplication (Maybe AutoStopConfig)
- createApplication_imageConfiguration :: Lens' CreateApplication (Maybe ImageConfigurationInput)
- createApplication_initialCapacity :: Lens' CreateApplication (Maybe (HashMap Text InitialCapacityConfig))
- createApplication_maximumCapacity :: Lens' CreateApplication (Maybe MaximumAllowedResources)
- createApplication_name :: Lens' CreateApplication (Maybe Text)
- createApplication_networkConfiguration :: Lens' CreateApplication (Maybe NetworkConfiguration)
- createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text))
- createApplication_workerTypeSpecifications :: Lens' CreateApplication (Maybe (HashMap Text WorkerTypeSpecificationInput))
- createApplication_releaseLabel :: Lens' CreateApplication Text
- createApplication_type :: Lens' CreateApplication Text
- createApplication_clientToken :: Lens' CreateApplication Text
- createApplicationResponse_name :: Lens' CreateApplicationResponse (Maybe Text)
- createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int
- createApplicationResponse_applicationId :: Lens' CreateApplicationResponse Text
- createApplicationResponse_arn :: Lens' CreateApplicationResponse Text
- deleteApplication_applicationId :: Lens' DeleteApplication Text
- deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int
- getApplication_applicationId :: Lens' GetApplication Text
- getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int
- getApplicationResponse_application :: Lens' GetApplicationResponse Application
- getDashboardForJobRun_applicationId :: Lens' GetDashboardForJobRun Text
- getDashboardForJobRun_jobRunId :: Lens' GetDashboardForJobRun Text
- getDashboardForJobRunResponse_url :: Lens' GetDashboardForJobRunResponse (Maybe Text)
- getDashboardForJobRunResponse_httpStatus :: Lens' GetDashboardForJobRunResponse Int
- getJobRun_applicationId :: Lens' GetJobRun Text
- getJobRun_jobRunId :: Lens' GetJobRun Text
- getJobRunResponse_httpStatus :: Lens' GetJobRunResponse Int
- getJobRunResponse_jobRun :: Lens' GetJobRunResponse JobRun
- listApplications_maxResults :: Lens' ListApplications (Maybe Natural)
- listApplications_nextToken :: Lens' ListApplications (Maybe Text)
- listApplications_states :: Lens' ListApplications (Maybe (NonEmpty ApplicationState))
- listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text)
- listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int
- listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary]
- listJobRuns_createdAtAfter :: Lens' ListJobRuns (Maybe UTCTime)
- listJobRuns_createdAtBefore :: Lens' ListJobRuns (Maybe UTCTime)
- listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural)
- listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text)
- listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState])
- listJobRuns_applicationId :: Lens' ListJobRuns Text
- listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text)
- listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int
- listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRunSummary]
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- startApplication_applicationId :: Lens' StartApplication Text
- startApplicationResponse_httpStatus :: Lens' StartApplicationResponse Int
- startJobRun_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides)
- startJobRun_executionTimeoutMinutes :: Lens' StartJobRun (Maybe Natural)
- startJobRun_jobDriver :: Lens' StartJobRun (Maybe JobDriver)
- startJobRun_name :: Lens' StartJobRun (Maybe Text)
- startJobRun_tags :: Lens' StartJobRun (Maybe (HashMap Text Text))
- startJobRun_applicationId :: Lens' StartJobRun Text
- startJobRun_clientToken :: Lens' StartJobRun Text
- startJobRun_executionRoleArn :: Lens' StartJobRun Text
- startJobRunResponse_httpStatus :: Lens' StartJobRunResponse Int
- startJobRunResponse_applicationId :: Lens' StartJobRunResponse Text
- startJobRunResponse_jobRunId :: Lens' StartJobRunResponse Text
- startJobRunResponse_arn :: Lens' StartJobRunResponse Text
- stopApplication_applicationId :: Lens' StopApplication Text
- stopApplicationResponse_httpStatus :: Lens' StopApplicationResponse Int
- tagResource_resourceArn :: Lens' TagResource Text
- tagResource_tags :: Lens' TagResource (HashMap Text Text)
- tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
- updateApplication_architecture :: Lens' UpdateApplication (Maybe Architecture)
- updateApplication_autoStartConfiguration :: Lens' UpdateApplication (Maybe AutoStartConfig)
- updateApplication_autoStopConfiguration :: Lens' UpdateApplication (Maybe AutoStopConfig)
- updateApplication_imageConfiguration :: Lens' UpdateApplication (Maybe ImageConfigurationInput)
- updateApplication_initialCapacity :: Lens' UpdateApplication (Maybe (HashMap Text InitialCapacityConfig))
- updateApplication_maximumCapacity :: Lens' UpdateApplication (Maybe MaximumAllowedResources)
- updateApplication_networkConfiguration :: Lens' UpdateApplication (Maybe NetworkConfiguration)
- updateApplication_workerTypeSpecifications :: Lens' UpdateApplication (Maybe (HashMap Text WorkerTypeSpecificationInput))
- updateApplication_applicationId :: Lens' UpdateApplication Text
- updateApplication_clientToken :: Lens' UpdateApplication Text
- updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int
- updateApplicationResponse_application :: Lens' UpdateApplicationResponse 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
- 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
- autoStartConfig_enabled :: Lens' AutoStartConfig (Maybe Bool)
- autoStopConfig_enabled :: Lens' AutoStopConfig (Maybe Bool)
- autoStopConfig_idleTimeoutMinutes :: Lens' AutoStopConfig (Maybe Natural)
- configuration_configurations :: Lens' Configuration (Maybe [Configuration])
- configuration_properties :: Lens' Configuration (Maybe (HashMap Text Text))
- configuration_classification :: Lens' Configuration Text
- configurationOverrides_applicationConfiguration :: Lens' ConfigurationOverrides (Maybe [Configuration])
- configurationOverrides_monitoringConfiguration :: Lens' ConfigurationOverrides (Maybe MonitoringConfiguration)
- hive_initQueryFile :: Lens' Hive (Maybe Text)
- hive_parameters :: Lens' Hive (Maybe Text)
- hive_query :: Lens' Hive Text
- imageConfiguration_resolvedImageDigest :: Lens' ImageConfiguration (Maybe Text)
- imageConfiguration_imageUri :: Lens' ImageConfiguration Text
- imageConfigurationInput_imageUri :: Lens' ImageConfigurationInput (Maybe Text)
- initialCapacityConfig_workerConfiguration :: Lens' InitialCapacityConfig (Maybe WorkerResourceConfig)
- initialCapacityConfig_workerCount :: Lens' InitialCapacityConfig Natural
- jobDriver_hive :: Lens' JobDriver (Maybe Hive)
- jobDriver_sparkSubmit :: Lens' JobDriver (Maybe SparkSubmit)
- 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
- 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
- managedPersistenceMonitoringConfiguration_enabled :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Bool)
- managedPersistenceMonitoringConfiguration_encryptionKeyArn :: Lens' ManagedPersistenceMonitoringConfiguration (Maybe Text)
- maximumAllowedResources_disk :: Lens' MaximumAllowedResources (Maybe Text)
- maximumAllowedResources_cpu :: Lens' MaximumAllowedResources Text
- maximumAllowedResources_memory :: Lens' MaximumAllowedResources Text
- monitoringConfiguration_managedPersistenceMonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe ManagedPersistenceMonitoringConfiguration)
- monitoringConfiguration_s3MonitoringConfiguration :: Lens' MonitoringConfiguration (Maybe S3MonitoringConfiguration)
- networkConfiguration_securityGroupIds :: Lens' NetworkConfiguration (Maybe [Text])
- networkConfiguration_subnetIds :: Lens' NetworkConfiguration (Maybe [Text])
- s3MonitoringConfiguration_encryptionKeyArn :: Lens' S3MonitoringConfiguration (Maybe Text)
- s3MonitoringConfiguration_logUri :: Lens' S3MonitoringConfiguration (Maybe Text)
- sparkSubmit_entryPointArguments :: Lens' SparkSubmit (Maybe [Text])
- sparkSubmit_sparkSubmitParameters :: Lens' SparkSubmit (Maybe Text)
- sparkSubmit_entryPoint :: Lens' SparkSubmit Text
- totalResourceUtilization_memoryGBHour :: Lens' TotalResourceUtilization (Maybe Double)
- totalResourceUtilization_storageGBHour :: Lens' TotalResourceUtilization (Maybe Double)
- totalResourceUtilization_vCPUHour :: Lens' TotalResourceUtilization (Maybe Double)
- workerResourceConfig_disk :: Lens' WorkerResourceConfig (Maybe Text)
- workerResourceConfig_cpu :: Lens' WorkerResourceConfig Text
- workerResourceConfig_memory :: Lens' WorkerResourceConfig Text
- workerTypeSpecification_imageConfiguration :: Lens' WorkerTypeSpecification (Maybe ImageConfiguration)
- workerTypeSpecificationInput_imageConfiguration :: Lens' WorkerTypeSpecificationInput (Maybe ImageConfigurationInput)
Operations
CancelJobRun
cancelJobRun_applicationId :: Lens' CancelJobRun Text Source #
The ID of the application on which the job run will be canceled.
cancelJobRun_jobRunId :: Lens' CancelJobRun Text Source #
The ID of the job run to cancel.
cancelJobRunResponse_httpStatus :: Lens' CancelJobRunResponse Int Source #
The response's http status code.
cancelJobRunResponse_applicationId :: Lens' CancelJobRunResponse Text Source #
The output contains the application ID on which the job run is cancelled.
cancelJobRunResponse_jobRunId :: Lens' CancelJobRunResponse Text Source #
The output contains the ID of the cancelled job run.
CreateApplication
createApplication_architecture :: Lens' CreateApplication (Maybe Architecture) Source #
The CPU architecture of an application.
createApplication_autoStartConfiguration :: Lens' CreateApplication (Maybe AutoStartConfig) Source #
The configuration for an application to automatically start on job submission.
createApplication_autoStopConfiguration :: Lens' CreateApplication (Maybe AutoStopConfig) Source #
The configuration for an application to automatically stop after a certain amount of time being idle.
createApplication_imageConfiguration :: Lens' CreateApplication (Maybe ImageConfigurationInput) Source #
The image configuration for all worker types. You can either set this
parameter or imageConfiguration
for each worker type in
workerTypeSpecifications
.
createApplication_initialCapacity :: Lens' CreateApplication (Maybe (HashMap Text InitialCapacityConfig)) Source #
The capacity to initialize when the application is created.
createApplication_maximumCapacity :: Lens' CreateApplication (Maybe MaximumAllowedResources) Source #
The maximum capacity to allocate when the application is created. This is cumulative across all workers at any given point in time, not just when an application is created. No new resources will be created once any one of the defined limits is hit.
createApplication_name :: Lens' CreateApplication (Maybe Text) Source #
The name of the application.
createApplication_networkConfiguration :: Lens' CreateApplication (Maybe NetworkConfiguration) Source #
The network configuration for customer VPC connectivity.
createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #
The tags assigned to the application.
createApplication_workerTypeSpecifications :: Lens' CreateApplication (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.
createApplication_releaseLabel :: Lens' CreateApplication Text Source #
The EMR release associated with the application.
createApplication_type :: Lens' CreateApplication Text Source #
The type of application you want to start, such as Spark or Hive.
createApplication_clientToken :: Lens' CreateApplication Text Source #
The client idempotency token of the application to create. Its value must be unique for each request.
createApplicationResponse_name :: Lens' CreateApplicationResponse (Maybe Text) Source #
The output contains the name of the application.
createApplicationResponse_httpStatus :: Lens' CreateApplicationResponse Int Source #
The response's http status code.
createApplicationResponse_applicationId :: Lens' CreateApplicationResponse Text Source #
The output contains the application ID.
createApplicationResponse_arn :: Lens' CreateApplicationResponse Text Source #
The output contains the ARN of the application.
DeleteApplication
deleteApplication_applicationId :: Lens' DeleteApplication Text Source #
The ID of the application that will be deleted.
deleteApplicationResponse_httpStatus :: Lens' DeleteApplicationResponse Int Source #
The response's http status code.
GetApplication
getApplication_applicationId :: Lens' GetApplication Text Source #
The ID of the application that will be described.
getApplicationResponse_httpStatus :: Lens' GetApplicationResponse Int Source #
The response's http status code.
getApplicationResponse_application :: Lens' GetApplicationResponse Application Source #
The output displays information about the specified application.
GetDashboardForJobRun
getDashboardForJobRun_applicationId :: Lens' GetDashboardForJobRun Text Source #
The ID of the application.
getDashboardForJobRun_jobRunId :: Lens' GetDashboardForJobRun Text Source #
The ID of the job run.
getDashboardForJobRunResponse_url :: Lens' GetDashboardForJobRunResponse (Maybe Text) Source #
The URL to view job run's dashboard.
getDashboardForJobRunResponse_httpStatus :: Lens' GetDashboardForJobRunResponse Int Source #
The response's http status code.
GetJobRun
getJobRun_applicationId :: Lens' GetJobRun Text Source #
The ID of the application on which the job run is submitted.
getJobRunResponse_httpStatus :: Lens' GetJobRunResponse Int Source #
The response's http status code.
getJobRunResponse_jobRun :: Lens' GetJobRunResponse JobRun Source #
The output displays information about the job run.
ListApplications
listApplications_maxResults :: Lens' ListApplications (Maybe Natural) Source #
The maximum number of applications that can be listed.
listApplications_nextToken :: Lens' ListApplications (Maybe Text) Source #
The token for the next set of application results.
listApplications_states :: Lens' ListApplications (Maybe (NonEmpty ApplicationState)) Source #
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
listApplicationsResponse_nextToken :: Lens' ListApplicationsResponse (Maybe Text) Source #
The output displays the token for the next set of application results. This is required for pagination and is available as a response of the previous request.
listApplicationsResponse_httpStatus :: Lens' ListApplicationsResponse Int Source #
The response's http status code.
listApplicationsResponse_applications :: Lens' ListApplicationsResponse [ApplicationSummary] Source #
The output lists the specified applications.
ListJobRuns
listJobRuns_createdAtAfter :: Lens' ListJobRuns (Maybe UTCTime) Source #
The lower bound of the option to filter by creation date and time.
listJobRuns_createdAtBefore :: Lens' ListJobRuns (Maybe UTCTime) Source #
The upper bound of the option to filter by creation date and time.
listJobRuns_maxResults :: Lens' ListJobRuns (Maybe Natural) Source #
The maximum number of job runs that can be listed.
listJobRuns_nextToken :: Lens' ListJobRuns (Maybe Text) Source #
The token for the next set of job run results.
listJobRuns_states :: Lens' ListJobRuns (Maybe [JobRunState]) Source #
An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
listJobRuns_applicationId :: Lens' ListJobRuns Text Source #
The ID of the application for which to list the job run.
listJobRunsResponse_nextToken :: Lens' ListJobRunsResponse (Maybe Text) Source #
The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.
listJobRunsResponse_httpStatus :: Lens' ListJobRunsResponse Int Source #
The response's http status code.
listJobRunsResponse_jobRuns :: Lens' ListJobRunsResponse [JobRunSummary] Source #
The output lists information about the specified job runs.
ListTagsForResource
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #
The tags for the resource.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
StartApplication
startApplication_applicationId :: Lens' StartApplication Text Source #
The ID of the application to start.
startApplicationResponse_httpStatus :: Lens' StartApplicationResponse Int Source #
The response's http status code.
StartJobRun
startJobRun_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides) Source #
The configuration overrides for the job run.
startJobRun_executionTimeoutMinutes :: Lens' StartJobRun (Maybe Natural) Source #
The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.
startJobRun_jobDriver :: Lens' StartJobRun (Maybe JobDriver) Source #
The job driver for the job run.
startJobRun_name :: Lens' StartJobRun (Maybe Text) Source #
The optional job run name. This doesn't have to be unique.
startJobRun_tags :: Lens' StartJobRun (Maybe (HashMap Text Text)) Source #
The tags assigned to the job run.
startJobRun_applicationId :: Lens' StartJobRun Text Source #
The ID of the application on which to run the job.
startJobRun_clientToken :: Lens' StartJobRun Text Source #
The client idempotency token of the job run to start. Its value must be unique for each request.
startJobRun_executionRoleArn :: Lens' StartJobRun Text Source #
The execution role ARN for the job run.
startJobRunResponse_httpStatus :: Lens' StartJobRunResponse Int Source #
The response's http status code.
startJobRunResponse_applicationId :: Lens' StartJobRunResponse Text Source #
This output displays the application ID on which the job run was submitted.
startJobRunResponse_jobRunId :: Lens' StartJobRunResponse Text Source #
The output contains the ID of the started job run.
startJobRunResponse_arn :: Lens' StartJobRunResponse Text Source #
The output lists the execution role ARN of the job run.
StopApplication
stopApplication_applicationId :: Lens' StopApplication Text Source #
The ID of the application to stop.
stopApplicationResponse_httpStatus :: Lens' StopApplicationResponse Int Source #
The response's http status code.
TagResource
tagResource_resourceArn :: Lens' TagResource Text Source #
The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.
tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #
The tags to add to the resource. A tag is an array of key-value pairs.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int Source #
The response's http status code.
UntagResource
untagResource_resourceArn :: Lens' UntagResource Text Source #
The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
The keys of the tags to be removed.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.
UpdateApplication
updateApplication_architecture :: Lens' UpdateApplication (Maybe Architecture) Source #
The CPU architecture of an application.
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_networkConfiguration :: Lens' UpdateApplication (Maybe NetworkConfiguration) Source #
Undocumented member.
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.
updateApplicationResponse_httpStatus :: Lens' UpdateApplicationResponse Int Source #
The response's http status code.
updateApplicationResponse_application :: Lens' UpdateApplicationResponse Application Source #
Information about the updated application.
Types
Application
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
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
autoStartConfig_enabled :: Lens' AutoStartConfig (Maybe Bool) Source #
Enables the application to automatically start on job submission. Defaults to true.
AutoStopConfig
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
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
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
ImageConfiguration
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
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
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
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
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
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
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
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
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
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
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
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
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
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
workerTypeSpecification_imageConfiguration :: Lens' WorkerTypeSpecification (Maybe ImageConfiguration) Source #
The image configuration for a worker type.
WorkerTypeSpecificationInput
workerTypeSpecificationInput_imageConfiguration :: Lens' WorkerTypeSpecificationInput (Maybe ImageConfigurationInput) Source #
The image configuration for a worker type.