

# DescribeNotebookExecution


Provides details of a notebook execution.

## Request Syntax


```
{
   "NotebookExecutionId": "string"
}
```

## Request Parameters


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.

 ** [NotebookExecutionId](#API_DescribeNotebookExecution_RequestSyntax) **   <a name="EMR-DescribeNotebookExecution-request-NotebookExecutionId"></a>
The unique identifier of the notebook execution.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Pattern: `[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*`   
Required: Yes

## Response Syntax


```
{
   "NotebookExecution": { 
      "Arn": "string",
      "EditorId": "string",
      "EndTime": number,
      "EnvironmentVariables": { 
         "string" : "string" 
      },
      "ExecutionEngine": { 
         "ExecutionRoleArn": "string",
         "Id": "string",
         "MasterInstanceSecurityGroupId": "string",
         "Type": "string"
      },
      "LastStateChangeReason": "string",
      "NotebookExecutionId": "string",
      "NotebookExecutionName": "string",
      "NotebookInstanceSecurityGroupId": "string",
      "NotebookParams": "string",
      "NotebookS3Location": { 
         "Bucket": "string",
         "Key": "string"
      },
      "OutputNotebookFormat": "string",
      "OutputNotebookS3Location": { 
         "Bucket": "string",
         "Key": "string"
      },
      "OutputNotebookURI": "string",
      "StartTime": number,
      "Status": "string",
      "Tags": [ 
         { 
            "Key": "string",
            "Value": "string"
         }
      ]
   }
}
```

## Response Elements


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

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

 ** [NotebookExecution](#API_DescribeNotebookExecution_ResponseSyntax) **   <a name="EMR-DescribeNotebookExecution-response-NotebookExecution"></a>
Properties of the notebook execution.  
Type: [NotebookExecution](API_NotebookExecution.md) object

## Errors


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

 ** InternalServerError **   
Indicates that an error occurred while processing the request and that the request was not completed.  
HTTP Status Code: 400

 ** InvalidRequestException **   
This exception occurs when there is something wrong with user input.    
 ** ErrorCode **   
The error code associated with the exception.  
 ** Message **   
The message associated with the exception.
HTTP Status Code: 400

## See Also


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/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/elasticmapreduce-2009-03-31/DescribeNotebookExecution) 