All Products
Search
Document Center

Resource Management:UpdateMultiAccountDeliveryChannel

Last Updated:Aug 14, 2026

Updates a cross-account resource delivery channel.

Operation description

Resource delivery supports scheduled resource snapshot delivery and resource configuration change delivery.

Two delivery scenarios are supported for scheduled resource snapshot delivery:

  • Standard scheduled resource snapshot delivery: When the ResourceSnapshotDelivery.CustomExpression parameter is empty, standard scheduled resource snapshot delivery is used.

  • Custom scheduled resource snapshot delivery: When the ResourceSnapshotDelivery.CustomExpression parameter is not empty, custom scheduled resource snapshot delivery is used.

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

resourcecenter:UpdateMultiAccountDeliveryChannel

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

DeliveryChannelId

string

Yes

The delivery channel ID.

dc-4m6ffpkgu***

DeliveryChannelName

string

No

The delivery channel name.

test-multi-account-delivery-channel

DeliveryChannelDescription

string

No

The delivery channel description.

This is a description.

ResourceSnapshotDelivery

object

No

The scheduled resource snapshot delivery configuration.

DeliveryTime

string

No

The delivery time. The value is in UTC and uses the HH:mmZ format. Example: 09:00Z.

09:00Z

Enabled

string

No

Specifies whether to enable scheduled resource snapshot delivery. Valid values:

  • true: Enabled.

  • false: Disabled.

true

TargetArn

string

No

The ARN of the delivery target. Valid values:

  • If TargetType is set to OSS, set TargetArn to the ARN of an OSS bucket whose name starts with resourcecenter-. Example: acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss.

  • If TargetType is set to SLS, set TargetArn to the ARN of a Logstore whose name starts with resourcecenter-. Example: acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls.

acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss

TargetType

string

No

The delivery target type. Valid values:

  • For standard scheduled resource snapshot delivery, only OSS can be specified.

  • For custom scheduled resource snapshot delivery, OSS or SLS can be specified.

Valid values:

  • SLS :

    SLS

  • OSS :

    OSS

OSS

CustomExpression

string

No

The custom expression.

select * from resources limit 100;

SlsProperties

object

No

The Simple Log Service configuration.

OversizedDataOssTargetArn

string

No

The ARN of the delivery target for oversized files.

When the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS file. Set this parameter to the ARN of an OSS bucket whose name starts with resourcecenter-.

Note

This parameter takes effect only when you create a custom scheduled resource snapshot delivery. You do not need to specify this parameter when you create a standard scheduled resource snapshot delivery.

acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss

ResourceChangeDelivery

object

No

The resource configuration change delivery configuration.

Enabled

string

No

Specifies whether to enable resource configuration change delivery. Valid values:

  • true: Enabled.

  • false: Disabled.

true

SlsProperties

object

No

The Simple Log Service configuration.

OversizedDataOssTargetArn

string

No

The ARN of the delivery target for oversized files.

When the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS file. Set this parameter to the ARN of an OSS bucket whose name starts with resourcecenter-.

acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss

TargetArn

string

No

The ARN of the delivery target. Valid values:

  • If TargetType is set to OSS, set TargetArn to the ARN of an OSS bucket whose name starts with resourcecenter-.

  • If TargetType is set to SLS, set TargetArn to the ARN of a Logstore whose name starts with resourcecenter-.

acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls

TargetType

string

No

The delivery target type.

Valid values: SLS.

Valid values:

  • SLS :

    SLS

SLS

DeliveryChannelFilter

object

No

The scope of the delivery channel.

AccountScopes

array

No

The list of account scopes for delivery.

string

No

The account scope for delivery. Valid values:

  • Resource directory ID: delivers resources from the management account and all member accounts.

  • Root folder ID: delivers resources from all member accounts in the Root folder and its subfolders.

  • Folder ID: delivers resources from all member accounts in the specified folder.

  • Member account ID: delivers resources from the specified member account.

For information about how to obtain the resource directory ID, Root folder ID, folder ID, and member account ID, see GetResourceDirectory, ListFoldersForParent, and ListAccounts.

rd-r4****

ResourceTypes

array

No

The list of resource types for delivery.

string

No

The resource type for delivery. For more information, see Cloud services and resource types supported by Resource Center.

To deliver all resource types supported by Resource Center, set this parameter to ALL.

ACS::VPC::VPC

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID.

36A3D9BE-B607-5993-B546-7E19EF65D***

Examples

Success response

JSON format

{
  "RequestId": "36A3D9BE-B607-5993-B546-7E19EF65D***"
}

Error codes

HTTP status code

Error code

Error message

Description

403 NoPermission.AccountScope The operator is not permitted for this account scope. The operator is not permitted for this account scope.
403 NoPermission.ResourceDirectory.MemberAccount ResourceDirectory Member Account is not authorized to perform this operation. You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation.
404 NotExists.DeliveryChannelId The DeliveryChannelId does not exist. The DeliveryChannelId does not exist.
404 MissingParameter.DeliveryName The specified parameter DeliveryName is missing.
404 MissingParameter.OverSizedDataOssTargetArn The specified parameter OverSizedDataOssTargetArn is missing.
404 MissingParameter.DeliveryFilter.AccountScopes The specified parameter DeliveryFilter.AccountScopes is missing.
404 MissingParameter.ResourceSnapshotDelivery.DeliveryTime The specified parameter ResourceSnapshotDelivery.DeliveryTime is missing.
404 MissingParameter.ResourceSnapshotDelivery.TargetArn The specified parameter ResourceSnapshotDelivery.TargetArn is missing.
404 MissingParameter.ResourceSnapshotDelivery.TargetType The specified parameter ResourceSnapshotDelivery.TargetType is missing.
404 MissingParameter.ResourceChangeDelivery.TargetArn The specified parameter ResourceChangeDelivery.TargetArn is missing.
404 MissingParameter.ResourceChangeDelivery.TargetType The specified parameter ResourceChangeDelivery.TargetType is missing.
404 MissingParameter.ResourceSnapshotDelivery.CustomExpression The specified parameter ResourceSnapshotDelivery.CustomExpression is missing.
409 InvalidParameter.DeliveryChannelId The specified parameter DeliveryChannelId is not valid.
409 AlreadyExists.DeliveryName The DeliveryName Name already exists. The delivery name already exists.
409 InvalidParameter.DeliveryDescription The specified parameter DeliveryDescription is not valid.
409 InvalidParameter.OverSizedDataOssTargetArn The specified parameter OverSizedDataOssTargetArn is not valid.
409 InvalidParameter.DeliveryFilter.AccountScopes The specified parameter DeliveryFilter.AccountScopes is not valid. The specified parameter DeliveryFilter.AccountScopes is not valid.
409 InvalidParameter.DeliveryFilter.ResourceTypes The specified parameter DeliveryFilter.ResourceTypes is not valid.
409 InvalidParameter.ResourceSnapshotDelivery.TargetArn The specified parameter ResourceSnapshotDelivery.TargetArn is not valid.
409 InvalidParameter.ResourceSnapshotDelivery.DeliveryTime The specified parameter ResourceSnapshotDelivery.DeliveryTime is not valid.
409 InvalidParameter.ResourceSnapshotDelivery.TargetType The specified parameter ResourceSnapshotDelivery.TargetType is not valid.
409 InvalidParameter.ResourceChangeDelivery.TargetArn The specified parameter ResourceChangeDelivery.TargetArn is not valid.
409 InvalidParameter.ResourceChangeDelivery.TargetType The specified parameter ResourceChangeDelivery.TargetType is not valid.
409 InvalidParameter.CustomExpression Error: %s.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.