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

Modifies the configuration of an existing analyzer.

This action is not supported for external access analyzers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AccessAnalyzerClient, UpdateAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import * // const { AccessAnalyzerClient, UpdateAnalyzerCommand } = 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 = { // UpdateAnalyzerRequest * analyzerName: "STRING_VALUE", // required * configuration: { // AnalyzerConfiguration Union: only one key present * unusedAccess: { // UnusedAccessConfiguration * unusedAccessAge: Number("int"), * analysisRule: { // AnalysisRule * exclusions: [ // AnalysisRuleCriteriaList * { // AnalysisRuleCriteria * accountIds: [ // AccountIdsList * "STRING_VALUE", * ], * resourceTags: [ // TagsList * { // TagsMap * "": "STRING_VALUE", * }, * ], * }, * ], * }, * }, * internalAccess: { // InternalAccessConfiguration * analysisRule: { // InternalAccessAnalysisRule * inclusions: [ // InternalAccessAnalysisRuleCriteriaList * { // InternalAccessAnalysisRuleCriteria * accountIds: [ * "STRING_VALUE", * ], * resourceTypes: [ // ResourceTypeList * "STRING_VALUE", * ], * resourceArns: [ // ResourceArnsList * "STRING_VALUE", * ], * }, * ], * }, * }, * }, * }; * const command = new UpdateAnalyzerCommand(input); * const response = await client.send(command); * // { // UpdateAnalyzerResponse * // configuration: { // AnalyzerConfiguration Union: only one key present * // unusedAccess: { // UnusedAccessConfiguration * // unusedAccessAge: Number("int"), * // analysisRule: { // AnalysisRule * // exclusions: [ // AnalysisRuleCriteriaList * // { // AnalysisRuleCriteria * // accountIds: [ // AccountIdsList * // "STRING_VALUE", * // ], * // resourceTags: [ // TagsList * // { // TagsMap * // "": "STRING_VALUE", * // }, * // ], * // }, * // ], * // }, * // }, * // internalAccess: { // InternalAccessConfiguration * // analysisRule: { // InternalAccessAnalysisRule * // inclusions: [ // InternalAccessAnalysisRuleCriteriaList * // { // InternalAccessAnalysisRuleCriteria * // accountIds: [ * // "STRING_VALUE", * // ], * // resourceTypes: [ // ResourceTypeList * // "STRING_VALUE", * // ], * // resourceArns: [ // ResourceArnsList * // "STRING_VALUE", * // ], * // }, * // ], * // }, * // }, * // }, * // }; * * ``` * * @param UpdateAnalyzerCommandInput - {@link UpdateAnalyzerCommandInput} * @returns {@link UpdateAnalyzerCommandOutput} * @see {@link UpdateAnalyzerCommandInput} for command's `input` shape. * @see {@link UpdateAnalyzerCommandOutput} 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 ConflictException} (client fault) *

A conflict exception error.

* * @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 UpdateAnalyzerCommand extends UpdateAnalyzerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAnalyzerRequest; output: UpdateAnalyzerResponse; }; sdk: { input: UpdateAnalyzerCommandInput; output: UpdateAnalyzerCommandOutput; }; }; }