aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

[Bug]: PHP Bedrock and BedrockRuntime constructor arguments

Open quintes opened this issue 1 year ago • 4 comments

Expected behavior

I've found that when testing the example code for PHP bedrock and bedrock runtime that the argument to the constructor is incorrect and passed incorrectly does not see changes to the arguments. fixed here.

Actual behavior

I was having issues with my profile and found that the parameter values in $clientArgs are not passed correctly.

Steps to reproduce

1.Change any of the values in $clientArgs
2.Debug the instantiation of new BedrockService
3.Changed values do not pass through

Logs / stacktrace (if applicable)

No response

Which SDK were you using?

PHP

Which OS were you using?

macOS

SDK version

No response

OS version

No response

quintes avatar Sep 09 '24 10:09 quintes

Hey @quintes. I've been to Wellington! Beautiful city. I'll have someone from the Bedrock team look at this. Thanks for raising it.

cpyle0819 avatar Sep 09 '24 12:09 cpyle0819

Thank @quintes, I'll have a look.

DennisTraub avatar Sep 09 '24 13:09 DennisTraub

PR for fix: #6824

DennisTraub avatar Sep 09 '24 14:09 DennisTraub

Hey @quintes. I've been to Wellington! Beautiful city. I'll have someone from the Bedrock team look at this. Thanks for raising it.

Heya @cpyle0819 it is a beautiful city and today looks wonderful out there.

Thanks for getting it looked at

quintes avatar Sep 09 '24 20:09 quintes