private AmazonS3Client CreateS3Client(AWSAccessOptions accessOptions) { return(new AmazonS3Client( accessOptions.AWSAccessKeyId, accessOptions.AWSSecretAccessKey, AWSRegionEndpoints.GetEndpointByRegionName(accessOptions.AWSRegionName))); }
private AmazonSimpleNotificationServiceClient CreateSNSClient(AWSAccessOptions accessOptions) => new AmazonSimpleNotificationServiceClient( accessOptions.AWSAccessKeyId, accessOptions.AWSSecretAccessKey, AWSRegionEndpoints.GetEndpointByRegionName(accessOptions.AWSRegionName));