mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:22:09 +02:00
aws-s3-rm: add page (#9218)
This commit is contained in:
parent
36ad431f30
commit
e33aff10d7
1 changed files with 20 additions and 0 deletions
20
pages/common/aws-s3-rm.md
Normal file
20
pages/common/aws-s3-rm.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# aws s3 rm
|
||||
|
||||
> Delete S3 objects.
|
||||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/rm.html>.
|
||||
|
||||
- Delete a specific S3 object:
|
||||
|
||||
`aws s3 rm s3://{{bucket_name}}/{{path/to/file}}`
|
||||
|
||||
- Preview the deletion of a specific S3 object without deleting it (dry-run):
|
||||
|
||||
`aws s3 rm s3://{{bucket_name}}/{{path/to/file}} --dryrun`
|
||||
|
||||
- Delete an object from a specific S3 access point:
|
||||
|
||||
`aws s3 rm s3://arn:aws:s3:{{region}}:{{account_id}}:{{access_point}}/{{access_point_name}}/{{object_key}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`aws s3 rm help`
|
Loading…
Add table
Reference in a new issue