DeleteAnalysisTemplateCommand

Deletes an analysis template.

Example Syntax

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

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

DeleteAnalysisTemplateCommand Input

Parameter
Type
Description
analysisTemplateIdentifier
Required
string | undefined

The identifier for the analysis template resource.

membershipIdentifier
Required
string | undefined

The identifier for a membership resource.

DeleteAnalysisTemplateCommand 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.