This is the IcsS3 common library. |
ICS Library for S3
Add a rule to this Lifecycle configuration. This only adds the rule to the local copy. To install the new rule(s) on the bucket, you need to pass this Lifecycle config object to the configure_lifecycle method of the Bucket object.
Parameters: |
|
---|---|
Iparam prefix: | Prefix identifying one or more objects to which the rule applies. |
Batch download files from S3 (only for current folder)
Parameters: | |
---|---|
Return type: | list |
Returns: | a list containing dowloaded file path |
Parameters: | |
---|---|
Return type: | list |
Returns: | a list of results |
Creates a new located bucket. By default it’s in the USA.
Parameters: |
---|
Download a file from S3
Parameters: | |
---|---|
Return type: | string |
Returns: | a string containing dowloaded file name |
Get a file as string from S3
Parameters: | url (str) – File URL in S3, like s3://bucket/path |
---|---|
Return type: | string |
Returns: | a string containing dowloaded file content |