> ## 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 SageMaker CLI

> Trigger Amazon SageMaker Pipelines executions and list available pipelines from Paradime Bolt using the paradime run aws-sagemaker CLI commands.

The Paradime SDK provides CLI commands to interact with AWS SageMaker, allowing you to trigger one or more Pipelines and list all Pipelines 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 SageMaker Pipelines

Trigger one or more AWS SageMaker Pipelines.

```bash theme={"system"}
paradime run aws-sagemaker-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`]     |
| `--pipeline-names`        | Required, TEXT (comma-separated) | Comma-separated SageMaker Pipeline name(s) to start                                                                |
| `--wait` / `--no-wait`    | Optional, Flag                   | Wait for pipeline executions to complete before returning. Default: `--wait`. \[env: `AWS_SAGEMAKER_TRIGGER_WAIT`] |
| `--timeout`               | Optional, INTEGER                | Maximum time to wait in minutes. Default: 1440. \[env: `AWS_SAGEMAKER_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-sagemaker-trigger \
  --pipeline-names my-pipeline,another-pipeline
```

### List SageMaker Pipelines

List all AWS SageMaker Pipelines with their status.

```bash theme={"system"}
paradime run aws-sagemaker-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-sagemaker-list
```


## Related topics

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