Struct rusoto_s3::UploadPartRequest
[−]
[src]
pub struct UploadPartRequest { pub body: Option<Body>, pub bucket: BucketName, pub content_length: Option<ContentLength>, pub content_md5: Option<ContentMD5>, pub key: ObjectKey, pub part_number: PartNumber, pub request_payer: Option<RequestPayer>, pub sse_customer_algorithm: Option<SSECustomerAlgorithm>, pub sse_customer_key: Option<SSECustomerKey>, pub sse_customer_key_md5: Option<SSECustomerKeyMD5>, pub upload_id: MultipartUploadId, }
Fields
body: Option<Body>
Object data.
bucket: BucketName
Name of the bucket to which the multipart upload was initiated.
content_length: Option<ContentLength>
Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically.
content_md5: Option<ContentMD5>
The base64-encoded 128-bit MD5 digest of the part data.
key: ObjectKey
Object key for which the multipart upload was initiated.
part_number: PartNumber
Part number of part being uploaded. This is a positive integer between 1 and 10,000.
request_payer: Option<RequestPayer>
sse_customer_algorithm: Option<SSECustomerAlgorithm>
Specifies the algorithm to use to when encrypting the object (e.g., AES256).
sse_customer_key: Option<SSECustomerKey>
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. This must be the same encryption key specified in the initiate multipart upload request.
sse_customer_key_md5: Option<SSECustomerKeyMD5>
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.
upload_id: MultipartUploadId
Upload ID identifying the multipart upload whose part is being uploaded.
Trait Implementations
impl Default for UploadPartRequest
[src]
fn default() -> UploadPartRequest
Returns the "default value" for a type. Read more
impl Clone for UploadPartRequest
[src]
fn clone(&self) -> UploadPartRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more