How to create a Base64 Video String for AWS.S3

What part of the AWS JavaScript SDK documentation gave you this impression?