You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
I'm trying to make a script that can automatically update at lambda or a layer using these methods. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#Lambda.Client.update_function_code and https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html#Lambda.Client.publish_layer_version. Specifically I'm trying upload the zip file I created with the ZipFile python module. However I'm failing to do so since boto requires the contents of the zip file be in bytes and the python Zip[File module doesn't allow 'wb' as a write mode nor can I convert the zip file to bytes with the encode method like you can with a string.
The text was updated successfully, but these errors were encountered: