Summary
rc has no command for managing bucket event notification subscriptions. There is no way to configure which buckets send notifications to which targets using the CLI.
Motivation
Bucket event notification rules are stored as per-bucket metadata and must be set via the S3 PutBucketNotificationConfiguration API. There is no config file or environment variable alternative. Without a CLI command, users must call the S3 API directly to manage notification rules.
Proposed solution
Add an event subcommand with three actions:
rc event add <alias/bucket> <arn> [--event <filter>]
rc event list <alias/bucket>
rc event remove <alias/bucket> <arn>
This maps directly to GetBucketNotificationConfiguration and PutBucketNotificationConfiguration in the AWS S3 SDK, which is already a dependency.
A PR with a working implementation is forthcoming.