CmdID

CmdID / aws / aws apigateway

aws apigateway test-invoke-authorizer

Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body. AWS CLI reference

8 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

8 in the AWS CLI reference
--additional-contextA key-value map of additional context variables.
--authorizer-idSpecifies a test invoke authorizer request's Authorizer ID.
--bodyThe simulated request body of an incoming invocation request.
--headersA key-value map of headers to simulate an incoming invocation request.
--multi-value-headersThe headers as a map from string to list of values to simulate an incoming invocation request.
--path-with-query-stringThe URI path, including query string, of the simulated invocation request.
--rest-api-idThe string identifier of the associated RestApi.
--stage-variablesA key-value map of stage variables to simulate an invocation on a deployed Stage.