Struct aws_sdk_rust::aws::s3::object::CopyObjectRequest [] [src]

pub struct CopyObjectRequest {
    pub request_payer: Option<RequestPayer>,
    pub copy_source_if_modified_since: Option<CopySourceIfModifiedSince>,
    pub copy_source_if_unmodified_since: Option<CopySourceIfUnmodifiedSince>,
    pub content_encoding: Option<ContentEncoding>,
    pub copy_source_sse_customer_key: Option<CopySourceSSECustomerKey>,
    pub storage_class: Option<StorageClass>,
    pub grant_read_acp: Option<GrantReadACP>,
    pub server_side_encryption: Option<ServerSideEncryption>,
    pub ssekms_key_id: Option<SSEKMSKeyId>,
    pub content_disposition: Option<ContentDisposition>,
    pub metadata: Option<Metadata>,
    pub sse_customer_key: Option<SSECustomerKey>,
    pub website_redirect_location: Option<WebsiteRedirectLocation>,
    pub copy_source: CopySource,
    pub expires: Option<Expires>,
    pub key: ObjectKey,
    pub cache_control: Option<CacheControl>,
    pub copy_source_sse_customer_algorithm: Option<CopySourceSSECustomerAlgorithm>,
    pub bucket: BucketName,
    pub grant_read: Option<GrantRead>,
    pub grant_write_acp: Option<GrantWriteACP>,
    pub copy_source_sse_customer_key_md5: Option<CopySourceSSECustomerKeyMD5>,
    pub acl: Option<CannedAcl>,
    pub grant_full_control: Option<GrantFullControl>,
    pub copy_source_if_match: Option<CopySourceIfMatch>,
    pub sse_customer_algorithm: Option<SSECustomerAlgorithm>,
    pub content_type: Option<ContentType>,
    pub content_language: Option<ContentLanguage>,
    pub metadata_directive: Option<MetadataDirective>,
    pub copy_source_if_none_match: Option<CopySourceIfNoneMatch>,
    pub sse_customer_key_md5: Option<SSECustomerKeyMD5>,
}

Fields

Copies the object if it has been modified since the specified time.

Copies the object if it hasn't been modified since the specified time.

Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.

Specifies the customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.

The type of storage to use for the object. Defaults to 'STANDARD'.

Allows grantee to read the object ACL.

The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).

Specifies the AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS will fail if not made via SSL or using SigV4. Documentation on configuring any of the officially supported AWS SDKs and CLI can be found at http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify- signature-version

Specifies presentational information for the object.

A map of metadata to store with the object in S3.

Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side- encryption-customer-algorithm header.

If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.

The name of the source bucket and key name of the source object, separated by a slash (/). Must be URL-encoded.

The date and time at which the object is no longer cacheable.

Specifies caching behavior along the request/reply chain.

Specifies the algorithm to use when decrypting the source object (e.g., AES256).

Allows grantee to read the object data and its metadata.

Allows grantee to write the ACL for the applicable object.

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.

The canned ACL to apply to the object.

Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.

Copies the object if its entity tag (ETag) matches the specified tag.

Specifies the algorithm to use to when encrypting the object (e.g., AES256).

A standard MIME type describing the format of the object data.

The language the content is in.

Specifies whether the metadata is copied from the source object or replaced with metadata provided in the request.

Copies the object if its entity tag (ETag) is different than the specified ETag.

Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure the encryption key was transmitted without error.

Trait Implementations

impl Debug for CopyObjectRequest
[src]

Formats the value using the given formatter.

impl Default for CopyObjectRequest
[src]

Returns the "default value" for a type. Read more

impl Decodable for CopyObjectRequest
[src]

Deserialize a value using a Decoder.

impl Encodable for CopyObjectRequest
[src]

Serialize a value using an Encoder.