Retrieve tags from a file in AWS S3 with Laravel

Paloma Martinez

I am trying to retrieve the Tags property of a file from AWS S3 with Laravel 5.8 (for Tags in AWS, I mean this) I know that I can retrieve a file like:

$storage->get($filePath);

But how to get the tags from that file?

Any help will be appreciated

Thank you

Asfar Irshad

You have to use getObjectTagging api of aws

$result = $client->getObjectTagging([
    'Bucket' => '<string>', // REQUIRED
    'Key' => '<string>', // REQUIRED
    'VersionId' => '<string>',
]);

For Example

$result = $client->getObjectTagging([
    'Bucket' => 'examplebucket',
    'Key' => 'HappyFace.jpg',
]);

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From

Download file from AWS S3 using Python

From Dev

Laravel league/flysystem getting file URL with AWS S3

From Dev

How to parse an AWS S3 file from a Lambda function

From Dev

File Upload to aws S3 Laravel 5.1

From Dev

downloading from AWS S3 while file is being updated

From Dev

AWS S3 File Download from the client-side

From Dev

AWS Lambda unable to GET a file from S3

From Dev

PHP Laravel Uploading File to AWS S3 Asyncronous

From Dev

aws lambda python append to file from S3 object

From Dev

Python - Download file from AWS S3 for the current date

From Dev

How to retrieve data from AWS S3 to SQL server

From Dev

Convert file from csv to parquet on S3 with aws boto

From Dev

How to upload file in AWS S3 from Angular 8

From Dev

How to retrieve data from AWS Lambda and display it on a static website that's hosted on AWS S3?

From Dev

Php laravel Upload file directly to AWS S3 bucket

From Dev

Download Inventory File from AWS S3

From Dev

Reading contents of a gzip file from a AWS S3 in R

From Dev

Opening file from AWS S3 bucket on jupyter notebok

From Dev

Error to send a file to AWS S3 from Java/Spring

From Dev

Retrieve a file from browser using API gateway, AWS LAMBDA and S3

From Dev

pyspark read file from AWS S3 not working

From Dev

Unzipping File From AWS S3 via Python

From Dev

Not able to retrieve processed file from S3 Bucket

From Dev

How to retrieve image's name to store in image table after uploading on AWS S3 using Laravel?

From Dev

Return URL from file uploaded to AWS S3

From Dev

Laravel How to get size of a file stored in AWS S3

From Dev

Retrieve deleted AWS S3 file by version

From Dev

AWS Lambda can't retrieve file from an Amazon S3 Bucket in same network

From Dev

Save zip file in storage s3 aws laravel 9

Related Related

  1. 1

    Download file from AWS S3 using Python

  2. 2

    Laravel league/flysystem getting file URL with AWS S3

  3. 3

    How to parse an AWS S3 file from a Lambda function

  4. 4

    File Upload to aws S3 Laravel 5.1

  5. 5

    downloading from AWS S3 while file is being updated

  6. 6

    AWS S3 File Download from the client-side

  7. 7

    AWS Lambda unable to GET a file from S3

  8. 8

    PHP Laravel Uploading File to AWS S3 Asyncronous

  9. 9

    aws lambda python append to file from S3 object

  10. 10

    Python - Download file from AWS S3 for the current date

  11. 11

    How to retrieve data from AWS S3 to SQL server

  12. 12

    Convert file from csv to parquet on S3 with aws boto

  13. 13

    How to upload file in AWS S3 from Angular 8

  14. 14

    How to retrieve data from AWS Lambda and display it on a static website that's hosted on AWS S3?

  15. 15

    Php laravel Upload file directly to AWS S3 bucket

  16. 16

    Download Inventory File from AWS S3

  17. 17

    Reading contents of a gzip file from a AWS S3 in R

  18. 18

    Opening file from AWS S3 bucket on jupyter notebok

  19. 19

    Error to send a file to AWS S3 from Java/Spring

  20. 20

    Retrieve a file from browser using API gateway, AWS LAMBDA and S3

  21. 21

    pyspark read file from AWS S3 not working

  22. 22

    Unzipping File From AWS S3 via Python

  23. 23

    Not able to retrieve processed file from S3 Bucket

  24. 24

    How to retrieve image's name to store in image table after uploading on AWS S3 using Laravel?

  25. 25

    Return URL from file uploaded to AWS S3

  26. 26

    Laravel How to get size of a file stored in AWS S3

  27. 27

    Retrieve deleted AWS S3 file by version

  28. 28

    AWS Lambda can't retrieve file from an Amazon S3 Bucket in same network

  29. 29

    Save zip file in storage s3 aws laravel 9

HotTag

Archive