Skip to content

Commit 885569e

Browse files
Merge pull request mendix#9052 from strategicalliances/s3-metadata
AWS S3 documentation updated with the new metadata functionality
2 parents 5ace725 + 06bb6e5 commit 885569e

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

  • content/en/docs/appstore/use-content/platform-supported-content/modules/aws
  • static/attachments/appstore/platform-supported-content/modules/aws-s3-connector

content/en/docs/appstore/use-content/platform-supported-content/modules/aws/aws-s3-connector.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,20 @@ The name generated by the expression must be all lower-case. If the bucket name
8787

8888
{{< figure src="/attachments/appstore/platform-supported-content/modules/aws-s3-connector/microflow.png" alt="Configured microflow" class="no-border" >}}
8989

90+
### Adding Metadata to an S3 Object
91+
92+
You can add metadata to an S3 object using the **PutObject** or **CopyObject** operations. To retrieve this metadata, you can use the **GetObject** operation or view it directly in the Amazon S3 portal.
93+
94+
To add metadata, perform the following steps:
95+
96+
1. When adding metadata with **PutObject** or **CopyObject**, populate the **S3RequestMetaData** object with the necessary key-value pairs.
97+
98+
Every call utilizes **AbstractS3Request**, which works with **S3RequestMetaData**. This object uses **AbstractMetaData** as its generalization, enabling a one-to-many relationship for metadata management.
99+
100+
2. Use the same **S3RequestMetaData** object to retrieve metadata with **GetObject**.
101+
102+
{{< figure src="/attachments/appstore/platform-supported-content/modules/aws-s3-connector/s3metadata.png" alt="Metadata domain model" class="no-border" >}}
103+
90104
## Technical Reference {#technical-reference}
91105

92106
The module includes technical reference documentation for the available entities, enumerations, activities, and other items that you can use in your application. You can view the information about each object in context by using the **Documentation** pane in Studio Pro.
78.6 KB
Loading

0 commit comments

Comments
 (0)