

# DescribeApp
<a name="API_DescribeApp"></a>

Describes the app.

## Request Syntax
<a name="API_DescribeApp_RequestSyntax"></a>

```
{
   "AppName": "string",
   "AppType": "string",
   "DomainId": "string",
   "SpaceName": "string",
   "UserProfileName": "string"
}
```

## Request Parameters
<a name="API_DescribeApp_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [AppName](#API_DescribeApp_RequestSyntax) **   <a name="sagemaker-DescribeApp-request-AppName"></a>
The name of the app.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}`   
Required: Yes

 ** [AppType](#API_DescribeApp_RequestSyntax) **   <a name="sagemaker-DescribeApp-request-AppType"></a>
The type of app.  
Type: String  
Valid Values: `JupyterServer | KernelGateway`   
Required: Yes

 ** [DomainId](#API_DescribeApp_RequestSyntax) **   <a name="sagemaker-DescribeApp-request-DomainId"></a>
The domain ID.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `d-(-*[a-z0-9]){1,61}`   
Required: Yes

 ** [SpaceName](#API_DescribeApp_RequestSyntax) **   <a name="sagemaker-DescribeApp-request-SpaceName"></a>
The name of the space.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}`   
Required: No

 ** [UserProfileName](#API_DescribeApp_RequestSyntax) **   <a name="sagemaker-DescribeApp-request-UserProfileName"></a>
The user profile name. If this value is not set, then `SpaceName` must be set.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}`   
Required: No

## Response Syntax
<a name="API_DescribeApp_ResponseSyntax"></a>

```
{
   "AppArn": "string",
   "AppName": "string",
   "AppType": "string",
   "BuiltInLifecycleConfigArn": "string",
   "CreationTime": number,
   "DomainId": "string",
   "EffectiveTrustedIdentityPropagationStatus": "string",
   "FailureReason": "string",
   "LastHealthCheckTimestamp": number,
   "LastUserActivityTimestamp": number,
   "RecoveryMode": boolean,
   "ResourceSpec": { 
      "InstanceType": "string",
      "LifecycleConfigArn": "string",
      "SageMakerImageArn": "string",
      "SageMakerImageVersionAlias": "string",
      "SageMakerImageVersionArn": "string"
   },
   "SpaceName": "string",
   "Status": "string",
   "UserProfileName": "string"
}
```

## Response Elements
<a name="API_DescribeApp_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [AppArn](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-AppArn"></a>
The Amazon Resource Name (ARN) of the app.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:app/.*` 

 ** [AppName](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-AppName"></a>
The name of the app.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}` 

 ** [AppType](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-AppType"></a>
The type of app.  
Type: String  
Valid Values: `JupyterServer | KernelGateway` 

 ** [BuiltInLifecycleConfigArn](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-BuiltInLifecycleConfigArn"></a>
The lifecycle configuration that runs before the default lifecycle configuration  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `(arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:studio-lifecycle-config/.*|None)` 

 ** [CreationTime](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-CreationTime"></a>
The creation time of the application.  
After an application has been shut down for 24 hours, SageMaker AI deletes all metadata for the application. To be considered an update and retain application metadata, applications must be restarted within 24 hours after the previous application has been shut down. After this time window, creation of an application is considered a new application rather than an update of the previous application.
Type: Timestamp

 ** [DomainId](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-DomainId"></a>
The domain ID.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `d-(-*[a-z0-9]){1,61}` 

 ** [EffectiveTrustedIdentityPropagationStatus](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-EffectiveTrustedIdentityPropagationStatus"></a>
The effective status of Trusted Identity Propagation (TIP) for this application. When enabled, user identities from IAM Identity Center are being propagated through the application to TIP enabled AWS services. When disabled, standard IAM role-based access is used.   
Type: String  
Valid Values: `ENABLED | DISABLED` 

 ** [FailureReason](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-FailureReason"></a>
The failure reason.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.

 ** [LastHealthCheckTimestamp](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-LastHealthCheckTimestamp"></a>
The timestamp of the last health check.  
Type: Timestamp

 ** [LastUserActivityTimestamp](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-LastUserActivityTimestamp"></a>
The timestamp of the last user's activity. `LastUserActivityTimestamp` is also updated when SageMaker AI performs health checks without user activity. As a result, this value is set to the same value as `LastHealthCheckTimestamp`.  
Type: Timestamp

 ** [RecoveryMode](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-RecoveryMode"></a>
 Indicates whether the application is launched in recovery mode.   
Type: Boolean

 ** [ResourceSpec](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-ResourceSpec"></a>
The instance type and the Amazon Resource Name (ARN) of the SageMaker AI image created on the instance.  
Type: [ResourceSpec](API_ResourceSpec.md) object

 ** [SpaceName](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-SpaceName"></a>
The name of the space. If this value is not set, then `UserProfileName` must be set.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}` 

 ** [Status](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-Status"></a>
The status.  
Type: String  
Valid Values: `Deleted | Deleting | Failed | InService | Pending` 

 ** [UserProfileName](#API_DescribeApp_ResponseSyntax) **   <a name="sagemaker-DescribeApp-response-UserProfileName"></a>
The user profile name.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}` 

## Errors
<a name="API_DescribeApp_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ResourceNotFound **   
Resource being access is not found.  
HTTP Status Code: 400

## See Also
<a name="API_DescribeApp_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/sagemaker-2017-07-24/DescribeApp) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/DescribeApp) 