LakeFormation.Client.
update_table_objects
(**kwargs)¶Updates the manifest of Amazon S3 objects that make up the specified governed table.
See also: AWS API Documentation
Request Syntax
response = client.update_table_objects(
CatalogId='string',
DatabaseName='string',
TableName='string',
TransactionId='string',
WriteOperations=[
{
'AddObject': {
'Uri': 'string',
'ETag': 'string',
'Size': 123,
'PartitionValues': [
'string',
]
},
'DeleteObject': {
'Uri': 'string',
'ETag': 'string',
'PartitionValues': [
'string',
]
}
},
]
)
[REQUIRED]
The database containing the governed table to update.
[REQUIRED]
The governed table to update.
[REQUIRED]
A list of WriteOperation
objects that define an object to add to or delete from the manifest for a governed table.
Defines an object to add to or delete from a governed table.
A new object to add to the governed table.
The Amazon S3 location of the object.
The Amazon S3 ETag of the object. Returned by GetTableObjects
for validation and used to identify changes to the underlying data.
The size of the Amazon S3 object in bytes.
A list of partition values for the object. A value must be specified for each partition key associated with the table.
The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.
An object to delete from the governed table.
The Amazon S3 location of the object to delete.
The Amazon S3 ETag of the object. Returned by GetTableObjects
for validation and used to identify changes to the underlying data.
A list of partition values for the object. A value must be specified for each partition key associated with the governed table.
dict
Response Syntax
{}
Response Structure
Exceptions
LakeFormation.Client.exceptions.InternalServiceException
LakeFormation.Client.exceptions.InvalidInputException
LakeFormation.Client.exceptions.OperationTimeoutException
LakeFormation.Client.exceptions.EntityNotFoundException
LakeFormation.Client.exceptions.TransactionCommittedException
LakeFormation.Client.exceptions.TransactionCanceledException
LakeFormation.Client.exceptions.TransactionCommitInProgressException
LakeFormation.Client.exceptions.ResourceNotReadyException
LakeFormation.Client.exceptions.ConcurrentModificationException