Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteRepositoryPolicyCommand

Deletes the repository policy associated with the specified repository.

example

Use a bare-bones client and the command you need to make an API call.

import { ECRClient, DeleteRepositoryPolicyCommand } from "@aws-sdk/client-ecr"; // ES Modules import
// const { ECRClient, DeleteRepositoryPolicyCommand } = require("@aws-sdk/client-ecr"); // CommonJS import
const client = new ECRClient(config);
const command = new DeleteRepositoryPolicyCommand(input);
const response = await client.send(command);
see

DeleteRepositoryPolicyCommandInput for command's input shape.

see

DeleteRepositoryPolicyCommandOutput for command's response shape.

see

config for ECRClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteRepositoryPolicyCommandInput

Readonly middlewareStack