UpdateIntegrationTableProperties - AWS Glue

UpdateIntegrationTableProperties

This API is used to provide optional override properties for the tables that need to be replicated. These properties can include properties for filtering and partitioning for the source and target tables. To set both source and target properties the same API need to be invoked with the AWS Glue connection ARN as ResourceArn with SourceTableConfig, and the AWS Glue database ARN as ResourceArn with TargetTableConfig respectively.

The override will be reflected across all the integrations using same ResourceArn and source table.

Request Syntax

{ "ResourceArn": "string", "SourceTableConfig": { "Fields": [ "string" ], "FilterPredicate": "string", "PrimaryKey": [ "string" ], "RecordUpdateField": "string" }, "TableName": "string", "TargetTableConfig": { "PartitionSpec": [ { "ConversionSpec": "string", "FieldName": "string", "FunctionSpec": "string" } ], "TargetTableName": "string", "UnnestSpec": "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.

ResourceArn

The connection ARN of the source, or the database ARN of the target.

Type: String

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

Required: Yes

SourceTableConfig

A structure for the source table configuration.

Type: SourceTableConfig object

Required: No

TableName

The name of the table to be replicated.

Type: String

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

Required: Yes

TargetTableConfig

A structure for the target table configuration.

Type: TargetTableConfig object

Required: No

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 Errors.

AccessDeniedException

Access to a resource was denied.

Message

A message describing the problem.

HTTP Status Code: 400

EntityNotFoundException

A specified entity does not exist

FromFederationSource

Indicates whether or not the exception relates to a federated source.

Message

A message describing the problem.

HTTP Status Code: 400

InternalServerException

An internal server error occurred.

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

ResourceNotFoundException

The resource could not be found.

Message

A message describing the problem.

HTTP Status Code: 400

ValidationException

A value could not be validated.

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: