public SqsSubscriberEndpoint(IAwsConfiguration awsConfiguration) { if (awsConfiguration == null) throw new ArgumentNullException("awsConfiguration"); awsConfiguration.Validate(); this.awsConfiguration = awsConfiguration; }
public SnsPublisherEndpoint(IAwsConfiguration awsConfiguration) { if (awsConfiguration == null) { throw new ArgumentNullException("awsConfiguration"); } awsConfiguration.Validate(); this.awsConfiguration = awsConfiguration; }
protected SqsClient(IAwsConfiguration awsConfiguration) { if (awsConfiguration == null) throw new ArgumentNullException("awsConfiguration"); awsConfiguration.Validate(); try { Client = AWSClientFactory.CreateAmazonSQSClient(awsConfiguration.AccessKey, awsConfiguration.SecretKey); } catch (Exception ex) { throw new MessagingException( "An error occurred while attempting to access SQS. See inner exception for more details.", ex); } }
protected SqsClient(IAwsConfiguration awsConfiguration) { if (awsConfiguration == null) { throw new ArgumentNullException("awsConfiguration"); } awsConfiguration.Validate(); try { Client = AWSClientFactory.CreateAmazonSQSClient(awsConfiguration.AccessKey, awsConfiguration.SecretKey); } catch (Exception ex) { throw new MessagingException( "An error occurred while attempting to access SQS. See inner exception for more details.", ex); } }
public AwsS3StorageClient(IAwsConfiguration awsConfiguration) { awsConfiguration.Validate(); this.awsConfiguration = awsConfiguration; }