public UpdateItemHandler(DynamoDbConfiguration configuration, IAwsClientFactory <AmazonDynamoDBClient> clientFactory) { var dynamoClient = clientFactory.GetAwsClient(); _table = Table.LoadTable(dynamoClient, configuration.TableName); }
public NoteDynamoRepository(DynamoDbConfiguration configuration, IAwsClientFactory <AmazonDynamoDBClient> clientFactory) { _client = clientFactory.GetAwsClient(); _configuration = new DynamoDBOperationConfig { OverrideTableName = $"{Environment.GetEnvironmentVariable("stage")}-notes", SkipVersionCheck = true }; }
public ItemDynamoRepository(DynamoDbConfiguration configuration, IAwsClientFactory <AmazonDynamoDBClient> clientFactory) { _client = clientFactory.GetAwsClient(); _configuration = new DynamoDBOperationConfig { OverrideTableName = configuration.TableName, SkipVersionCheck = true }; }
public BillingHandler(IAwsClientFactory <AmazonSimpleSystemsManagementClient> clientFactory) { _client = clientFactory.GetAwsClient(); }