1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2021-07-13", 5 "endpointPrefix":"emr-serverless", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceFullName":"EMR Serverless", 9 "serviceId":"EMR Serverless", 10 "signatureVersion":"v4", 11 "signingName":"emr-serverless", 12 "uid":"emr-serverless-2021-07-13" 13 }, 14 "operations":{ 15 "CancelJobRun":{ 16 "name":"CancelJobRun", 17 "http":{ 18 "method":"DELETE", 19 "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", 20 "responseCode":200 21 }, 22 "input":{"shape":"CancelJobRunRequest"}, 23 "output":{"shape":"CancelJobRunResponse"}, 24 "errors":[ 25 {"shape":"ValidationException"}, 26 {"shape":"ResourceNotFoundException"}, 27 {"shape":"InternalServerException"} 28 ], 29 "documentation":"<p>Cancels a job run.</p>", 30 "idempotent":true 31 }, 32 "CreateApplication":{ 33 "name":"CreateApplication", 34 "http":{ 35 "method":"POST", 36 "requestUri":"/applications", 37 "responseCode":200 38 }, 39 "input":{"shape":"CreateApplicationRequest"}, 40 "output":{"shape":"CreateApplicationResponse"}, 41 "errors":[ 42 {"shape":"ValidationException"}, 43 {"shape":"ResourceNotFoundException"}, 44 {"shape":"InternalServerException"}, 45 {"shape":"ConflictException"} 46 ], 47 "documentation":"<p>Creates an application.</p>", 48 "idempotent":true 49 }, 50 "DeleteApplication":{ 51 "name":"DeleteApplication", 52 "http":{ 53 "method":"DELETE", 54 "requestUri":"/applications/{applicationId}", 55 "responseCode":200 56 }, 57 "input":{"shape":"DeleteApplicationRequest"}, 58 "output":{"shape":"DeleteApplicationResponse"}, 59 "errors":[ 60 {"shape":"ValidationException"}, 61 {"shape":"ResourceNotFoundException"}, 62 {"shape":"InternalServerException"} 63 ], 64 "documentation":"<p>Deletes an application. An application has to be in a stopped or created state in order to be deleted.</p>", 65 "idempotent":true 66 }, 67 "GetApplication":{ 68 "name":"GetApplication", 69 "http":{ 70 "method":"GET", 71 "requestUri":"/applications/{applicationId}", 72 "responseCode":200 73 }, 74 "input":{"shape":"GetApplicationRequest"}, 75 "output":{"shape":"GetApplicationResponse"}, 76 "errors":[ 77 {"shape":"ValidationException"}, 78 {"shape":"ResourceNotFoundException"}, 79 {"shape":"InternalServerException"} 80 ], 81 "documentation":"<p>Displays detailed information about a specified application.</p>" 82 }, 83 "GetDashboardForJobRun":{ 84 "name":"GetDashboardForJobRun", 85 "http":{ 86 "method":"GET", 87 "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}/dashboard", 88 "responseCode":200 89 }, 90 "input":{"shape":"GetDashboardForJobRunRequest"}, 91 "output":{"shape":"GetDashboardForJobRunResponse"}, 92 "errors":[ 93 {"shape":"ValidationException"}, 94 {"shape":"ResourceNotFoundException"}, 95 {"shape":"InternalServerException"} 96 ], 97 "documentation":"<p>Creates and returns a URL that you can use to access the application UIs for a job run.</p> <p>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.</p> <note> <p>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.</p> </note>" 98 }, 99 "GetJobRun":{ 100 "name":"GetJobRun", 101 "http":{ 102 "method":"GET", 103 "requestUri":"/applications/{applicationId}/jobruns/{jobRunId}", 104 "responseCode":200 105 }, 106 "input":{"shape":"GetJobRunRequest"}, 107 "output":{"shape":"GetJobRunResponse"}, 108 "errors":[ 109 {"shape":"ValidationException"}, 110 {"shape":"ResourceNotFoundException"}, 111 {"shape":"InternalServerException"} 112 ], 113 "documentation":"<p>Displays detailed information about a job run.</p>" 114 }, 115 "ListApplications":{ 116 "name":"ListApplications", 117 "http":{ 118 "method":"GET", 119 "requestUri":"/applications", 120 "responseCode":200 121 }, 122 "input":{"shape":"ListApplicationsRequest"}, 123 "output":{"shape":"ListApplicationsResponse"}, 124 "errors":[ 125 {"shape":"ValidationException"}, 126 {"shape":"InternalServerException"} 127 ], 128 "documentation":"<p>Lists applications based on a set of parameters.</p>" 129 }, 130 "ListJobRuns":{ 131 "name":"ListJobRuns", 132 "http":{ 133 "method":"GET", 134 "requestUri":"/applications/{applicationId}/jobruns", 135 "responseCode":200 136 }, 137 "input":{"shape":"ListJobRunsRequest"}, 138 "output":{"shape":"ListJobRunsResponse"}, 139 "errors":[ 140 {"shape":"ValidationException"}, 141 {"shape":"InternalServerException"} 142 ], 143 "documentation":"<p>Lists job runs based on a set of parameters.</p>" 144 }, 145 "ListTagsForResource":{ 146 "name":"ListTagsForResource", 147 "http":{ 148 "method":"GET", 149 "requestUri":"/tags/{resourceArn}", 150 "responseCode":200 151 }, 152 "input":{"shape":"ListTagsForResourceRequest"}, 153 "output":{"shape":"ListTagsForResourceResponse"}, 154 "errors":[ 155 {"shape":"ValidationException"}, 156 {"shape":"ResourceNotFoundException"}, 157 {"shape":"InternalServerException"} 158 ], 159 "documentation":"<p>Lists the tags assigned to the resources.</p>" 160 }, 161 "StartApplication":{ 162 "name":"StartApplication", 163 "http":{ 164 "method":"POST", 165 "requestUri":"/applications/{applicationId}/start", 166 "responseCode":200 167 }, 168 "input":{"shape":"StartApplicationRequest"}, 169 "output":{"shape":"StartApplicationResponse"}, 170 "errors":[ 171 {"shape":"ValidationException"}, 172 {"shape":"ResourceNotFoundException"}, 173 {"shape":"InternalServerException"}, 174 {"shape":"ServiceQuotaExceededException"} 175 ], 176 "documentation":"<p>Starts a specified application and initializes initial capacity if configured.</p>", 177 "idempotent":true 178 }, 179 "StartJobRun":{ 180 "name":"StartJobRun", 181 "http":{ 182 "method":"POST", 183 "requestUri":"/applications/{applicationId}/jobruns", 184 "responseCode":200 185 }, 186 "input":{"shape":"StartJobRunRequest"}, 187 "output":{"shape":"StartJobRunResponse"}, 188 "errors":[ 189 {"shape":"ValidationException"}, 190 {"shape":"ResourceNotFoundException"}, 191 {"shape":"InternalServerException"}, 192 {"shape":"ConflictException"} 193 ], 194 "documentation":"<p>Starts a job run.</p>", 195 "idempotent":true 196 }, 197 "StopApplication":{ 198 "name":"StopApplication", 199 "http":{ 200 "method":"POST", 201 "requestUri":"/applications/{applicationId}/stop", 202 "responseCode":200 203 }, 204 "input":{"shape":"StopApplicationRequest"}, 205 "output":{"shape":"StopApplicationResponse"}, 206 "errors":[ 207 {"shape":"ValidationException"}, 208 {"shape":"ResourceNotFoundException"}, 209 {"shape":"InternalServerException"} 210 ], 211 "documentation":"<p>Stops a specified application and releases initial capacity if configured. All scheduled and running jobs must be completed or cancelled before stopping an application.</p>", 212 "idempotent":true 213 }, 214 "TagResource":{ 215 "name":"TagResource", 216 "http":{ 217 "method":"POST", 218 "requestUri":"/tags/{resourceArn}", 219 "responseCode":200 220 }, 221 "input":{"shape":"TagResourceRequest"}, 222 "output":{"shape":"TagResourceResponse"}, 223 "errors":[ 224 {"shape":"ValidationException"}, 225 {"shape":"ResourceNotFoundException"}, 226 {"shape":"InternalServerException"} 227 ], 228 "documentation":"<p>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. </p>" 229 }, 230 "UntagResource":{ 231 "name":"UntagResource", 232 "http":{ 233 "method":"DELETE", 234 "requestUri":"/tags/{resourceArn}", 235 "responseCode":200 236 }, 237 "input":{"shape":"UntagResourceRequest"}, 238 "output":{"shape":"UntagResourceResponse"}, 239 "errors":[ 240 {"shape":"ValidationException"}, 241 {"shape":"ResourceNotFoundException"}, 242 {"shape":"InternalServerException"} 243 ], 244 "documentation":"<p>Removes tags from resources.</p>", 245 "idempotent":true 246 }, 247 "UpdateApplication":{ 248 "name":"UpdateApplication", 249 "http":{ 250 "method":"PATCH", 251 "requestUri":"/applications/{applicationId}", 252 "responseCode":200 253 }, 254 "input":{"shape":"UpdateApplicationRequest"}, 255 "output":{"shape":"UpdateApplicationResponse"}, 256 "errors":[ 257 {"shape":"ValidationException"}, 258 {"shape":"ResourceNotFoundException"}, 259 {"shape":"InternalServerException"} 260 ], 261 "documentation":"<p>Updates a specified application. An application has to be in a stopped or created state in order to be updated.</p>" 262 } 263 }, 264 "shapes":{ 265 "Application":{ 266 "type":"structure", 267 "required":[ 268 "applicationId", 269 "arn", 270 "releaseLabel", 271 "type", 272 "state", 273 "createdAt", 274 "updatedAt" 275 ], 276 "members":{ 277 "applicationId":{ 278 "shape":"ApplicationId", 279 "documentation":"<p>The ID of the application.</p>" 280 }, 281 "name":{ 282 "shape":"ApplicationName", 283 "documentation":"<p>The name of the application.</p>" 284 }, 285 "arn":{ 286 "shape":"ApplicationArn", 287 "documentation":"<p>The ARN of the application.</p>" 288 }, 289 "releaseLabel":{ 290 "shape":"ReleaseLabel", 291 "documentation":"<p>The Amazon EMR release associated with the application.</p>" 292 }, 293 "type":{ 294 "shape":"EngineType", 295 "documentation":"<p>The type of application, such as Spark or Hive.</p>" 296 }, 297 "state":{ 298 "shape":"ApplicationState", 299 "documentation":"<p>The state of the application.</p>" 300 }, 301 "stateDetails":{ 302 "shape":"String256", 303 "documentation":"<p>The state details of the application.</p>" 304 }, 305 "initialCapacity":{ 306 "shape":"InitialCapacityConfigMap", 307 "documentation":"<p>The initial capacity of the application.</p>" 308 }, 309 "maximumCapacity":{ 310 "shape":"MaximumAllowedResources", 311 "documentation":"<p>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.</p>" 312 }, 313 "createdAt":{ 314 "shape":"Date", 315 "documentation":"<p>The date and time when the application run was created.</p>" 316 }, 317 "updatedAt":{ 318 "shape":"Date", 319 "documentation":"<p>The date and time when the application run was last updated.</p>" 320 }, 321 "tags":{ 322 "shape":"TagMap", 323 "documentation":"<p>The tags assigned to the application.</p>" 324 }, 325 "autoStartConfiguration":{ 326 "shape":"AutoStartConfig", 327 "documentation":"<p>The configuration for an application to automatically start on job submission.</p>" 328 }, 329 "autoStopConfiguration":{ 330 "shape":"AutoStopConfig", 331 "documentation":"<p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>" 332 }, 333 "networkConfiguration":{ 334 "shape":"NetworkConfiguration", 335 "documentation":"<p>The network configuration for customer VPC connectivity for the application.</p>" 336 }, 337 "architecture":{ 338 "shape":"Architecture", 339 "documentation":"<p>The CPU architecture of an application.</p>" 340 }, 341 "imageConfiguration":{ 342 "shape":"ImageConfiguration", 343 "documentation":"<p>The image configuration applied to all worker types.</p>" 344 }, 345 "workerTypeSpecifications":{ 346 "shape":"WorkerTypeSpecificationMap", 347 "documentation":"<p>The specification applied to each worker type.</p>" 348 }, 349 "runtimeConfiguration":{ 350 "shape":"ConfigurationList", 351 "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html\">Configuration</a> 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 <a href=\"https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_GetApplication.html\">GetApplication</a> API operation.</p>" 352 }, 353 "monitoringConfiguration":{"shape":"MonitoringConfiguration"} 354 }, 355 "documentation":"<p>Information about an application. Amazon EMR Serverless uses applications to run jobs.</p>" 356 }, 357 "ApplicationArn":{ 358 "type":"string", 359 "max":1024, 360 "min":60, 361 "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+" 362 }, 363 "ApplicationId":{ 364 "type":"string", 365 "max":64, 366 "min":1, 367 "pattern":"[0-9a-z]+" 368 }, 369 "ApplicationList":{ 370 "type":"list", 371 "member":{"shape":"ApplicationSummary"} 372 }, 373 "ApplicationName":{ 374 "type":"string", 375 "max":64, 376 "min":1, 377 "pattern":"[A-Za-z0-9._/#-]+" 378 }, 379 "ApplicationState":{ 380 "type":"string", 381 "enum":[ 382 "CREATING", 383 "CREATED", 384 "STARTING", 385 "STARTED", 386 "STOPPING", 387 "STOPPED", 388 "TERMINATED" 389 ] 390 }, 391 "ApplicationStateSet":{ 392 "type":"list", 393 "member":{"shape":"ApplicationState"}, 394 "max":7, 395 "min":1 396 }, 397 "ApplicationSummary":{ 398 "type":"structure", 399 "required":[ 400 "id", 401 "arn", 402 "releaseLabel", 403 "type", 404 "state", 405 "createdAt", 406 "updatedAt" 407 ], 408 "members":{ 409 "id":{ 410 "shape":"ApplicationId", 411 "documentation":"<p>The ID of the application.</p>" 412 }, 413 "name":{ 414 "shape":"ApplicationName", 415 "documentation":"<p>The name of the application.</p>" 416 }, 417 "arn":{ 418 "shape":"ApplicationArn", 419 "documentation":"<p>The ARN of the application.</p>" 420 }, 421 "releaseLabel":{ 422 "shape":"ReleaseLabel", 423 "documentation":"<p>The Amazon EMR release associated with the application.</p>" 424 }, 425 "type":{ 426 "shape":"EngineType", 427 "documentation":"<p>The type of application, such as Spark or Hive.</p>" 428 }, 429 "state":{ 430 "shape":"ApplicationState", 431 "documentation":"<p>The state of the application.</p>" 432 }, 433 "stateDetails":{ 434 "shape":"String256", 435 "documentation":"<p>The state details of the application.</p>" 436 }, 437 "createdAt":{ 438 "shape":"Date", 439 "documentation":"<p>The date and time when the application was created.</p>" 440 }, 441 "updatedAt":{ 442 "shape":"Date", 443 "documentation":"<p>The date and time when the application was last updated.</p>" 444 }, 445 "architecture":{ 446 "shape":"Architecture", 447 "documentation":"<p>The CPU architecture of an application.</p>" 448 } 449 }, 450 "documentation":"<p>The summary of attributes associated with an application.</p>" 451 }, 452 "Architecture":{ 453 "type":"string", 454 "enum":[ 455 "ARM64", 456 "X86_64" 457 ] 458 }, 459 "AutoStartConfig":{ 460 "type":"structure", 461 "members":{ 462 "enabled":{ 463 "shape":"Boolean", 464 "documentation":"<p>Enables the application to automatically start on job submission. Defaults to true.</p>" 465 } 466 }, 467 "documentation":"<p>The configuration for an application to automatically start on job submission.</p>" 468 }, 469 "AutoStopConfig":{ 470 "type":"structure", 471 "members":{ 472 "enabled":{ 473 "shape":"Boolean", 474 "documentation":"<p>Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.</p>" 475 }, 476 "idleTimeoutMinutes":{ 477 "shape":"AutoStopConfigIdleTimeoutMinutesInteger", 478 "documentation":"<p>The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.</p>" 479 } 480 }, 481 "documentation":"<p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>" 482 }, 483 "AutoStopConfigIdleTimeoutMinutesInteger":{ 484 "type":"integer", 485 "box":true, 486 "max":10080, 487 "min":1 488 }, 489 "Boolean":{ 490 "type":"boolean", 491 "box":true 492 }, 493 "CancelJobRunRequest":{ 494 "type":"structure", 495 "required":[ 496 "applicationId", 497 "jobRunId" 498 ], 499 "members":{ 500 "applicationId":{ 501 "shape":"ApplicationId", 502 "documentation":"<p>The ID of the application on which the job run will be canceled.</p>", 503 "location":"uri", 504 "locationName":"applicationId" 505 }, 506 "jobRunId":{ 507 "shape":"JobRunId", 508 "documentation":"<p>The ID of the job run to cancel.</p>", 509 "location":"uri", 510 "locationName":"jobRunId" 511 } 512 } 513 }, 514 "CancelJobRunResponse":{ 515 "type":"structure", 516 "required":[ 517 "applicationId", 518 "jobRunId" 519 ], 520 "members":{ 521 "applicationId":{ 522 "shape":"ApplicationId", 523 "documentation":"<p>The output contains the application ID on which the job run is cancelled.</p>" 524 }, 525 "jobRunId":{ 526 "shape":"JobRunId", 527 "documentation":"<p>The output contains the ID of the cancelled job run.</p>" 528 } 529 } 530 }, 531 "ClientToken":{ 532 "type":"string", 533 "max":64, 534 "min":1, 535 "pattern":"[A-Za-z0-9._-]+" 536 }, 537 "CloudWatchLoggingConfiguration":{ 538 "type":"structure", 539 "required":["enabled"], 540 "members":{ 541 "enabled":{ 542 "shape":"Boolean", 543 "documentation":"<p>Enables CloudWatch logging.</p>" 544 }, 545 "logGroupName":{ 546 "shape":"LogGroupName", 547 "documentation":"<p>The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.</p>" 548 }, 549 "logStreamNamePrefix":{ 550 "shape":"LogStreamNamePrefix", 551 "documentation":"<p>Prefix for the CloudWatch log stream name.</p>" 552 }, 553 "encryptionKeyArn":{ 554 "shape":"EncryptionKeyArn", 555 "documentation":"<p>The Key Management Service (KMS) key ARN to encrypt the logs that you store in CloudWatch Logs.</p>" 556 }, 557 "logTypes":{ 558 "shape":"LogTypeMap", 559 "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/logging.html#jobs-log-storage-cw\">Logging for EMR Serverless with CloudWatch</a>.</p> <ul> <li> <p> <b>Key Valid Values</b>: <code>SPARK_DRIVER</code>, <code>SPARK_EXECUTOR</code>, <code>HIVE_DRIVER</code>, <code>TEZ_TASK</code> </p> </li> <li> <p> <b>Array Members Valid Values</b>: <code>STDOUT</code>, <code>STDERR</code>, <code>HIVE_LOG</code>, <code>TEZ_AM</code>, <code>SYSTEM_LOGS</code> </p> </li> </ul>" 560 } 561 }, 562 "documentation":"<p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.</p>" 563 }, 564 "Configuration":{ 565 "type":"structure", 566 "required":["classification"], 567 "members":{ 568 "classification":{ 569 "shape":"String1024", 570 "documentation":"<p>The classification within a configuration.</p>" 571 }, 572 "properties":{ 573 "shape":"SensitivePropertiesMap", 574 "documentation":"<p>A set of properties specified within a configuration classification.</p>" 575 }, 576 "configurations":{ 577 "shape":"ConfigurationList", 578 "documentation":"<p>A list of additional configurations to apply within a configuration object.</p>" 579 } 580 }, 581 "documentation":"<p>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.</p>" 582 }, 583 "ConfigurationList":{ 584 "type":"list", 585 "member":{"shape":"Configuration"}, 586 "max":100, 587 "min":0 588 }, 589 "ConfigurationOverrides":{ 590 "type":"structure", 591 "members":{ 592 "applicationConfiguration":{ 593 "shape":"ConfigurationList", 594 "documentation":"<p>The override configurations for the application.</p>" 595 }, 596 "monitoringConfiguration":{ 597 "shape":"MonitoringConfiguration", 598 "documentation":"<p>The override configurations for monitoring.</p>" 599 } 600 }, 601 "documentation":"<p>A configuration specification to be used to override existing configurations.</p>" 602 }, 603 "ConflictException":{ 604 "type":"structure", 605 "required":["message"], 606 "members":{ 607 "message":{"shape":"String1024"} 608 }, 609 "documentation":"<p>The request could not be processed because of conflict in the current state of the resource.</p>", 610 "error":{ 611 "httpStatusCode":409, 612 "senderFault":true 613 }, 614 "exception":true 615 }, 616 "CpuSize":{ 617 "type":"string", 618 "max":15, 619 "min":1, 620 "pattern":"[1-9][0-9]*(\\s)?(vCPU|vcpu|VCPU)?" 621 }, 622 "CreateApplicationRequest":{ 623 "type":"structure", 624 "required":[ 625 "releaseLabel", 626 "type", 627 "clientToken" 628 ], 629 "members":{ 630 "name":{ 631 "shape":"ApplicationName", 632 "documentation":"<p>The name of the application.</p>" 633 }, 634 "releaseLabel":{ 635 "shape":"ReleaseLabel", 636 "documentation":"<p>The Amazon EMR release associated with the application.</p>" 637 }, 638 "type":{ 639 "shape":"EngineType", 640 "documentation":"<p>The type of application you want to start, such as Spark or Hive.</p>" 641 }, 642 "clientToken":{ 643 "shape":"ClientToken", 644 "documentation":"<p>The client idempotency token of the application to create. Its value must be unique for each request.</p>", 645 "idempotencyToken":true 646 }, 647 "initialCapacity":{ 648 "shape":"InitialCapacityConfigMap", 649 "documentation":"<p>The capacity to initialize when the application is created.</p>" 650 }, 651 "maximumCapacity":{ 652 "shape":"MaximumAllowedResources", 653 "documentation":"<p>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.</p>" 654 }, 655 "tags":{ 656 "shape":"TagMap", 657 "documentation":"<p>The tags assigned to the application.</p>" 658 }, 659 "autoStartConfiguration":{ 660 "shape":"AutoStartConfig", 661 "documentation":"<p>The configuration for an application to automatically start on job submission.</p>" 662 }, 663 "autoStopConfiguration":{ 664 "shape":"AutoStopConfig", 665 "documentation":"<p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>" 666 }, 667 "networkConfiguration":{ 668 "shape":"NetworkConfiguration", 669 "documentation":"<p>The network configuration for customer VPC connectivity.</p>" 670 }, 671 "architecture":{ 672 "shape":"Architecture", 673 "documentation":"<p>The CPU architecture of an application.</p>" 674 }, 675 "imageConfiguration":{ 676 "shape":"ImageConfigurationInput", 677 "documentation":"<p>The image configuration for all worker types. You can either set this parameter or <code>imageConfiguration</code> for each worker type in <code>workerTypeSpecifications</code>.</p>" 678 }, 679 "workerTypeSpecifications":{ 680 "shape":"WorkerTypeSpecificationInputMap", 681 "documentation":"<p>The key-value pairs that specify worker type to <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>" 682 }, 683 "runtimeConfiguration":{ 684 "shape":"ConfigurationList", 685 "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html\">Configuration</a> 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.</p>" 686 }, 687 "monitoringConfiguration":{ 688 "shape":"MonitoringConfiguration", 689 "documentation":"<p>The configuration setting for monitoring.</p>" 690 } 691 } 692 }, 693 "CreateApplicationResponse":{ 694 "type":"structure", 695 "required":[ 696 "applicationId", 697 "arn" 698 ], 699 "members":{ 700 "applicationId":{ 701 "shape":"ApplicationId", 702 "documentation":"<p>The output contains the application ID.</p>" 703 }, 704 "name":{ 705 "shape":"ApplicationName", 706 "documentation":"<p>The output contains the name of the application.</p>" 707 }, 708 "arn":{ 709 "shape":"ApplicationArn", 710 "documentation":"<p>The output contains the ARN of the application.</p>" 711 } 712 } 713 }, 714 "Date":{"type":"timestamp"}, 715 "DeleteApplicationRequest":{ 716 "type":"structure", 717 "required":["applicationId"], 718 "members":{ 719 "applicationId":{ 720 "shape":"ApplicationId", 721 "documentation":"<p>The ID of the application that will be deleted.</p>", 722 "location":"uri", 723 "locationName":"applicationId" 724 } 725 } 726 }, 727 "DeleteApplicationResponse":{ 728 "type":"structure", 729 "members":{ 730 } 731 }, 732 "DiskSize":{ 733 "type":"string", 734 "max":15, 735 "min":1, 736 "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)" 737 }, 738 "Double":{ 739 "type":"double", 740 "box":true 741 }, 742 "Duration":{ 743 "type":"long", 744 "max":1000000, 745 "min":0 746 }, 747 "EncryptionKeyArn":{ 748 "type":"string", 749 "max":2048, 750 "min":20, 751 "pattern":"arn:(aws[a-zA-Z0-9-]*):kms:[a-zA-Z0-9\\-]*:(\\d{12})?:key\\/[a-zA-Z0-9-]+" 752 }, 753 "EngineType":{ 754 "type":"string", 755 "max":64, 756 "min":1 757 }, 758 "EntryPointArgument":{ 759 "type":"string", 760 "max":10280, 761 "min":1, 762 "pattern":".*\\S.*", 763 "sensitive":true 764 }, 765 "EntryPointArguments":{ 766 "type":"list", 767 "member":{"shape":"EntryPointArgument"} 768 }, 769 "EntryPointPath":{ 770 "type":"string", 771 "max":256, 772 "min":1, 773 "pattern":".*\\S.*", 774 "sensitive":true 775 }, 776 "GetApplicationRequest":{ 777 "type":"structure", 778 "required":["applicationId"], 779 "members":{ 780 "applicationId":{ 781 "shape":"ApplicationId", 782 "documentation":"<p>The ID of the application that will be described.</p>", 783 "location":"uri", 784 "locationName":"applicationId" 785 } 786 } 787 }, 788 "GetApplicationResponse":{ 789 "type":"structure", 790 "required":["application"], 791 "members":{ 792 "application":{ 793 "shape":"Application", 794 "documentation":"<p>The output displays information about the specified application.</p>" 795 } 796 } 797 }, 798 "GetDashboardForJobRunRequest":{ 799 "type":"structure", 800 "required":[ 801 "applicationId", 802 "jobRunId" 803 ], 804 "members":{ 805 "applicationId":{ 806 "shape":"ApplicationId", 807 "documentation":"<p>The ID of the application.</p>", 808 "location":"uri", 809 "locationName":"applicationId" 810 }, 811 "jobRunId":{ 812 "shape":"JobRunId", 813 "documentation":"<p>The ID of the job run.</p>", 814 "location":"uri", 815 "locationName":"jobRunId" 816 } 817 } 818 }, 819 "GetDashboardForJobRunResponse":{ 820 "type":"structure", 821 "members":{ 822 "url":{ 823 "shape":"Url", 824 "documentation":"<p>The URL to view job run's dashboard.</p>" 825 } 826 } 827 }, 828 "GetJobRunRequest":{ 829 "type":"structure", 830 "required":[ 831 "applicationId", 832 "jobRunId" 833 ], 834 "members":{ 835 "applicationId":{ 836 "shape":"ApplicationId", 837 "documentation":"<p>The ID of the application on which the job run is submitted.</p>", 838 "location":"uri", 839 "locationName":"applicationId" 840 }, 841 "jobRunId":{ 842 "shape":"JobRunId", 843 "documentation":"<p>The ID of the job run.</p>", 844 "location":"uri", 845 "locationName":"jobRunId" 846 } 847 } 848 }, 849 "GetJobRunResponse":{ 850 "type":"structure", 851 "required":["jobRun"], 852 "members":{ 853 "jobRun":{ 854 "shape":"JobRun", 855 "documentation":"<p>The output displays information about the job run.</p>" 856 } 857 } 858 }, 859 "Hive":{ 860 "type":"structure", 861 "required":["query"], 862 "members":{ 863 "query":{ 864 "shape":"Query", 865 "documentation":"<p>The query for the Hive job run.</p>" 866 }, 867 "initQueryFile":{ 868 "shape":"InitScriptPath", 869 "documentation":"<p>The query file for the Hive job run.</p>" 870 }, 871 "parameters":{ 872 "shape":"HiveCliParameters", 873 "documentation":"<p>The parameters for the Hive job run.</p>" 874 } 875 }, 876 "documentation":"<p>The configurations for the Hive job driver.</p>" 877 }, 878 "HiveCliParameters":{ 879 "type":"string", 880 "max":102400, 881 "min":1, 882 "pattern":".*\\S.*", 883 "sensitive":true 884 }, 885 "IAMRoleArn":{ 886 "type":"string", 887 "max":2048, 888 "min":20, 889 "pattern":"arn:(aws[a-zA-Z0-9-]*):iam::(\\d{12})?:(role((\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F))[\\w+=,.@-]+)" 890 }, 891 "ImageConfiguration":{ 892 "type":"structure", 893 "required":["imageUri"], 894 "members":{ 895 "imageUri":{ 896 "shape":"ImageUri", 897 "documentation":"<p>The image URI.</p>" 898 }, 899 "resolvedImageDigest":{ 900 "shape":"ImageDigest", 901 "documentation":"<p>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.</p>" 902 } 903 }, 904 "documentation":"<p>The applied image configuration.</p>" 905 }, 906 "ImageConfigurationInput":{ 907 "type":"structure", 908 "members":{ 909 "imageUri":{ 910 "shape":"ImageUri", 911 "documentation":"<p>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.</p>" 912 } 913 }, 914 "documentation":"<p>The image configuration.</p>" 915 }, 916 "ImageDigest":{ 917 "type":"string", 918 "pattern":"sha256:[0-9a-f]{64}" 919 }, 920 "ImageUri":{ 921 "type":"string", 922 "max":1024, 923 "min":1, 924 "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}))" 925 }, 926 "InitScriptPath":{ 927 "type":"string", 928 "max":256, 929 "min":1, 930 "pattern":".*\\S.*", 931 "sensitive":true 932 }, 933 "InitialCapacityConfig":{ 934 "type":"structure", 935 "required":["workerCount"], 936 "members":{ 937 "workerCount":{ 938 "shape":"WorkerCounts", 939 "documentation":"<p>The number of workers in the initial capacity configuration.</p>" 940 }, 941 "workerConfiguration":{ 942 "shape":"WorkerResourceConfig", 943 "documentation":"<p>The resource configuration of the initial capacity configuration.</p>" 944 } 945 }, 946 "documentation":"<p>The initial capacity configuration per worker.</p>" 947 }, 948 "InitialCapacityConfigMap":{ 949 "type":"map", 950 "key":{"shape":"WorkerTypeString"}, 951 "value":{"shape":"InitialCapacityConfig"}, 952 "max":10, 953 "min":0 954 }, 955 "Integer":{ 956 "type":"integer", 957 "box":true 958 }, 959 "InternalServerException":{ 960 "type":"structure", 961 "required":["message"], 962 "members":{ 963 "message":{"shape":"String1024"} 964 }, 965 "documentation":"<p>Request processing failed because of an error or failure with the service.</p>", 966 "error":{"httpStatusCode":500}, 967 "exception":true, 968 "fault":true 969 }, 970 "JobArn":{ 971 "type":"string", 972 "max":1024, 973 "min":60, 974 "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+\\/jobruns\\/[0-9a-zA-Z]+" 975 }, 976 "JobDriver":{ 977 "type":"structure", 978 "members":{ 979 "sparkSubmit":{ 980 "shape":"SparkSubmit", 981 "documentation":"<p>The job driver parameters specified for Spark.</p>" 982 }, 983 "hive":{ 984 "shape":"Hive", 985 "documentation":"<p>The job driver parameters specified for Hive.</p>" 986 } 987 }, 988 "documentation":"<p>The driver that the job runs on.</p>", 989 "union":true 990 }, 991 "JobRun":{ 992 "type":"structure", 993 "required":[ 994 "applicationId", 995 "jobRunId", 996 "arn", 997 "createdBy", 998 "createdAt", 999 "updatedAt", 1000 "executionRole", 1001 "state", 1002 "stateDetails", 1003 "releaseLabel", 1004 "jobDriver" 1005 ], 1006 "members":{ 1007 "applicationId":{ 1008 "shape":"ApplicationId", 1009 "documentation":"<p>The ID of the application the job is running on.</p>" 1010 }, 1011 "jobRunId":{ 1012 "shape":"JobRunId", 1013 "documentation":"<p>The ID of the job run.</p>" 1014 }, 1015 "name":{ 1016 "shape":"String256", 1017 "documentation":"<p>The optional job run name. This doesn't have to be unique.</p>" 1018 }, 1019 "arn":{ 1020 "shape":"JobArn", 1021 "documentation":"<p>The execution role ARN of the job run.</p>" 1022 }, 1023 "createdBy":{ 1024 "shape":"RequestIdentityUserArn", 1025 "documentation":"<p>The user who created the job run.</p>" 1026 }, 1027 "createdAt":{ 1028 "shape":"Date", 1029 "documentation":"<p>The date and time when the job run was created.</p>" 1030 }, 1031 "updatedAt":{ 1032 "shape":"Date", 1033 "documentation":"<p>The date and time when the job run was updated.</p>" 1034 }, 1035 "executionRole":{ 1036 "shape":"IAMRoleArn", 1037 "documentation":"<p>The execution role ARN of the job run.</p>" 1038 }, 1039 "state":{ 1040 "shape":"JobRunState", 1041 "documentation":"<p>The state of the job run.</p>" 1042 }, 1043 "stateDetails":{ 1044 "shape":"String256", 1045 "documentation":"<p>The state details of the job run.</p>" 1046 }, 1047 "releaseLabel":{ 1048 "shape":"ReleaseLabel", 1049 "documentation":"<p>The Amazon EMR release associated with the application your job is running on.</p>" 1050 }, 1051 "configurationOverrides":{ 1052 "shape":"ConfigurationOverrides", 1053 "documentation":"<p>The configuration settings that are used to override default configuration.</p>" 1054 }, 1055 "jobDriver":{ 1056 "shape":"JobDriver", 1057 "documentation":"<p>The job driver for the job run.</p>" 1058 }, 1059 "tags":{ 1060 "shape":"TagMap", 1061 "documentation":"<p>The tags assigned to the job run.</p>" 1062 }, 1063 "totalResourceUtilization":{ 1064 "shape":"TotalResourceUtilization", 1065 "documentation":"<p>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.</p>" 1066 }, 1067 "networkConfiguration":{"shape":"NetworkConfiguration"}, 1068 "totalExecutionDurationSeconds":{ 1069 "shape":"Integer", 1070 "documentation":"<p>The job run total execution duration in seconds. This field is only available for job runs in a <code>COMPLETED</code>, <code>FAILED</code>, or <code>CANCELLED</code> state.</p>" 1071 }, 1072 "executionTimeoutMinutes":{ 1073 "shape":"Duration", 1074 "documentation":"<p>Returns the job run timeout value from the <code>StartJobRun</code> call. If no timeout was specified, then it returns the default timeout of 720 minutes.</p>", 1075 "box":true 1076 }, 1077 "billedResourceUtilization":{ 1078 "shape":"ResourceUtilization", 1079 "documentation":"<p>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.</p>" 1080 } 1081 }, 1082 "documentation":"<p>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.</p>" 1083 }, 1084 "JobRunId":{ 1085 "type":"string", 1086 "max":64, 1087 "min":1, 1088 "pattern":"[0-9a-z]+" 1089 }, 1090 "JobRunState":{ 1091 "type":"string", 1092 "enum":[ 1093 "SUBMITTED", 1094 "PENDING", 1095 "SCHEDULED", 1096 "RUNNING", 1097 "SUCCESS", 1098 "FAILED", 1099 "CANCELLING", 1100 "CANCELLED" 1101 ] 1102 }, 1103 "JobRunStateSet":{ 1104 "type":"list", 1105 "member":{"shape":"JobRunState"}, 1106 "max":8, 1107 "min":0 1108 }, 1109 "JobRunSummary":{ 1110 "type":"structure", 1111 "required":[ 1112 "applicationId", 1113 "id", 1114 "arn", 1115 "createdBy", 1116 "createdAt", 1117 "updatedAt", 1118 "executionRole", 1119 "state", 1120 "stateDetails", 1121 "releaseLabel" 1122 ], 1123 "members":{ 1124 "applicationId":{ 1125 "shape":"ApplicationId", 1126 "documentation":"<p>The ID of the application the job is running on.</p>" 1127 }, 1128 "id":{ 1129 "shape":"JobRunId", 1130 "documentation":"<p>The ID of the job run.</p>" 1131 }, 1132 "name":{ 1133 "shape":"String256", 1134 "documentation":"<p>The optional job run name. This doesn't have to be unique.</p>" 1135 }, 1136 "arn":{ 1137 "shape":"JobArn", 1138 "documentation":"<p>The ARN of the job run.</p>" 1139 }, 1140 "createdBy":{ 1141 "shape":"RequestIdentityUserArn", 1142 "documentation":"<p>The user who created the job run.</p>" 1143 }, 1144 "createdAt":{ 1145 "shape":"Date", 1146 "documentation":"<p>The date and time when the job run was created.</p>" 1147 }, 1148 "updatedAt":{ 1149 "shape":"Date", 1150 "documentation":"<p>The date and time when the job run was last updated.</p>" 1151 }, 1152 "executionRole":{ 1153 "shape":"IAMRoleArn", 1154 "documentation":"<p>The execution role ARN of the job run.</p>" 1155 }, 1156 "state":{ 1157 "shape":"JobRunState", 1158 "documentation":"<p>The state of the job run.</p>" 1159 }, 1160 "stateDetails":{ 1161 "shape":"String256", 1162 "documentation":"<p>The state details of the job run.</p>" 1163 }, 1164 "releaseLabel":{ 1165 "shape":"ReleaseLabel", 1166 "documentation":"<p>The Amazon EMR release associated with the application your job is running on.</p>" 1167 }, 1168 "type":{ 1169 "shape":"JobRunType", 1170 "documentation":"<p>The type of job run, such as Spark or Hive.</p>" 1171 } 1172 }, 1173 "documentation":"<p>The summary of attributes associated with a job run.</p>" 1174 }, 1175 "JobRunType":{"type":"string"}, 1176 "JobRuns":{ 1177 "type":"list", 1178 "member":{"shape":"JobRunSummary"} 1179 }, 1180 "ListApplicationsRequest":{ 1181 "type":"structure", 1182 "members":{ 1183 "nextToken":{ 1184 "shape":"NextToken", 1185 "documentation":"<p>The token for the next set of application results.</p>", 1186 "location":"querystring", 1187 "locationName":"nextToken" 1188 }, 1189 "maxResults":{ 1190 "shape":"ListApplicationsRequestMaxResultsInteger", 1191 "documentation":"<p>The maximum number of applications that can be listed.</p>", 1192 "location":"querystring", 1193 "locationName":"maxResults" 1194 }, 1195 "states":{ 1196 "shape":"ApplicationStateSet", 1197 "documentation":"<p>An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>", 1198 "location":"querystring", 1199 "locationName":"states" 1200 } 1201 } 1202 }, 1203 "ListApplicationsRequestMaxResultsInteger":{ 1204 "type":"integer", 1205 "box":true, 1206 "max":50, 1207 "min":1 1208 }, 1209 "ListApplicationsResponse":{ 1210 "type":"structure", 1211 "required":["applications"], 1212 "members":{ 1213 "applications":{ 1214 "shape":"ApplicationList", 1215 "documentation":"<p>The output lists the specified applications.</p>" 1216 }, 1217 "nextToken":{ 1218 "shape":"NextToken", 1219 "documentation":"<p>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.</p>" 1220 } 1221 } 1222 }, 1223 "ListJobRunsRequest":{ 1224 "type":"structure", 1225 "required":["applicationId"], 1226 "members":{ 1227 "applicationId":{ 1228 "shape":"ApplicationId", 1229 "documentation":"<p>The ID of the application for which to list the job run.</p>", 1230 "location":"uri", 1231 "locationName":"applicationId" 1232 }, 1233 "nextToken":{ 1234 "shape":"NextToken", 1235 "documentation":"<p>The token for the next set of job run results.</p>", 1236 "location":"querystring", 1237 "locationName":"nextToken" 1238 }, 1239 "maxResults":{ 1240 "shape":"ListJobRunsRequestMaxResultsInteger", 1241 "documentation":"<p>The maximum number of job runs that can be listed.</p>", 1242 "location":"querystring", 1243 "locationName":"maxResults" 1244 }, 1245 "createdAtAfter":{ 1246 "shape":"Date", 1247 "documentation":"<p>The lower bound of the option to filter by creation date and time.</p>", 1248 "location":"querystring", 1249 "locationName":"createdAtAfter" 1250 }, 1251 "createdAtBefore":{ 1252 "shape":"Date", 1253 "documentation":"<p>The upper bound of the option to filter by creation date and time.</p>", 1254 "location":"querystring", 1255 "locationName":"createdAtBefore" 1256 }, 1257 "states":{ 1258 "shape":"JobRunStateSet", 1259 "documentation":"<p>An optional filter for job run states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.</p>", 1260 "location":"querystring", 1261 "locationName":"states" 1262 } 1263 } 1264 }, 1265 "ListJobRunsRequestMaxResultsInteger":{ 1266 "type":"integer", 1267 "box":true, 1268 "max":50, 1269 "min":1 1270 }, 1271 "ListJobRunsResponse":{ 1272 "type":"structure", 1273 "required":["jobRuns"], 1274 "members":{ 1275 "jobRuns":{ 1276 "shape":"JobRuns", 1277 "documentation":"<p>The output lists information about the specified job runs.</p>" 1278 }, 1279 "nextToken":{ 1280 "shape":"NextToken", 1281 "documentation":"<p>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.</p>" 1282 } 1283 } 1284 }, 1285 "ListTagsForResourceRequest":{ 1286 "type":"structure", 1287 "required":["resourceArn"], 1288 "members":{ 1289 "resourceArn":{ 1290 "shape":"ResourceArn", 1291 "documentation":"<p>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.</p>", 1292 "location":"uri", 1293 "locationName":"resourceArn" 1294 } 1295 } 1296 }, 1297 "ListTagsForResourceResponse":{ 1298 "type":"structure", 1299 "members":{ 1300 "tags":{ 1301 "shape":"TagMap", 1302 "documentation":"<p>The tags for the resource.</p>" 1303 } 1304 } 1305 }, 1306 "LogGroupName":{ 1307 "type":"string", 1308 "max":512, 1309 "min":1, 1310 "pattern":"[\\.\\-_/#A-Za-z0-9]+" 1311 }, 1312 "LogStreamNamePrefix":{ 1313 "type":"string", 1314 "max":512, 1315 "min":1, 1316 "pattern":"[^:*]*" 1317 }, 1318 "LogTypeList":{ 1319 "type":"list", 1320 "member":{"shape":"LogTypeString"}, 1321 "max":5, 1322 "min":1 1323 }, 1324 "LogTypeMap":{ 1325 "type":"map", 1326 "key":{"shape":"WorkerTypeString"}, 1327 "value":{"shape":"LogTypeList"}, 1328 "max":4, 1329 "min":1 1330 }, 1331 "LogTypeString":{ 1332 "type":"string", 1333 "documentation":"<p>Log type for a Spark/Hive job-run.</p>", 1334 "max":50, 1335 "min":1, 1336 "pattern":"[a-zA-Z]+[-_]*[a-zA-Z]+" 1337 }, 1338 "ManagedPersistenceMonitoringConfiguration":{ 1339 "type":"structure", 1340 "members":{ 1341 "enabled":{ 1342 "shape":"Boolean", 1343 "documentation":"<p>Enables managed logging and defaults to true. If set to false, managed logging will be turned off.</p>" 1344 }, 1345 "encryptionKeyArn":{ 1346 "shape":"EncryptionKeyArn", 1347 "documentation":"<p>The KMS key ARN to encrypt the logs stored in managed log persistence.</p>" 1348 } 1349 }, 1350 "documentation":"<p>The managed log persistence configuration for a job run.</p>" 1351 }, 1352 "MaximumAllowedResources":{ 1353 "type":"structure", 1354 "required":[ 1355 "cpu", 1356 "memory" 1357 ], 1358 "members":{ 1359 "cpu":{ 1360 "shape":"CpuSize", 1361 "documentation":"<p>The maximum allowed CPU for an application.</p>" 1362 }, 1363 "memory":{ 1364 "shape":"MemorySize", 1365 "documentation":"<p>The maximum allowed resources for an application.</p>" 1366 }, 1367 "disk":{ 1368 "shape":"DiskSize", 1369 "documentation":"<p>The maximum allowed disk for an application.</p>" 1370 } 1371 }, 1372 "documentation":"<p>The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.</p>" 1373 }, 1374 "MemorySize":{ 1375 "type":"string", 1376 "max":15, 1377 "min":1, 1378 "pattern":"[1-9][0-9]*(\\s)?(GB|gb|gB|Gb)?" 1379 }, 1380 "MonitoringConfiguration":{ 1381 "type":"structure", 1382 "members":{ 1383 "s3MonitoringConfiguration":{ 1384 "shape":"S3MonitoringConfiguration", 1385 "documentation":"<p>The Amazon S3 configuration for monitoring log publishing.</p>" 1386 }, 1387 "managedPersistenceMonitoringConfiguration":{ 1388 "shape":"ManagedPersistenceMonitoringConfiguration", 1389 "documentation":"<p>The managed log persistence configuration for a job run.</p>" 1390 }, 1391 "cloudWatchLoggingConfiguration":{ 1392 "shape":"CloudWatchLoggingConfiguration", 1393 "documentation":"<p>The Amazon CloudWatch configuration for monitoring logs. You can configure your jobs to send log information to CloudWatch.</p>" 1394 } 1395 }, 1396 "documentation":"<p>The configuration setting for monitoring.</p>" 1397 }, 1398 "NetworkConfiguration":{ 1399 "type":"structure", 1400 "members":{ 1401 "subnetIds":{ 1402 "shape":"SubnetIds", 1403 "documentation":"<p>The array of subnet Ids for customer VPC connectivity.</p>" 1404 }, 1405 "securityGroupIds":{ 1406 "shape":"SecurityGroupIds", 1407 "documentation":"<p>The array of security group Ids for customer VPC connectivity.</p>" 1408 } 1409 }, 1410 "documentation":"<p>The network configuration for customer VPC connectivity.</p>" 1411 }, 1412 "NextToken":{ 1413 "type":"string", 1414 "max":1024, 1415 "min":1, 1416 "pattern":"[A-Za-z0-9_=-]+" 1417 }, 1418 "Query":{ 1419 "type":"string", 1420 "max":10280, 1421 "min":1, 1422 "pattern":".*\\S.*", 1423 "sensitive":true 1424 }, 1425 "ReleaseLabel":{ 1426 "type":"string", 1427 "max":64, 1428 "min":1, 1429 "pattern":"[A-Za-z0-9._/-]+" 1430 }, 1431 "RequestIdentityUserArn":{ 1432 "type":"string", 1433 "max":2048, 1434 "min":20, 1435 "pattern":"arn:(aws[a-zA-Z0-9-]*):(iam|sts)::(\\d{12})?:[\\w/+=,.@-]+" 1436 }, 1437 "ResourceArn":{ 1438 "type":"string", 1439 "max":1024, 1440 "min":60, 1441 "pattern":"arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\\d{12}):\\/applications\\/[0-9a-zA-Z]+(\\/jobruns\\/[0-9a-zA-Z]+)?" 1442 }, 1443 "ResourceNotFoundException":{ 1444 "type":"structure", 1445 "required":["message"], 1446 "members":{ 1447 "message":{"shape":"String1024"} 1448 }, 1449 "documentation":"<p>The specified resource was not found.</p>", 1450 "error":{ 1451 "httpStatusCode":404, 1452 "senderFault":true 1453 }, 1454 "exception":true 1455 }, 1456 "ResourceUtilization":{ 1457 "type":"structure", 1458 "members":{ 1459 "vCPUHour":{ 1460 "shape":"Double", 1461 "documentation":"<p>The aggregated vCPU used per hour from the time the job starts executing until the job is terminated.</p>" 1462 }, 1463 "memoryGBHour":{ 1464 "shape":"Double", 1465 "documentation":"<p>The aggregated memory used per hour from the time the job starts executing until the job is terminated.</p>" 1466 }, 1467 "storageGBHour":{ 1468 "shape":"Double", 1469 "documentation":"<p>The aggregated storage used per hour from the time the job starts executing until the job is terminated.</p>" 1470 } 1471 }, 1472 "documentation":"<p>The resource utilization for memory, storage, and vCPU for jobs.</p>" 1473 }, 1474 "S3MonitoringConfiguration":{ 1475 "type":"structure", 1476 "members":{ 1477 "logUri":{ 1478 "shape":"UriString", 1479 "documentation":"<p>The Amazon S3 destination URI for log publishing.</p>" 1480 }, 1481 "encryptionKeyArn":{ 1482 "shape":"EncryptionKeyArn", 1483 "documentation":"<p>The KMS key ARN to encrypt the logs published to the given Amazon S3 destination.</p>" 1484 } 1485 }, 1486 "documentation":"<p>The Amazon S3 configuration for monitoring log publishing. You can configure your jobs to send log information to Amazon S3.</p>" 1487 }, 1488 "SecurityGroupIds":{ 1489 "type":"list", 1490 "member":{"shape":"SecurityGroupString"}, 1491 "max":5, 1492 "min":0 1493 }, 1494 "SecurityGroupString":{ 1495 "type":"string", 1496 "max":32, 1497 "min":1, 1498 "pattern":"[-0-9a-zA-Z]+.*" 1499 }, 1500 "SensitivePropertiesMap":{ 1501 "type":"map", 1502 "key":{"shape":"String1024"}, 1503 "value":{"shape":"String1024"}, 1504 "max":100, 1505 "min":0, 1506 "sensitive":true 1507 }, 1508 "ServiceQuotaExceededException":{ 1509 "type":"structure", 1510 "required":["message"], 1511 "members":{ 1512 "message":{"shape":"String1024"} 1513 }, 1514 "documentation":"<p>The maximum number of resources per account has been reached.</p>", 1515 "error":{ 1516 "httpStatusCode":402, 1517 "senderFault":true 1518 }, 1519 "exception":true 1520 }, 1521 "SparkSubmit":{ 1522 "type":"structure", 1523 "required":["entryPoint"], 1524 "members":{ 1525 "entryPoint":{ 1526 "shape":"EntryPointPath", 1527 "documentation":"<p>The entry point for the Spark submit job run.</p>" 1528 }, 1529 "entryPointArguments":{ 1530 "shape":"EntryPointArguments", 1531 "documentation":"<p>The arguments for the Spark submit job run.</p>" 1532 }, 1533 "sparkSubmitParameters":{ 1534 "shape":"SparkSubmitParameters", 1535 "documentation":"<p>The parameters for the Spark submit job run.</p>" 1536 } 1537 }, 1538 "documentation":"<p>The configurations for the Spark submit job driver.</p>" 1539 }, 1540 "SparkSubmitParameters":{ 1541 "type":"string", 1542 "max":102400, 1543 "min":1, 1544 "pattern":".*\\S.*", 1545 "sensitive":true 1546 }, 1547 "StartApplicationRequest":{ 1548 "type":"structure", 1549 "required":["applicationId"], 1550 "members":{ 1551 "applicationId":{ 1552 "shape":"ApplicationId", 1553 "documentation":"<p>The ID of the application to start.</p>", 1554 "location":"uri", 1555 "locationName":"applicationId" 1556 } 1557 } 1558 }, 1559 "StartApplicationResponse":{ 1560 "type":"structure", 1561 "members":{ 1562 } 1563 }, 1564 "StartJobRunRequest":{ 1565 "type":"structure", 1566 "required":[ 1567 "applicationId", 1568 "clientToken", 1569 "executionRoleArn" 1570 ], 1571 "members":{ 1572 "applicationId":{ 1573 "shape":"ApplicationId", 1574 "documentation":"<p>The ID of the application on which to run the job.</p>", 1575 "location":"uri", 1576 "locationName":"applicationId" 1577 }, 1578 "clientToken":{ 1579 "shape":"ClientToken", 1580 "documentation":"<p>The client idempotency token of the job run to start. Its value must be unique for each request.</p>", 1581 "idempotencyToken":true 1582 }, 1583 "executionRoleArn":{ 1584 "shape":"IAMRoleArn", 1585 "documentation":"<p>The execution role ARN for the job run.</p>" 1586 }, 1587 "jobDriver":{ 1588 "shape":"JobDriver", 1589 "documentation":"<p>The job driver for the job run.</p>" 1590 }, 1591 "configurationOverrides":{ 1592 "shape":"ConfigurationOverrides", 1593 "documentation":"<p>The configuration overrides for the job run.</p>" 1594 }, 1595 "tags":{ 1596 "shape":"TagMap", 1597 "documentation":"<p>The tags assigned to the job run.</p>" 1598 }, 1599 "executionTimeoutMinutes":{ 1600 "shape":"Duration", 1601 "documentation":"<p>The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.</p>", 1602 "box":true 1603 }, 1604 "name":{ 1605 "shape":"String256", 1606 "documentation":"<p>The optional job run name. This doesn't have to be unique.</p>" 1607 } 1608 } 1609 }, 1610 "StartJobRunResponse":{ 1611 "type":"structure", 1612 "required":[ 1613 "applicationId", 1614 "jobRunId", 1615 "arn" 1616 ], 1617 "members":{ 1618 "applicationId":{ 1619 "shape":"ApplicationId", 1620 "documentation":"<p>This output displays the application ID on which the job run was submitted.</p>" 1621 }, 1622 "jobRunId":{ 1623 "shape":"JobRunId", 1624 "documentation":"<p>The output contains the ID of the started job run.</p>" 1625 }, 1626 "arn":{ 1627 "shape":"JobArn", 1628 "documentation":"<p>This output displays the ARN of the job run..</p>" 1629 } 1630 } 1631 }, 1632 "StopApplicationRequest":{ 1633 "type":"structure", 1634 "required":["applicationId"], 1635 "members":{ 1636 "applicationId":{ 1637 "shape":"ApplicationId", 1638 "documentation":"<p>The ID of the application to stop.</p>", 1639 "location":"uri", 1640 "locationName":"applicationId" 1641 } 1642 } 1643 }, 1644 "StopApplicationResponse":{ 1645 "type":"structure", 1646 "members":{ 1647 } 1648 }, 1649 "String1024":{ 1650 "type":"string", 1651 "max":1024, 1652 "min":1, 1653 "pattern":".*\\S.*" 1654 }, 1655 "String256":{ 1656 "type":"string", 1657 "max":256, 1658 "min":1, 1659 "pattern":".*\\S.*" 1660 }, 1661 "SubnetIds":{ 1662 "type":"list", 1663 "member":{"shape":"SubnetString"}, 1664 "max":16, 1665 "min":0 1666 }, 1667 "SubnetString":{ 1668 "type":"string", 1669 "max":32, 1670 "min":1, 1671 "pattern":"[-0-9a-zA-Z]+.*" 1672 }, 1673 "TagKey":{ 1674 "type":"string", 1675 "max":128, 1676 "min":1, 1677 "pattern":"[A-Za-z0-9 /_.:=+@-]+" 1678 }, 1679 "TagKeyList":{ 1680 "type":"list", 1681 "member":{"shape":"TagKey"}, 1682 "max":200, 1683 "min":1 1684 }, 1685 "TagMap":{ 1686 "type":"map", 1687 "key":{"shape":"TagKey"}, 1688 "value":{"shape":"TagValue"}, 1689 "max":200, 1690 "min":0 1691 }, 1692 "TagResourceRequest":{ 1693 "type":"structure", 1694 "required":[ 1695 "resourceArn", 1696 "tags" 1697 ], 1698 "members":{ 1699 "resourceArn":{ 1700 "shape":"ResourceArn", 1701 "documentation":"<p>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.</p>", 1702 "location":"uri", 1703 "locationName":"resourceArn" 1704 }, 1705 "tags":{ 1706 "shape":"TagMap", 1707 "documentation":"<p>The tags to add to the resource. A tag is an array of key-value pairs.</p>" 1708 } 1709 } 1710 }, 1711 "TagResourceResponse":{ 1712 "type":"structure", 1713 "members":{ 1714 } 1715 }, 1716 "TagValue":{ 1717 "type":"string", 1718 "max":256, 1719 "min":0, 1720 "pattern":"[A-Za-z0-9 /_.:=+@-]*" 1721 }, 1722 "TotalResourceUtilization":{ 1723 "type":"structure", 1724 "members":{ 1725 "vCPUHour":{ 1726 "shape":"Double", 1727 "documentation":"<p>The aggregated vCPU used per hour from the time job start executing till the time job is terminated.</p>" 1728 }, 1729 "memoryGBHour":{ 1730 "shape":"Double", 1731 "documentation":"<p>The aggregated memory used per hour from the time job start executing till the time job is terminated.</p>" 1732 }, 1733 "storageGBHour":{ 1734 "shape":"Double", 1735 "documentation":"<p>The aggregated storage used per hour from the time job start executing till the time job is terminated.</p>" 1736 } 1737 }, 1738 "documentation":"<p>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.</p>" 1739 }, 1740 "UntagResourceRequest":{ 1741 "type":"structure", 1742 "required":[ 1743 "resourceArn", 1744 "tagKeys" 1745 ], 1746 "members":{ 1747 "resourceArn":{ 1748 "shape":"ResourceArn", 1749 "documentation":"<p>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.</p>", 1750 "location":"uri", 1751 "locationName":"resourceArn" 1752 }, 1753 "tagKeys":{ 1754 "shape":"TagKeyList", 1755 "documentation":"<p>The keys of the tags to be removed.</p>", 1756 "location":"querystring", 1757 "locationName":"tagKeys" 1758 } 1759 } 1760 }, 1761 "UntagResourceResponse":{ 1762 "type":"structure", 1763 "members":{ 1764 } 1765 }, 1766 "UpdateApplicationRequest":{ 1767 "type":"structure", 1768 "required":[ 1769 "applicationId", 1770 "clientToken" 1771 ], 1772 "members":{ 1773 "applicationId":{ 1774 "shape":"ApplicationId", 1775 "documentation":"<p>The ID of the application to update.</p>", 1776 "location":"uri", 1777 "locationName":"applicationId" 1778 }, 1779 "clientToken":{ 1780 "shape":"ClientToken", 1781 "documentation":"<p>The client idempotency token of the application to update. Its value must be unique for each request.</p>", 1782 "idempotencyToken":true 1783 }, 1784 "initialCapacity":{ 1785 "shape":"InitialCapacityConfigMap", 1786 "documentation":"<p>The capacity to initialize when the application is updated.</p>" 1787 }, 1788 "maximumCapacity":{ 1789 "shape":"MaximumAllowedResources", 1790 "documentation":"<p>The maximum capacity to allocate when the application is updated. This is cumulative across all workers at any given point in time during the lifespan of the application. No new resources will be created once any one of the defined limits is hit.</p>" 1791 }, 1792 "autoStartConfiguration":{ 1793 "shape":"AutoStartConfig", 1794 "documentation":"<p>The configuration for an application to automatically start on job submission.</p>" 1795 }, 1796 "autoStopConfiguration":{ 1797 "shape":"AutoStopConfig", 1798 "documentation":"<p>The configuration for an application to automatically stop after a certain amount of time being idle.</p>" 1799 }, 1800 "networkConfiguration":{"shape":"NetworkConfiguration"}, 1801 "architecture":{ 1802 "shape":"Architecture", 1803 "documentation":"<p>The CPU architecture of an application.</p>" 1804 }, 1805 "imageConfiguration":{ 1806 "shape":"ImageConfigurationInput", 1807 "documentation":"<p>The image configuration to be used for all worker types. You can either set this parameter or <code>imageConfiguration</code> for each worker type in <code>WorkerTypeSpecificationInput</code>.</p>" 1808 }, 1809 "workerTypeSpecifications":{ 1810 "shape":"WorkerTypeSpecificationInputMap", 1811 "documentation":"<p>The key-value pairs that specify worker type to <code>WorkerTypeSpecificationInput</code>. This parameter must contain all valid worker types for a Spark or Hive application. Valid worker types include <code>Driver</code> and <code>Executor</code> for Spark applications and <code>HiveDriver</code> and <code>TezTask</code> for Hive applications. You can either set image details in this parameter for each worker type, or in <code>imageConfiguration</code> for all worker types.</p>" 1812 }, 1813 "releaseLabel":{ 1814 "shape":"ReleaseLabel", 1815 "documentation":"<p>The Amazon EMR release label for the application. You can change the release label to use a different release of Amazon EMR.</p>" 1816 }, 1817 "runtimeConfiguration":{ 1818 "shape":"ConfigurationList", 1819 "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/emr-serverless/latest/APIReference/API_Configuration.html\">Configuration</a> specifications to use when updating an application. Each configuration consists of a classification and properties. This configuration is applied across all the job runs submitted under the application.</p>" 1820 }, 1821 "monitoringConfiguration":{ 1822 "shape":"MonitoringConfiguration", 1823 "documentation":"<p>The configuration setting for monitoring.</p>" 1824 } 1825 } 1826 }, 1827 "UpdateApplicationResponse":{ 1828 "type":"structure", 1829 "required":["application"], 1830 "members":{ 1831 "application":{ 1832 "shape":"Application", 1833 "documentation":"<p>Information about the updated application.</p>" 1834 } 1835 } 1836 }, 1837 "UriString":{ 1838 "type":"string", 1839 "max":10280, 1840 "min":1, 1841 "pattern":".*[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDBFF-\\uDC00\\uDFFF\\r\\n\\t]*.*" 1842 }, 1843 "Url":{ 1844 "type":"string", 1845 "max":2048, 1846 "min":1 1847 }, 1848 "ValidationException":{ 1849 "type":"structure", 1850 "required":["message"], 1851 "members":{ 1852 "message":{"shape":"String1024"} 1853 }, 1854 "documentation":"<p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>", 1855 "error":{ 1856 "httpStatusCode":400, 1857 "senderFault":true 1858 }, 1859 "exception":true 1860 }, 1861 "WorkerCounts":{ 1862 "type":"long", 1863 "max":1000000, 1864 "min":1 1865 }, 1866 "WorkerResourceConfig":{ 1867 "type":"structure", 1868 "required":[ 1869 "cpu", 1870 "memory" 1871 ], 1872 "members":{ 1873 "cpu":{ 1874 "shape":"CpuSize", 1875 "documentation":"<p>The CPU requirements for every worker instance of the worker type.</p>" 1876 }, 1877 "memory":{ 1878 "shape":"MemorySize", 1879 "documentation":"<p>The memory requirements for every worker instance of the worker type.</p>" 1880 }, 1881 "disk":{ 1882 "shape":"DiskSize", 1883 "documentation":"<p>The disk requirements for every worker instance of the worker type.</p>" 1884 } 1885 }, 1886 "documentation":"<p>The cumulative configuration requirements for every worker instance of the worker type.</p>" 1887 }, 1888 "WorkerTypeSpecification":{ 1889 "type":"structure", 1890 "members":{ 1891 "imageConfiguration":{ 1892 "shape":"ImageConfiguration", 1893 "documentation":"<p>The image configuration for a worker type.</p>" 1894 } 1895 }, 1896 "documentation":"<p>The specifications for a worker type.</p>" 1897 }, 1898 "WorkerTypeSpecificationInput":{ 1899 "type":"structure", 1900 "members":{ 1901 "imageConfiguration":{ 1902 "shape":"ImageConfigurationInput", 1903 "documentation":"<p>The image configuration for a worker type.</p>" 1904 } 1905 }, 1906 "documentation":"<p>The specifications for a worker type.</p>" 1907 }, 1908 "WorkerTypeSpecificationInputMap":{ 1909 "type":"map", 1910 "key":{"shape":"WorkerTypeString"}, 1911 "value":{"shape":"WorkerTypeSpecificationInput"} 1912 }, 1913 "WorkerTypeSpecificationMap":{ 1914 "type":"map", 1915 "key":{"shape":"WorkerTypeString"}, 1916 "value":{"shape":"WorkerTypeSpecification"} 1917 }, 1918 "WorkerTypeString":{ 1919 "type":"string", 1920 "documentation":"<p>Worker type for an analytics framework.</p>", 1921 "max":50, 1922 "min":1, 1923 "pattern":"[a-zA-Z]+[-_]*[a-zA-Z]+" 1924 } 1925 }, 1926 "documentation":"<p>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.</p> <p>The API reference to Amazon EMR Serverless is <code>emr-serverless</code>. The <code>emr-serverless</code> prefix is used in the following scenarios: </p> <ul> <li> <p>It is the prefix in the CLI commands for Amazon EMR Serverless. For example, <code>aws emr-serverless start-job-run</code>.</p> </li> <li> <p>It is the prefix before IAM policy actions for Amazon EMR Serverless. For example, <code>\"Action\": [\"emr-serverless:StartJobRun\"]</code>. For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions\">Policy actions for Amazon EMR Serverless</a>.</p> </li> <li> <p>It is the prefix used in Amazon EMR Serverless service endpoints. For example, <code>emr-serverless.us-east-2.amazonaws.com</code>.</p> </li> </ul>" 1927} 1928