> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Lambda CLI

> Invoke AWS Lambda functions and list available functions from Paradime Bolt using the paradime run aws-lambda CLI commands with real-time monitoring.

The Paradime SDK provides CLI commands to interact with AWS Lambda, allowing you to trigger one or more functions and list all functions with their status.

<Info>
  AWS credentials are read from environment variables or the AWS credential chain:

  * `AWS_ACCESS_KEY_ID`
  * `AWS_SECRET_ACCESS_KEY`
  * `AWS_SESSION_TOKEN` (optional)
  * `AWS_REGION`
</Info>

### Trigger Lambda Functions

Trigger one or more AWS Lambda functions.

```bash theme={"system"}
paradime run aws-lambda-trigger
```

**Options**

| Flag                      | Type                             | Description                                                                                                                                           |
| ------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--aws-access-key-id`     | Optional, TEXT                   | AWS Access Key ID for authentication. Can also use AWS credential chain. \[env: `AWS_ACCESS_KEY_ID`]                                                  |
| `--aws-secret-access-key` | Optional, TEXT                   | AWS Secret Access Key for authentication. Can also use AWS credential chain. \[env: `AWS_SECRET_ACCESS_KEY`]                                          |
| `--aws-session-token`     | Optional, TEXT                   | Optional AWS Session Token for temporary credentials. \[env: `AWS_SESSION_TOKEN`]                                                                     |
| `--aws-region`            | Optional, TEXT                   | AWS region name (e.g., us-east-1, us-west-2). Defaults to default region from AWS config. \[env: `AWS_REGION`]                                        |
| `--function-names`        | Required, TEXT (comma-separated) | Comma-separated Lambda function name(s) or ARN(s) to invoke                                                                                           |
| `--payload`               | Optional, TEXT                   | JSON payload to pass to the Lambda functions (optional)                                                                                               |
| `--invocation-type`       | Optional, CHOICE                 | Lambda invocation type: RequestResponse (sync), Event (async), or DryRun. Choices: `RequestResponse`, `Event`, `DryRun`. Default: `RequestResponse`.  |
| `--wait` / `--no-wait`    | Optional, Flag                   | Wait for async invocations to complete before returning (only applies to Event invocation type). Default: `--wait`. \[env: `AWS_LAMBDA_TRIGGER_WAIT`] |
| `--timeout`               | Optional, INTEGER                | Maximum time to wait in minutes. Default: 15. \[env: `AWS_LAMBDA_TRIGGER_TIMEOUT`]                                                                    |
| `--json`                  | Optional, Flag                   | Output results as JSON. Default: `False`.                                                                                                             |
| `--help`                  | Optional, Flag                   | Show the help message and exit.                                                                                                                       |

**Example**

```bash theme={"system"}
paradime run aws-lambda-trigger \
  --function-names func1,func2 \
  --payload '{"key":"value"}'
```

### List Lambda Functions

List all AWS Lambda functions with their status.

```bash theme={"system"}
paradime run aws-lambda-list
```

**Options**

| Flag                      | Type           | Description                                                                                                    |
| ------------------------- | -------------- | -------------------------------------------------------------------------------------------------------------- |
| `--aws-access-key-id`     | Optional, TEXT | AWS Access Key ID for authentication. Can also use AWS credential chain. \[env: `AWS_ACCESS_KEY_ID`]           |
| `--aws-secret-access-key` | Optional, TEXT | AWS Secret Access Key for authentication. Can also use AWS credential chain. \[env: `AWS_SECRET_ACCESS_KEY`]   |
| `--aws-session-token`     | Optional, TEXT | Optional AWS Session Token for temporary credentials. \[env: `AWS_SESSION_TOKEN`]                              |
| `--aws-region`            | Optional, TEXT | AWS region name (e.g., us-east-1, us-west-2). Defaults to default region from AWS config. \[env: `AWS_REGION`] |
| `--json`                  | Optional, Flag | Output results as JSON. Default: `False`.                                                                      |
| `--help`                  | Optional, Flag | Show the help message and exit.                                                                                |

**Example**

```bash theme={"system"}
paradime run aws-lambda-list
```


## Related topics

- [AWS Lambda](/integrations/aws-lambda.md)
- [AWS Glue CLI](/developers/paradime-cli/aws-glue-cli.md)
- [AWS ECS CLI](/developers/paradime-cli/aws-ecs-cli.md)
- [AWS Step Functions CLI](/developers/paradime-cli/aws-step-functions-cli.md)
- [AWS SageMaker CLI](/developers/paradime-cli/aws-sagemaker-cli.md)
