pip_services3_aws.test.TestCommandableLambdaClient module

class pip_services3_aws.test.TestCommandableLambdaClient.TestCommandableLambdaClient(base_route: str)

Bases: pip_services3_aws.clients.CommandableLambdaClient.CommandableLambdaClient

call_command(cmd: str, correlation_id: Optional[str], params: dict) Any

Calls a remote action in AWS Lambda function. The name of the action is added as “cmd” parameter to the action parameters.

Parameters
  • cmd – an action name

  • correlation_id – (optional) transaction id to trace execution through call chain.

  • params – command parameters.

Returns

action result.