flush_api_cache

AppSync.Client.flush_api_cache(**kwargs)

Flushes an ApiCache object.

See also: AWS API Documentation

Request Syntax

response = client.flush_api_cache(
    apiId='string'
)
Parameters
apiId (string) --

[REQUIRED]

The API ID.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

    Represents the output of a FlushApiCache operation.

Exceptions

  • AppSync.Client.exceptions.BadRequestException
  • AppSync.Client.exceptions.ConcurrentModificationException
  • AppSync.Client.exceptions.NotFoundException
  • AppSync.Client.exceptions.UnauthorizedException
  • AppSync.Client.exceptions.InternalFailureException