@@ -31,11 +31,13 @@ class LambdaClient extends AbstractApi
31
31
* Principal: string,
32
32
* OrganizationId?: string,
33
33
* RevisionId?: string,
34
+ * @region?: string,
34
35
* }|AddLayerVersionPermissionRequest $input
35
36
*/
36
37
public function addLayerVersionPermission ($ input ): AddLayerVersionPermissionResponse
37
38
{
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 ()]));
39
41
40
42
return new AddLayerVersionPermissionResponse ($ response );
41
43
}
@@ -53,11 +55,13 @@ public function addLayerVersionPermission($input): AddLayerVersionPermissionResp
53
55
* ClientContext?: string,
54
56
* Payload?: string,
55
57
* Qualifier?: string,
58
+ * @region?: string,
56
59
* }|InvocationRequest $input
57
60
*/
58
61
public function invoke ($ input ): InvocationResponse
59
62
{
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 ()]));
61
65
62
66
return new InvocationResponse ($ response );
63
67
}
@@ -75,12 +79,13 @@ public function invoke($input): InvocationResponse
75
79
* LayerName: string,
76
80
* Marker?: string,
77
81
* MaxItems?: int,
82
+ * @region?: string,
78
83
* }|ListLayerVersionsRequest $input
79
84
*/
80
85
public function listLayerVersions ($ input ): ListLayerVersionsResponse
81
86
{
82
87
$ 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 () ]));
84
89
85
90
return new ListLayerVersionsResponse ($ response , $ this , $ input );
86
91
}
@@ -98,11 +103,13 @@ public function listLayerVersions($input): ListLayerVersionsResponse
98
103
* Content: \AsyncAws\Lambda\ValueObject\LayerVersionContentInput|array,
99
104
* CompatibleRuntimes?: list<\AsyncAws\Lambda\Enum\Runtime::*>,
100
105
* LicenseInfo?: string,
106
+ * @region?: string,
101
107
* }|PublishLayerVersionRequest $input
102
108
*/
103
109
public function publishLayerVersion ($ input ): PublishLayerVersionResponse
104
110
{
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 ()]));
106
113
107
114
return new PublishLayerVersionResponse ($ response );
108
115
}
0 commit comments