class AwsClientFactory {

    @Cacheable(DaoSpringModuleConfig.HERD_CACHE_NAME)
    public AmazonSQS getAmazonSQSClient(AwsParamsDto awsParamsDto)
    {
        // Construct and return a new client to invoke service methods on Amazon SQS using default credentials provider chain.
        return AmazonSQSClientBuilder.standard().withClientConfiguration(awsHelper.getClientConfiguration(awsParamsDto))
            .withRegion(awsParamsDto.getAwsRegionName()).build();
    }

}