

# GetSystemTable

Retrieves the status and configuration of a single AWS Glue system table for the account in the current Region.

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

```
{
   "SystemTableType": "{{string}}"
}
```

## Request Parameters
<a name="API_GetSystemTable_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.

 ** [SystemTableType](#API_GetSystemTable_RequestSyntax) **   <a name="Glue-GetSystemTable-request-SystemTableType"></a>
The type of the system table to retrieve. Valid values are `GLUE_JOB_RUNS` and `GLUE_SESSIONS`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: Yes

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

```
{
   "AdditionalConfiguration": { 
      "string" : "string" 
   },
   "EncryptionConfiguration": { 
      "EncryptionType": "string",
      "KmsKeyArn": "string"
   },
   "Status": "string",
   "StatusDetails": "string",
   "SystemTableType": "string",
   "TableArn": "string"
}
```

## Response Elements
<a name="API_GetSystemTable_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.

 ** [AdditionalConfiguration](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-AdditionalConfiguration"></a>
A map of additional configuration properties for the system table.  
Type: String to string map  
Map Entries: Maximum number of 100 items.  
Key Length Constraints: Minimum length of 1. Maximum length of 1024.  
Value Length Constraints: Minimum length of 1. Maximum length of 16384.

 ** [EncryptionConfiguration](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-EncryptionConfiguration"></a>
The encryption configuration of the system table.  
Type: [SystemTableEncryptionConfiguration](API_SystemTableEncryptionConfiguration.md) object

 ** [Status](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-Status"></a>
The current status of the system table. Valid values are:  
+  `ENABLED` – The table has been enabled, but provisioning has not yet started.
+  `IN_PROGRESS` – The table is being provisioned.
+  `ACTIVE` – The table is provisioned and data is being published to it.
+  `FAILED` – Provisioning failed. See `StatusDetails` for the reason.
+  `INACTIVE` – The table is no longer receiving data.
Type: String

 ** [StatusDetails](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-StatusDetails"></a>
Additional details about the status of the system table, such as the reason for a `FAILED` status.  
Type: String

 ** [SystemTableType](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-SystemTableType"></a>
The type of the system table.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.

 ** [TableArn](#API_GetSystemTable_ResponseSyntax) **   <a name="Glue-GetSystemTable-response-TableArn"></a>
The Amazon Resource Name (ARN) of the system table. This field is not returned until the table has been provisioned.  
Type: String  
Length Constraints: Minimum length of 20. Maximum length of 2048.

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

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

 ** AccessDeniedException **   
Access to a resource was denied.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

 ** InternalServiceException **   
An internal service error occurred.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 500

 ** InvalidInputException **   
The input provided was not valid.    
 ** FromFederationSource **   
Indicates whether or not the exception relates to a federated source.  
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

 ** OperationNotSupportedException **   
The operation is not available in the region.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

 ** OperationTimeoutException **   
The operation timed out.    
 ** Message **   
A message describing the problem.
HTTP Status Code: 400

## See Also
<a name="API_GetSystemTable_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/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/glue-2017-03-31/GetSystemTable) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/glue-2017-03-31/GetSystemTable) 