import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RemoveAttributesFromFindingsRequest, RemoveAttributesFromFindingsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RemoveAttributesFromFindingsCommand}. */ export interface RemoveAttributesFromFindingsCommandInput extends RemoveAttributesFromFindingsRequest { } /** * @public * * The output of {@link RemoveAttributesFromFindingsCommand}. */ export interface RemoveAttributesFromFindingsCommandOutput extends RemoveAttributesFromFindingsResponse, __MetadataBearer { } declare const RemoveAttributesFromFindingsCommand_base: { new (input: RemoveAttributesFromFindingsCommandInput): import("@smithy/core/client").CommandImpl; new (input: RemoveAttributesFromFindingsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Removes entire attributes (key and value pairs) from the findings that are specified * by the ARNs of the findings where an attribute with the specified key exists.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { InspectorClient, RemoveAttributesFromFindingsCommand } from "@aws-sdk/client-inspector"; // ES Modules import * // const { InspectorClient, RemoveAttributesFromFindingsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import * // import type { InspectorClientConfig } from "@aws-sdk/client-inspector"; * const config = {}; // type is InspectorClientConfig * const client = new InspectorClient(config); * const input = { // RemoveAttributesFromFindingsRequest * findingArns: [ // AddRemoveAttributesFindingArnList // required * "STRING_VALUE", * ], * attributeKeys: [ // UserAttributeKeyList // required * "STRING_VALUE", * ], * }; * const command = new RemoveAttributesFromFindingsCommand(input); * const response = await client.send(command); * // { // RemoveAttributesFromFindingsResponse * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, * // }; * * ``` * * @param RemoveAttributesFromFindingsCommandInput - {@link RemoveAttributesFromFindingsCommandInput} * @returns {@link RemoveAttributesFromFindingsCommandOutput} * @see {@link RemoveAttributesFromFindingsCommandInput} for command's `input` shape. * @see {@link RemoveAttributesFromFindingsCommandOutput} for command's `response` shape. * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have required permissions to access the requested resource.

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

Internal server error.

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

The request was rejected because an invalid or out-of-range value was supplied for an * input parameter.

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

The request was rejected because it referenced an entity that does not exist. The * error code describes the entity.

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

The serice is temporary unavailable.

* * @throws {@link InspectorServiceException} *

Base exception class for all service exceptions from Inspector service.

* * * @example Remove attributes from findings * ```javascript * // Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists. * const input = { * attributeKeys: [ * "key=Example,value=example" * ], * findingArns: [ * "arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq/template/0-8l1VIE0D/run/0-Z02cjjug/finding/0-T8yM9mEU" * ] * }; * const command = new RemoveAttributesFromFindingsCommand(input); * const response = await client.send(command); * /* response is * { * failedItems: { /* empty *\/ } * } * *\/ * ``` * * @public */ export declare class RemoveAttributesFromFindingsCommand extends RemoveAttributesFromFindingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RemoveAttributesFromFindingsRequest; output: RemoveAttributesFromFindingsResponse; }; sdk: { input: RemoveAttributesFromFindingsCommandInput; output: RemoveAttributesFromFindingsCommandOutput; }; }; }