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

S3CopyObjectOperation

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

Contains the configuration parameters for a PUT Copy object operation. S3 Batch Operations passes every object to the underlying PUT Copy object API. For more information about the parameters for this operation, see PUT Object - Copy.

interface S3CopyObjectOperation {
AccessControlGrants?: S3Grant[] | null;
BucketKeyEnabled?: boolean | null;
CannedAccessControlList?: S3CannedAccessControlList | null;
ChecksumAlgorithm?: S3ChecksumAlgorithm | null;
MetadataDirective?: S3MetadataDirective | null;
ModifiedSinceConstraint?: Date | number | null;
NewObjectMetadata?: S3ObjectMetadata | null;
NewObjectTagging?: S3Tag[] | null;
ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus | null;
ObjectLockMode?: S3ObjectLockMode | null;
ObjectLockRetainUntilDate?: Date | number | null;
RedirectLocation?: string | null;
RequesterPays?: boolean | null;
SSEAwsKmsKeyId?: string | null;
StorageClass?: S3StorageClass | null;
TargetKeyPrefix?: string | null;
TargetResource?: string | null;
UnModifiedSinceConstraint?: Date | number | null;
}

§Properties

§
AccessControlGrants?: S3Grant[] | null
[src]
§
BucketKeyEnabled?: boolean | null
[src]

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Amazon Web Services KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.

Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.

§
CannedAccessControlList?: S3CannedAccessControlList | null
[src]
§
ChecksumAlgorithm?: S3ChecksumAlgorithm | null
[src]

Indicates the algorithm you want Amazon S3 to use to create the checksum. For more information see Checking object integrity in the Amazon S3 User Guide.

§
MetadataDirective?: S3MetadataDirective | null
[src]
§
ModifiedSinceConstraint?: Date | number | null
[src]
§
NewObjectMetadata?: S3ObjectMetadata | null
[src]

If you don't provide this parameter, Amazon S3 copies all the metadata from the original objects. If you specify an empty set, the new objects will have no tags. Otherwise, Amazon S3 assigns the supplied tags to the new objects.

§
NewObjectTagging?: S3Tag[] | null
[src]
§
ObjectLockLegalHoldStatus?: S3ObjectLockLegalHoldStatus | null
[src]

The legal hold status to be applied to all objects in the Batch Operations job.

§
ObjectLockMode?: S3ObjectLockMode | null
[src]

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

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

The date when the applied object retention configuration expires on all objects in the Batch Operations job.

§
RedirectLocation?: string | null
[src]

Specifies an optional metadata property for website redirects, x-amz-website-redirect-location. Allows webpage redirects if the object is accessed through a website endpoint.

§
RequesterPays?: boolean | null
[src]
§
SSEAwsKmsKeyId?: string | null
[src]
§
StorageClass?: S3StorageClass | null
[src]
§
TargetKeyPrefix?: string | null
[src]

Specifies the folder prefix into which you would like the objects to be copied. For example, to copy objects into a folder named Folder1 in the destination bucket, set the TargetKeyPrefix to Folder1.

§
TargetResource?: string | null
[src]

Specifies the destination bucket ARN for the batch copy operation. For example, to copy objects to a bucket named destinationBucket, set the TargetResource property to arn:aws:s3:::destinationBucket.

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