CreateIntegrationTableProperties
This API is used to provide optional override properties for the 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.
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 Amazon Resource Name (ARN) of the target table for which to create integration table properties. Currently, this API only supports creating integration table properties for target tables, and the provided ARN should be the ARN of the target table in the AWS Glue Data Catalog. Support for creating integration table properties for source connections (using the connection ARN) is not yet implemented and will be added in a future release.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: Yes
- SourceTableConfig
-
A structure for the source table configuration. See the
SourceTableConfig
structure to see list of supported source properties.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.
HTTP Status Code: 400
- EntityNotFoundException
-
A specified entity does not exist
HTTP Status Code: 400
- InternalServerException
-
An internal server error occurred.
HTTP Status Code: 400
- InternalServiceException
-
An internal service error occurred.
HTTP Status Code: 500
- InvalidInputException
-
The input provided was not valid.
HTTP Status Code: 400
- ResourceNotFoundException
-
The resource could not be found.
HTTP Status Code: 400
- ValidationException
-
A value could not be validated.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: