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.ThrottlingExceptionAmplifyGen3.Client.exceptions.AccessDeniedExceptionAmplifyGen3.Client.exceptions.ResourceNotFoundExceptionAmplifyGen3.Client.exceptions.ValidationExceptionAmplifyGen3.Client.exceptions.InternalServerException