From the command line, use update-subscription.
Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. You use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. Use a Trail data type to pass updated bucket or topic names.
- updateTrailRequest (UpdateTrailRequest)
- Container for the necessary parameters to execute the UpdateTrail service method on AmazonCloudTrail.