We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae625b commit 07665d2Copy full SHA for 07665d2
src/LambdaClient.php
@@ -3,6 +3,8 @@
3
namespace AsyncAws\Lambda;
4
5
use AsyncAws\Core\AbstractApi;
6
+use AsyncAws\Core\AwsError\AwsErrorFactoryInterface;
7
+use AsyncAws\Core\AwsError\JsonRestAwsErrorFactory;
8
use AsyncAws\Core\Configuration;
9
use AsyncAws\Core\RequestContext;
10
use AsyncAws\Lambda\Enum\InvocationType;
@@ -123,6 +125,11 @@ public function publishLayerVersion($input): PublishLayerVersionResponse
123
125
return new PublishLayerVersionResponse($response);
124
126
}
127
128
+ protected function getAwsErrorFactory(): AwsErrorFactoryInterface
129
+ {
130
+ return new JsonRestAwsErrorFactory();
131
+ }
132
+
133
protected function getEndpointMetadata(?string $region): array
134
{
135
if (null === $region) {
0 commit comments