Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 10:28
    TheMY3 commented #2524
  • Sep 28 22:51
    ziyanli-amazon opened #2533
  • Sep 28 01:59
    kayw-geek commented #2456
  • Sep 27 19:56

    SamRemis on master

    Make two user agents identical … (compare)

  • Sep 27 19:56
    SamRemis closed #2532
  • Sep 27 18:22

    aws-sdk-php-automation on 3.236.1


  • Sep 27 18:22

    aws-sdk-php-automation on master

    Update models for release 3.236.1 release (compare)

  • Sep 27 18:10
    SamRemis synchronize #2532
  • Sep 27 17:37
    SamRemis synchronize #2532
  • Sep 27 17:32
    SamRemis edited #2532
  • Sep 27 17:31
    SamRemis opened #2532
  • Sep 27 16:42
    yenfryherrerafeliz edited #2531
  • Sep 27 16:42
    yenfryherrerafeliz review_requested #2531
  • Sep 27 16:41
    yenfryherrerafeliz opened #2531
  • Sep 26 18:15

    aws-sdk-php-automation on master

    Update models for release 3.236.0 release (compare)

  • Sep 26 18:15

    aws-sdk-php-automation on 3.236.0


  • Sep 26 17:54
    SamRemis synchronize #2517
  • Sep 26 13:57
    SamRemis synchronize #2517
  • Sep 26 13:47
    SamRemis synchronize #2517
  • Sep 24 06:13
    getsolaris edited #218
John Skoteiniotis
Hi all, this might not be the correct place to ask but I was wondering, is there a way to buy items remotely? We have a website that we want to be able to buy stuff from amazon automatically for the customer, instead of sending the customer to amazon and expecting them to buy it manually. Any chance this exists on an API?
Hi I'm using laravel for aws rekognition I'm sending image for face compare but it returns me {} this
Here is my code
Please help me to find this problem solution
Does anybody know why "describeSpotFleetInstances" does not return "Active Instances" response but instead return the "requestSpotFleet" response. Does somebody sees something not right or I'm too tired and better go sleep.
        $client = App::make('aws')->createClient('ec2');

        $instance = $client->requestSpotFleet([
            'SpotFleetRequestConfig' => [
                'IamFleetRole' => 'arn:aws:iam::552724291356:role/aws-ec2-spot-fleet-tagging-role',
                'LaunchSpecifications' => [
                        'ImageId' => 'ami-0ace68c630867ba8c',
                        'InstanceType' => 't3a.nano', // smallest vCore 2 & 512 MB Ram
                        'KeyName' => '2nj35n2j3n5j25-key', // SSH key
                'TerminateInstancesWithExpiration' => true,
                'ValidUntil' => $expire_at->toDateTimeString(),
                'TargetCapacity' => 1,

        $spotFleetRequestId = $instance['SpotFleetRequestId'];

        $instanceID = null;

            $result = $client->describeSpotFleetInstances([
                'SpotFleetRequestId' => $spotFleetRequestId,

            dd($result); // here should return the Active instances array

            if (!empty($result['ActiveInstances']))
                $instanceID = $result['ActiveInstances'][0]['InstanceId'];

            echo "sleep" . PHP_EOL;
        }while($instanceID == null);
Aaron McQuade
anyone have any luck signing requests for elasticsearch ? we want to use a role based policy but i havent found any good resources for signing
Aaron McQuade
does anyone have experience with parameter store or secrets manager ? thoughts ? preferences ?
Tom Hatzer
@amcquade based on costs, parameter store is cheaper, has also secret variables but is not as feature rich as the secrets manager. have a look at this overview of differences between the 2 services: https://www.1strategy.com/blog/2019/02/28/aws-parameter-store-vs-aws-secrets-manager/
Aaron McQuade
@tomhatzer thanks for the link! i think i will probably end up using parameter store
Hi all ! I'm trying to use Sns Message and MessageValidator in PHP, but looking at examples I should find them next to SnsClient which I don't...
Currently working on release 3.133.21
find my mistake... I was missing a crucial package... https://github.com/aws/aws-php-sns-message-validator
Rob Mills
Upgrading from v2 to v3 and region is now required. Given this is new, how was the region chosen before?
I'm assuming it must have been defined somehow previously
or inferred in some other manner
Rob Mills
answering my own question ( I think ) it seems that this would have defaulted to us-east-1 (aka US Standard region) if the region was ommitted
Dipranil Chakraborty
Hello, I need some help. I have CSV file in gzip format. is there any way to read the first row by using a PHP script ?
Annette Wilson
Hi, I've been trying to answer this Stack Overflow question: https://stackoverflow.com/questions/60232675/how-can-i-filter-s3-objects-by-size-using-aws-sdk-for-php-v3-aws-resultpaginator/60893697#60893697 and I've found that contrary to the docs, JMESPath expressions in this case are not equivalent between the PHP SDK and the AWS CLI. Specficially, with S3's ListObjectsV2 the "Size" field on S3 objects is declared as "long" and it appears the API unmarshals it as a string, not an integer. Does anyone know if this behaviour is a) intentional, and b) documented?
Harendra Kumar Kanojiya
Is there any one to help ??
Cuong Ngo
Hi everyone, pls help
How to get configuration value in the AWS config file?
Likes CLI built-in supported
aws configure get role_arn --profile=abc
I want to retrieve role_arn value in my second profile at ~/.aws/config file, to put it intro the $stsClient->assumeRole(...)
Cuong Ngo
hello, anybody help pls
Cuong Ngo
Hello...I'm new here...I am trying to understand more about the aws php sdk, but I keep on getting stuck at this link https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/getting-started_basic-usage.html#creating-a-client which is creating a client...I don't know what I am doing, but would like to be able to launch lambda functions from my wordpress install using PHP...can anybody help me understand what launching a client means and how to do it?
Aaron McQuade
@coronaconspire_twitter do you still need help ?
hi everyone o/
Gentrit Abazi
Hello all can help me someone how to make pagination for s3 in php ?
hi everyone, does anyone have a snippet or a nice solution to send bulk email with aws ses ? All kind of solutions that comes to my mind involves to iterate every email to send 50 blocks on each call to the api....
Paul Preibisch

hi there, I want to use the elasticsearch Analyse api with Php, but the PHP sdk does not support it. the documents configuration.asciidoc show that I can add a new endpoint, but I am un sure where to put this code - ie: it says $this->transport, indicating it should be put in Client.php?? But I dont want to edit the vendor files... can you please help? $transport = $this->transport;
$serializer = $this->serializer;

$newEndpoint = function ($class) use ($transport, $serializer) {
if ($class == 'SuperSearch') {
return new MyProject\SuperSearch($transport);
} else {
// Default handler
$fullPath = '\Elasticsearch\Endpoints\' . $class;
if ($class === 'Bulk' || $class === 'Msearch' || $class === 'MPercolate') {
return new $fullPath($transport, $serializer);
} else {
return new $fullPath($transport);

$client = ClientBuilder::create()

im getting a error 500 when using this code
Aaron McQuade
@jezzarb94 it looks like you are missing the access keys
@firecentaur have you tried using the sdk from elasticsearch ?
Sheldon Lendrum
Hi, have any of you used a ARN for Auth with the S3 SDK/Library?
Aaron McQuade
@sheldonlendrum what's the reasoning for not using the bucket name ?
Sheldon Lendrum
Hi Aaron, how do you auth using ARN with just using the bucket name?
@amcquade even digging in the code, the logic is parsing for arn: and separating out the string for auth?
Are you using ARN differently?
Aaron McQuade
@sheldonlendrum I've only used ARNs for s3 buckets in cloudformation, if I'm using the sdk I just use the actual bucket name
Sheldon Lendrum
Does that mean you use the KEY/Secret? or are your permissions tied to your EC2?
Aaron McQuade
also, in that example there are no credentials, create an IAM user and give them access to that bucket and whatever operations you need. take the key and secret and supply them to your s3client object
usually use key and secret, although for some things it makes sense to create an IAM Role with the permissions you need and attach it to the instance, but in that way you'd need to get the credentials a different way
Sheldon Lendrum
Dzianis Charnysh
Hello guys.
I need your help.
I am gonna dynamo db in laravel project.
So I have issue in define the connection with dynamo db.
Please help me,
Anyone here?
Aaron McQuade
what is your issue ? @dzianis1_gitlab