Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:31
    sunaoka opened #202
  • Jul 27 20:30
    SamRemis synchronize #2277
  • Jul 27 18:19

    aws-sdk-php-automation on 3.186.0

    (compare)

  • Jul 27 18:19

    aws-sdk-php-automation on master

    Update models for release 3.186.0 release (compare)

  • Jul 27 13:42
    SamRemis synchronize #2277
  • Jul 27 12:56
    SamRemis synchronize #2273
  • Jul 27 12:32
    SamRemis synchronize #2273
  • Jul 26 22:08
    ajredniwja labeled #2256
  • Jul 26 22:08
    ajredniwja assigned #2260
  • Jul 26 22:08
    ajredniwja labeled #2260
  • Jul 26 19:51
    SamRemis synchronize #2277
  • Jul 26 19:23
    SamRemis review_requested #2277
  • Jul 26 19:23
    SamRemis opened #2277
  • Jul 26 18:17
    SamRemis labeled #2275
  • Jul 26 18:17

    aws-sdk-php-automation on 3.185.21

    (compare)

  • Jul 26 18:17

    aws-sdk-php-automation on master

    Update models for release 3.185.21 release (compare)

  • Jul 23 18:53
    SamRemis synchronize #2276
  • Jul 23 18:18

    aws-sdk-php-automation on 3.185.20

    (compare)

  • Jul 23 18:18

    aws-sdk-php-automation on master

    Update models for release 3.185.20 release (compare)

  • Jul 22 18:20

    aws-sdk-php-automation on 3.185.19

    (compare)

Jonathan Eskew
@jeskew
The SDK versions released yesterday (2.8.14 and 3.2.0) include support for device farm
John Abela
@johnabela
Looking for assistance with "List-Unsubscribe" via the SendMail() API. Found this reference, but no response from the aww-sdk-php team: https://forums.aws.amazon.com/thread.jspa?messageID=347327
Jonathan Eskew
@jeskew
@johnabela You will need to use the sendRawEmail command with a raw email message (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html). The sendEmail method does not support custom headers.
Peter Popelyshko
@neok
Hey guys Looking for help. Using AmazonSES - SendRawEmail - return result is 200 but letter is not delivered, how to debug such problem?
Peter Popelyshko
@neok
Guys here is my question on Stackoverflow
looking for help
with SendRawEmail
Peter Popelyshko
@neok
damn i found error
sending emails without attachment but with base64_encode
Witold Cyrek
@wcyrek-comrise
I found a bug in laravel sdk ~2.0, then I noted 3.0 is out. Should I migrate?
Witold Cyrek
@wcyrek-comrise
anyone know if 'queryOptions' => '{"defaultOperator":"or","fields":["_id"]}' is valid (in version 2), I'm trying to do a search by the id field
cloudsearchdomain I should add
Bardia Afshin
@BardiaAfshin
general cloudformation question
can you add “sources” to a instance via launch configuraiton?
Zxurian
@Zxurian
I may be used to using v2, but in v3, is there no associated method for setCredentials() or do I have to create a new instance of an object everytime I want to change the credentials?
Jonathan Eskew
@jeskew
@Zxurian You would need to create a new instance if you want to change the credentials
Alternatively, if you need to switch out credentials in a predictable way, you can provide a callable instead of an array as the credentials option when creating a client
Bardia Afshin
@BardiaAfshin
anybody here experience with using kong?
kevin olson
@acidjazz
hi everyone
Jonathan Eskew
@jeskew
hi
kevin olson
@acidjazz
looking for a good example to properly catch sdk exceptions
Jonathan Eskew
@jeskew
with v3?
or v2?
kevin olson
@acidjazz
let me check
3.0
looks like $exception->getMessage() contains the error?
but its a combination of text and XML
Jonathan Eskew
@jeskew
Yes
hmmm that’s not ideal
kevin olson
@acidjazz
anything else tahts more ideal.. yea
Jonathan Eskew
@jeskew
do you have an example?
kevin olson
@acidjazz
This message was deleted
woops should have made that a snippet
Jonathan Eskew
@jeskew
no worries
kevin olson
@acidjazz
string(651) "Error executing "Subscribe" on "https://sns.us-east-1.amazonaws.com"; AWS HTTP error: Client error: 403 AuthorizationError (client): User: arn:aws:iam::782785023246:root is not authorized to perform: SNS:Subscribe on resource: arn:aws:sns:us-east-1:932574457866:SMOA - <ErrorResponse xmlns="http://sns.amazonaws.com/doc/2010-03-31/">
  <Error>
    <Type>Sender</Type>
    <Code>AuthorizationError</Code>
    <Message>User: arn:aws:iam::782785023246:root is not authorized to perform: SNS:Subscribe on resource: arn:aws:sns:us-east-1:932574457866:SMOA</Message>
  </Error>
  <RequestId>12341fc4-61ca-564e-93f5-5143fbe61443</RequestId>
</ErrorResponse>
I'd like to pass through the error, preferably just the string
Is this coming from Guzzle or the SDK?
Jonathan Eskew
@jeskew
the SDK
all SDK exceptions extend from Aws\AwsException
and have a method called getAwsErrorCode that returns the error string generated by the service
so in the example you provided getAwsErrorCode would return “AuthorizationError"
kevin olson
@acidjazz
OK perfect
tahts plenty
I can then use getMessage() to get detail, but yea something more simple like that is what im looking for, thank you
Jonathan Eskew
@jeskew
The code will always tell you the class of error if you want to take an action in certain circumstances
you might also want to upgrade
v3 follows semantic versioning, so all 3.x releases will be backwards compatible with 3.0
byounes
@byounes
Hello, I have issues running a my basic aws-sdk-php test, I googled for hours without success :(
Can I ask for help here, I'm more experienced in embedded systems PHP & web is not my cup of coffee
Jonathan Eskew
@jeskew
Sure what's up?