Data retention - Amazon Bedrock (https://docs.aws.amazon.com/bedrock/latest/userguide/data-retention.html) citeturn151view0 [wordlim: 200] Crawled: today; Content type: text/html; Source: open({"ref_id":"turn150view0","lineno":208}); Total lines: 299 L187: ###### Mixed-model projects L188: L189: Setting a project to `aws_review` does not mean all model traffic in that project is retained for review. Each model's `allowed_modes` determines what actually happens to your data: L190: L191: * A model whose `allowed_modes` is `["aws_review", "provider_data_share"]` (for example, Claude Fable 5)—human review is required, so data is retained within the AWS boundary and may be reviewed by AWS on any request. It is not shared with the model provider. L192: * A model whose `allowed_modes` is `["none", "default", "aws_review", "provider_data_share"]` (for example, Claude Opus 4.8)—the model permits `none`, so data is not retained whatever mode you set. A more permissive account or project setting does not cause its content to be retained, reviewed, or shared. L193: ## Zero data retention (ZDR) access L194: L195: Some models require data retention for safety and abuse-prevention purposes. If your organization requires zero data retention for compliance reasons and you need access to these models, contact your AWS account manager to discuss eligibility. ZDR access is evaluated on a per-account, per-model basis in coordination with the model provider. L196: L197: Accounts approved for ZDR on a specific model will see `"none"` included in that model's `allowed_modes`. L198: ###### Anthropic Claude models L199: L200: ZDR for Claude models that require data retention is granted to customers who are eligible for the Enterprise Frontier Safeguards program. To find out whether you're eligible, contact your AWS account team or AWS Support. For more information, see 【13†Model-specific abuse detection】. L201: ## Enforcing retention policy with IAM L202: L203: You can enforce a data retention policy across your organization using IAM policies or Service Control Policies (SCPs). The write actions publish a `bedrock-mantle:DataRetentionMode` condition key that lets you restrict which modes can be set. L204: Example SCP — require zero data retention across the organization: L205: L206: `{ L207: "Effect": "Deny", L208: "Action": [ L209: "bedrock-mantle:PutAccountDataRetention", L210: "bedrock-mantle:CreateProject", L211: "bedrock-mantle:UpdateProject" L212: ], L213: "Resource": "*", L214: "Condition": { L215: "StringNotEquals": { L216: "bedrock-mantle:DataRetentionMode": "none" L217: } L218: } L219: }` L220: Bedrock Control Plane: L221: L222: `{ L223: "Effect": "Deny", L224: "Action": [ L225: "bedrock:PutAccountDataRetention" L226: ], L227: "Resource": "*", L228: "Condition": { L229: "StringNotEquals": { L230: "bedrock:DataRetentionMode": "none" L231: } L232: } L233: }` L234: L235: This prevents anyone in the organization from setting data retention to anything other than `none`, ensuring no inference data is ever retained. L236: Example SCP — permit AWS retention but not human review: L237: L238: `{ L239: "Effect": "Deny", L240: "Action": [ L241: "bedrock-mantle:PutAccountDataRetention", L242: "bedrock-mantle:CreateProject", L243: "bedrock-mantle:UpdateProject" L244: ], L245: "Resource": "*", L246: "Condition": { L247: "ForAnyValue:StringEquals": { L248: "bedrock-mantle:DataRetentionMode": [ L249: "aws_review", L250: "provider_data_share" L251: ] L252: } L253: } L254: }` L255: Use this when your organization accepts retention for abuse detection but cannot permit human review of its content. Models that require human review will appear as `status: "unavailable"` on the bedrock-mantle endpoint, and requests to them on the bedrock-runtime endpoint will fail with a `ValidationException` error. L256: ## What data is retained and for how long L257: L258: For models requiring `aws_review` (currently Claude Fable 5, Claude Fable 5.1, and Claude Fable 5.2): user prompts and completions are retained within the AWS boundary for up to 30 days and may be reviewed by AWS to meet the human review requirement the model provider imposes as a condition of access. Your content is not shared with the model provider. L259: For the legacy `provider_data_share` mode: Amazon Bedrock does not share your content with model providers today, so this mode results in the same handling as `aws_review` — retained within the AWS boundary for up to 30 days, and reviewed by AWS only where the model requires it. L260: For models under `default` mode: data may be retained for abuse detection purposes — see 【11†Amazon Bedrock abuse detection】 for required retention details. For retention beyond abuse detection (for example, Responses API with `store=true`), consult the model's documentation and terms. L261: L262: If cross-region inference is enabled for these models, retained inputs and outputs are stored in destination Regions (that is, the Region where your inference request is processed). L263: See 【14†Anthropic Terms of Service†aws.amazon.com】 for model-specific data handling details. L264: ## IAM actions reference L265: L266: Route | IAM action L267: --- | --- L268: `GET /v1/models` | `bedrock-mantle:ListModels` L269: `GET /v1/models/{model}` | `bedrock-mantle:GetModel` L270: `GET /v1/data_retention` | `bedrock-mantle:GetAccountDataRetention` L271: `PUT /v1/data_retention` | `bedrock-mantle:PutAccountDataRetention` L272: `GET /v1/organization/projects/{project_id}` | `bedrock-mantle:GetProject` L273: `POST /v1/organization/projects/{project_id}` | `bedrock-mantle:UpdateProject` L274: Route | IAM action L275: --- | --- L276: `GET /data-retention` | `bedrock:GetAccountDataRetention` L277: `PUT /data-retention` | `bedrock:PutAccountDataRetention` L278: L279: 【15†Image: Warning†d1ge0kk1l5kms0.cloudfront.net】 Javascript is disabled or is unavailable in your browser. L280: L281: To use the Amazon Web Services Documentation, Javascript must be enabled. Please refer to your browser's Help pages for instructions. L282: L283: 【16†Document Conventions】 L284: L285: (Example) Restrict data access to your S3 data L286: L287: Identity and access management