# Functions
AddBucketName adds the bucket name to the file to be stored.
DeleteObject deletes a file from S3.
Download downloads a file from AWS, used for encrypted files and testing.
FileExists returns true if the object is stored in S3.
GetDefaultBucketName returns the default bucketname where new files are stored.
Init reads the credentials for AWS.
IsAvailable returns true if valid credentials have been passed.
IsCorsCorrectlySet returns true if CORS rules allow download from Gokapi.
IsValidLogin checks if a valid login was provided.
LogOut resets the credentials.
ServeFile either redirects the user to a pre-signed download url (default) or downloads the file and serves it as a proxy (depending on configuration).
Upload uploads a file to AWS.
# Constants
IsIncludedInBuild is true if Gokapi has been compiled with AWS support or the API is being mocked.
IsMockApi is true if the API is being mocked and therefore can only be used for testing purposes.