Safe Haskell | None |
---|---|
Language | Haskell98 |
Mismi.S3.Data
- data PartResponse = PartResponse !Int !ETag
- data WriteMode :: *
- data SyncMode :: *
- newtype Bucket :: * = Bucket {}
- data Address :: * = Address {}
- newtype Key :: * = Key {}
- newtype ReadGrant :: * = ReadGrant {}
- data Upload
- data S3Error
- = SourceMissing ErrorType Address
- | SourceFileMissing FilePath
- | DestinationAlreadyExists Address
- | DestinationDoesNotExist Address
- | DestinationFileExists FilePath
- | DestinationNotDirectory FilePath
- | DestinationMissing FilePath
- | SourceNotDirectory FilePath
- | AccessDenied Address
- | Invariant Text
- | Target Address Address
- | MissingETag
- data ErrorType
- data DownloadError
- data ConcatError
- data CopyError
- data UploadError
- newtype SyncError = SyncError (RunError SyncWorkerError)
- data SyncWorkerError
- data WriteResult :: *
- (//) :: Key -> Key -> Key
- combineKey :: Key -> Key -> Key
- dirname :: Key -> Key
- foldWriteMode :: a -> a -> WriteMode -> a
- foldSyncMode :: a -> a -> a -> SyncMode -> a
- basename :: Key -> Maybe Text
- addressFromText :: Text -> Maybe Address
- addressToText :: Address -> Text
- removeCommonPrefix :: Address -> Address -> Maybe Key
- withKey :: (Key -> Key) -> Address -> Address
- s3Parser :: Parser Address
- s3ErrorRender :: S3Error -> Text
- renderDownloadError :: DownloadError -> Text
- renderConcatError :: ConcatError -> Text
- renderCopyError :: CopyError -> Text
- renderUploadError :: UploadError -> Text
- renderSyncError :: SyncError -> Text
- renderSyncWorkerError :: SyncWorkerError -> Text
- sse :: ServerSideEncryption
Documentation
Describes the semantics for destructive operation that may result in overwritten files.
Constructors
UploadSingle | |
UploadMultipart Integer Integer |
Constructors
Constructors
DownloadError | |
CopyError' |
data DownloadError Source #
Constructors
DownloadSourceMissing Address | |
DownloadDestinationExists FilePath | |
DownloadDestinationNotDirectory FilePath | |
DownloadInvariant Address Address | |
MultipartError (RunError Error) |
Instances
data ConcatError Source #
Constructors
ConcatSourceMissing Address | |
ConcatDestinationExists Address | |
ConcatCopyError (RunError Error) | |
NoInputFiles | |
NoInputFilesWithData | |
ConcatSourceTooSmall Address Int |
Instances
data UploadError Source #
Constructors
UploadSourceMissing FilePath | |
UploadDestinationExists Address | |
UploadSourceNotDirectory FilePath | |
MultipartUploadError (RunError Error) |
Instances
data SyncWorkerError Source #
Constructors
SyncInvariant Address Address | |
OutputExists Address | |
SyncAws Error | |
SyncCopyError CopyError |
combineKey :: Key -> Key -> Key #
foldWriteMode :: a -> a -> WriteMode -> a #
foldSyncMode :: a -> a -> a -> SyncMode -> a #
addressFromText :: Text -> Maybe Address #
s3ErrorRender :: S3Error -> Text Source #
renderConcatError :: ConcatError -> Text Source #
renderCopyError :: CopyError -> Text Source #
renderUploadError :: UploadError -> Text Source #
renderSyncError :: SyncError -> Text Source #