I'm getting errors across my whole aws mainly permission related but when I check my policies are attached as instructed in the AWS docs. i want to deploy to Deeplens 2019 edition camera but nothing seems to work here is the lambda error when i run test.
Response
{
"errorMessage": "An error occurred (InvalidS3ObjectException) when calling the DetectLabels operation: Unable to get object metadata from S3. Check object key, region and/or access permissions.",
"errorType": "InvalidS3ObjectException",
"stackTrace": [
" File \"/var/task/greengrassHelloWorld.py\", line 35, in lambda_handler\n response = rekognition.detect_labels(Image=image, MaxLabels=123, MinConfidence=50)\n",
" File \"/var/runtime/botocore/client.py\", line 357, in _api_call\n return self._make_api_call(operation_name, kwargs)\n",
" File \"/var/runtime/botocore/client.py\", line 676, in _make_api_call\n raise error_class(parsed_response, operation_name)\n"
]
}
i have done most of the suggested fixes including region settings and policies
AccessDenied