CmdID

CmdID / aws / aws apigateway

aws apigateway flush-stage-cache

Flushes a stage's cache. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

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

Examples

from aws-cli, each command read by CmdID

To flush the cache for an API's stage

The following flush-stage-cache example flushes the cache of a stage.

aws apigateway flush-stage-cache --rest-api-id 1234123412 --stage-name devIdentify
--rest-api-idThe string identifier of the associated RestApi.
--stage-nameThe name of the stage to flush its cache.

This command produces no output.

For more information, see Cache settings for REST APIs in API Gateway in the Amazon API Gateway Developer Guide.

Options

2 in the AWS CLI reference
--rest-api-idThe string identifier of the associated RestApi.
--stage-nameThe name of the stage to flush its cache.