import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteRecommendationPreferencesRequest, DeleteRecommendationPreferencesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteRecommendationPreferencesCommand}. */ export interface DeleteRecommendationPreferencesCommandInput extends DeleteRecommendationPreferencesRequest { } /** * @public * * The output of {@link DeleteRecommendationPreferencesCommand}. */ export interface DeleteRecommendationPreferencesCommandOutput extends DeleteRecommendationPreferencesResponse, __MetadataBearer { } declare const DeleteRecommendationPreferencesCommand_base: { new (input: DeleteRecommendationPreferencesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteRecommendationPreferencesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a recommendation preference, such as enhanced infrastructure metrics.

*

For more information, see Activating * enhanced infrastructure metrics in the Compute Optimizer User * Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } from "@aws-sdk/client-compute-optimizer"; // ES Modules import * // const { ComputeOptimizerClient, DeleteRecommendationPreferencesCommand } = require("@aws-sdk/client-compute-optimizer"); // CommonJS import * // import type { ComputeOptimizerClientConfig } from "@aws-sdk/client-compute-optimizer"; * const config = {}; // type is ComputeOptimizerClientConfig * const client = new ComputeOptimizerClient(config); * const input = { // DeleteRecommendationPreferencesRequest * resourceType: "Ec2Instance" || "AutoScalingGroup" || "EbsVolume" || "LambdaFunction" || "NotApplicable" || "EcsService" || "License" || "RdsDBInstance" || "AuroraDBClusterStorage" || "Idle", // required * scope: { // Scope * name: "Organization" || "AccountId" || "ResourceArn", * value: "STRING_VALUE", * }, * recommendationPreferenceNames: [ // RecommendationPreferenceNames // required * "EnhancedInfrastructureMetrics" || "InferredWorkloadTypes" || "ExternalMetricsPreference" || "LookBackPeriodPreference" || "PreferredResources" || "UtilizationPreferences", * ], * }; * const command = new DeleteRecommendationPreferencesCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteRecommendationPreferencesCommandInput - {@link DeleteRecommendationPreferencesCommandInput} * @returns {@link DeleteRecommendationPreferencesCommandOutput} * @see {@link DeleteRecommendationPreferencesCommandInput} for command's `input` shape. * @see {@link DeleteRecommendationPreferencesCommandOutput} for command's `response` shape. * @see {@link ComputeOptimizerClientResolvedConfig | config} for ComputeOptimizerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An internal error has occurred. Try your call again.

* * @throws {@link InvalidParameterValueException} (client fault) *

The value supplied for the input parameter is out of range or not valid.

* * @throws {@link MissingAuthenticationToken} (client fault) *

The request must contain either a valid (registered) Amazon Web Services access key ID * or X.509 certificate.

* * @throws {@link OptInRequiredException} (client fault) *

The account is not opted in to Compute Optimizer.

* * @throws {@link ResourceNotFoundException} (client fault) *

A resource that is required for the action doesn't exist.

* * @throws {@link ServiceUnavailableException} (server fault) *

The request has failed due to a temporary failure of the server.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ComputeOptimizerServiceException} *

Base exception class for all service exceptions from ComputeOptimizer service.

* * * @public */ export declare class DeleteRecommendationPreferencesCommand extends DeleteRecommendationPreferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteRecommendationPreferencesRequest; output: {}; }; sdk: { input: DeleteRecommendationPreferencesCommandInput; output: DeleteRecommendationPreferencesCommandOutput; }; }; }