InvalidParameterException while confirming SNS notification using Java spring cloud aws
Like Bill says, need to configure the region. Here's some sample code:
return AmazonSNSClientBuilder.standard()
.withRegion(Regions.US_WEST_2)
.build();
For more information, see
http://docs.aws.amazon.com/java-sdk/latest/developer-guide/creating-clients.html
This was fixed. Issue was with the region configuration. For Spring aws cloud we have to disable auto detection of region and need to configure the desired one.