How to use AWS Bedrock Guardrails with streamText in the Vercel AI SDK

Great to see all the support for AWS Bedrock and Guardrails in the AI SDK:

https://sdk.vercel.ai/providers/ai-sdk-providers/amazon-bedrock#guardrails

The documentation shows how to configure for guardrails using the generateText({…}) invocation. Please let me know if the streamText({…}) can be used with the same configuration for guardrails, or if there is difference with streamText({…}) .

Thank you!