Class: Aws::S3::ObjectSummary
- Inherits:
-
Object
- Object
- Aws::S3::ObjectSummary
- Defined in:
- lib/aws-sdk-resources/services/s3/object_summary.rb
Instance Method Summary collapse
- #copy_from(source, options = {}) ⇒ Object
- #copy_to(target, options = {}) ⇒ Object
- #move_to(target, options = {}) ⇒ void
- #presigned_post(options = {}) ⇒ PresignedPost
- #presigned_url(http_method, params = {}) ⇒ String
- #public_url(options = {}) ⇒ String
-
#upload_file(source, options = {}) ⇒ Boolean
Returns ‘true` when the object is uploaded without any errors.
Instance Method Details
#copy_from(source, options = {}) ⇒ Object
11 12 13 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 11 def copy_from(source, = {}) object.copy_from(source, ) end |
#copy_to(target, options = {}) ⇒ Object
19 20 21 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 19 def copy_to(target, = {}) object.copy_to(target, ) end |
#move_to(target, options = {}) ⇒ void
This method returns an undefined value.
27 28 29 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 27 def move_to(target, = {}) object.move_to(target, ) end |
#presigned_post(options = {}) ⇒ PresignedPost
35 36 37 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 35 def presigned_post( = {}) object.presigned_post() end |
#presigned_url(http_method, params = {}) ⇒ String
43 44 45 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 43 def presigned_url(http_method, params = {}) object.presigned_url(http_method, params) end |
#public_url(options = {}) ⇒ String
51 52 53 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 51 def public_url( = {}) object.public_url() end |
#upload_file(source, options = {}) ⇒ Boolean
Returns ‘true` when the object is uploaded without any errors.
59 60 61 |
# File 'lib/aws-sdk-resources/services/s3/object_summary.rb', line 59 def upload_file(source, = {}) object.upload_file(source, ) end |