Skip to content

GetObjectTagging

Source: src/AWS/S3/GetObjectTagging.ts

Runtime binding for s3:GetObjectTagging.

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

const getObjectTagging = yield* AWS.S3.GetObjectTagging(bucket);
const { TagSet } = yield* getObjectTagging({ Key: "reports/q3.csv" });