PutSystemTablesConfiguration - Amazon EMR
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

PutSystemTablesConfiguration

Enables or disables system tables for one or more Amazon EMR platforms in your account in the current Region. System tables store Amazon EMR operational data as Apache Iceberg tables in Amazon S3 Tables in your account. For each platform in the request, the operation replaces that platform's system tables configuration; platforms that you don't specify are unchanged. The operation isn't atomic across platforms: if it returns an error, some of the platforms in the request might already be updated. Call GetSystemTablesConfiguration to see the current configuration of each platform before you retry. Tables are set up asynchronously: a table that you enable reports PROVISIONING until it is ready. Use GetSystemTablesConfiguration to check its status. If the storage for your system tables is still transitioning after a recent deletion, the operation returns a ConflictException. Wait a few minutes and retry.

Request Syntax

{ "Platforms": [ { "EncryptionConfiguration": { "KmsKeyArn": "string" }, "Platform": "string", "SystemTables": { "Mode": "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.

Platforms

The system tables configuration to apply to each platform. Specify each platform at most once.

Type: Array of SystemTablesConfiguration objects

Array Members: Minimum number of 1 item. Maximum number of 4 items.

Required: Yes

Response Syntax

{ "Configurations": [ { "EncryptionConfiguration": { "KmsKeyArn": "string" }, "Platform": "string", "SystemTables": { "Mode": "string" }, "Tables": [ { "Status": "string", "StatusReason": "string", "TableType": "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.

Configurations

The resulting system tables configuration of every platform, including platforms that the request didn't change.

Type: Array of SystemTablesConfigurationSummary objects

Array Members: Maximum number of 4 items.

Errors

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

AccessDeniedException

You do not have sufficient permissions to perform this operation.

Message

The message associated with the exception.

HTTP Status Code: 400

ConflictException

The request conflicts with the current state of the resource.

Message

The message associated with the exception.

HTTP Status Code: 400

InternalServerException

This exception occurs when there is an internal failure in the Amazon EMR service.

Message

The message associated with the exception.

HTTP Status Code: 500

ThrottlingException

The request was denied because of request throttling. Retry the request after a delay.

Message

The message associated with the exception.

HTTP Status Code: 400

ValidationException

The request failed because an input parameter is not valid.

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: