mc event list
The mc event ls command lists all event notification triggers for a bucket.
The alias mc event list has equivalent functionality to mc event ls.
Syntax
The following command lists all configured event notifications for the specified bucket notification target for the mydata bucket on the myaistor MinIO AIStor deployment:
mc event ls myaistor/mydata arn:minio:sqs::primary:targetThe command has the following syntax:
mc [GLOBALFLAGS] event ls ALIAS/BUCKET [ARN]- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
ALIAS/BUCKET
Required
The S3 service alias and the bucket whose event notifications the command lists. For example:
mc event ls myaistor/mybucket ARNARN
Optional
The Amazon Resource Name (ARN) of the bucket resource.
MinIO AIStor outputs an ARN at startup for each configured notification target. See Bucket Notifications for more information.
Global flags
This command supports any of the global flags.
Examples
List event notifications on a bucket
The following command lists all event notification triggers on a bucket.
mc event ls myaistor/mydataBehavior
S3 compatibility
The mc command-line tool is built for compatibility with the AWS S3 API and is tested with MinIO AIStor and AWS S3 for expected functionality and behavior.
MinIO provides no guarantees for other S3-compatible services, as their S3 API implementation is unknown and therefore unsupported.
While mc commands may work as documented, any such usage is at your own risk.