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

S3SetObjectRetentionOperation

import type { S3SetObjectRetentionOperation } from "https://aws-api.deno.dev/v0.4/services/s3control.ts?docs=full";

Contains the configuration parameters for the Object Lock retention action for an S3 Batch Operations job. Batch Operations passes every object to the underlying PutObjectRetention API. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.

interface S3SetObjectRetentionOperation {
BypassGovernanceRetention?: boolean | null;
Retention: S3Retention;
}

§Properties

§
BypassGovernanceRetention?: boolean | null
[src]

Indicates if the action should be applied to objects in the Batch Operations job even if they have Object Lock GOVERNANCE type in place.

§
Retention: S3Retention
[src]

Contains the Object Lock retention mode to be applied to all objects in the Batch Operations job. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon S3 User Guide.