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 { StartResourceScanRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StartResourceScanCommand}. */ export interface StartResourceScanCommandInput extends StartResourceScanRequest { } /** * @public * * The output of {@link StartResourceScanCommand}. */ export interface StartResourceScanCommandOutput extends __MetadataBearer { } declare const StartResourceScanCommand_base: { new (input: StartResourceScanCommandInput): import("@smithy/core/client").CommandImpl; new (input: StartResourceScanCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Immediately starts a scan of the policies applied to the specified resource.

This action is supported only for external access analyzers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AccessAnalyzerClient, StartResourceScanCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import * // const { AccessAnalyzerClient, StartResourceScanCommand } = 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 = { // StartResourceScanRequest * analyzerArn: "STRING_VALUE", // required * resourceArn: "STRING_VALUE", // required * resourceOwnerAccount: "STRING_VALUE", * }; * const command = new StartResourceScanCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StartResourceScanCommandInput - {@link StartResourceScanCommandInput} * @returns {@link StartResourceScanCommandOutput} * @see {@link StartResourceScanCommandInput} for command's `input` shape. * @see {@link StartResourceScanCommandOutput} 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 ResourceNotFoundException} (client fault) *

The specified resource could not be found.

* * @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.

* * * @public */ export declare class StartResourceScanCommand extends StartResourceScanCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StartResourceScanRequest; output: {}; }; sdk: { input: StartResourceScanCommandInput; output: StartResourceScanCommandOutput; }; }; }