avoid hard dependency on new version of aws

This commit is contained in:
Joey Hess 2015-09-22 11:03:44 -04:00
parent 26d6566307
commit 20205b6073
4 changed files with 10 additions and 6 deletions

View file

@ -76,7 +76,9 @@ s3InputAForm defcreds = AWSInput
storageclasses :: [(Text, StorageClass)]
storageclasses =
[ ("Standard redundancy", StandardRedundancy)
#if MIN_VERSION_aws(0,13,0)
, ("Infrequent access (cheaper for backups and archives)", StandardInfrequentAccess)
#endif
, ("Reduced redundancy (costs less)", ReducedRedundancy)
]