ECR / Client / delete_pull_through_cache_rule
delete_pull_through_cache_rule#
- ECR.Client.delete_pull_through_cache_rule(**kwargs)#
- Deletes a pull through cache rule. - See also: AWS API Documentation - Request Syntax - response = client.delete_pull_through_cache_rule( ecrRepositoryPrefix='string', registryId='string' ) - Parameters:
- ecrRepositoryPrefix (string) – - [REQUIRED] - The Amazon ECR repository prefix associated with the pull through cache rule to delete. 
- registryId (string) – The Amazon Web Services account ID associated with the registry that contains the pull through cache rule. If you do not specify a registry, the default registry is assumed. 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'ecrRepositoryPrefix': 'string', 'upstreamRegistryUrl': 'string', 'createdAt': datetime(2015, 1, 1), 'registryId': 'string' } - Response Structure - (dict) – - ecrRepositoryPrefix (string) – - The Amazon ECR repository prefix associated with the request. 
- upstreamRegistryUrl (string) – - The upstream registry URL associated with the pull through cache rule. 
- createdAt (datetime) – - The timestamp associated with the pull through cache rule. 
- registryId (string) – - The registry ID associated with the request. 
 
 
 - Exceptions - ECR.Client.exceptions.ServerException
- ECR.Client.exceptions.InvalidParameterException
- ECR.Client.exceptions.ValidationException
- ECR.Client.exceptions.PullThroughCacheRuleNotFoundException