aws-php-sdk Questions
67
Solved
I have searched on the web for over two days now, and probably have looked through most of the online documented scenarios and workarounds, but nothing worked for me so far.
I am on AWS SDK for PHP...
Stationary asked 28/5, 2015 at 23:47
3
I have a bucket that I can write to with no problem. However, when I try to delete an object, I get an error ...
AccessDeniedException in NamespaceExceptionFactory.php line 91
Following the very...
Chandigarh asked 7/3, 2017 at 20:54
4
Solved
I am trying to integrate AWS PHP SDK for codeigniter
But its showing error as follows
An uncaught Exception was encountered
Type: Aws\Exception\CredentialsException
Message: Cannot read credenti...
Whiff asked 19/9, 2018 at 9:49
2
Solved
I'm using the Amazon AWS SDK for PHP (namely, version 2.7.16) to upload files to an S3 bucket. How can I set a timeout for http/tcp operations (connection, upload, etc.)? Although I've googled a lo...
Fibrous asked 14/7, 2016 at 12:48
3
Solved
I've been working with the AWS PHP SDK and I seem to get everything except the IAM Roles and permissions.
Can someone please explain to me in the simplest term how the IAM roles work and explain t...
Deepseated asked 26/10, 2017 at 8:28
3
I am migrating my code from AWS PHP SDK1 to SDK2 (https://github.com/aws/aws-sdk-php).
I have an image uploader.
In my previous version, I would specify the Content-Type of my image like so:
$res...
Yolandayolande asked 19/2, 2014 at 21:1
2
I'm using CloudFront Signed URL to display images and videos from S3 to be secured.
It works well on images and other videos except for .m3u8 file.
I used AWS PHP SDK and here's my code.
<?php
...
Tradescantia asked 28/5, 2020 at 1:53
0
I'm looking for a way to programmatically add specific metadata to a set of S3 objects. I've recently updated the code in my project to set the 'Cache-Control: max-age' and 'Expires' when uploading...
Mailemailed asked 30/6, 2020 at 15:29
1
I am writing a unit test and I want to check whether the method publish() was called one or more times. This is a snippet from my whole test class:
<?php
namespace App\Tests\Unit;
use Aws\Sns...
Blowbyblow asked 18/7, 2019 at 19:5
3
Solved
I want copy a folder in aws s3 bucket. I am able to copy files but requirement is I should be able to copy whole s3 folder with some other name.
example: if folder name is project1 I need to copy ...
Coworker asked 6/8, 2018 at 14:6
1
i'm trying to upload a file (an image for my tests) to my s3 bucket with a pre-signed post generated with AWS SDK PHP.
Firstable i generate the pre-signed post, then i manually create the request w...
Stamper asked 10/5, 2019 at 15:17
2
Solved
How can I set the minimum and maximum number of tasks of an ECS Service through an API call? I know you can set the desired count of tasks through the following api, but I'm not seeing anywhere to ...
Magnetostriction asked 1/11, 2018 at 2:37
1
I am trying to delete a message from SQS in AWS using the php SDK. I have the following configuration.
$sqsClient = new SqsClient([
'version' => '2012-11-05',
'region' => 'us-east-1',
'c...
Watters asked 9/9, 2019 at 9:2
2
When I use the below code:
$result = $this->client->adminInitiateAuth([
'AuthFlow' => 'ADMIN_NO_SRP_AUTH',
'ClientId' => $this->client_id,
'UserPoolId' => $this->userpool_i...
Nephew asked 20/3, 2019 at 13:48
1
Solved
I am working on a project that will programmatically create environments in AWS elastic beanstalk. I am using the AWS SDK for PHP Version 3.
My script creates the environment. From the AWS console...
Vilberg asked 31/7, 2018 at 18:25
2
I am trying to create a sub-domain using Route53 with aws-php-sdk.
but I am getting this error again and again:
[2017-06-16 12:17:00] local.ERROR: Aws\Exception\CredentialsException: Error retrie...
Bainite asked 16/6, 2017 at 10:23
1
Solved
I have a bucket at S3 where i have uploaded the images.
Now i am fetching the images using AWS - SDK. Now i want to bypass the image via Proxy
$client = new Aws\S3\S3Client([
'version' => 'l...
Perceptible asked 3/1, 2018 at 3:44
3
Solved
I installed AWS PHP SDK and am trying to use SES. My problem is that it's (apparently) trying to read ~/.aws/credentials no matter what I do. I currently have this code:
$S3_AK = getenv('S3_AK');
...
Haemin asked 20/5, 2016 at 3:14
2
Solved
I am unable to get the confirmation of AWS SNS Http connection in PHP. My application is developed on Laravel 5.1
In AWS I have created a Topic and added a subscription. I have selected endpoint a...
Lima asked 18/7, 2017 at 3:3
3
Our apps are being developed for both Android and iOS. We are using AWS SNS Mobile Push to push messages to both GCM and APNS. The back end is PHP and so it uses the AWS PHP SDK.
Until now, our sy...
Beetle asked 5/2, 2016 at 1:9
2
Solved
I'm trying to copy Amazon AWS S3 objects between two buckets in two different regions with Amazon AWS PHP SDK v3. This would be a one-time process, so I don't need cross-region replication. Tried t...
Yu asked 23/2, 2017 at 11:7
1
Solved
I have searched high and low for how to add a simple ContentType metadata to a MultiPartUploader in AWS PHP SDK. The docs specifically mention how to do it for PutObject, but have no mention of how...
Rillis asked 27/10, 2015 at 16:46
5
I install aws sdk for php in my elastic beanstalk application using phar file,:
require_once __DIR__ . '/../AWS-SDK/aws.phar';
when I run the script for the first time, it succeed ! but when I t...
Chairborne asked 17/1, 2015 at 15:19
1
Solved
I'm looking to retrieve user-defined meta-data from objects in my S3 bucket, from the php sdk.
As per Editing Object Meta Data, User metadata is stored with the object and returned with it, and b...
Squint asked 24/8, 2015 at 21:22
3
Solved
I get the following error when trying to create an SNSClient object.
InstanceProfileCredentialsException in InstanceMetadataClient.php line 85: Error retrieving credentials from the instance profi...
Dicho asked 3/6, 2015 at 17:38
1 Next >
© 2022 - 2024 — McMap. All rights reserved.