- Newest
- Most votes
- Most comments
It appears you're encountering a permissions issue when trying to access the model import job in Amazon Bedrock on AWS GovCloud. This could be due to a few reasons:
-
IAM Role Permissions: The IAM role you're using might not have the necessary permissions to perform the GetModelImportJob operation. Ensure that your IAM role has the appropriate permissions for Amazon Bedrock, including actions related to model import jobs.
-
Service Role: The role ARN you provided in the create-model-import-job command might not have the required permissions to perform the import job or to be assumed by the Bedrock service.
-
API Availability: It's possible that the GetModelImportJob API might not be fully available or implemented in the GovCloud region for Bedrock at this time.
To troubleshoot:
-
Double-check the permissions of the IAM role you're using to make the API calls. Ensure it has the necessary Bedrock permissions, including those for creating and viewing model import jobs.
-
Verify that the service role ARN you provided in the create-model-import-job command has the correct permissions and trust relationship to allow Bedrock to assume it.
-
Try using the ListModelImportJobs API instead of GetModelImportJob to see if you can view a list of all import jobs.
-
Check if you can view the job in the Bedrock console under the "Custom models" section and the "Jobs" tab.
-
Ensure that you're using the latest version of the AWS CLI and that it supports the Bedrock operations for GovCloud.
-
Contact AWS Support for GovCloud if the issue persists, as they may have more specific information about the availability and implementation of Bedrock features in the GovCloud environment.
Remember that AWS GovCloud may have some differences in feature availability or implementation compared to standard AWS regions, so some operations might not be fully supported or may require additional configurations.
Sources
View information about model copy jobs - Amazon Bedrock
Service role requirements for knowledge base evaluation jobs - Amazon Bedrock
Relevant content
- asked 6 months ago
- asked 4 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 24 days ago
