Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

claude-platform-on-aws changedbuild-with-claude/claude-platform-on-aws

Nearest release: v2.1.301, published 5 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+41added
Lines−5removed
From line 561 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits48to this page, all time

The whole hunk

from line 561, old and new numbered
/
lines
from line 561
561561 
562562[Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) is available on Claude Platform on AWS, including [agents](https://platform.claude.com/docs/en/managed-agents/agent-setup), [environments](https://platform.claude.com/docs/en/managed-agents/environments), [sessions](https://platform.claude.com/docs/en/managed-agents/sessions), [scheduled deployments](https://platform.claude.com/docs/en/managed-agents/scheduled-deployments), [credential vaults](https://platform.claude.com/docs/en/managed-agents/vaults), [memory stores](https://platform.claude.com/docs/en/managed-agents/memory), [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks), [multiagent orchestration](https://platform.claude.com/docs/en/managed-agents/multiagent-orchestration), and [self-hosted sandboxes](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes).
563563 
564Session behavior on Claude Platform on AWS differs from first-party Claude Managed Agents in two ways:
564Sessions and self-hosted workers on Claude Platform on AWS differ from first-party Claude Managed Agents in three ways:
565565 
566566* **Autonomous-session reauthentication:** A session can run autonomously, without any [user events](https://platform.claude.com/docs/en/managed-agents/reference#event-types), for up to 6 hours. After 6 hours, the session requires reauthentication before it continues. To reauthenticate, send any user-role event to the session (see [Events and streaming](https://platform.claude.com/docs/en/managed-agents/events-and-streaming)). First-party Claude Managed Agents has no autonomous-session runtime limit.
567567* **[Memory stores on self-hosted environments](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes-memory):** A session that runs on a self-hosted environment cannot attach memory stores; a session that includes one is rejected at creation. Sessions on cloud environments attach memory stores as usual. On first-party Claude Managed Agents, sessions on both cloud and self-hosted environments can attach memory stores.
568* **[Worker authentication on self-hosted environments](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#prerequisites):** A worker authenticates with AWS IAM (SigV4) or an [API key generated in the AWS Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#api-key-authentication), not an environment key. Environment keys generated in the Claude Console don't work with the Claude Platform on AWS endpoint.
568569 
569570### Features not supported
570571 
from line 896
895896 ```
896897 
897898 ```bash CLI
898 # The ant CLI's output formats print the response body, not response headers.
899 # To read x-amzn-requestid, use the cURL example (-i) or an SDK example.
899 # Replace us-west-2 with your AWS region
900 # ant reads ANTHROPIC_API_KEY and sends it as x-api-key. Generate a key in the
901 # AWS Console (see API key authentication).
902 export ANTHROPIC_API_KEY="YOUR_AWS_API_KEY"
903 
904 # --debug prints the HTTP response, including the X-Amzn-Requestid and
905 # Request-Id headers, to stderr
906 ant --debug messages create \
907 --base-url https://aws-external-anthropic.us-west-2.api.aws \
908 --workspace-id "$ANTHROPIC_AWS_WORKSPACE_ID" \
909 --model claude-sonnet-5-5 \
910 --max-tokens 1024 \
911 --message '{role: user, content: "Hello!"}'
900912 ```
901913 
902914 ```python Python
from line 1037
10251037 ```
10261038 
10271039 ```ruby Ruby
1028 # Accessing raw response headers is not currently supported in the Ruby SDK.
1029 # To inspect the x-amzn-requestid header, use one of the other SDK examples.
1040 require "anthropic"
1041 
1042 client = Anthropic::AWSClient.new
1043 
1044 # Read response headers in per-request middleware, which receives the
1045 # raw HTTP response before the SDK parses it
1046 aws_request_id = nil
1047 anthropic_request_id = nil
1048 read_request_ids = lambda do |request, call_next|
1049 response = call_next.call(request)
1050 # Keys in response.headers are lowercase
1051 aws_request_id = response.headers["x-amzn-requestid"]
1052 anthropic_request_id = response.headers["request-id"]
1053 response
1054 end
1055 
1056 message = client.messages.create(
1057 model: "claude-sonnet-5-5",
1058 max_tokens: 1024,
1059 messages: [{ role: "user", content: "Hello!" }],
1060 request_options: { middleware: [read_request_ids] }
1061 )
1062 
1063 puts aws_request_id # AWS request ID
1064 puts anthropic_request_id # Anthropic request ID
1065 puts message.content
10301066 ```
10311067</CodeGroup>
10321068 
Feedback