DeletePrivacyBudgetTemplateCommand

Deletes a privacy budget template for a specified membership.

Example Syntax

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

import { CleanRoomsClient, DeletePrivacyBudgetTemplateCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
// const { CleanRoomsClient, DeletePrivacyBudgetTemplateCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
const client = new CleanRoomsClient(config);
const input = { // DeletePrivacyBudgetTemplateInput
  membershipIdentifier: "STRING_VALUE", // required
  privacyBudgetTemplateIdentifier: "STRING_VALUE", // required
};
const command = new DeletePrivacyBudgetTemplateCommand(input);
const response = await client.send(command);
// {};

DeletePrivacyBudgetTemplateCommand Input

Parameter
Type
Description
membershipIdentifier
Required
string | undefined

A unique identifier for one of your memberships for a collaboration. The privacy budget template is deleted from the collaboration that this membership belongs to. Accepts a membership ID.

privacyBudgetTemplateIdentifier
Required
string | undefined

A unique identifier for your privacy budget template.

DeletePrivacyBudgetTemplateCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
AccessDeniedException
client

Caller does not have sufficient access to perform this action.

InternalServerException
server

Unexpected error during processing of request.

ResourceNotFoundException
client

Request references a resource which does not exist.

ThrottlingException
client

Request was denied due to request throttling.

ValidationException
client

The input fails to satisfy the specified constraints.

CleanRoomsServiceException
Base exception class for all service exceptions from CleanRooms service.