2026/06/19 - AWS Glue - 1 new4 updated api methods
Changes Adds the SearchAssets operation for discovering assets in the AWS Glue Data Catalog using full-text search and filters. Minor naming refinements across the Glossary Terms and Attachment APIs for consistency.
Searches for assets in Glue Data Catalog using full-text search, filters, sorting, and aggregations. Returns matching assets with relevance-ranked results.
See also: AWS API Documentation
Request Syntax
client.search_assets(
SearchText='string',
MaxResults=123,
NextToken='string',
Sort={
'Attribute': 'string',
'Order': 'ASCENDING'|'DESCENDING'
},
FilterClause={
'AndAllFilters': [
{'... recursive ...'},
],
'OrAnyFilters': [
{'... recursive ...'},
],
'AttributeFilter': {
'Attribute': 'string',
'Operator': 'equals'|'greaterThan'|'greaterThanOrEquals'|'lessThan'|'lessThanOrEquals'|'notExists',
'Value': {
'StringValue': 'string',
'LongValue': 123
}
},
'MapFilter': {
'Attribute': 'string',
'Key': 'string',
'Value': {
'StringValue': 'string'
}
}
}
)
string
The text to search for. At least one of searchText or filterClause must be provided.
integer
The maximum number of results to return in the response.
string
A continuation token, if this is a continuation call.
dict
The sort criteria for the search results.
Attribute (string) -- [REQUIRED]
The attribute to sort by.
Order (string) --
The sort order. Valid values are ASCENDING and DESCENDING.
dict
The filter clause to apply to the search. Supports nested AND/OR logic with attribute-level and map-level filters.
AndAllFilters (list) --
A list of filter clauses that must all match (logical AND).
(dict) --
A filter clause that supports nested boolean logic. Exactly one of andAllFilters, orAnyFilters, attributeFilter, or mapFilter must be specified.
OrAnyFilters (list) --
A list of filter clauses where at least one must match (logical OR).
(dict) --
A filter clause that supports nested boolean logic. Exactly one of andAllFilters, orAnyFilters, attributeFilter, or mapFilter must be specified.
AttributeFilter (dict) --
A filter on a single attribute value.
Attribute (string) -- [REQUIRED]
The attribute name to filter on.
Operator (string) -- [REQUIRED]
The comparison operator. Valid values are equals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals, and notExists.
Value (dict) --
The value to compare against.
StringValue (string) --
A string filter value.
LongValue (integer) --
A long integer filter value.
MapFilter (dict) --
A filter on a map attribute's key-value pair.
Attribute (string) -- [REQUIRED]
The map attribute name to filter on.
Key (string) -- [REQUIRED]
The key within the map attribute to filter on.
Value (dict) -- [REQUIRED]
The value to compare against.
StringValue (string) --
A string filter value.
dict
Response Syntax
{
'Items': [
{
'Id': 'string',
'AssetName': 'string',
'AssetDescription': 'string',
'UpdatedAt': datetime(2015, 1, 1),
'AssetTypeId': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Items (list) --
The list of assets matching the search criteria.
(dict) --
A single search result item representing a matched asset.
Id (string) --
The unique identifier of the matched asset.
AssetName (string) --
The name of the matched asset.
AssetDescription (string) --
The description of the matched asset.
UpdatedAt (datetime) --
The timestamp at which the matched asset was last updated.
AssetTypeId (string) --
The identifier of the asset type for the matched asset.
NextToken (string) --
A continuation token, present if the current segment is not the last.
{'AssetIdentifier': 'string'}
Associates one or more glossary terms with an asset in Glue Data Catalog.
See also: AWS API Documentation
Request Syntax
client.associate_glossary_terms(
AssetIdentifier='string',
GlossaryTermIdentifiers=[
'string',
],
ClientToken='string'
)
string
[REQUIRED]
The unique identifier of the asset to associate glossary terms with.
list
[REQUIRED]
The list of glossary term identifiers to associate with the asset.
(string) --
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'AssetIdentifier': 'string',
'GlossaryTerms': [
'string',
]
}
Response Structure
(dict) --
AssetIdentifier (string) --
The unique identifier of the asset.
GlossaryTerms (list) --
The glossary terms now associated with the asset.
(string) --
{'AssetIdentifier': 'string',
'ItemIdentifier': 'string',
'IterableFormName': 'string'}
Response {'AssetIdentifier': 'string'}
Deletes a form attachment from an asset in Glue Data Catalog.
See also: AWS API Documentation
Request Syntax
client.delete_attachment(
AssetIdentifier='string',
IterableFormName='string',
ItemIdentifier='string',
AttachmentName='string'
)
string
[REQUIRED]
The unique identifier of the asset from which to delete the attachment.
string
The name of the iterable form. When specified along with itemIdentifier, the attachment is deleted from an item within the iterable form rather than from the asset itself.
string
The identifier of the item within the iterable form. Required when iterableFormName is specified.
string
[REQUIRED]
The name of the attachment to delete.
dict
Response Syntax
{
'AssetIdentifier': 'string'
}
Response Structure
(dict) --
AssetIdentifier (string) --
The unique identifier of the asset.
{'AssetIdentifier': 'string'}
Removes the association of one or more glossary terms from an asset in Glue Data Catalog.
See also: AWS API Documentation
Request Syntax
client.disassociate_glossary_terms(
AssetIdentifier='string',
GlossaryTermIdentifiers=[
'string',
],
ClientToken='string'
)
string
[REQUIRED]
The unique identifier of the asset to disassociate glossary terms from.
list
[REQUIRED]
The list of glossary term identifiers to disassociate from the asset.
(string) --
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'AssetIdentifier': 'string',
'GlossaryTerms': [
'string',
]
}
Response Structure
(dict) --
AssetIdentifier (string) --
The unique identifier of the asset.
GlossaryTerms (list) --
The remaining glossary terms associated with the asset.
(string) --
{'AssetIdentifier': 'string'}
Attaches a form to an asset or an iterable form item in Glue Data Catalog. If an attachment with the same name already exists, it is overwritten.
See also: AWS API Documentation
Request Syntax
client.put_attachment(
AssetIdentifier='string',
IterableFormName='string',
ItemIdentifier='string',
AttachmentName='string',
Content='string',
FormTypeId='string',
ClientToken='string'
)
string
[REQUIRED]
The unique identifier of the asset to attach the form to.
string
The name of the iterable form. When specified along with itemIdentifier, the attachment targets an item within the iterable form rather than the asset itself.
string
The identifier of the item within the iterable form. Required when iterableFormName is specified.
string
[REQUIRED]
The name of the attachment.
string
[REQUIRED]
The JSON content of the form, conforming to the schema of the specified form type.
string
[REQUIRED]
The identifier of the form type for this attachment.
string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
This field is autopopulated if not provided.
dict
Response Syntax
{
'AssetIdentifier': 'string',
'IterableFormName': 'string',
'ItemIdentifier': 'string',
'AttachmentName': 'string',
'FormTypeId': 'string'
}
Response Structure
(dict) --
AssetIdentifier (string) --
The unique identifier of the asset.
IterableFormName (string) --
The name of the iterable form, if the attachment targets an item.
ItemIdentifier (string) --
The identifier of the item within the iterable form, if applicable.
AttachmentName (string) --
The name of the attachment.
FormTypeId (string) --
The identifier of the form type for this attachment.