import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { GetStoredQueryRequest, GetStoredQueryResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetStoredQueryCommand}. */ export interface GetStoredQueryCommandInput extends GetStoredQueryRequest { } /** * @public * * The output of {@link GetStoredQueryCommand}. */ export interface GetStoredQueryCommandOutput extends GetStoredQueryResponse, __MetadataBearer { } declare const GetStoredQueryCommand_base: { new (input: GetStoredQueryCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetStoredQueryCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the details of a specific stored query.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, GetStoredQueryCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, GetStoredQueryCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // GetStoredQueryRequest * QueryName: "STRING_VALUE", // required * }; * const command = new GetStoredQueryCommand(input); * const response = await client.send(command); * // { // GetStoredQueryResponse * // StoredQuery: { // StoredQuery * // QueryId: "STRING_VALUE", * // QueryArn: "STRING_VALUE", * // QueryName: "STRING_VALUE", // required * // Description: "STRING_VALUE", * // Expression: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetStoredQueryCommandInput - {@link GetStoredQueryCommandInput} * @returns {@link GetStoredQueryCommandOutput} * @see {@link GetStoredQueryCommandInput} for command's `input` shape. * @see {@link GetStoredQueryCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link ResourceNotFoundException} (client fault) *

You have specified a resource that does not exist.

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

The requested operation is not valid. You will see this exception if there are missing required fields or if the input value fails the validation.

*

For PutStoredQuery, one of the following errors:

* *

For DescribeConfigurationRecorders and DescribeConfigurationRecorderStatus, one of the following errors:

* *

For AssociateResourceTypes and DisassociateResourceTypes, one of the following errors:

* * * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class GetStoredQueryCommand extends GetStoredQueryCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetStoredQueryRequest; output: GetStoredQueryResponse; }; sdk: { input: GetStoredQueryCommandInput; output: GetStoredQueryCommandOutput; }; }; }