import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient"; import type { GenerateFindingRecommendationRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GenerateFindingRecommendationCommand}. */ export interface GenerateFindingRecommendationCommandInput extends GenerateFindingRecommendationRequest { } /** * @public * * The output of {@link GenerateFindingRecommendationCommand}. */ export interface GenerateFindingRecommendationCommandOutput extends __MetadataBearer { } declare const GenerateFindingRecommendationCommand_base: { new (input: GenerateFindingRecommendationCommandInput): import("@smithy/core/client").CommandImpl; new (input: GenerateFindingRecommendationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Creates a recommendation for an unused permissions finding.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AccessAnalyzerClient, GenerateFindingRecommendationCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import * // const { AccessAnalyzerClient, GenerateFindingRecommendationCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import * // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer"; * const config = {}; // type is AccessAnalyzerClientConfig * const client = new AccessAnalyzerClient(config); * const input = { // GenerateFindingRecommendationRequest * analyzerArn: "STRING_VALUE", // required * id: "STRING_VALUE", // required * }; * const command = new GenerateFindingRecommendationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param GenerateFindingRecommendationCommandInput - {@link GenerateFindingRecommendationCommandInput} * @returns {@link GenerateFindingRecommendationCommandOutput} * @see {@link GenerateFindingRecommendationCommandInput} for command's `input` shape. * @see {@link GenerateFindingRecommendationCommandOutput} for command's `response` shape. * @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

Internal server error.

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

Throttling limit exceeded error.

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

Validation exception error.

* * @throws {@link AccessAnalyzerServiceException} *

Base exception class for all service exceptions from AccessAnalyzer service.

* * * @example Successfully started generating finding recommendation * ```javascript * // * const input = { * analyzerArn: "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a", * id: "finding-id" * }; * const command = new GenerateFindingRecommendationCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @example Failed field validation for id value * ```javascript * // * const input = { * analyzerArn: "arn:aws:access-analyzer:us-east-1:111122223333:analyzer/a", * id: "!" * }; * const command = new GenerateFindingRecommendationCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class GenerateFindingRecommendationCommand extends GenerateFindingRecommendationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GenerateFindingRecommendationRequest; output: {}; }; sdk: { input: GenerateFindingRecommendationCommandInput; output: GenerateFindingRecommendationCommandOutput; }; }; }