Protected
Deletes a pull through cache rule.
Use a bare-bones client and the command you need to make an API call.
import { ECRClient, DeletePullThroughCacheRuleCommand } from "@aws-sdk/client-ecr"; // ES Modules import// const { ECRClient, DeletePullThroughCacheRuleCommand } = require("@aws-sdk/client-ecr"); // CommonJS importconst client = new ECRClient(config);const command = new DeletePullThroughCacheRuleCommand(input);const response = await client.send(command);
DeletePullThroughCacheRuleCommandInput
DeletePullThroughCacheRuleCommandOutput
input
response
config
InvalidParameterException (client fault)
The specified parameter is invalid. Review the available parameters for the API request.
PullThroughCacheRuleNotFoundException (client fault)
The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
ServerException (server fault)
These errors are usually caused by a server-side issue.
ValidationException (client fault)
There was an exception validating this request.
Readonly
Static
Deletes a pull through cache rule.
Example
Use a bare-bones client and the command you need to make an API call.
Param
DeletePullThroughCacheRuleCommandInput
Returns
DeletePullThroughCacheRuleCommandOutput
See
input
shape.response
shape.config
shape.Throws
InvalidParameterException (client fault)
The specified parameter is invalid. Review the available parameters for the API request.
Throws
PullThroughCacheRuleNotFoundException (client fault)
The pull through cache rule was not found. Specify a valid pull through cache rule and try again.
Throws
ServerException (server fault)
These errors are usually caused by a server-side issue.
Throws
ValidationException (client fault)
There was an exception validating this request.