`val cred: AWSCredentials = BasicAWSCredentials(accessKey, secretKey)`
gives me complaint of : Required: AWSCredentiasl Found: BasicAWSCredentials
yet when I look at the source code: (from goto implementation → decompiled *.class file)
``
`public class BasicAWSCredentials implements AWSCredentials {
and when lookina5t at the docs:
https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/BasicAWSCredentials.html
what am I doing wrong? How do I begin to debug this?