Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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 {
RetainUntilDate?: Date | number | null;
}

§Properties

§

The Object Lock retention mode to be applied to all objects in the Batch Operations job.

§
RetainUntilDate?: Date | number | null
[src]

The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.