Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 274

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**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"
  }