Closes #807 Closes #846 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
		
			
				
	
	
	
		
			2.7 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	mc event ls
minio
Table of Contents
mc event list
mc event ls
Syntax
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.
EXAMPLE
The following command lists all configured event notifications for
the specified bucket notification target <minio-bucket-notifications>
for the mydata bucket on the myminio MinIO
deployment:
mc event ls myminio myminio/mydata arn:aws:sqs::primary:targetSYNTAX
The command has the following syntax:
mc [GLOBALFLAGS]mc [GLOBALFLAGS] event remove [FLAGS] ALIAS ARNParameters
ALIAS
Required The S3 service alias <alias> and bucket to which the command
lists event notification. For example:
mc event add play/mybucketARN
Required The Amazon Resource Name (ARN)
<general/latest/gr/aws-arns-and-namespaces> of the bucket
resource.
The MinIO server outputs an ARN for each configured notification
target at server startup. See Bucket Notifications <minio-bucket-notifications>
for more information.
Global Flags
Examples
List Event Notifications on a Bucket
Example
The following command lists all event notification triggers on a bucket.
mc event ls myminio/mydataSyntax
mc event ls ALIAS ARN- Replace - ALIASwith the- alias <alias>of the MinIO deployment on which to add the bucket notification event. For example:- myminio/mydata
- Replace - ARNwith the notification target- ARN <mc event add ARN>.