Tüm Ürünler
Search
Belge Merkezi

:CreateTrigger

Son Güncelleme:Oct 02, 2026

Intelligent Media Management (IMM) içinde veri işlemeyi başlatmak için bir tetikleyici oluşturur. Tetikleyici, Object Storage Service (OSS) gibi olay kaynakları tarafından etkinleştirilir ve görüntüler, videolar ve belgeler gibi medya dosyalarını işlemek için veri işleme şablonlarını kullanır.

Operation description

Object Storage Service kaynağından veri işlemek için bir OSS bucket'ı bağladığınızdan emin olun.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

imm:CreateTrigger

create

*Trigger

acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/trigger/*

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Proje adı. Daha fazla bilgi için Proje oluşturma konusuna bakın.

test-project

Input Input

Yes

Veri kaynağı yapılandırması.

Actions

array<object>

Yes

Veri işleme şablonları listesi.

object

No

Şablon bilgileri.

Name

string

Yes

Şablon adı.

doc/convert

Parameters

array

No

Şablon parametreleri listesi.

string

No

Şablon parametresi.

pages=3

FastFailPolicy FastFailPolicy

No

Hızlı başarısız olma ilkesi yapılandırması.

Notification

object

No

Bildirim alıcısı. Çeşitli mesaj aracıları desteklenir. Mesaj formatı hakkında ayrıntılar için Asenkron bildirim mesajı konusuna bakın. Mesajları almak için aşağıdaki yöntemlerden birini seçin:\n\nGörev bildirimlerini almak için Intelligent Media Management (IMM) ile aynı bölgede EventBridge'i etkinleştirin ve bağlanın. Daha fazla bilgi için IMM olayları konusuna bakın. IMM ile aynı bölgede Message Service (MNS) hizmetini etkinleştirin ve bir abonelik yapılandırın.

MNS MNS

No

MNS bildirimleri için parametre nesnesi.

Tags

object

No

Asenkron görevleri aramak ve filtrelemek için kullanılan özel etiketler.

{"key":"val"}

ServiceRole

string

Yes

Intelligent Media Management (IMM) hizmetine Object Storage Service (OSS) gibi diğer bulut kaynaklarına erişim izni veren hizmet rolü. Varsayılan değer AliyunIMMBatchTriggerRole değeridir.\n\nÖzel bir hizmet rolü kullanmak için Resource Access Management (RAM) konsolunda bir hizmet rolü oluşturun ve role izinler verin. Daha fazla bilgi için Hizmet rolü oluşturma ve RAM rolüne izin verme konularına bakın.

AliyunIMMBatchTriggerRole

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

EC564A9A-BA5C-4499-A087-D9B9E76E*****

Id

string

Veri alım kimliği.

trigger-9f72636a-0f0c-4baf-ae78-38b27b******

Examples

Success response

JSON format

{
  "RequestId": "EC564A9A-BA5C-4499-A087-D9B9E76E*****",
  "Id": "trigger-9f72636a-0f0c-4baf-ae78-38b27b******"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.