AmplifyGen3 / Client / reset_cache

reset_cache

AmplifyGen3.Client.reset_cache(**kwargs)

Removes cached content for a deployment of an environment by cache tag.

See also: AWS API Documentation

Request Syntax

response = client.reset_cache(
    AppName='string',
    EnvironmentName='string',
    DeploymentId='string',
    CacheTags=[
        'string',
    ]
)
Parameters:
  • AppName (string) –

    [REQUIRED]

    The name of the app.

  • EnvironmentName (string) –

    [REQUIRED]

    The name of the environment.

  • DeploymentId (string) –

    [REQUIRED]

    The ID of the deployment.

  • CacheTags (list) –

    [REQUIRED]

    The cache tags that identify the content to remove.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AmplifyGen3.Client.exceptions.ThrottlingException

  • AmplifyGen3.Client.exceptions.AccessDeniedException

  • AmplifyGen3.Client.exceptions.ResourceNotFoundException

  • AmplifyGen3.Client.exceptions.ValidationException

  • AmplifyGen3.Client.exceptions.InternalServerException