View a markdown version of this page

UpdateSystemTable - AWS Glue

UpdateSystemTable

Updates the status of a single AWS Glue system table for the account in the current Region. Provisioning happens asynchronously; use GetSystemTable to retrieve the resulting state of the table.

Request Syntax

{ "Action": "string", "AdditionalConfiguration": { "string" : "string" }, "EncryptionConfiguration": { "EncryptionType": "string", "KmsKeyArn": "string" }, "SystemTableType": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Action

The action to perform on the system table. Valid values are ENABLE and DISABLE.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

AdditionalConfiguration

A map of additional configuration properties to apply to 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.

Required: No

EncryptionConfiguration

The encryption configuration to apply to the system table. This field is valid only when Action is ENABLE. If you don't specify it, the table is encrypted using SSE_S3.

Type: SystemTableEncryptionConfiguration object

Required: No

SystemTableType

The type of the system table to update. Valid values are GLUE_JOB_RUNS and GLUE_SESSIONS.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: Yes

Response Elements

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

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

Access to a resource was denied.

Message

A message describing the problem.

HTTP Status Code: 400

ConcurrentModificationException

Two processes are trying to modify a resource simultaneously.

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

ResourceNumberLimitExceededException

A resource numerical limit was exceeded.

Message

A message describing the problem.

HTTP Status Code: 400

ThrottlingException

The throttling threshhold was exceeded.

Message

A message describing the problem.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: