interactions:
- request:
    body: |-
      {
        "messages": [
          {
            "role": "user",
            "content": "say this is a test"
          },
          {
            "role": "assistant",
            "content": "{"
          }
        ],
        "max_tokens": 10,
        "anthropic_version": "bedrock-2023-05-31"
      }
    headers:
      Content-Length:
      - '165'
      User-Agent:
      - Boto3/1.28.80 md/Botocore#1.31.80 ua/2.0 os/macos#24.5.0 md/arch#arm64 lang/python#3.12.0
        md/pyimpl#CPython cfg/retry-mode#legacy Botocore/1.31.80
      X-Amz-Date:
      - 20250528T092318Z
      X-Amz-Security-Token:
      - test_aws_security_token
      X-Amzn-Trace-Id:
      - Root=1-313b2456-f7fd3ee19dd37dd03a4be55a;Parent=1533ee3b8e477491;Sampled=1
      amz-sdk-invocation-id:
      - 0a756b13-c341-415c-b114-337ce59bdd11
      amz-sdk-request:
      - attempt=1
      authorization:
      - Bearer test_aws_authorization
    method: POST
    uri: https://bedrock-runtime.us-east-1.amazonaws.com/model/us.anthropic.claude-3-5-haiku-20241022-v1%3A0/invoke
  response:
    body:
      string: |-
        {
          "id": "msg_bdrk_01Rxpterf4rGAoFZVDpEqFEF",
          "type": "message",
          "role": "assistant",
          "model": "claude-3-5-haiku-20241022",
          "content": [
            {
              "type": "text",
              "text": "this is a test}"
            }
          ],
          "stop_reason": "end_turn",
          "stop_sequence": null,
          "usage": {
            "input_tokens": 13,
            "output_tokens": 8
          }
        }
    headers:
      Connection:
      - keep-alive
      Content-Type:
      - application/json
      Date:
      - Wed, 28 May 2025 09:23:18 GMT
      Set-Cookie: test_set_cookie
      X-Amzn-Bedrock-Input-Token-Count:
      - '13'
      X-Amzn-Bedrock-Invocation-Latency:
      - '608'
      X-Amzn-Bedrock-Output-Token-Count:
      - '8'
      x-amzn-RequestId:
      - 4458f14e-5cde-44fb-a1ea-881ed935fb73
    status:
      code: 200
      message: OK
version: 1
