Working with AWS API{Message Forbidden}

0

I have done the following : 1.Added invoke Function "Addpermission"API with the following command.

aws lambda add-permission --function-name FunctionName --principal iot.amazonaws.com --source-arn AuthorizerARn --statement-id Id-123 --action "lambda:InvokeFunction"

2.Verify Authorizer Response with the command aws iot test-invoke-authorizer --authorizer-name NAME_OF_AUTHORIZER --token TOKEN_VALUE

In AWS CLI. gives the following error: aws: error: argument operation: Invalid choice, valid choices are:

And Postman API is still giving {message Forbidden} :( Note:TOKEN_VALUE is up to date

1 Risposta
0

Make sure of below:

profile picture
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande