@@ -31,11 +31,13 @@ class LambdaClient extends AbstractApi
3131 * Principal: string,
3232 * OrganizationId?: string,
3333 * RevisionId?: string,
34+ * @region?: string,
3435 * }|AddLayerVersionPermissionRequest $input
3536 */
3637 public function addLayerVersionPermission ($ input ): AddLayerVersionPermissionResponse
3738 {
38- $ response = $ this ->getResponse (AddLayerVersionPermissionRequest::create ($ input )->request (), new RequestContext (['operation ' => 'AddLayerVersionPermission ' ]));
39+ $ input = AddLayerVersionPermissionRequest::create ($ input );
40+ $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'AddLayerVersionPermission ' , 'region ' => $ input ->getRegion ()]));
3941
4042 return new AddLayerVersionPermissionResponse ($ response );
4143 }
@@ -53,11 +55,13 @@ public function addLayerVersionPermission($input): AddLayerVersionPermissionResp
5355 * ClientContext?: string,
5456 * Payload?: string,
5557 * Qualifier?: string,
58+ * @region?: string,
5659 * }|InvocationRequest $input
5760 */
5861 public function invoke ($ input ): InvocationResponse
5962 {
60- $ response = $ this ->getResponse (InvocationRequest::create ($ input )->request (), new RequestContext (['operation ' => 'Invoke ' ]));
63+ $ input = InvocationRequest::create ($ input );
64+ $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'Invoke ' , 'region ' => $ input ->getRegion ()]));
6165
6266 return new InvocationResponse ($ response );
6367 }
@@ -75,12 +79,13 @@ public function invoke($input): InvocationResponse
7579 * LayerName: string,
7680 * Marker?: string,
7781 * MaxItems?: int,
82+ * @region?: string,
7883 * }|ListLayerVersionsRequest $input
7984 */
8085 public function listLayerVersions ($ input ): ListLayerVersionsResponse
8186 {
8287 $ input = ListLayerVersionsRequest::create ($ input );
83- $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ListLayerVersions ' ]));
88+ $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'ListLayerVersions ' , ' region ' => $ input -> getRegion () ]));
8489
8590 return new ListLayerVersionsResponse ($ response , $ this , $ input );
8691 }
@@ -98,11 +103,13 @@ public function listLayerVersions($input): ListLayerVersionsResponse
98103 * Content: \AsyncAws\Lambda\ValueObject\LayerVersionContentInput|array,
99104 * CompatibleRuntimes?: list<\AsyncAws\Lambda\Enum\Runtime::*>,
100105 * LicenseInfo?: string,
106+ * @region?: string,
101107 * }|PublishLayerVersionRequest $input
102108 */
103109 public function publishLayerVersion ($ input ): PublishLayerVersionResponse
104110 {
105- $ response = $ this ->getResponse (PublishLayerVersionRequest::create ($ input )->request (), new RequestContext (['operation ' => 'PublishLayerVersion ' ]));
111+ $ input = PublishLayerVersionRequest::create ($ input );
112+ $ response = $ this ->getResponse ($ input ->request (), new RequestContext (['operation ' => 'PublishLayerVersion ' , 'region ' => $ input ->getRegion ()]));
106113
107114 return new PublishLayerVersionResponse ($ response );
108115 }
0 commit comments