aws s3api
For information about using the Amazon S3 API—including authentication, signing requests, code examples, and error handling—see the Amazon S3 Developer Guide. AWS CLI reference
116 commands Its page in the AWS CLI reference
Commands
abort-multipart-uploadThis operation aborts a multipart upload.complete-multipart-uploadCompletes a multipart upload by assembling previously uploaded parts.copy-objectCreates a copy of an object that is already stored in Amazon S3.create-bucketThis action creates an Amazon S3 bucket.create-bucket-metadata-configurationCreates an S3 Metadata V2 metadata configuration for a general purpose bucket.create-bucket-metadata-table-configurationWe recommend that you create your S3 Metadata configurations by using the V2 CreateBucketMetadataConfiguration API operation.create-multipart-uploadEnd of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs).create-sessionCreates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint API operations on directory buckets.delete-bucketDeletes the S3 bucket.delete-bucket-analytics-configurationThis operation is not supported for directory buckets.delete-bucket-corsThis operation is not supported for directory buckets.delete-bucket-encryptionThis implementation of the DELETE action resets the default encryption for the bucket as server-side encryption with Amazon S3 managed keys (SSE-S3).delete-bucket-intelligent-tiering-configurationThis operation is not supported for directory buckets.delete-bucket-inventory-configurationDeletes an S3 Inventory configuration (identified by the inventory ID) from the bucket.delete-bucket-lifecycleDeletes the lifecycle configuration from the specified bucket.delete-bucket-metadata-configurationDeletes an S3 Metadata configuration from a general purpose bucket.delete-bucket-metadata-table-configurationWe recommend that you delete your S3 Metadata configurations by using the V2 DeleteBucketMetadataTableConfiguration API operation.delete-bucket-metrics-configurationDeletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the metrics configuration ID) from the bucket.delete-bucket-ownership-controlsThis operation is not supported for directory buckets.delete-bucket-policyDeletes the policy of a specified bucket.delete-bucket-replicationThis operation is not supported for directory buckets.delete-bucket-taggingThis operation is not supported for directory buckets.delete-bucket-websiteThis operation is not supported for directory buckets.delete-objectRemoves an object from a bucket.delete-object-annotationDeletes a specific annotation from an Amazon S3 object.delete-object-taggingThis operation is not supported for directory buckets.delete-objectsThis operation enables you to delete multiple objects from a bucket using a single HTTP request.delete-public-access-blockThis operation is not supported for directory buckets.get-bucket-abacReturns the attribute-based access control (ABAC) property of the general purpose bucket.get-bucket-accelerate-configurationThis operation is not supported for directory buckets.get-bucket-aclThis operation is not supported for directory buckets.get-bucket-analytics-configurationThis operation is not supported for directory buckets.get-bucket-corsThis operation is not supported for directory buckets.get-bucket-encryptionReturns the default encryption configuration for an Amazon S3 bucket.get-bucket-intelligent-tiering-configurationThis operation is not supported for directory buckets.get-bucket-inventory-configurationReturns an S3 Inventory configuration (identified by the inventory configuration ID) from the bucket.get-bucket-lifecycleFor an updated version of this API, see GetBucketLifecycleConfiguration.get-bucket-lifecycle-configurationReturns the lifecycle configuration information set on the bucket.get-bucket-locationUsing the GetBucketLocation operation is no longer a best practice.get-bucket-loggingThis operation is not supported for directory buckets.get-bucket-metadata-configurationRetrieves the S3 Metadata configuration for a general purpose bucket.get-bucket-metadata-table-configurationWe recommend that you retrieve your S3 Metadata configurations by using the V2 GetBucketMetadataTableConfiguration API operation.get-bucket-metrics-configurationGets a metrics configuration (specified by the metrics configuration ID) from the bucket.get-bucket-notificationThis operation is not supported for directory buckets.get-bucket-notification-configurationThis operation is not supported for directory buckets.get-bucket-ownership-controlsThis operation is not supported for directory buckets.get-bucket-policyReturns the policy of a specified bucket.get-bucket-policy-statusThis operation is not supported for directory buckets.get-bucket-replicationThis operation is not supported for directory buckets.get-bucket-request-paymentThis operation is not supported for directory buckets.get-bucket-taggingThis operation is not supported for directory buckets.get-bucket-versioningThis operation is not supported for directory buckets.get-bucket-websiteThis operation is not supported for directory buckets.get-objectRetrieves an object from Amazon S3.get-object-aclThis operation is not supported for directory buckets.get-object-annotationRetrieves an annotation from an Amazon S3 object.get-object-attributesRetrieves all of the metadata from an object without returning the object itself.get-object-legal-holdThis operation is not supported for directory buckets.get-object-lock-configurationThis operation is not supported for directory buckets.get-object-retentionThis operation is not supported for directory buckets.get-object-taggingThis operation is not supported for directory buckets.get-object-torrentThis operation is not supported for directory buckets.get-public-access-blockThis operation is not supported for directory buckets.head-bucketYou can use this operation to determine if a bucket exists and if you have permission to access it.head-objectThe HEAD operation retrieves metadata from an object without returning the object itself.list-bucket-analytics-configurationsThis operation is not supported for directory buckets.list-bucket-intelligent-tiering-configurationsThis operation is not supported for directory buckets.list-bucket-inventory-configurationsReturns a list of S3 Inventory configurations for the bucket.list-bucket-metrics-configurationsLists the metrics configurations for the bucket.list-bucketsThis operation is not supported for directory buckets.list-directory-bucketsReturns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request.list-multipart-uploadsThis operation lists in-progress multipart uploads in a bucket.list-object-annotationsLists the annotations attached to an Amazon S3 object.list-object-versionsThis operation is not supported for directory buckets.list-objectsThis operation is not supported for directory buckets.list-objects-v2Returns some or all (up to 1,000) of the objects in a bucket with each request.list-partsLists the parts that have been uploaded for a specific multipart upload.put-bucket-abacSets the attribute-based access control (ABAC) property of the general purpose bucket.put-bucket-accelerate-configurationThis operation is not supported for directory buckets.put-bucket-aclEnd of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs).put-bucket-analytics-configurationThis operation is not supported for directory buckets.put-bucket-corsThis operation is not supported for directory buckets.put-bucket-encryptionThis operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket.put-bucket-intelligent-tiering-configurationThis operation is not supported for directory buckets.put-bucket-inventory-configurationThis implementation of the PUT action adds an S3 Inventory configuration (identified by the inventory ID) to the bucket.put-bucket-lifecycleThis operation is not supported for directory buckets.put-bucket-lifecycle-configurationCreates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration.put-bucket-loggingEnd of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs).put-bucket-metrics-configurationSets a metrics configuration (specified by the metrics configuration ID) for the bucket.put-bucket-notificationThis operation is not supported for directory buckets.put-bucket-notification-configurationThis operation is not supported for directory buckets.put-bucket-ownership-controlsThis operation is not supported for directory buckets.put-bucket-policyApplies an Amazon S3 bucket policy to an Amazon S3 bucket.put-bucket-replicationThis operation is not supported for directory buckets.put-bucket-request-paymentThis operation is not supported for directory buckets.put-bucket-taggingThis operation is not supported for directory buckets.put-bucket-versioningThis operation is not supported for directory buckets.put-bucket-websiteThis operation is not supported for directory buckets.put-objectEnd of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs).put-object-aclEnd of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs).put-object-annotationAttaches an annotation to an Amazon S3 object.put-object-legal-holdThis operation is not supported for directory buckets.put-object-lock-configurationThis operation is not supported for directory buckets.put-object-retentionThis operation is not supported for directory buckets.put-object-taggingThis operation is not supported for directory buckets.put-public-access-blockThis operation is not supported for directory buckets.rename-objectRenames an existing object in a directory bucket that uses the S3 Express One Zone storage class.restore-objectThis operation is not supported for directory buckets.select-object-contentThis operation is not supported for directory buckets.update-bucket-metadata-annotation-table-configurationUpdates the annotation table configuration for an Amazon S3 bucket's metadata configuration.update-bucket-metadata-inventory-table-configurationEnables or disables a live inventory table for an S3 Metadata configuration on a general purpose bucket.update-bucket-metadata-journal-table-configurationEnables or disables journal table record expiration for an S3 Metadata configuration on a general purpose bucket.update-object-encryptionThis operation is not supported for directory buckets or Amazon S3 on Outposts buckets.upload-partUploads a part in a multipart upload.upload-part-copyUploads a part by copying data from an existing object as data source.write-get-object-responseThis operation is not supported for directory buckets.