flush_stage_cache

APIGateway.Client.flush_stage_cache(**kwargs)

Flushes a stage's cache.

See also: AWS API Documentation

Request Syntax

response = client.flush_stage_cache(
    restApiId='string',
    stageName='string'
)
Parameters
  • restApiId (string) --

    [REQUIRED]

    The string identifier of the associated RestApi.

  • stageName (string) --

    [REQUIRED]

    The name of the stage to flush its cache.

Returns

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException
  • APIGateway.Client.exceptions.ConflictException
  • APIGateway.Client.exceptions.LimitExceededException
  • APIGateway.Client.exceptions.NotFoundException
  • APIGateway.Client.exceptions.UnauthorizedException
  • APIGateway.Client.exceptions.TooManyRequestsException