edit-icon download-icon

StartLogging

Last Updated: Mar 21, 2018

Description

Enables a trail.

Request parameters

Name Type Required Description
Action String Yes The parameter of the operation to perform: StartLogging.
Name String Yes The name of the trail to be enabled.

Response parameters

Null.

Required permissions

Action

actiontrail:StartLogging

Resource

acs:actiontrail:${region}:${AccountId}:*

Error codes

Error code Description HTTP status code
InvalidBucketNameException Invalid bucket name. 400
TrailNotFoundException The specified trail does not exist. 404

Example

Request example

  1. http://actiontrail.cn-hangzhou.aliyuncs.com/actiontrail?
  2. &Name=trail-test
  3. &Action=StartLogging
  4. &<公共请求参数>
Thank you! We've received your feedback.