aws-samples / aws-samples/aws-ai-intelligent-document-processing
Error for Notebook 04-idp-genai-advanced-rag.ipynb
Open
- Dominant language
- Jupyter Notebook
- Stars
- 244
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
Launched via Sagemaker Studio
error occures when the following is executed
aoss_client = boto3.client('opensearchserverless')
security_policy = aoss_client.create_security_policy(
ClientError: An error occurred (AccessDeniedException) when calling the CreateSecurityPolicy operation: User: arn:aws:sts::xxxxxxxxxx:assumed-role/AmazonSageMaker-ExecutionRole-20240711T223604/SageMaker is not authorized to perform: aoss:CreateSecurityPolicy on resource: aoss:collection/idp-workshop because no identity-based policy allows the aoss:CreateSecurityPolicy action
Contributor guide
Assessment
This issue has not been assessed yet.