HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/cloudtrail/update-trail.rst
**To update a trail**

The following ``update-trail`` command updates a trail to use an existing bucket for log delivery::

  aws cloudtrail update-trail --name Trail1 --s3-bucket-name my-bucket

Output::

  {
    "IncludeGlobalServiceEvents": true, 
    "Name": "Trail1", 
    "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", 
    "LogFileValidationEnabled": false, 
    "IsMultiRegionTrail": true, 
    "S3BucketName": "my-bucket"
  }