S3Retention
import type { S3Retention } from "https://aws-api.deno.dev/v0.4/services/s3control.ts?docs=full";
Contains the S3 Object Lock retention mode to be applied to all objects in the S3 Batch Operations job.
If you don't provide Mode
and RetainUntilDate
data types in your operation, you will remove the retention from your objects.
For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.
interface S3Retention {
Mode?: S3ObjectLockRetentionMode | null;
RetainUntilDate?: Date | number | null;
}