Questions tagged [aws-php-sdk]

Amazon Web Services SDK for PHP

The AWS SDK for PHP enables PHP developers to easily work with Amazon Web Services and build scalable solutions with Amazon S3, Amazon DynamoDB, Amazon Glacier, and more.

Download Link

User Guide

API Documentation

314 questions
0
votes
0 answers

AWS SDK php S3 refuses to access bucket name xx.my_domain.com

I want to use AWS S3 to store image files for my website. I create a bucket name images.mydomain.com which was referred by dns cname images.mydomain.com from AWS Route 53. I want to check whether a folder or file exists; if not I will create…
0
votes
1 answer

How do I get Amazon Health Status via an API

Is it possible to get Amazon web services health api flags via an API. Their RSS feed does not mention the actual status of the given service. I am looking for a possible API which returns, Service is operating normally Performance issues Service…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
-1
votes
1 answer

Public reading of objects copied with the AWS SDK PHP

I'm using AWS SDK PHP v3 to copy objects from bucket to bucket in S3. When I use the putObject method, I can normally access the file via the URL, but when using the copyObject, I don't have public access marked. My code is as below. $credentials =…
Tom
  • 641
  • 2
  • 8
  • 21
-1
votes
1 answer

AWS SDK PHP 3.x: Get very LAST object in s3 bucket by last modified

I'm trying to get the last object in a bucket order by last modified using AWS SDK for PHP version 3.x. I have seen how to doit with the AWS CLI. Here: Get very LAST object in s3 bucket by last modified Get last modified object from S3 using AWS…
icalvete
  • 987
  • 2
  • 16
  • 50
-1
votes
2 answers

How to delete one AWS S3 "folder" using the PHP SDK?

I want to delete one folder and its entire contents in AWS S3 using the PHP-SDK. So the equivalent of rm -rf somepath in a normal file-system. Let us assume that the folder is located at s3://somename/myfolder/1/1679666007/ and inside that has many…
Kristi Jorgji
  • 1,154
  • 1
  • 14
  • 39
-1
votes
1 answer

Specifying user and password when doing restoreDBInstanceFromDBSnapshot AWS SDK call

I am trying to use the AWS PHP SDK call restoreDBInstanceFromDBSnapshot I don't see any parameters allowing me to enter a master user name and a master password. Any ideas?
EastsideDev
  • 6,257
  • 9
  • 59
  • 116
-1
votes
1 answer

AWS getSignedUrl with UploadId and PartNumber

I'm trying to convert the following JS into PHP: client.getSignedUrl('uploadPart', { Bucket: config.bucket, Key: key, UploadId: uploadId, PartNumber: partNumber, Body: '', Expires: ms('5 minutes') / 1000 }, (err, url) => { …
Josh
  • 714
  • 2
  • 8
  • 20
-1
votes
1 answer

Detect EC2 role with AWS PHP SDK?

I have as php library I wrote to help with working along side Amazon Web Services. It was built to either look for the default $HOME/.aws/credentials (or be pointed to a similar format file) or to look for the key and secret in the environment…
Scott
  • 7,983
  • 2
  • 26
  • 41
-1
votes
2 answers

How to get the AWS S3 bucket location via PHP api call?

I am searching on the internet on how can I get the AWS s3 bucket region with an API call or directly in PHP using their library but have not luck finding the info. I have the following info available: Account credentials, bucket name, access key…
naneri
  • 3,771
  • 2
  • 29
  • 53
-1
votes
1 answer

Do AWS PHP SDK supports Athena queries?

I am working on a Laravel application with AWS Athena integration. Is there any way aws-php-sdk (https://github.com/aws/aws-sdk-php-laravel) can be used for querying Athena data?
-1
votes
2 answers

Send sms to Indian numbers using aws sns

I am trying to send a sms to a particular number using aws sns using the following code but it requires a target/topic arn which is not applicable for me as I want to send sms to the numbers that I set in the params. $client = SnsClient::factory([ …
Harshit
  • 711
  • 1
  • 9
  • 29
-2
votes
1 answer

aws-php-sdk dynaomodb client creation issue

I have installed aws-php-sdk in Laravel and configured it correctly where putitem / getitem working when executing through HTTP/HTTPS in the browser and curl. However, when I try to execute the same script through Laravel queue, I am getting this…
Ash
  • 1
  • 1
-2
votes
1 answer

AWS Elastic Transcoder: Rotate video

I'm trying to rotate a video in a job that is created using the php SDK, i see the job get created with rotate to 90 but the output does not seem to be rotated from the original position, am i missing something or does the rotate not actually…
-3
votes
1 answer

What are the advantages between using AWS CLI and AWS PHP SDK?

I want to sync some folders on S3 bucket. I can do it with AWS CLI or use PHP SDK but I want to know what are the advantages and disadvantages between two methods? Any performance differences? Thank you.
1 2 3
20
21