{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-get-resource-policy-request-schema.json",
  "title": "GetResourcePolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-secrets-manager-resource-policy-api-openapi.yml#/components/schemas/GetResourcePolicyRequest",
  "type": "object",
  "properties": {
    "SecretId": {
      "type": "string",
      "description": "The ARN or name of the secret to retrieve the attached resource-based policy for. For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN."
    }
  },
  "required": [
    "SecretId"
  ]
}