Jump to Content

Class DeletePullThroughCacheRuleCommandProtected

Deletes a pull through cache rule.

Example

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 import
const client = new ECRClient(config);
const command = new DeletePullThroughCacheRuleCommand(input);
const response = await client.send(command);

Param

DeletePullThroughCacheRuleCommandInput

Returns

DeletePullThroughCacheRuleCommandOutput

See

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.

Hierarchy

Constructors

Properties

Methods