Actions66
- Generate Presigned URL
- Generate Presigned POST
- Create Bucket
- Delete Bucket
- List Buckets
- Upload Object
- Download Object
- Delete Object
- List Objects
- Copy Object
- Get Object ACL
- Put Object ACL
- Get Bucket ACL
- Put Bucket ACL
- Get Bucket CORS
- Put Bucket CORS
- Delete Bucket CORS
- Get Bucket Lifecycle
- Put Bucket Lifecycle
- Delete Bucket Lifecycle
- Get Bucket Policy
- Put Bucket Policy
- Delete Bucket Policy
- Get Object Tagging
- Put Object Tagging
- Delete Object Tagging
- Get Bucket Tagging
- Put Bucket Tagging
- Delete Bucket Tagging
- Create Multipart Upload
- Upload Part
- Complete Multipart Upload
- Abort Multipart Upload
- List Parts
- List Multipart Uploads
- Get Bucket Versioning
- Put Bucket Versioning
- Get Bucket Logging
- Put Bucket Logging
- Get Bucket Notification
- Put Bucket Notification
- Get Bucket Replication
- Put Bucket Replication
- Delete Bucket Replication
- Get Bucket Encryption
- Put Bucket Encryption
- Delete Bucket Encryption
- Get Bucket Website
- Put Bucket Website
- Delete Bucket Website
- Get Bucket Metrics
- Put Bucket Metrics
- Delete Bucket Metrics
- Get Bucket Analytics
- Put Bucket Analytics
- Delete Bucket Analytics
- Get Bucket Inventory
- Put Bucket Inventory
- Delete Bucket Inventory
- Get Bucket Request Payment
- Put Bucket Request Payment
- Get Bucket Accelerate
- Put Bucket Accelerate
- Head Object
- Restore Object
- Select Object Content
Get Object Tagging
AI-generatedOverview
This node provides enhanced integration with S3-compatible object storage services, enabling a wide range of bucket and object management operations. It supports advanced features such as generating presigned URLs for secure temporary access, multipart uploads for large files, and detailed bucket configurations including lifecycle, CORS, policies, tagging, and more.
The "Get Object Tagging" operation specifically retrieves the tags associated with a particular object stored in an S3 bucket. This is useful for workflows that need to read metadata tags for objects to make decisions, audit data, or manage resources based on tagging.
Common scenarios:
- Retrieving metadata tags of an object to determine its classification or processing rules.
- Auditing or reporting on object tags for compliance or organizational purposes.
- Integrating with other systems that rely on object tags for automation or categorization.
Practical example:
A workflow that processes uploaded documents might first get the tags of each document to check if it is marked as "Confidential" or "Public" and route the document accordingly.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the S3 bucket where the object resides. |
| Object Key | The full path or key of the object within the specified bucket. |
These properties are required inputs to specify which object's tags should be retrieved.
Output
The output JSON contains the following structure:
{
"bucket": "string", // The bucket name provided in input
"key": "string", // The object key provided in input
"tags": { // An object containing key-value pairs representing the tags of the object
"TagKey1": "TagValue1",
"TagKey2": "TagValue2"
}
}
tagsis a dictionary mapping tag keys to their corresponding values.- If the object has no tags, this will be an empty object.
No binary data is output by this operation.
Dependencies
- Requires connection credentials for an S3-compatible service (access key, secret key, optional session token, region, endpoint).
- Uses AWS SDK v3 for JavaScript under the hood to communicate with the S3 API.
- The node expects valid permissions to perform the
GetObjectTaggingAPI call on the specified bucket and object.
Troubleshooting
Common issues:
Access Denied / Permission Errors:
Occurs if the credentials do not have permission to read object tags. Ensure the IAM policy or equivalent permissions allows3:GetObjectTagging.Invalid Bucket or Object Key:
If the bucket or key does not exist, the operation will fail. Verify the bucket name and object key are correct.Malformed Input:
Missing required parameters like bucket or key will cause errors.
Error messages and resolutions:
"S3 operation failed: Access Denied"
Check your credentials and permissions for the bucket and object."S3 operation failed: NoSuchBucket"or"NoSuchKey"
Confirm the bucket and object key exist."Invalid tags JSON format"(not applicable here but common in tagging operations)
When setting tags, ensure JSON is well-formed.