RestoreObject
Source:
src/AWS/S3/RestoreObject.ts
Runtime binding for s3:RestoreObject.
Bind this operation to a bucket to get a callable that initiates a restore
of an archived (Glacier / Deep Archive) object — the bucket name is
injected automatically and s3:RestoreObject is granted on the bucket’s
objects. Provide the implementation with
Effect.provide(AWS.S3.RestoreObjectHttp).
Archived Objects
Section titled “Archived Objects”const restoreObject = yield* AWS.S3.RestoreObject(bucket);
yield* restoreObject({ Key: "archive/2024.tar", RestoreRequest: { Days: 3, GlacierJobParameters: { Tier: "Standard" }, },});