- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
StartApplicationCommand
Starts a specified application and initializes initial capacity if configured.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { EMRServerlessClient, StartApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
// const { EMRServerlessClient, StartApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
const client = new EMRServerlessClient(config);
const input = { // StartApplicationRequest
applicationId: "STRING_VALUE", // required
};
const command = new StartApplicationCommand(input);
const response = await client.send(command);
// {};
StartApplicationCommand Input
See StartApplicationCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
applicationId Required | string | undefined | The ID of the application to start. |
StartApplicationCommand Output
See StartApplicationCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
InternalServerException | server | Request processing failed because of an error or failure with the service. |
ResourceNotFoundException | client | The specified resource was not found. |
ServiceQuotaExceededException | client | The maximum number of resources per account has been reached. |
ValidationException | client | The input fails to satisfy the constraints specified by an Amazon Web Services service. |
EMRServerlessServiceException | Base exception class for all service exceptions from EMRServerless service. |