Exemple #1
0
 // All {} and %% in the Attribute have been resolved by now.
 private PutObjectRequest BuildItemFromAttr(S3TextFileAttribute attribute)
 {
     return(new PutObjectRequest
     {
         Key = attribute.FileName,
         BucketName = attribute.BucketName,
         ContentBody = attribute.FileContents
     });
 }
Exemple #2
0
 private IAsyncCollector <PutObjectRequest> BuildCollector(S3TextFileAttribute attribute)
 {
     return(new S3TextFileAsyncCollector(attribute.SecureKeyId, attribute.SecureKeyValue));
 }