...
Template Name | Extension Name | Extension Version |
---|---|---|
AWS Lambda | ue-aws-lambda | 1.1.12 |
Refer to Changelog for version history information.
...
Synchronicity is set by Invocation Type equals "Request_Response".
Trigger Lambda Asynchronously with Role Based Access and HTTPS Proxy
...
- Role Based Access
- HTTPS Proxy connection
- Payload Source
- Client Context Source
Trigger Lambda Synchronously with HTTPS with Credentials Proxy
Triggering a Lambda function Synchronously with "HTTPS with Credentials" Proxy connection.
Trigger Lambda Synchronously with Log
...
Exit Code | Status Classification Code | Status Classification Description | Status Description |
---|---|---|---|
0 | SUCCESS | Successful Execution | SUCCESS: Successful Task execution |
0 | SUCCESS | Successful Execution, but could not decode AWS log message | DECODE_WARNING: AWS Lambda function invoked successfully, but log message could not be decoded |
1 | FAIL | Failed Execution | FAIL: < Error Description > |
2 | AUTHENTICATION_ERROR | Bad credentials | AUTHENTICATION_ERROR: Account cannot be authenticated. |
3 | AUTHORIZATION_ERROR | Insufficient Permissions | AUTHORIZATION_ERROR: Account is not authorized to perform the requested action. |
10 | CONNECTION_ERROR | Bad connection data or connection timed out | CONNECTION_ERROR: < Error Description > |
11 | CONNECTION_ERROR | Extension specific connection error | CONNECTION_ERROR: ProxyConnectionError: Failed to connect to proxy URL <url> |
20 | DATA_VALIDATION_ERROR | Input fields validation error | DATA_VALIDATION_ERROR: Some of the input fields cannot be validated. See STDOUT for more details. |
21 | READ_TIMEOUT_ERROR | Lambda function completion timeout error | READ_TIMEOUT_ERROR: Did not receive a server response within the allotted time frame (wait_for_completion_timeout). |
...
Attribute | Type | Description |
---|---|---|
status_code | integer | The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204. |
log_result | string | The last 4 KB of the execution log, which is base64 encoded. |
payload | string | The response from the function, or an error object. |
executed_version | string | The version of the function that was executed. When you invoke a function with an alias, this indicates which version the alias is resolved to. |
function_error | string | If present, indicates that an error occurred during function execution. Details about the error are included in the response payload. |
...
Code Block | ||
---|---|---|
| ||
{ "exit_code": 0, "status_description": "SUCCESS: AWS Lambda function invoked successfully", "changed": true, "invocation": { "extension": "ue-aws-lambda", "version": "1.1.12", "fields": { "action": "Trigger Lambda Function", "credentials_user": "test-user", "credentials_password": "****", "region": "us-east-1", "role_based_access": false, "role_arn": null, "function_name": "test-function", "invocation_type": "RequestResponse", "payload_source": null, "payload_script": null, "client_context_source": null, "client_context_script": null, "log_type": "None", "qualifier": null, "use_proxy": false, "proxy_type": null, "proxy": null, "proxy_credentials_user": null, "proxy_credentials_password": null, "proxy_ca_bundle_file": null, "wait_for_completion_timeout": 60 } }, "result": { "status_code": 200, "log_result": "Multiline Log text", "payload": "{\"statusCode\": 999, \"body\": {\"message\": \"Hello World\"}}", "executed_version": "$LATEST", "function_error": null, } } } |
...
STDOUT and STDERR provide additional information to the User. The populated content can be changed in future versions of this extension without notice. Backward compatibility is not guaranteed.
...
Document Link | Description |
---|---|
Universal Templates | User documentation for creating, working with and understanding Universal Templates and Integrations. |
Universal Tasks | User documentation for creating Universal Tasks in the Universal Controller user interface. |
AWS Lambda | Documentation for AWS Lambda. |
IAM RBAC authorization model | User Documentation for Comparing ABAC to the traditional RBAC model. |
Changelog
ue-aws-lambda-1.1.2 (2023-09-01)
Fixes
Fixed
: Provide a fix on the decoding of AWS Log Message. (#34100)
ue-aws-lambda-1.1.1 (2023-02-24)
Fixes
Fixed
: Provide the capability to define the completion timeout of the lambda function and avoid lambda function re-execution if the completion timeout is exceeded. (#31671)
...
ue-aws-lambda-1.0.1 (2022-03-14)
Fixes
Fixed:
Change of template SysId. (#27744)