# NOT RUN {
# This operation updates a Lambda function's code
# }
# NOT RUN {
svc$update_function_code(
FunctionName = "myFunction",
Publish = TRUE,
S3Bucket = "myBucket",
S3Key = "myKey",
S3ObjectVersion = "1",
ZipFile = "fileb://file-path/file.zip"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab