Skip to content
Advertisement

Tag: amazon-web-services

AWS SDK for java 1.7

I am trying to access a aws webservice here I have lambda expression, but my project is in java 7, So I want to convert this code to normal method. Answer A lambda expression can be translated into either an anonymous class or a named class. In your example, you need a class that implements the interface: If we look

Get Maven Version in an AWS Lambda

I am developing an AWS Lambdas using java. It would be very useful if, in the lambda, there was a way to log the maven version of the lambda in the log file so we can track what versions of lambdas are running in different environments. Normally this could be done pretty easily using the code below: Unfortunately it always

Spring Boot Fails while maven test …jdk8 and aws-sdk-bom 1.11

This is my pom.xml 4.0.0 org.springframework.boot spring-boot-starter-parent 2.1.6.RELEASE com.dummy lattt 0.0.1-SNAPSHOT war lattt lattt I have 2 junit test and these are failing repeatedly 1.Installed and Using jdk 8 2.But aws-sdk-bom runs with 1.11.618 and downloads&executes test with 1.11.618 3.And throws the error Test file How to execute the mvn test with errors Authentication Provider ->Yes Answer “Could not find

AWS Transcript: file to text returns nonsense

This is a follow-on question to AWS Transcribe S3 .wav file to text. I use a stream to read and send a .wav file contents to AWS. Instead of getting back the correct transcript, I get nonsense like a bunch of “Yeah.” statements. It looks like AWS isn’t able to interpret the byte stream correctly, but I’m not sure what’s

AWS Transcribe S3 .wav file to text

I am trying to use aws Transcribe to convert a wav file to text. I have uploaded a wav file to S3, which is located here and it has public read/write permissions: https://s3.us-east-1.amazonaws.com/csld8xmsdksdf8s9sk3mmdjsdifkjksdijsldk/Transcribe2.wav. The wav file is valid. I can download it in my browser and replay it (and it sounds like the origin recording), so I think we can

AWS Exception “Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4” even after set the v4 signature

I have below code to connect to AWS S3. However, I got an error I googled online, and the suggestion is to set the signature to version 4, which I did already. Any thoughts? Note my aws jdk is pretty dated as I cannot upgrade it due to some other libs conflicts. Answer Setting AWS SDK client configuration to V4

Advertisement