- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
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
See DeleteAnalysisTemplateCommandInput for more details
Parameter | Type | Description |
---|
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
See DeleteAnalysisTemplateCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
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. |