How to get the enable / disable of the trigger set in lambda with boto3.

0

Hi,I want someone to tell me.
How to get the enable / disable of the trigger set in lambda with boto3.

For example,

  1. The s3 event set for lambda has been disabled.
  2. did get_policy ().
  3. The value of "action" of the returned json was "lambda: InvokeFunction".
    Why not "lambda: DisableInvokeFunction"?
    Or isn't it "action"?
    Or can't get it with get_policy ()?

How can I get it?

asked 4 years ago1996 views
2 Answers
0

Hi ,
Please refer this link :
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda.html
The above link has the info on how to create / delete trigger set in lambda , listed out all the possible methods supported by lambda.

Thanks,
UchihaMadara

Madara
answered 4 years ago
0

Hi,UchihaMadara,Thank you for the information:-)

I know that lambda operation by boto3 is written in that url.
And I tried all getxxx and listxxx methods that seem to be related.
However, no useful results have been obtained....

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions