GroovyRuntimeException:无法读取只写属性

时间:2019-02-05 06:36:16

标签: java amazon-web-services groovy aws-sdk aws-sdk-java-2.0

使用此代码段

RewriteRule ^/api/(.*)$ /apicall/callQAapi.php?request=$1 [L,QSA,NC]

我收到了一个相当隐秘的错误消息:

import software.amazon.awssdk.auth.credentials.AwsBasicCredentials
import software.amazon.awssdk.regions.Region
import software.amazon.awssdk.services.dynamodb.DynamoDbClient

DynamoDbClient dynamoDB = DynamoDbClient.builder()
    .region(Region.US_EAST_1)
    .credentialsProvider(AwsBasicCredentials.create(KEY, SECRET_KEY))
    .build()

关于我应该寻找什么的任何提示?

0 个答案:

没有答案