MBrace.AWS


S3Utils

Namespace: MBrace.AWS.Runtime.Utilities

Nested types and modules

TypeDescription
S3Path
S3SeekableReadStream
S3WriteStream

Type extensions

Type extensionDescription
CreateBucketIfNotExistsSafe(...)
Signature: (bucketName:string * retryInterval:int option * maxRetries:int option) -> Async<unit>

CreatesIfNotExistAsync that protects from 409 conflict errors with supplied retry policy

CompiledName: IAmazonS3.CreateBucketIfNotExistsSafe

DeleteBucketAsyncSafe(bucketName)
Signature: bucketName:string -> Async<unit>

Asynchronously deletes an S3 bucket even if it may be populated with objects

CompiledName: IAmazonS3.DeleteBucketAsyncSafe

GetObjectSeekableReadStreamAsync(...)
Signature: (bucketName:string * key:string * timeout:TimeSpan option * etag:string option) -> Async<S3SeekableReadStream>

Asynchronously gets a seekable read stream for given uri in S3 storage

CompiledName: IAmazonS3.GetObjectSeekableReadStreamAsync

GetObjectWriteStreamAsync(...)
Signature: (bucketName:string * key:string * timeout:TimeSpan option) -> Async<S3WriteStream>

Asynchronously gets an object write stream for given uri in S3 storage

CompiledName: IAmazonS3.GetObjectWriteStreamAsync

Fork me on GitHub