APIGateway / Client / flush_stage_authorizers_cache

flush_stage_authorizers_cache#

APIGateway.Client.flush_stage_authorizers_cache(**kwargs)#

Flushes all authorizer cache entries on a stage.

See also: AWS API Documentation

Request Syntax

response = client.flush_stage_authorizers_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.

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