AWS bedrock high security documentation change
Summary
Removed detailed restrictions section and relabeled API examples section
Security assessment
Removal of critical security restrictions documentation (role-based content inclusion rules, document size limits, and third-party security requirements) could lead to insecure implementations. This change eliminates guidance that previously mitigated risks like privilege escalation and denial-of-service attacks.
Diff
diff --git a/bedrock/latest/userguide/inference-api-restrictions.md b/bedrock/latest/userguide/inference-api-restrictions.md index 26f555bb5..90f02b03e 100644 --- a//bedrock/latest/userguide/inference-api-restrictions.md +++ b//bedrock/latest/userguide/inference-api-restrictions.md @@ -9,17 +8,0 @@ -The following restrictions apply to the `InvokeModel`, `InvokeModelWithResponseStream`, `Converse`, and `ConverseStream` operations. Some restrictions vary by operation or model as noted below: - - * When using these operations, you can only include images and documents if the `role` is `user`. - - * **Video generation:** Video generation is not supported with `InvokeModel` and `InvokeModelWithResponseStream`. Instead, you can use the [StartAsyncInvoke](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_StartAsyncInvoke.html) operation. For an example, see [Use Amazon Nova Reel to generate a video from a text prompt](https://docs.aws.amazon.com/bedrock/latest/userguide/bedrock-runtime_example_bedrock-runtime_Scenario_AmazonNova_TextToVideo_section.html). - - * **Document support in request body:** Including documents in the request body is not supported when using `InvokeModel` and `InvokeModelWithResponseStream`. To include a document during inference, use the [Chat/text playground](./playgrounds.html) in the AWS Management Console or use the `Converse` or `ConverseStream` operations. - - * **Document count and size:** You can include up to 5 documents per request. Each document can be no more than 4.5 MB in size. For Claude 4 and subsequent versions, the 4.5 MB document size restriction doesn't apply to `PDF` format. For Nova models, the 4.5 MB document size restriction doesn't apply to `PDF` and `DOCX` formats. These restrictions continue to apply in the Bedrock Console. Individual models may have additional content restrictions beyond those applied by Amazon Bedrock. For more information, see **Third-party model provider requirements**. - - * **Image count and size** : Amazon Bedrock doesn't impose restrictions on image count and size. However, individual models may have specific image requirements. For more information, see **Third-party model provider requirements**. - - * **Third-party model provider requirements:** Third-party model provider requirements apply when you use `InvokeModel`, `InvokeModelWithResponseStream`, `Converse`, and `ConverseStream` operations, and may result in an error if not met. If you use a third-party model through Amazon Bedrock (for example, Anthropic Claude), review the provider's user guide and API documentation to avoid unexpected errors. For example, the Anthropic Messages standard endpoint supports a maximum request size of 32 MB. Claude also has specific content requirements, such as a maximum of 100 `PDF` pages per request and a maximum image size of 8000x8000 px. For the latest information about Anthropic Claude Messages requests and responses, including request size and content requirements, see the following Anthropic Claude documentation: [Anthropic Claude API Overview](https://platform.claude.com/docs/en/api/overview), [Anthropic Claude Messages API Reference](https://docs.anthropic.com/claude/reference/messages_post), [Build with Claude: Vision](https://platform.claude.com/docs/en/build-with-claude/vision) and [Build with Claude: PDF Support](https://platform.claude.com/docs/en/build-with-claude/pdf-support). - - - - @@ -36 +19 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -Converse API examples +Chat Completions API (legacy) @@ -38 +21 @@ Converse API examples -Structured Outputs +Submit a single prompt (moved)