Skip to content

feat(bedrock): add MiniMax and GLM foundation model identifiers - #37348

Merged
mergify[bot] merged 2 commits into
aws:mainfrom
pahud:fix/issue-37347-bedrock-minimax-glm
Mar 27, 2026
Merged

mergify[bot] merged 2 commits into
aws:mainfrom
pahud:fix/issue-37347-bedrock-minimax-glm

Conversation

@pahud

@pahud pahud commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

Issue # (if applicable)

Closes #37347

Reason for this change

The FoundationModelIdentifier class is missing identifiers for MiniMax and Zhipu AI (GLM) models that are available in Amazon Bedrock via ListFoundationModels.

Description of changes

Added all 6 missing model identifiers to FoundationModelIdentifier:

Model ID Constant
minimax.minimax-m2 MINIMAX_MINIMAX_M2
minimax.minimax-m2.1 MINIMAX_MINIMAX_M2_1
minimax.minimax-m2.5 MINIMAX_MINIMAX_M2_5
zai.glm-4.7 ZAI_GLM_4_7
zai.glm-4.7-flash ZAI_GLM_4_7_FLASH
zai.glm-5 ZAI_GLM_5

Description of how you validated changes

These are purely additive static readonly fields — no logic changes. Each identifier maps directly to a model ID returned by the Bedrock ListFoundationModels API.

Checklist

@aws-cdk-automation
aws-cdk-automation requested a review from a team March 24, 2026 16:55
@github-actions github-actions Bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels Mar 24, 2026
@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Mar 24, 2026

@aws-cdk-automation aws-cdk-automation left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@pahud pahud changed the title feat(bedrock): add MiniMax M2.5 and GLM 5 foundation model identifiers chore(bedrock): add MiniMax M2.5 and GLM 5 foundation model identifiers Mar 24, 2026
@aws-cdk-automation
aws-cdk-automation dismissed their stale review March 24, 2026 17:39

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 24, 2026
Add all available MiniMax and GLM (Zhipu AI) foundation model identifiers:
- minimax.minimax-m2
- minimax.minimax-m2.1
- minimax.minimax-m2.5
- zai.glm-4.7
- zai.glm-4.7-flash
- zai.glm-5

Closes aws#37347
@pahud
pahud force-pushed the fix/issue-37347-bedrock-minimax-glm branch from f330970 to 830dafd Compare March 25, 2026 20:10
@pahud pahud changed the title chore(bedrock): add MiniMax M2.5 and GLM 5 foundation model identifiers feat(bedrock): add MiniMax and GLM foundation model identifiers Mar 25, 2026

@aws-cdk-automation aws-cdk-automation left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 25, 2026
@alvazjor alvazjor added pr-linter/exempt-readme The PR linter will not require README changes pr-linter/exempt-test The PR linter will not require test changes pr-linter/exempt-integ-test The PR linter will not require integ test changes labels Mar 27, 2026
@alvazjor alvazjor self-assigned this Mar 27, 2026
@aws-cdk-automation
aws-cdk-automation dismissed their stale review March 27, 2026 16:09

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@mergify

mergify Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
mergify Bot merged commit 2015344 into aws:main Mar 27, 2026
20 of 21 checks passed
@mergify

mergify Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • Entered queue2026-03-27 16:45 UTC · Rule: default-squash
  • Checks skipped · PR is already up-to-date
  • Merged2026-03-27 16:45 UTC · at a3c7be3e1ab41dd1163c553abd204e6beb90f443

This pull request spent 5 seconds in the queue, with no time running CI.

Required conditions to merge

@github-actions

Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-readme The PR linter will not require README changes pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bedrock: add MiniMax M2.5 and GLM 5 foundation model identifiers

3 participants