

# Object storage actions
<a name="API_Amazon_S3"></a>

Use the following API actions for Amazon Simple Storage Service (Amazon S3) to manage buckets and objects in the Amazon Lightsail object storage service. Choose the name of an API action to view the documentation for it in the *Amazon S3 API reference*. For more information about buckets in Lightsail, see [Object storage in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/buckets-in-amazon-lightsail).

**Uploading files to buckets**
+ [PutObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) - Adds a file to a bucket. For more information, see [Uploading files to a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket) in the *Amazon Lightsail Developer Guide*.

**Uploading objects to buckets using multipart upload**
+ [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) - Initiates a multipart upload and returns an upload ID. For more information, see [Initiate a multipart upload](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#initiate-multipart-upload) in the *Amazon Lightsail Developer Guide*.
+ [UploadPart](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) - Uploads a part in a specific multipart upload. For more information, see [Upload a part](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#upload-a-part) in the *Amazon Lightsail Developer Guide*.
+ [ListParts](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) - Lists the parts that have been uploaded for a specific multipart upload. For more information, see [List parts of a multipart upload](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#list-parts-of-multipart-upload) in the *Amazon Lightsail Developer Guide*.
+ [CompleteMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) - Completes a multipart upload by assembling previously uploaded parts. For more information, see [Complete a multipart upload](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#complete-multipart-upload) in the *Amazon Lightsail Developer Guide*.
+ [ListMultipartUploads](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) - Lists all in-progress multipart uploads for a bucket. For more information, see [List multipart uploads for a bucket](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#list-multipart-uploads) in the *Amazon Lightsail Developer Guide*.
+ [AbortMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) - Stops a multipart upload. For more information, see [Stop a multipart upload](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-uploading-files-to-a-bucket-using-multipart-upload#stop-multipart-uploads) in the *Amazon Lightsail Developer Guide*.

**Listing objects and object details**
+ [ListObjectsV2](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html) - Returns a list of the objects (up to 1,000 in each request) in a bucket. For more information, see [Viewing objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-objects-in-a-bucket) in the *Amazon Lightsail Developer Guide*.
+ [HeadObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html) - Returns metadata from an object without returning the object itself. This action is useful if you're only interested in an object's metadata. For more information, see [Viewing objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-objects-in-a-bucket) in the *Amazon Lightsail Developer Guide*.
+ [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) - Downloads an object from a bucket. For more information, see [Downloading objects from a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-downloading-bucket-objects) in the *Amazon Lightsail Developer Guide*.
+ [GetObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) - Returns the tags of an object. For more information, see [Tagging objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tagging-bucket-objects) in the *Amazon Lightsail Developer Guide*.
+ [ListObjectVersions](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html) - Returns metadata about all versions of objects in a bucket. For more information, see [Enabling and suspending object versioning in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning) in the *Amazon Lightsail Developer Guide*.

**Copying and moving objects**
+ [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - Creates a copy of an object. For more information, see [Copying or moving objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-copying-moving-bucket-objects) in the *Amazon Lightsail Developer Guide*.

**Editing individual object permissions**
+ [GetObjectAcl](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectAcl.html) - Sets the access control list (ACL) permissions for an object, which is how you can control the access permissions for an individual object. For more information, see [Configuring access permissions for individual objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-individual-object-access) in the *Amazon Lightsail Developer Guide*.
+ [GetObjectAcl](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) - Returns the access control list (ACL) set for an object, which controls the access permissions for the individual object. For more information, see [Configuring access permissions for individual objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-individual-object-access) in the *Amazon Lightsail Developer Guide*.

**Editing object tags**
+ [PutObjectTagging](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html) - Sets the supplied tag to an object. For more information, see [Tagging objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tagging-bucket-objects) in the *Amazon Lightsail Developer Guide*.

**Listing and restoring object versions**
+ [ListObjectVersions](https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectVersions.html) - Returns metadata about all versions of objects in a bucket. For more information, see [Enabling and suspending object versioning in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning) and [Restoring previous versions of objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-restoring-bucket-object-versions) in the *Amazon Lightsail Developer Guide*.
+ [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) - Creates a copy of an object in a bucket, including previous versions of an object. To restore an object version, use the `CopyObject` action to copy a previous version of an object and make it the latest version. For more information, see [Restoring previous versions of objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-restoring-bucket-object-versions) in the *Amazon Lightsail Developer Guide*.
+ [DeleteObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) - Deletes an object from a bucket, including previous versions of an object. For more information, see [Delete multiple objects or object versions using the AWS CLI](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-deleting-bucket-objects#delete-objects-aws-cli) in the *Amazon Lightsail Developer Guide*.

**Deleting objects**
+ [DeleteObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) - Deletes an object from a bucket. For more information, see [Deleting objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-deleting-bucket-objects) in the *Amazon Lightsail Developer Guide*.
+ [DeleteObjects](https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html) - Deletes multiple objects from a bucket using a single request. For more information, see [Deleting objects in a bucket in Amazon Lightsail](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-deleting-bucket-objects) in the *Amazon Lightsail Developer Guide*.