AWS bedrock documentation change
Summary
Updated model documentation to add support for bedrock-mantle endpoint, added abuse detection feature, expanded regional availability, and included new sample code.
Security assessment
The change adds documentation for 'Abuse detection' (a security feature) under supported capabilities via bedrock-mantle endpoint. No evidence of addressing a specific vulnerability exists; this is routine feature documentation. Abuse detection enhances security by identifying malicious inputs.
Diff
diff --git a/bedrock/latest/userguide/model-card-anthropic-claude-haiku-4-5.md b/bedrock/latest/userguide/model-card-anthropic-claude-haiku-4-5.md index 5c8b69b15..d5a2d2f72 100644 --- a//bedrock/latest/userguide/model-card-anthropic-claude-haiku-4-5.md +++ b//bedrock/latest/userguide/model-card-anthropic-claude-haiku-4-5.md @@ -7 +7 @@ -Anthropic — Claude Haiku 4.5Model DetailsCapabilities and FeaturesPricingProgrammatic AccessService TiersRegional AvailabilityQuotas and LimitsSample Code +Orange rounded square icon with white radial loading spinner design. Anthropic — Claude Haiku 4.5Model DetailsCapabilities and FeaturesPricingProgrammatic AccessService TiersRegional AvailabilityQuotas and LimitsSample Code @@ -11 +11 @@ Anthropic — Claude Haiku 4.5Model DetailsCapabilities and FeaturesPricingProgr -##  Anthropic — Claude Haiku 4.5 +##  Anthropic — Claude Haiku 4.5 @@ -41 +41 @@ Claude Haiku 4.5 is Anthropic's lightweight model optimized for speed and effici - Image|  Image|  `Chat Completions`|  `bedrock-mantle` + Image|  Image|  `Chat Completions`|  `bedrock-mantle` @@ -44 +44 @@ Claude Haiku 4.5 is Anthropic's lightweight model optimized for speed and effici - Video|  Video| | + Video|  Video|  `Messages`| @@ -49,0 +50,22 @@ Claude Haiku 4.5 is Anthropic's lightweight model optimized for speed and effici +**Features supported using`bedrock-mantle` endpoint** + +**Supported** | **Not Supported** +---|--- + + *  [Response streaming](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModelWithResponseStream.html) + *  [Abuse detection](https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html) + *  [Count tokens](https://docs.aws.amazon.com/bedrock/latest/userguide/count-tokens.html) + +| + + *  [Guardrails](https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html) + *  [Prompt optimization](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html) + *  [Knowledge base](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html) + *  [Model evaluation](https://docs.aws.amazon.com/bedrock/latest/userguide/evaluation.html) + *  [Prompt management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html) + *  [Flows](https://docs.aws.amazon.com/bedrock/latest/userguide/flows.html) + *  [Agents](https://docs.aws.amazon.com/bedrock/latest/userguide/agents.html) + *  [Intelligent prompt routing](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-routing.html) + + + @@ -74 +96 @@ Claude Haiku 4.5 is Anthropic's lightweight model optimized for speed and effici -**Prompt caching using`bedrock-runtime` endpoint** +**Prompt caching** @@ -92,0 +115 @@ Use the following model IDs and endpoint URLs to access this model programmatica +`bedrock-mantle` | `anthropic.claude-haiku-4-5` | `https://bedrock-mantle.{region}.api.aws/anthropic/v1/messages` | N/A | N/A @@ -94 +117 @@ Use the following model IDs and endpoint URLs to access this model programmatica -_For example, if region is us-east-1 (N. Virginia), then the bedrock-runtime endpoint URL will be "https://bedrock-runtime.us-east-1.amazonaws.com" and for bedrock-mantle will be "https://bedrock-mantle.us-east-1.api.aws/v1"._ +_For example, if region is us-east-1 (N. Virginia), then the bedrock-runtime endpoint URL will be "https://bedrock-runtime.us-east-1.amazonaws.com" and for bedrock-mantle will be "https://bedrock-mantle.us-east-1.api.aws/anthropic/v1/messages"._ @@ -112 +135 @@ Bedrock offers three inference options: **In-Region** keeps requests within a si -`us-east-1` (N. Virginia)| | |  +`us-east-1` (N. Virginia)| | |  @@ -120 +143 @@ Bedrock offers three inference options: **In-Region** keeps requests within a si -`eu-north-1` (Stockholm)| | |  +`eu-north-1` (Stockholm)| | |  @@ -123 +146 @@ Bedrock offers three inference options: **In-Region** keeps requests within a si -`eu-west-1` (Ireland)| | |  +`eu-west-1` (Ireland)| | |  @@ -127 +150 @@ Bedrock offers three inference options: **In-Region** keeps requests within a si -`ap-northeast-1` (Tokyo)| | |  +`ap-northeast-1` (Tokyo)| | |  @@ -135 +158 @@ Bedrock offers three inference options: **In-Region** keeps requests within a si -`ap-southeast-4` (Melbourne)| | |  +`ap-southeast-4` (Melbourne)| | |  @@ -244,0 +268,9 @@ Your AWS account has default quotas to maintain the performance of the service a +Messages API + + + + pip install -U "anthropic[bedrock]" + +Invoke/Converse API + + @@ -249,0 +282,9 @@ Your AWS account has default quotas to maintain the performance of the service a +Messages API + + + + AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>" + +Invoke/Converse API + + @@ -254,0 +296,16 @@ Your AWS account has default quotas to maintain the performance of the service a +Messages API + + + + from anthropic import AnthropicBedrockMantle + + client = AnthropicBedrockMantle(aws_region="us-east-1") + + message = client.messages.create( + model="anthropic.claude-haiku-4-5", + max_tokens=1024, + messages=[{"role": "user", "content": "Can you explain the features of Amazon Bedrock?"}], + ) + + print(message.content[0].text) +