Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetApplicationCommandProtected

Displays detailed information about a specified application.

Example

Use a bare-bones client and the command you need to make an API call.

import { EMRServerlessClient, GetApplicationCommand } from "@aws-sdk/client-emr-serverless"; // ES Modules import
// const { EMRServerlessClient, GetApplicationCommand } = require("@aws-sdk/client-emr-serverless"); // CommonJS import
const client = new EMRServerlessClient(config);
const input = { // GetApplicationRequest
applicationId: "STRING_VALUE", // required
};
const command = new GetApplicationCommand(input);
const response = await client.send(command);
// { // GetApplicationResponse
// application: { // Application
// applicationId: "STRING_VALUE", // required
// name: "STRING_VALUE",
// arn: "STRING_VALUE", // required
// releaseLabel: "STRING_VALUE", // required
// type: "STRING_VALUE", // required
// state: "STRING_VALUE", // required
// stateDetails: "STRING_VALUE",
// initialCapacity: { // InitialCapacityConfigMap
// "<keys>": { // InitialCapacityConfig
// workerCount: Number("long"), // required
// workerConfiguration: { // WorkerResourceConfig
// cpu: "STRING_VALUE", // required
// memory: "STRING_VALUE", // required
// disk: "STRING_VALUE",
// },
// },
// },
// maximumCapacity: { // MaximumAllowedResources
// cpu: "STRING_VALUE", // required
// memory: "STRING_VALUE", // required
// disk: "STRING_VALUE",
// },
// createdAt: new Date("TIMESTAMP"), // required
// updatedAt: new Date("TIMESTAMP"), // required
// tags: { // TagMap
// "<keys>": "STRING_VALUE",
// },
// autoStartConfiguration: { // AutoStartConfig
// enabled: true || false,
// },
// autoStopConfiguration: { // AutoStopConfig
// enabled: true || false,
// idleTimeoutMinutes: Number("int"),
// },
// networkConfiguration: { // NetworkConfiguration
// subnetIds: [ // SubnetIds
// "STRING_VALUE",
// ],
// securityGroupIds: [ // SecurityGroupIds
// "STRING_VALUE",
// ],
// },
// architecture: "STRING_VALUE",
// imageConfiguration: { // ImageConfiguration
// imageUri: "STRING_VALUE", // required
// resolvedImageDigest: "STRING_VALUE",
// },
// workerTypeSpecifications: { // WorkerTypeSpecificationMap
// "<keys>": { // WorkerTypeSpecification
// imageConfiguration: {
// imageUri: "STRING_VALUE", // required
// resolvedImageDigest: "STRING_VALUE",
// },
// },
// },
// runtimeConfiguration: [ // ConfigurationList
// { // Configuration
// classification: "STRING_VALUE", // required
// properties: { // SensitivePropertiesMap
// "<keys>": "STRING_VALUE",
// },
// configurations: [
// {
// classification: "STRING_VALUE", // required
// properties: {
// "<keys>": "STRING_VALUE",
// },
// configurations: "<ConfigurationList>",
// },
// ],
// },
// ],
// monitoringConfiguration: { // MonitoringConfiguration
// s3MonitoringConfiguration: { // S3MonitoringConfiguration
// logUri: "STRING_VALUE",
// encryptionKeyArn: "STRING_VALUE",
// },
// managedPersistenceMonitoringConfiguration: { // ManagedPersistenceMonitoringConfiguration
// enabled: true || false,
// encryptionKeyArn: "STRING_VALUE",
// },
// cloudWatchLoggingConfiguration: { // CloudWatchLoggingConfiguration
// enabled: true || false, // required
// logGroupName: "STRING_VALUE",
// logStreamNamePrefix: "STRING_VALUE",
// encryptionKeyArn: "STRING_VALUE",
// logTypes: { // LogTypeMap
// "<keys>": [ // LogTypeList
// "STRING_VALUE",
// ],
// },
// },
// },
// },
// };

Param

GetApplicationCommandInput

Returns

GetApplicationCommandOutput

See

Throws

InternalServerException (server fault)

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

Throws

ResourceNotFoundException (client fault)

The specified resource was not found.

Throws

ValidationException (client fault)

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

Throws

EMRServerlessServiceException

Base exception class for all service exceptions from EMRServerless service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods