edit-icon download-icon

BindInputBucket

Last Updated: Feb 09, 2018

Description

Binds the library to the input media bucket.

Behavior: After the library is bound to this Bucket, if the user completes the operation such as calling PutObject, a corresponding notification will be triggered and sent to MPS. It can be understood as adding a new trigger-like function on this OSS Bucket so that whenever there is an uploaded or deleted file in this Bucket, MPS will be notified to handle it.

Request parameters

Name Type Required or not Description
Action String Yes Operation interface name, system-defined parameter, value: BindInputBucket
Bucket String Yes Bucket name, no more than 64 bytes

Return parameters

None

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com?Bucket=watermark-zzz&<Public parameters>

Return example

XML

  1. <BindInputBucketResponse>
  2. <RequestId>740DD2EF-5452-4990-970D-5E3D87BFF201</RequestId>
  3. </BindInputBucketResponse>

JSON

  1. {
  2. "RequestId":"740DD2EF-5452-4990-970D-5E3D87BFF201"
  3. }
Thank you! We've received your feedback.