Bedrock Commands¶
Discover which Amazon Bedrock foundation models are available to your account, where they are available, and the state of any custom model customization jobs.
Model availability varies significantly by region, so list-models defaults to scanning every region rather than just your current one.
Commands¶
bedrock list-custom-models¶
List custom Bedrock models.
| Option | Value | Description |
|---|---|---|
--region |
TEXT |
Specific region to list custom models from (default: current region) |
--status |
InProgress | Completed | Failed | Stopping | Stopped |
Filter by model status |
bedrock list-model-jobs¶
List Bedrock model customization jobs.
| Option | Value | Description |
|---|---|---|
--region |
TEXT |
Specific region to list model customization jobs from (default: current region) |
--status |
InProgress | Completed | Failed | Stopping | Stopped |
Filter by job status |
bedrock list-models¶
List Amazon Bedrock foundation models across regions.
| Option | Value | Description |
|---|---|---|
--region |
TEXT |
Specific region to list models from (default: all regions) |
--output-file |
TEXT |
Save results to file (supports .json, .csv, .yaml) |
--model-type |
foundation | custom | all |
Type of models to list (default: foundation) |
--provider |
TEXT |
Filter by model provider (e.g., amazon, anthropic, ai21, cohere) |
bedrock model-details¶
Get detailed information about a specific Bedrock model.
| Option | Value | Description |
|---|---|---|
--region |
TEXT |
Region where the model is available (default: current region) |
bedrock regions¶
List regions where Amazon Bedrock is available.
Examples¶
# Which regions offer Bedrock at all
aws-cloud-utilities bedrock regions
# Foundation models across every region
aws-cloud-utilities bedrock list-models
# Narrow to one provider or one region
aws-cloud-utilities bedrock list-models --provider anthropic
aws-cloud-utilities bedrock list-models --region us-east-1 --output-file models.csv
# Include custom models alongside foundation models
aws-cloud-utilities bedrock list-models --model-type all
# Detail for a single model
aws-cloud-utilities bedrock model-details anthropic.claude-3-sonnet-20240229-v1:0
# Custom models and customization jobs, filtered by status
aws-cloud-utilities bedrock list-custom-models --status Completed
aws-cloud-utilities bedrock list-model-jobs --status InProgress
Related¶
- Cost Optimization Commands - analyze Bedrock spend via Cost Explorer
- Account Commands - confirm which regions your account can use