2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
I think the reason why UnknownServiceError occurs in Lambda is because the version of boto3 used by Lambda is old.
Please follow the steps in the document below to create the latest boto3 layer and set it in Lambda.
https://repost.aws/knowledge-center/lambda-python-runtime-errors
docker run --entrypoint "" -v "$PWD":/var/task "public.ecr.aws/lambda/python:3.13.2025.08.15.14" /bin/sh -c "mkdir -p /tmp/python && pip3 install boto3 -t /tmp/python && cd /tmp && dnf install -y zip && zip -r /var/task/boto3-mylayer.zip ."
aws lambda publish-layer-version --layer-name boto3-mylayer --zip-file fileb://boto3-mylayer.zip --compatible-runtimes python3.13
aws lambda update-function-configuration --function-name MY_FUNCTION --layers LAYER_ARN
0
Is access to the S3 Vector Bucket Write API (PutVector) currently limited to allowlisted accounts or internal AWS services? If so, is there a way to request access or register for the preview?
answered a year ago
Relevant content
- AWS OFFICIALUpdated 8 months ago
