aws.internal.build_request
The complete, UNSIGNED Converse request: typed body -> JSON -> null-pruned -> `request_body` passthrough merged in, plus the user's headers and query parameters. Signing must come after this and nothing may touch the request afterwards, so this is the seam request-shape tests assert on.
Reference version
Signature
function aws.internal.build_request(
) -> baml.http.Request throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.ParseError | baml.errors.Timeout | baml.json.SerializationError | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported | ai.errors.PromptRenderError
The complete, UNSIGNED Converse request: typed body -> JSON -> null-pruned
-> request_body passthrough merged in, plus the user's headers and query
parameters. Signing must come after this and nothing may touch the request
afterwards, so this is the seam request-shape tests assert on.
Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 45144–45760