CoolFace
Apppublic

PABPAT/TCI_Shield

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
list_models.py17 linesDownload Raw Back to root
1import boto32 3# Connect to Bedrock (not bedrock-runtime) to list models4client = boto3.client(5    service_name="bedrock",6    region_name="us-east-1"7)8 9# Get all available foundation models10response = client.list_foundation_models()11 12# Filter and print only Nova models13print("Available Nova Models on your account:")14print("-" * 50)15for model in response["modelSummaries"]:16    if "nova" in model["modelId"].lower():17        print(model["modelId"])