Method: Aws::S3::Object#move_to
- Defined in:
- lib/aws-sdk-s3/customizations/object.rb
#move_to(target, options = {}) ⇒ void
This method returns an undefined value.
Copies and deletes the current object. The object will only be deleted if the copy operation succeeds.
113 114 115 116 |
# File 'lib/aws-sdk-s3/customizations/object.rb', line 113 def move_to(target, = {}) copy_to(target, ) delete end |