Class AWS::S3::ObjectUploadCollection
In: lib/aws/s3/object_upload_collection.rb
Parent: Object

Represents uploads in progress for a single object.

@example Cancel all uploads for an object

 object.multipart_uploads.each(&:abort)

@example Get an upload by ID

 object.multipart_uploads[id]

Methods

[]   create   each   new  

Included Modules

Enumerable Core::Model

Attributes

object  [R]  @return [S3Object] The object to which the uploads belong.

Public Class methods

Public Instance methods

@return [MultipartUpload] An object representing the upload

  with the given ID.

@param [String] id The ID of an upload to get.

Creates a new multipart upload. It is usually more convenient to use {S3Object#multipart_upload}.

Iterates the uploads in the collection.

@yieldparam [MultipartUpload] upload An upload in the

  collection.

@return [nil]

[Validate]