AWS bedrock documentation change
Summary
Simplified console instructions and removed detailed API request/response examples for UpdateGuardrail
Security assessment
Changes are editorial improvements and documentation simplification. No security-specific content was added or modified. The removed API examples did not contain security-specific configurations.
Diff
diff --git a/bedrock/latest/userguide/guardrails-edit.md b/bedrock/latest/userguide/guardrails-edit.md index 3502cc479..7fe1fe76d 100644 --- a//bedrock/latest/userguide/guardrails-edit.md +++ b//bedrock/latest/userguide/guardrails-edit.md @@ -18 +18 @@ Console - 3. To modify your guardrail's name, description, cross-Region inference configuration, or model encryption settings, select **Edit** in the **Guardrail Overview** section. When you're done, select **Save and exit**. + 3. To modify your guardrail's details, select **Edit** in the **Guardrail Overview** section. When you're done, select **Save and exit**. @@ -22 +22 @@ Console - 5. To modify what policies your guardrail uses, select **Working Draft** and then **Edit** for each type of policy that you want to configure. When you're done making changes to your guardrail's policies, select **Save and exit**. + 5. To modify the policies that your guardrail uses, select **Working Draft** and then **Edit** for each type of policy that you want to configure. When you're done making changes to your guardrail's policies, select **Save and exit**. @@ -32,54 +32 @@ API -To edit a guardrail, send a [UpdateGuardrail](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html) request. Include both fields that you want to update as well as fields that you want to keep the same. - -The following is the request format: - - - PUT /guardrails/guardrailIdentifier HTTP/1.1 - Content-type: application/json - - { - "blockedInputMessaging": "string", - "blockedOutputsMessaging": "string", - "contentPolicyConfig": { - "filtersConfig": [ - { - "inputStrength": "NONE | LOW | MEDIUM | HIGH", - "outputStrength": "NONE | LOW | MEDIUM | HIGH", - "type": "SEXUAL | VIOLENCE | HATE | INSULTS" - } - ] - }, - "description": "string", - "kmsKeyId": "string", - "name": "string", - "tags": [ - { - "key": "string", - "value": "string" - } - ], - "topicPolicyConfig": { - "topicsConfig": [ - { - "definition": "string", - "examples": [ "string" ], - "name": "string", - "type": "DENY" - } - ] - } - } - -The following is the response format: - - - HTTP/1.1 202 - Content-type: application/json - - { - "guardrailArn": "string", - "guardrailId": "string", - "updatedAt": "string", - "version": "string" - } - +To edit a guardrail, send an [UpdateGuardrail](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_UpdateGuardrail.html) request. Include both fields that you want to update as well as fields that you want to keep the same.