|
42 | 42 | use AsyncAws\Lambda\Exception\ResourceConflictException; |
43 | 43 | use AsyncAws\Lambda\Exception\ResourceNotFoundException; |
44 | 44 | use AsyncAws\Lambda\Exception\ResourceNotReadyException; |
| 45 | +use AsyncAws\Lambda\Exception\SerializedRequestEntityTooLargeException; |
45 | 46 | use AsyncAws\Lambda\Exception\ServiceException; |
46 | 47 | use AsyncAws\Lambda\Exception\SnapStartException; |
47 | 48 | use AsyncAws\Lambda\Exception\SnapStartNotReadyException; |
@@ -129,6 +130,9 @@ public function addLayerVersionPermission($input): AddLayerVersionPermissionResp |
129 | 130 | * Deletes a Lambda function. To delete a specific function version, use the `Qualifier` parameter. Otherwise, all |
130 | 131 | * versions and aliases are deleted. This doesn't require the user to have explicit permissions for DeleteAlias. |
131 | 132 | * |
| 133 | + * > A deleted Lambda function cannot be recovered. Ensure that you specify the correct function name and version before |
| 134 | + * > deleting. |
| 135 | + * |
132 | 136 | * To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services |
133 | 137 | * services and resources that invoke your function directly, delete the trigger in the service where you originally |
134 | 138 | * configured it. |
@@ -201,6 +205,9 @@ public function getFunctionConfiguration($input): FunctionConfiguration |
201 | 205 | * function asynchronously, set `InvocationType` to `Event`. Lambda passes the `ClientContext` object to your function |
202 | 206 | * for synchronous invocations only. |
203 | 207 | * |
| 208 | + * For synchronous invocations, the maximum payload size is 6 MB. For asynchronous invocations, the maximum payload size |
| 209 | + * is 1 MB. |
| 210 | + * |
204 | 211 | * For synchronous invocation [^1], details about the function response, including errors, are included in the response |
205 | 212 | * body and headers. For either invocation type, you can find more information in the execution log [^2] and trace [^3]. |
206 | 213 | * |
@@ -273,6 +280,7 @@ public function getFunctionConfiguration($input): FunctionConfiguration |
273 | 280 | * @throws ResourceConflictException |
274 | 281 | * @throws ResourceNotFoundException |
275 | 282 | * @throws ResourceNotReadyException |
| 283 | + * @throws SerializedRequestEntityTooLargeException |
276 | 284 | * @throws ServiceException |
277 | 285 | * @throws SnapStartException |
278 | 286 | * @throws SnapStartNotReadyException |
@@ -308,6 +316,7 @@ public function invoke($input): InvocationResponse |
308 | 316 | 'ResourceConflictException' => ResourceConflictException::class, |
309 | 317 | 'ResourceNotFoundException' => ResourceNotFoundException::class, |
310 | 318 | 'ResourceNotReadyException' => ResourceNotReadyException::class, |
| 319 | + 'SerializedRequestEntityTooLargeException' => SerializedRequestEntityTooLargeException::class, |
311 | 320 | 'ServiceException' => ServiceException::class, |
312 | 321 | 'SnapStartException' => SnapStartException::class, |
313 | 322 | 'SnapStartNotReadyException' => SnapStartNotReadyException::class, |
|
0 commit comments