Torch Object Storage
Name | Location | type | Required | Sample value | Note |
notification | Query | String | Yes | - | Special identifier representing the PutBucketNotification request. |
Name | Type | Sample value | Note |
CloudFunctionConfigurations | Array | - | Information on the event notification rule. |
Event | Array | [ "tos:ObjectCreated:Put"] | Types of events that require notification. For a list of types supported by TOS, see Supported event types. Parent node: CloudFunctionConfigurations |
Filter | Container | - | Configured filter rules. Parent node: CloudFunctionConfigurations |
TOSKey | Container | - | Currently supports returning FilterRule, which is the object's filter information. Parent node: Filter |
FilterRules | Array | [ { "Name": "prefix", "Value": "test_" }, { "Name": "suffix", "Value": ".jpg" } ] | filter rules that the object needs to match. Supports prefix and suffix, which filter event objects according to prefix and suffix rules respectively.
parent node: TOSKey |
Name | String | suffix | Conditions to match. The options are as follows:
Parent node: FilterRules |
Value | String | .jpg | prefix and suffix information to match. parent node: FilterRules |
RuleId | String | TestNotification | Name of the event notification rule. Parent node: CloudFunctionConfigurations |
CloudFunction | String | l2u0**** | Function ID for event delivery. Parent node: CloudFunctionConfigurations |