EMRServerless.Client.
get_application
(**kwargs)¶Displays detailed information about a specified application.
See also: AWS API Documentation
Request Syntax
response = client.get_application(
applicationId='string'
)
[REQUIRED]
The ID of the application that will be described.
{
'application': {
'applicationId': 'string',
'name': 'string',
'arn': 'string',
'releaseLabel': 'string',
'type': 'string',
'state': 'CREATING'|'CREATED'|'STARTING'|'STARTED'|'STOPPING'|'STOPPED'|'TERMINATED',
'stateDetails': 'string',
'initialCapacity': {
'string': {
'workerCount': 123,
'workerConfiguration': {
'cpu': 'string',
'memory': 'string',
'disk': 'string'
}
}
},
'maximumCapacity': {
'cpu': 'string',
'memory': 'string',
'disk': 'string'
},
'createdAt': datetime(2015, 1, 1),
'updatedAt': datetime(2015, 1, 1),
'tags': {
'string': 'string'
},
'autoStartConfiguration': {
'enabled': True|False
},
'autoStopConfiguration': {
'enabled': True|False,
'idleTimeoutMinutes': 123
},
'networkConfiguration': {
'subnetIds': [
'string',
],
'securityGroupIds': [
'string',
]
},
'architecture': 'ARM64'|'X86_64',
'imageConfiguration': {
'imageUri': 'string',
'resolvedImageDigest': 'string'
},
'workerTypeSpecifications': {
'string': {
'imageConfiguration': {
'imageUri': 'string',
'resolvedImageDigest': 'string'
}
}
}
}
}
Response Structure
The output displays information about the specified application.
The ID of the application.
The name of the application.
The ARN of the application.
The EMR release associated with the application.
The type of application, such as Spark or Hive.
The state of the application.
The state details of the application.
The initial capacity of the application.
The initial capacity configuration per worker.
The number of workers in the initial capacity configuration.
The resource configuration of the initial capacity configuration.
The CPU requirements for every worker instance of the worker type.
The memory requirements for every worker instance of the worker type.
The disk requirements for every worker instance of the worker type.
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.
The maximum allowed CPU for an application.
The maximum allowed resources for an application.
The maximum allowed disk for an application.
The date and time when the application run was created.
The date and time when the application run was last updated.
The tags assigned to the application.
The configuration for an application to automatically start on job submission.
Enables the application to automatically start on job submission. Defaults to true.
The configuration for an application to automatically stop after a certain amount of time being idle.
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.
The network configuration for customer VPC connectivity for the application.
The array of subnet Ids for customer VPC connectivity.
The array of security group Ids for customer VPC connectivity.
The CPU architecture of an application.
The image configuration applied to all worker types.
The image URI.
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.
The specification applied to each worker type.
The specifications for a worker type.
The image configuration for a worker type.
The image URI.
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.
Exceptions
EMRServerless.Client.exceptions.ValidationException
EMRServerless.Client.exceptions.ResourceNotFoundException
EMRServerless.Client.exceptions.InternalServerException