I am working with a serverless project and I have only the access to aws cli, so I want to get the trigger information of a function such as event and since I am using a sns topic to trigger the function, I want to get the topic infomation and arn, I tried diffrent options, such as,
list-event-source-mapping - which returns a empty array
get-function: which doesn't hold that value
Do I have means to get the trigger information of a function with aws cli?
get-event-source-mappings?awsCLI simply has a blank spot there and all the docs I could find are about using the AWS Console to configure triggers in selected source types, e.g. CloudFront, Code Commit. Brickwall for my current approach 😡