Skip to content

PutObjectTagging

Source: src/AWS/S3/PutObjectTagging.ts

Runtime binding for s3:PutObjectTagging.

Bind this operation to a bucket to get a callable that replaces an object’s tag set — the bucket name is injected automatically and s3:PutObjectTagging/s3:PutObjectVersionTagging are granted on the bucket’s objects. Provide the implementation with Effect.provide(AWS.S3.PutObjectTaggingHttp).

const putObjectTagging = yield* AWS.S3.PutObjectTagging(bucket);
yield* putObjectTagging({
Key: "reports/q3.csv",
Tagging: { TagSet: [{ Key: "status", Value: "final" }] },
});