Working on one application where creating a object for the AWSRekognition which is throwing an error as follow .
Invalid configuration value provided for "configuration_mode". Expected Aws\\DefaultsMode\\ConfigurationInterface|Aws\\CacheInterface|string|closure, but got array(2)\n\nconfiguration_mode:\n (Aws\\DefaultsMode\\ConfigurationInterface|Aws\\CacheInterface|string|closure)\n\n Sets the default configuration mode. Otherwise provide an instance of\n Aws\\DefaultsMode\\ConfigurationInterface
your text``
Where my code like this.
$options = ['region' => 'us-east-1', 'version' => 'latest']; $obj = new RekognitionClient($options);
I have searched the internet for the above error. But didn't got any help.
Thanks in Advance.
I have tried to make object by $options = ['region' => 'us-east-1', 'version' => 'latest']; $obj = new RekognitionClient($options);
Expected to create the object.But giving the above error.