import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeDomainAutoTunesRequest, DescribeDomainAutoTunesResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeDomainAutoTunesCommand}. */ export interface DescribeDomainAutoTunesCommandInput extends DescribeDomainAutoTunesRequest { } /** * @public * * The output of {@link DescribeDomainAutoTunesCommand}. */ export interface DescribeDomainAutoTunesCommandOutput extends DescribeDomainAutoTunesResponse, __MetadataBearer { } declare const DescribeDomainAutoTunesCommand_base: { new (input: DescribeDomainAutoTunesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeDomainAutoTunesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Returns the list of optimizations that Auto-Tune has made to an Amazon OpenSearch * Service domain. For more information, see Auto-Tune for Amazon * OpenSearch Service.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, DescribeDomainAutoTunesCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, DescribeDomainAutoTunesCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch"; * const config = {}; // type is OpenSearchClientConfig * const client = new OpenSearchClient(config); * const input = { // DescribeDomainAutoTunesRequest * DomainName: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeDomainAutoTunesCommand(input); * const response = await client.send(command); * // { // DescribeDomainAutoTunesResponse * // AutoTunes: [ // AutoTuneList * // { // AutoTune * // AutoTuneType: "SCHEDULED_ACTION", * // AutoTuneDetails: { // AutoTuneDetails * // ScheduledAutoTuneDetails: { // ScheduledAutoTuneDetails * // Date: new Date("TIMESTAMP"), * // ActionType: "JVM_HEAP_SIZE_TUNING" || "JVM_YOUNG_GEN_TUNING", * // Action: "STRING_VALUE", * // Severity: "LOW" || "MEDIUM" || "HIGH", * // }, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeDomainAutoTunesCommandInput - {@link DescribeDomainAutoTunesCommandInput} * @returns {@link DescribeDomainAutoTunesCommandOutput} * @see {@link DescribeDomainAutoTunesCommandInput} for command's `input` shape. * @see {@link DescribeDomainAutoTunesCommandOutput} for command's `response` shape. * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape. * * @throws {@link BaseException} (client fault) *

An error occurred while processing the request.

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

Request processing failed because of an unknown error, exception, or internal failure.

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

An exception for accessing or deleting a resource that doesn't exist.

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

An exception for accessing or deleting a resource that doesn't exist.

* * @throws {@link OpenSearchServiceException} *

Base exception class for all service exceptions from OpenSearch service.

* * * @public */ export declare class DescribeDomainAutoTunesCommand extends DescribeDomainAutoTunesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDomainAutoTunesRequest; output: DescribeDomainAutoTunesResponse; }; sdk: { input: DescribeDomainAutoTunesCommandInput; output: DescribeDomainAutoTunesCommandOutput; }; }; }