Interface S3Service
- All Known Implementing Classes:
S3ServiceImpl
Deprecated.
Service that provides access to AWS S3 to upload files.
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptionuploadFile(String site, String profileId, String filename, InputStream content) Deprecated.Requests the file upload using the specifiedS3Profile.
-
Method Details
-
uploadFile
S3Output uploadFile(String site, String profileId, String filename, InputStream content) throws AwsException, org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException Deprecated.Requests the file upload using the specifiedS3Profile.- Parameters:
site- the siteprofileId- the id of theS3Profileto use.filename- the name of the file to uploadcontent- the file itself- Returns:
- metadata of an AWS S3 upload
- Throws:
AwsException- if an error occursorg.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException- if the profile is not found
-
AwsS3Service