Méthode | Description | |
---|---|---|
FormatUrl ( string url ) : string |
Format URL into s3.amazonaws.com/bucketname regardless of format it comes in with. Not foolproof, but should handle the common cases. FIXME: Will need to revisit.
|
|
GeneratePreSignedUrl ( string bucket, string key, int timeout = 30 ) : string | ||
GenerateS3Client ( string accessKey, string secretKey, string bucketName = null ) : IAmazonS3 | ||
GetBucketFromUrl ( string url ) : string | ||
GetDisplayName ( string fullBlobName ) : string | ||
GetKeyFromUrl ( string url ) : string | ||
MatchHandler ( string url ) : bool |
Méthode | Description | |
---|---|---|
GenerateRegionDict ( ) : Amazon.RegionEndpoint>.Dictionary |
||
GetPrefixFromUrl ( string baseUrl ) : string | ||
S3Helper ( ) : System |
public static FormatUrl ( string url ) : string | ||
url | string | |
Résultat | string |
public static GeneratePreSignedUrl ( string bucket, string key, int timeout = 30 ) : string | ||
bucket | string | |
key | string | |
timeout | int | |
Résultat | string |
public static GenerateS3Client ( string accessKey, string secretKey, string bucketName = null ) : IAmazonS3 | ||
accessKey | string | |
secretKey | string | |
bucketName | string | |
Résultat | IAmazonS3 |
public static GetBucketFromUrl ( string url ) : string | ||
url | string | |
Résultat | string |
public static GetDisplayName ( string fullBlobName ) : string | ||
fullBlobName | string | |
Résultat | string |
public static GetKeyFromUrl ( string url ) : string | ||
url | string | |
Résultat | string |
public static MatchHandler ( string url ) : bool | ||
url | string | |
Résultat | bool |