{ "version":"2.0", "metadata":{ "apiVersion":"2021-07-13", "endpointPrefix":"emr-serverless", "jsonVersion":"1.1", "protocol":"rest-json", "serviceFullName":"EMR Serverless", "serviceId":"EMR Serverless", "signatureVersion":"v4", "signingName":"emr-serverless", "uid":"emr-serverless-2021-07-13" }, "operations":{ "CancelJobRun":{ "name":"CancelJobRun", "http":{ "method":"DELETE", "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", "responseCode":200 }, "input":{"shape":"CancelJobRunRequest"}, "output":{"shape":"CancelJobRunResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Cancels a job run.

", "idempotent":true }, "CreateApplication":{ "name":"CreateApplication", "http":{ "method":"POST", "requestUri":"/applications", "responseCode":200 }, "input":{"shape":"CreateApplicationRequest"}, "output":{"shape":"CreateApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ConflictException"} ], "documentation":"

Creates an application.

", "idempotent":true }, "DeleteApplication":{ "name":"DeleteApplication", "http":{ "method":"DELETE", "requestUri":"/applications/{applicationId}", "responseCode":200 }, "input":{"shape":"DeleteApplicationRequest"}, "output":{"shape":"DeleteApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Deletes an application. An application has to be in a stopped or created state in order to be deleted.

", "idempotent":true }, "GetApplication":{ "name":"GetApplication", "http":{ "method":"GET", "requestUri":"/applications/{applicationId}", "responseCode":200 }, "input":{"shape":"GetApplicationRequest"}, "output":{"shape":"GetApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Displays detailed information about a specified application.

" }, "GetDashboardForJobRun":{ "name":"GetDashboardForJobRun", "http":{ "method":"GET", "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}/dashboard", "responseCode":200 }, "input":{"shape":"GetDashboardForJobRunRequest"}, "output":{"shape":"GetDashboardForJobRunResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Creates and returns a URL that you can use to access the application UIs for a job run.

For jobs in a running state, the application UI is a live user interface such as the Spark or Tez web UI. For completed jobs, the application UI is a persistent application user interface such as the Spark History Server or persistent Tez UI.

The URL is valid for one hour after you generate it. To access the application UI after that hour elapses, you must invoke the API again to generate a new URL.

" }, "GetJobRun":{ "name":"GetJobRun", "http":{ "method":"GET", "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", "responseCode":200 }, "input":{"shape":"GetJobRunRequest"}, "output":{"shape":"GetJobRunResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Displays detailed information about a job run.

" }, "ListApplications":{ "name":"ListApplications", "http":{ "method":"GET", "requestUri":"/applications", "responseCode":200 }, "input":{"shape":"ListApplicationsRequest"}, "output":{"shape":"ListApplicationsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists applications based on a set of parameters.

" }, "ListJobRuns":{ "name":"ListJobRuns", "http":{ "method":"GET", "requestUri":"/applications/{applicationId}/jobruns", "responseCode":200 }, "input":{"shape":"ListJobRunsRequest"}, "output":{"shape":"ListJobRunsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists job runs based on a set of parameters.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Lists the tags assigned to the resources.

" }, "StartApplication":{ "name":"StartApplication", "http":{ "method":"POST", "requestUri":"/applications/{applicationId}/start", "responseCode":200 }, "input":{"shape":"StartApplicationRequest"}, "output":{"shape":"StartApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ServiceQuotaExceededException"} ], "documentation":"

Starts a specified application and initializes initial capacity if configured.

", "idempotent":true }, "StartJobRun":{ "name":"StartJobRun", "http":{ "method":"POST", "requestUri":"/applications/{applicationId}/jobruns", "responseCode":200 }, "input":{"shape":"StartJobRunRequest"}, "output":{"shape":"StartJobRunResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ConflictException"} ], "documentation":"

Starts a job run.

", "idempotent":true }, "StopApplication":{ "name":"StopApplication", "http":{ "method":"POST", "requestUri":"/applications/{applicationId}/stop", "responseCode":200 }, "input":{"shape":"StopApplicationRequest"}, "output":{"shape":"StopApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.

", "idempotent":true }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags/{resourceArn}", "responseCode":200 }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

Removes tags from resources.

", "idempotent":true }, "UpdateApplication":{ "name":"UpdateApplication", "http":{ "method":"PATCH", "requestUri":"/applications/{applicationId}", "responseCode":200 }, "input":{"shape":"UpdateApplicationRequest"}, "output":{"shape":"UpdateApplicationResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ], "documentation":"

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

" } }, "shapes":{ "Application":{ "type":"structure", "required":[ "applicationId", "arn", "releaseLabel", "type", "state", "createdAt", "updatedAt" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application.

" }, "name":{ "shape":"ApplicationName", "documentation":"

The name of the application.

" }, "arn":{ "shape":"ApplicationArn", "documentation":"

The ARN of the application.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

The Amazon EMR release associated with the application.

" }, "type":{ "shape":"EngineType", "documentation":"

The type of application, such as Spark or Hive.

" }, "state":{ "shape":"ApplicationState", "documentation":"

The state of the application.

" }, "stateDetails":{ "shape":"String256", "documentation":"

The state details of the application.

" }, "initialCapacity":{ "shape":"InitialCapacityConfigMap", "documentation":"

The initial capacity of the application.

" }, "maximumCapacity":{ "shape":"MaximumAllowedResources", "documentation":"

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.

" }, "createdAt":{ "shape":"Date", "documentation":"

The date and time when the application run was created.

" }, "updatedAt":{ "shape":"Date", "documentation":"

The date and time when the application run was last updated.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags assigned to the application.

" }, "autoStartConfiguration":{ "shape":"AutoStartConfig", "documentation":"

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

" }, "autoStopConfiguration":{ "shape":"AutoStopConfig", "documentation":"

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

" }, "networkConfiguration":{ "shape":"NetworkConfiguration", "documentation":"

The network configuration for customer VPC connectivity for the application.

" }, "architecture":{ "shape":"Architecture", "documentation":"

The CPU architecture of an application.

" }, "imageConfiguration":{ "shape":"ImageConfiguration", "documentation":"

The image configuration applied to all worker types.

" }, "workerTypeSpecifications":{ "shape":"WorkerTypeSpecificationMap", "documentation":"

The specification applied to each worker type.

" }, "runtimeConfiguration":{ "shape":"ConfigurationList", "documentation":"

The Configuration specifications of an application. Each configuration consists of a classification and properties. You use this parameter when creating or updating an application. To see the runtimeConfiguration object of an application, run the GetApplication API operation.

" }, "monitoringConfiguration":{"shape":"MonitoringConfiguration"} }, "documentation":"

Information about an application. Amazon EMR Serverless uses applications to run jobs.

" }, "ApplicationArn":{ "type":"string", "max":1024, "min":60, "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+" }, "ApplicationId":{ "type":"string", "max":64, "min":1, "pattern":"[0-9a-z]+" }, "ApplicationList":{ "type":"list", "member":{"shape":"ApplicationSummary"} }, "ApplicationName":{ "type":"string", "max":64, "min":1, "pattern":"[A-Za-z0-9._/#-]+" }, "ApplicationState":{ "type":"string", "enum":[ "CREATING", "CREATED", "STARTING", "STARTED", "STOPPING", "STOPPED", "TERMINATED" ] }, "ApplicationStateSet":{ "type":"list", "member":{"shape":"ApplicationState"}, "max":7, "min":1 }, "ApplicationSummary":{ "type":"structure", "required":[ "id", "arn", "releaseLabel", "type", "state", "createdAt", "updatedAt" ], "members":{ "id":{ "shape":"ApplicationId", "documentation":"

The ID of the application.

" }, "name":{ "shape":"ApplicationName", "documentation":"

The name of the application.

" }, "arn":{ "shape":"ApplicationArn", "documentation":"

The ARN of the application.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

The Amazon EMR release associated with the application.

" }, "type":{ "shape":"EngineType", "documentation":"

The type of application, such as Spark or Hive.

" }, "state":{ "shape":"ApplicationState", "documentation":"

The state of the application.

" }, "stateDetails":{ "shape":"String256", "documentation":"

The state details of the application.

" }, "createdAt":{ "shape":"Date", "documentation":"

The date and time when the application was created.

" }, "updatedAt":{ "shape":"Date", "documentation":"

The date and time when the application was last updated.

" }, "architecture":{ "shape":"Architecture", "documentation":"

The CPU architecture of an application.

" } }, "documentation":"

The summary of attributes associated with an application.

" }, "Architecture":{ "type":"string", "enum":[ "ARM64", "X86_64" ] }, "AutoStartConfig":{ "type":"structure", "members":{ "enabled":{ "shape":"Boolean", "documentation":"

Enables the application to automatically start on job submission. Defaults to true.

" } }, "documentation":"

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

" }, "AutoStopConfig":{ "type":"structure", "members":{ "enabled":{ "shape":"Boolean", "documentation":"

Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

" }, "idleTimeoutMinutes":{ "shape":"AutoStopConfigIdleTimeoutMinutesInteger", "documentation":"

The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

" } }, "documentation":"

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

" }, "AutoStopConfigIdleTimeoutMinutesInteger":{ "type":"integer", "box":true, "max":10080, "min":1 }, "Boolean":{ "type":"boolean", "box":true }, "CancelJobRunRequest":{ "type":"structure", "required":[ "applicationId", "jobRunId" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application on which the job run will be canceled.

", "location":"uri", "locationName":"applicationId" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The ID of the job run to cancel.

", "location":"uri", "locationName":"jobRunId" } } }, "CancelJobRunResponse":{ "type":"structure", "required":[ "applicationId", "jobRunId" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The output contains the application ID on which the job run is cancelled.

" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The output contains the ID of the cancelled job run.

" } } }, "ClientToken":{ "type":"string", "max":64, "min":1, "pattern":"[A-Za-z0-9._-]+" }, "CloudWatchLoggingConfiguration":{ "type":"structure", "required":["enabled"], "members":{ "enabled":{ "shape":"Boolean", "documentation":"

Enables CloudWatch logging.

" }, "logGroupName":{ "shape":"LogGroupName", "documentation":"

The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.

" }, "logStreamNamePrefix":{ "shape":"LogStreamNamePrefix", "documentation":"

Prefix for the CloudWatch log stream name.

" }, "encryptionKeyArn":{ "shape":"EncryptionKeyArn", "documentation":"

The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.

" }, "logTypes":{ "shape":"LogTypeMap", "documentation":"

The types of logs that you want to publish to CloudWatch. If you don't specify any log types, driver STDOUT and STDERR logs will be published to CloudWatch Logs by default. For more information including the supported worker types for Hive and Spark, see Logging for EMR Serverless with CloudWatch.

- Key Valid Values: `SPARK_DRIVER`, `SPARK_EXECUTOR`, `HIVE_DRIVER`, `TEZ_TASK`

- Array Members Valid Values: `STDOUT`, `STDERR`, `HIVE_LOG`, `TEZ_AM`, `SYSTEM_LOGS`

" } }, "documentation":"

The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.

" }, "Configuration":{ "type":"structure", "required":["classification"], "members":{ "classification":{ "shape":"String1024", "documentation":"

The classification within a configuration.

" }, "properties":{ "shape":"SensitivePropertiesMap", "documentation":"

A set of properties specified within a configuration classification.

" }, "configurations":{ "shape":"ConfigurationList", "documentation":"

A list of additional configurations to apply within a configuration object.

" } }, "documentation":"

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.

" }, "ConfigurationList":{ "type":"list", "member":{"shape":"Configuration"}, "max":100, "min":0 }, "ConfigurationOverrides":{ "type":"structure", "members":{ "applicationConfiguration":{ "shape":"ConfigurationList", "documentation":"

The override configurations for the application.

" }, "monitoringConfiguration":{ "shape":"MonitoringConfiguration", "documentation":"

The override configurations for monitoring.

" } }, "documentation":"

A configuration specification to be used to override existing configurations.

" }, "ConflictException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String1024"} }, "documentation":"

The request could not be processed because of conflict in the current state of the resource.

", "error":{ "httpStatusCode":409, "senderFault":true }, "exception":true }, "CpuSize":{ "type":"string", "max":15, "min":1, "pattern":"[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?" }, "CreateApplicationRequest":{ "type":"structure", "required":[ "releaseLabel", "type", "clientToken" ], "members":{ "name":{ "shape":"ApplicationName", "documentation":"

The name of the application.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

The Amazon EMR release associated with the application.

" }, "type":{ "shape":"EngineType", "documentation":"

The type of application you want to start, such as Spark or Hive.

" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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

", "idempotencyToken":true }, "initialCapacity":{ "shape":"InitialCapacityConfigMap", "documentation":"

The capacity to initialize when the application is created.

" }, "maximumCapacity":{ "shape":"MaximumAllowedResources", "documentation":"

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.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags assigned to the application.

" }, "autoStartConfiguration":{ "shape":"AutoStartConfig", "documentation":"

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

" }, "autoStopConfiguration":{ "shape":"AutoStopConfig", "documentation":"

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

" }, "networkConfiguration":{ "shape":"NetworkConfiguration", "documentation":"

The network configuration for customer VPC connectivity.

" }, "architecture":{ "shape":"Architecture", "documentation":"

The CPU architecture of an application.

" }, "imageConfiguration":{ "shape":"ImageConfigurationInput", "documentation":"

The image configuration for all worker types. You can either set this parameter or `imageConfiguration` for each worker type in `workerTypeSpecifications`.

" }, "workerTypeSpecifications":{ "shape":"WorkerTypeSpecificationInputMap", "documentation":"

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.

" }, "runtimeConfiguration":{ "shape":"ConfigurationList", "documentation":"

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

" }, "monitoringConfiguration":{ "shape":"MonitoringConfiguration", "documentation":"

The configuration setting for monitoring.

" } } }, "CreateApplicationResponse":{ "type":"structure", "required":[ "applicationId", "arn" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The output contains the application ID.

" }, "name":{ "shape":"ApplicationName", "documentation":"

The output contains the name of the application.

" }, "arn":{ "shape":"ApplicationArn", "documentation":"

The output contains the ARN of the application.

" } } }, "Date":{"type":"timestamp"}, "DeleteApplicationRequest":{ "type":"structure", "required":["applicationId"], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application that will be deleted.

", "location":"uri", "locationName":"applicationId" } } }, "DeleteApplicationResponse":{ "type":"structure", "members":{ } }, "DiskSize":{ "type":"string", "max":15, "min":1, "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)" }, "Double":{ "type":"double", "box":true }, "Duration":{ "type":"long", "max":1000000, "min":0 }, "EncryptionKeyArn":{ "type":"string", "max":2048, "min":20, "pattern":"arn:(aws[a-zA-Z0-9-]*):kms:[a-zA-Z0-9\\-]*:(\\d{12})?:key\\/[a-zA-Z0-9-]+" }, "EngineType":{ "type":"string", "max":64, "min":1 }, "EntryPointArgument":{ "type":"string", "max":10280, "min":1, "pattern":".*\\S.*", "sensitive":true }, "EntryPointArguments":{ "type":"list", "member":{"shape":"EntryPointArgument"} }, "EntryPointPath":{ "type":"string", "max":256, "min":1, "pattern":".*\\S.*", "sensitive":true }, "GetApplicationRequest":{ "type":"structure", "required":["applicationId"], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application that will be described.

", "location":"uri", "locationName":"applicationId" } } }, "GetApplicationResponse":{ "type":"structure", "required":["application"], "members":{ "application":{ "shape":"Application", "documentation":"

The output displays information about the specified application.

" } } }, "GetDashboardForJobRunRequest":{ "type":"structure", "required":[ "applicationId", "jobRunId" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application.

", "location":"uri", "locationName":"applicationId" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The ID of the job run.

", "location":"uri", "locationName":"jobRunId" } } }, "GetDashboardForJobRunResponse":{ "type":"structure", "members":{ "url":{ "shape":"Url", "documentation":"

The URL to view job run's dashboard.

" } } }, "GetJobRunRequest":{ "type":"structure", "required":[ "applicationId", "jobRunId" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application on which the job run is submitted.

", "location":"uri", "locationName":"applicationId" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The ID of the job run.

", "location":"uri", "locationName":"jobRunId" } } }, "GetJobRunResponse":{ "type":"structure", "required":["jobRun"], "members":{ "jobRun":{ "shape":"JobRun", "documentation":"

The output displays information about the job run.

" } } }, "Hive":{ "type":"structure", "required":["query"], "members":{ "query":{ "shape":"Query", "documentation":"

The query for the Hive job run.

" }, "initQueryFile":{ "shape":"InitScriptPath", "documentation":"

The query file for the Hive job run.

" }, "parameters":{ "shape":"HiveCliParameters", "documentation":"

The parameters for the Hive job run.

" } }, "documentation":"

The configurations for the Hive job driver.

" }, "HiveCliParameters":{ "type":"string", "max":102400, "min":1, "pattern":".*\\S.*", "sensitive":true }, "IAMRoleArn":{ "type":"string", "max":2048, "min":20, "pattern":"arn:(aws[a-zA-Z0-9-]*):iam::(\\d{12})?:(role((\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F))[\\w+=,.@-]+)" }, "ImageConfiguration":{ "type":"structure", "required":["imageUri"], "members":{ "imageUri":{ "shape":"ImageUri", "documentation":"

The image URI.

" }, "resolvedImageDigest":{ "shape":"ImageDigest", "documentation":"

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.

" } }, "documentation":"

The applied image configuration.

" }, "ImageConfigurationInput":{ "type":"structure", "members":{ "imageUri":{ "shape":"ImageUri", "documentation":"

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.

" } }, "documentation":"

The image configuration.

" }, "ImageDigest":{ "type":"string", "pattern":"sha256:[0-9a-f]{64}" }, "ImageUri":{ "type":"string", "max":1024, "min":1, "pattern":"([a-z0-9]+[a-z0-9-.]*)\\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(?:\\:([a-zA-Z0-9_][a-zA-Z0-9-._]{0,299})|@(sha256:[0-9a-f]{64}))" }, "InitScriptPath":{ "type":"string", "max":256, "min":1, "pattern":".*\\S.*", "sensitive":true }, "InitialCapacityConfig":{ "type":"structure", "required":["workerCount"], "members":{ "workerCount":{ "shape":"WorkerCounts", "documentation":"

The number of workers in the initial capacity configuration.

" }, "workerConfiguration":{ "shape":"WorkerResourceConfig", "documentation":"

The resource configuration of the initial capacity configuration.

" } }, "documentation":"

The initial capacity configuration per worker.

" }, "InitialCapacityConfigMap":{ "type":"map", "key":{"shape":"WorkerTypeString"}, "value":{"shape":"InitialCapacityConfig"}, "max":10, "min":0 }, "Integer":{ "type":"integer", "box":true }, "InternalServerException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String1024"} }, "documentation":"

Request processing failed because of an error or failure with the service.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "JobArn":{ "type":"string", "max":1024, "min":60, "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+\\/jobruns\\/[0-9a-zA-Z]+" }, "JobDriver":{ "type":"structure", "members":{ "sparkSubmit":{ "shape":"SparkSubmit", "documentation":"

The job driver parameters specified for Spark.

" }, "hive":{ "shape":"Hive", "documentation":"

The job driver parameters specified for Hive.

" } }, "documentation":"

The driver that the job runs on.

", "union":true }, "JobRun":{ "type":"structure", "required":[ "applicationId", "jobRunId", "arn", "createdBy", "createdAt", "updatedAt", "executionRole", "state", "stateDetails", "releaseLabel", "jobDriver" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application the job is running on.

" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The ID of the job run.

" }, "name":{ "shape":"String256", "documentation":"

The optional job run name. This doesn't have to be unique.

" }, "arn":{ "shape":"JobArn", "documentation":"

The execution role ARN of the job run.

" }, "createdBy":{ "shape":"RequestIdentityUserArn", "documentation":"

The user who created the job run.

" }, "createdAt":{ "shape":"Date", "documentation":"

The date and time when the job run was created.

" }, "updatedAt":{ "shape":"Date", "documentation":"

The date and time when the job run was updated.

" }, "executionRole":{ "shape":"IAMRoleArn", "documentation":"

The execution role ARN of the job run.

" }, "state":{ "shape":"JobRunState", "documentation":"

The state of the job run.

" }, "stateDetails":{ "shape":"String256", "documentation":"

The state details of the job run.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

The Amazon EMR release associated with the application your job is running on.

" }, "configurationOverrides":{ "shape":"ConfigurationOverrides", "documentation":"

The configuration settings that are used to override default configuration.

" }, "jobDriver":{ "shape":"JobDriver", "documentation":"

The job driver for the job run.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags assigned to the job run.

" }, "totalResourceUtilization":{ "shape":"TotalResourceUtilization", "documentation":"

The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.

" }, "networkConfiguration":{"shape":"NetworkConfiguration"}, "totalExecutionDurationSeconds":{ "shape":"Integer", "documentation":"

The job run total execution duration in seconds. This field is only available for job runs in a `COMPLETED`, `FAILED`, or `CANCELLED` state.

" }, "executionTimeoutMinutes":{ "shape":"Duration", "documentation":"

Returns the job run timeout value from the `StartJobRun` call. If no timeout was specified, then it returns the default timeout of 720 minutes.

", "box":true }, "billedResourceUtilization":{ "shape":"ResourceUtilization", "documentation":"

The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.

" } }, "documentation":"

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 Amazon EMR Serverless application.

" }, "JobRunId":{ "type":"string", "max":64, "min":1, "pattern":"[0-9a-z]+" }, "JobRunState":{ "type":"string", "enum":[ "SUBMITTED", "PENDING", "SCHEDULED", "RUNNING", "SUCCESS", "FAILED", "CANCELLING", "CANCELLED" ] }, "JobRunStateSet":{ "type":"list", "member":{"shape":"JobRunState"}, "max":8, "min":0 }, "JobRunSummary":{ "type":"structure", "required":[ "applicationId", "id", "arn", "createdBy", "createdAt", "updatedAt", "executionRole", "state", "stateDetails", "releaseLabel" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application the job is running on.

" }, "id":{ "shape":"JobRunId", "documentation":"

The ID of the job run.

" }, "name":{ "shape":"String256", "documentation":"

The optional job run name. This doesn't have to be unique.

" }, "arn":{ "shape":"JobArn", "documentation":"

The ARN of the job run.

" }, "createdBy":{ "shape":"RequestIdentityUserArn", "documentation":"

The user who created the job run.

" }, "createdAt":{ "shape":"Date", "documentation":"

The date and time when the job run was created.

" }, "updatedAt":{ "shape":"Date", "documentation":"

The date and time when the job run was last updated.

" }, "executionRole":{ "shape":"IAMRoleArn", "documentation":"

The execution role ARN of the job run.

" }, "state":{ "shape":"JobRunState", "documentation":"

The state of the job run.

" }, "stateDetails":{ "shape":"String256", "documentation":"

The state details of the job run.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

The Amazon EMR release associated with the application your job is running on.

" }, "type":{ "shape":"JobRunType", "documentation":"

The type of job run, such as Spark or Hive.

" } }, "documentation":"

The summary of attributes associated with a job run.

" }, "JobRunType":{"type":"string"}, "JobRuns":{ "type":"list", "member":{"shape":"JobRunSummary"} }, "ListApplicationsRequest":{ "type":"structure", "members":{ "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of application results.

", "location":"querystring", "locationName":"nextToken" }, "maxResults":{ "shape":"ListApplicationsRequestMaxResultsInteger", "documentation":"

The maximum number of applications that can be listed.

", "location":"querystring", "locationName":"maxResults" }, "states":{ "shape":"ApplicationStateSet", "documentation":"

An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

", "location":"querystring", "locationName":"states" } } }, "ListApplicationsRequestMaxResultsInteger":{ "type":"integer", "box":true, "max":50, "min":1 }, "ListApplicationsResponse":{ "type":"structure", "required":["applications"], "members":{ "applications":{ "shape":"ApplicationList", "documentation":"

The output lists the specified applications.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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.

" } } }, "ListJobRunsRequest":{ "type":"structure", "required":["applicationId"], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application for which to list the job run.

", "location":"uri", "locationName":"applicationId" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token for the next set of job run results.

", "location":"querystring", "locationName":"nextToken" }, "maxResults":{ "shape":"ListJobRunsRequestMaxResultsInteger", "documentation":"

The maximum number of job runs that can be listed.

", "location":"querystring", "locationName":"maxResults" }, "createdAtAfter":{ "shape":"Date", "documentation":"

The lower bound of the option to filter by creation date and time.

", "location":"querystring", "locationName":"createdAtAfter" }, "createdAtBefore":{ "shape":"Date", "documentation":"

The upper bound of the option to filter by creation date and time.

", "location":"querystring", "locationName":"createdAtBefore" }, "states":{ "shape":"JobRunStateSet", "documentation":"

An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.

", "location":"querystring", "locationName":"states" } } }, "ListJobRunsRequestMaxResultsInteger":{ "type":"integer", "box":true, "max":50, "min":1 }, "ListJobRunsResponse":{ "type":"structure", "required":["jobRuns"], "members":{ "jobRuns":{ "shape":"JobRuns", "documentation":"

The output lists information about the specified job runs.

" }, "nextToken":{ "shape":"NextToken", "documentation":"

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.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

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.

", "location":"uri", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"TagMap", "documentation":"

The tags for the resource.

" } } }, "LogGroupName":{ "type":"string", "max":512, "min":1, "pattern":"[\\.\\-_/#A-Za-z0-9]+" }, "LogStreamNamePrefix":{ "type":"string", "max":512, "min":1, "pattern":"[^:*]*" }, "LogTypeList":{ "type":"list", "member":{"shape":"LogTypeString"}, "max":5, "min":1 }, "LogTypeMap":{ "type":"map", "key":{"shape":"WorkerTypeString"}, "value":{"shape":"LogTypeList"}, "max":4, "min":1 }, "LogTypeString":{ "type":"string", "documentation":"

Log type for a Spark/Hive job-run.

", "max":50, "min":1, "pattern":"[a-zA-Z]+[-_]*[a-zA-Z]+" }, "ManagedPersistenceMonitoringConfiguration":{ "type":"structure", "members":{ "enabled":{ "shape":"Boolean", "documentation":"

Enables managed logging and defaults to true. If set to false, managed logging will be turned off.

" }, "encryptionKeyArn":{ "shape":"EncryptionKeyArn", "documentation":"

The KMS key ARN to encrypt the logs stored in managed log persistence.

" } }, "documentation":"

The managed log persistence configuration for a job run.

" }, "MaximumAllowedResources":{ "type":"structure", "required":[ "cpu", "memory" ], "members":{ "cpu":{ "shape":"CpuSize", "documentation":"

The maximum allowed CPU for an application.

" }, "memory":{ "shape":"MemorySize", "documentation":"

The maximum allowed resources for an application.

" }, "disk":{ "shape":"DiskSize", "documentation":"

The maximum allowed disk for an application.

" } }, "documentation":"

The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.

" }, "MemorySize":{ "type":"string", "max":15, "min":1, "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?" }, "MonitoringConfiguration":{ "type":"structure", "members":{ "s3MonitoringConfiguration":{ "shape":"S3MonitoringConfiguration", "documentation":"

The Amazon S3 configuration for monitoring log publishing.

" }, "managedPersistenceMonitoringConfiguration":{ "shape":"ManagedPersistenceMonitoringConfiguration", "documentation":"

The managed log persistence configuration for a job run.

" }, "cloudWatchLoggingConfiguration":{ "shape":"CloudWatchLoggingConfiguration", "documentation":"

The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.

" } }, "documentation":"

The configuration setting for monitoring.

" }, "NetworkConfiguration":{ "type":"structure", "members":{ "subnetIds":{ "shape":"SubnetIds", "documentation":"

The array of subnet Ids for customer VPC connectivity.

" }, "securityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

The array of security group Ids for customer VPC connectivity.

" } }, "documentation":"

The network configuration for customer VPC connectivity.

" }, "NextToken":{ "type":"string", "max":1024, "min":1, "pattern":"[A-Za-z0-9_=-]+" }, "Query":{ "type":"string", "max":10280, "min":1, "pattern":".*\\S.*", "sensitive":true }, "ReleaseLabel":{ "type":"string", "max":64, "min":1, "pattern":"[A-Za-z0-9._/-]+" }, "RequestIdentityUserArn":{ "type":"string", "max":2048, "min":20, "pattern":"arn:(aws[a-zA-Z0-9-]*):(iam|sts)::(\\d{12})?:[\\w/+=,.@-]+" }, "ResourceArn":{ "type":"string", "max":1024, "min":60, "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+(\\/jobruns\\/[0-9a-zA-Z]+)?" }, "ResourceNotFoundException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String1024"} }, "documentation":"

The specified resource was not found.

", "error":{ "httpStatusCode":404, "senderFault":true }, "exception":true }, "ResourceUtilization":{ "type":"structure", "members":{ "vCPUHour":{ "shape":"Double", "documentation":"

The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.

" }, "memoryGBHour":{ "shape":"Double", "documentation":"

The aggregated memory used per hour from the time the job starts executing until the job is terminated.

" }, "storageGBHour":{ "shape":"Double", "documentation":"

The aggregated storage used per hour from the time the job starts executing until the job is terminated.

" } }, "documentation":"

The resource utilization for memory, storage, and vCPU for jobs.

" }, "S3MonitoringConfiguration":{ "type":"structure", "members":{ "logUri":{ "shape":"UriString", "documentation":"

The Amazon S3 destination URI for log publishing.

" }, "encryptionKeyArn":{ "shape":"EncryptionKeyArn", "documentation":"

The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.

" } }, "documentation":"

The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.

" }, "SecurityGroupIds":{ "type":"list", "member":{"shape":"SecurityGroupString"}, "max":5, "min":0 }, "SecurityGroupString":{ "type":"string", "max":32, "min":1, "pattern":"[-0-9a-zA-Z]+.*" }, "SensitivePropertiesMap":{ "type":"map", "key":{"shape":"String1024"}, "value":{"shape":"String1024"}, "max":100, "min":0, "sensitive":true }, "ServiceQuotaExceededException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String1024"} }, "documentation":"

The maximum number of resources per account has been reached.

", "error":{ "httpStatusCode":402, "senderFault":true }, "exception":true }, "SparkSubmit":{ "type":"structure", "required":["entryPoint"], "members":{ "entryPoint":{ "shape":"EntryPointPath", "documentation":"

The entry point for the Spark submit job run.

" }, "entryPointArguments":{ "shape":"EntryPointArguments", "documentation":"

The arguments for the Spark submit job run.

" }, "sparkSubmitParameters":{ "shape":"SparkSubmitParameters", "documentation":"

The parameters for the Spark submit job run.

" } }, "documentation":"

The configurations for the Spark submit job driver.

" }, "SparkSubmitParameters":{ "type":"string", "max":102400, "min":1, "pattern":".*\\S.*", "sensitive":true }, "StartApplicationRequest":{ "type":"structure", "required":["applicationId"], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application to start.

", "location":"uri", "locationName":"applicationId" } } }, "StartApplicationResponse":{ "type":"structure", "members":{ } }, "StartJobRunRequest":{ "type":"structure", "required":[ "applicationId", "clientToken", "executionRoleArn" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application on which to run the job.

", "location":"uri", "locationName":"applicationId" }, "clientToken":{ "shape":"ClientToken", "documentation":"

The client idempotency token of the job run to start. Its value must be unique for each request.

", "idempotencyToken":true }, "executionRoleArn":{ "shape":"IAMRoleArn", "documentation":"

The execution role ARN for the job run.

" }, "jobDriver":{ "shape":"JobDriver", "documentation":"

The job driver for the job run.

" }, "configurationOverrides":{ "shape":"ConfigurationOverrides", "documentation":"

The configuration overrides for the job run.

" }, "tags":{ "shape":"TagMap", "documentation":"

The tags assigned to the job run.

" }, "executionTimeoutMinutes":{ "shape":"Duration", "documentation":"

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

", "box":true }, "name":{ "shape":"String256", "documentation":"

The optional job run name. This doesn't have to be unique.

" } } }, "StartJobRunResponse":{ "type":"structure", "required":[ "applicationId", "jobRunId", "arn" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

This output displays the application ID on which the job run was submitted.

" }, "jobRunId":{ "shape":"JobRunId", "documentation":"

The output contains the ID of the started job run.

" }, "arn":{ "shape":"JobArn", "documentation":"

This output displays the ARN of the job run..

" } } }, "StopApplicationRequest":{ "type":"structure", "required":["applicationId"], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application to stop.

", "location":"uri", "locationName":"applicationId" } } }, "StopApplicationResponse":{ "type":"structure", "members":{ } }, "String1024":{ "type":"string", "max":1024, "min":1, "pattern":".*\\S.*" }, "String256":{ "type":"string", "max":256, "min":1, "pattern":".*\\S.*" }, "SubnetIds":{ "type":"list", "member":{"shape":"SubnetString"}, "max":16, "min":0 }, "SubnetString":{ "type":"string", "max":32, "min":1, "pattern":"[-0-9a-zA-Z]+.*" }, "TagKey":{ "type":"string", "max":128, "min":1, "pattern":"[A-Za-z0-9 /_.:=+@-]+" }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":200, "min":1 }, "TagMap":{ "type":"map", "key":{"shape":"TagKey"}, "value":{"shape":"TagValue"}, "max":200, "min":0 }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

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.

", "location":"uri", "locationName":"resourceArn" }, "tags":{ "shape":"TagMap", "documentation":"

The tags to add to the resource. A tag is an array of key-value pairs.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0, "pattern":"[A-Za-z0-9 /_.:=+@-]*" }, "TotalResourceUtilization":{ "type":"structure", "members":{ "vCPUHour":{ "shape":"Double", "documentation":"

The aggregated vCPU used per hour from the time job start executing till the time job is terminated.

" }, "memoryGBHour":{ "shape":"Double", "documentation":"

The aggregated memory used per hour from the time job start executing till the time job is terminated.

" }, "storageGBHour":{ "shape":"Double", "documentation":"

The aggregated storage used per hour from the time job start executing till the time job is terminated.

" } }, "documentation":"

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.

" }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"ResourceArn", "documentation":"

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.

", "location":"uri", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeyList", "documentation":"

The keys of the tags to be removed.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateApplicationRequest":{ "type":"structure", "required":[ "applicationId", "clientToken" ], "members":{ "applicationId":{ "shape":"ApplicationId", "documentation":"

The ID of the application to update.

", "location":"uri", "locationName":"applicationId" }, "clientToken":{ "shape":"ClientToken", "documentation":"

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

", "idempotencyToken":true }, "initialCapacity":{ "shape":"InitialCapacityConfigMap", "documentation":"

The capacity to initialize when the application is updated.

" }, "maximumCapacity":{ "shape":"MaximumAllowedResources", "documentation":"

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.

" }, "autoStartConfiguration":{ "shape":"AutoStartConfig", "documentation":"

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

" }, "autoStopConfiguration":{ "shape":"AutoStopConfig", "documentation":"

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

" }, "networkConfiguration":{"shape":"NetworkConfiguration"}, "architecture":{ "shape":"Architecture", "documentation":"

The CPU architecture of an application.

" }, "imageConfiguration":{ "shape":"ImageConfigurationInput", "documentation":"

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

" }, "workerTypeSpecifications":{ "shape":"WorkerTypeSpecificationInputMap", "documentation":"

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.

" }, "releaseLabel":{ "shape":"ReleaseLabel", "documentation":"

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

" }, "runtimeConfiguration":{ "shape":"ConfigurationList", "documentation":"

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

" }, "monitoringConfiguration":{ "shape":"MonitoringConfiguration", "documentation":"

The configuration setting for monitoring.

" } } }, "UpdateApplicationResponse":{ "type":"structure", "required":["application"], "members":{ "application":{ "shape":"Application", "documentation":"

Information about the updated application.

" } } }, "UriString":{ "type":"string", "max":10280, "min":1, "pattern":".*[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\r\\n\\t]*.*" }, "Url":{ "type":"string", "max":2048, "min":1 }, "ValidationException":{ "type":"structure", "required":["message"], "members":{ "message":{"shape":"String1024"} }, "documentation":"

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", "error":{ "httpStatusCode":400, "senderFault":true }, "exception":true }, "WorkerCounts":{ "type":"long", "max":1000000, "min":1 }, "WorkerResourceConfig":{ "type":"structure", "required":[ "cpu", "memory" ], "members":{ "cpu":{ "shape":"CpuSize", "documentation":"

The CPU requirements for every worker instance of the worker type.

" }, "memory":{ "shape":"MemorySize", "documentation":"

The memory requirements for every worker instance of the worker type.

" }, "disk":{ "shape":"DiskSize", "documentation":"

The disk requirements for every worker instance of the worker type.

" } }, "documentation":"

The cumulative configuration requirements for every worker instance of the worker type.

" }, "WorkerTypeSpecification":{ "type":"structure", "members":{ "imageConfiguration":{ "shape":"ImageConfiguration", "documentation":"

The image configuration for a worker type.

" } }, "documentation":"

The specifications for a worker type.

" }, "WorkerTypeSpecificationInput":{ "type":"structure", "members":{ "imageConfiguration":{ "shape":"ImageConfigurationInput", "documentation":"

The image configuration for a worker type.

" } }, "documentation":"

The specifications for a worker type.

" }, "WorkerTypeSpecificationInputMap":{ "type":"map", "key":{"shape":"WorkerTypeString"}, "value":{"shape":"WorkerTypeSpecificationInput"} }, "WorkerTypeSpecificationMap":{ "type":"map", "key":{"shape":"WorkerTypeString"}, "value":{"shape":"WorkerTypeSpecification"} }, "WorkerTypeString":{ "type":"string", "documentation":"

Worker type for an analytics framework.

", "max":50, "min":1, "pattern":"[a-zA-Z]+[-_]*[a-zA-Z]+" } }, "documentation":"

Amazon EMR Serverless is a new deployment option for Amazon EMR. Amazon EMR Serverless provides a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. With Amazon EMR Serverless, you don’t have to configure, optimize, secure, or operate clusters to run applications with these frameworks.

The API reference to Amazon EMR Serverless is `emr-serverless`. The `emr-serverless` prefix is used in the following scenarios:

- It is the prefix in the CLI commands for Amazon EMR Serverless. For example, `aws emr-serverless start-job-run`.

- It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, `\"Action\": [\"emr-serverless:StartJobRun\"]`. For more information, see Policy actions for Amazon EMR Serverless.

- It is the prefix used in Amazon EMR Serverless service endpoints. For example, `emr-serverless.us-east-2.amazonaws.com`.

" }