Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Template NameExtension NameExtension Version
AWS Lambdaue-aws-lambda1.1.12

Refer to Changelog for version history information.

...

Synchronicity is set by Invocation Type equals "Request_Response".

Image RemovedImage Added

Trigger Lambda Asynchronously with Role Based Access and HTTPS Proxy

...

  • Role Based Access
  • HTTPS Proxy connection
  • Payload Source
  • Client Context Source

Image RemovedImage Added

Trigger Lambda Synchronously with HTTPS with Credentials Proxy

Triggering a Lambda function Synchronously with "HTTPS with Credentials" Proxy connection.

Image RemovedImage Added

Trigger Lambda Synchronously with Log

...

Exit CodeStatus Classification CodeStatus Classification DescriptionStatus Description
0SUCCESSSuccessful ExecutionSUCCESS: Successful Task execution
0SUCCESSSuccessful Execution, but could not decode AWS log messageDECODE_WARNING: AWS Lambda function invoked successfully, but log message could not be decoded
1FAILFailed ExecutionFAIL: < Error Description >
2AUTHENTICATION_ERRORBad credentialsAUTHENTICATION_ERROR: Account cannot be authenticated.
3AUTHORIZATION_ERRORInsufficient PermissionsAUTHORIZATION_ERROR: Account is not authorized to perform the requested action.
10CONNECTION_ERRORBad connection data or connection timed outCONNECTION_ERROR: < Error Description >
11CONNECTION_ERRORExtension specific connection errorCONNECTION_ERROR: ProxyConnectionError: Failed to connect to proxy URL <url>
20DATA_VALIDATION_ERRORInput fields validation errorDATA_VALIDATION_ERROR: Some of the input fields cannot be validated. See STDOUT for more details.
21READ_TIMEOUT_ERRORLambda function completion timeout errorREAD_TIMEOUT_ERROR: Did not receive a server response within the allotted time frame (wait_for_completion_timeout).

...

AttributeTypeDescription
status_codeintegerThe 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_resultstringThe last 4 KB of the execution log, which is base64 encoded.
payloadstringThe response from the function, or an error object.
executed_versionstringThe 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_errorstringIf present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

...

Code Block
languagetext
{
  "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 LinkDescription
Universal TemplatesUser documentation for creating, working with and understanding Universal Templates and Integrations.
Universal TasksUser documentation for creating Universal Tasks in the Universal Controller user interface.
AWS LambdaDocumentation for AWS Lambda.
IAM RBAC authorization modelUser 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)