send_durable_execution_callback_success
async
¶
send_durable_execution_callback_success(
callback_id: CallbackId,
*,
config_overrides: Optional[AsyncLambdaClientConfig] = None,
result: Optional[BinaryOperationPayload] = None,
) -> SendDurableExecutionCallbackSuccessResponse
Sends a successful completion response for a callback operation in a durable execution. Use this API when an external system has successfully completed a callback operation.
Parameters:
-
callback_id(CallbackId) –The unique identifier for the callback operation.
-
result(Optional[BinaryOperationPayload], default:None) –The result data from the successful callback operation. Maximum size is 256 KB.
Raises:
-
CallbackTimeoutException–The callback ID token has either expired or the callback associated with the token has already been closed.
-
InvalidParameterValueException–One of the parameters in the request is not valid.
-
KMSAccessDeniedException–Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
-
KMSDisabledException–Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
-
KMSInvalidStateException–Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.
-
KMSNotFoundException–Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ServiceException–The Lambda service encountered an internal error.
-
TooManyRequestsException–The request throughput limit was exceeded. For more information, see Lambda quotas.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lambda/_services/async__lambda.py
1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 | |