import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ContainsPiiEntitiesRequest, ContainsPiiEntitiesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ContainsPiiEntitiesCommand}. */ export interface ContainsPiiEntitiesCommandInput extends ContainsPiiEntitiesRequest { } /** * @public * * The output of {@link ContainsPiiEntitiesCommand}. */ export interface ContainsPiiEntitiesCommandOutput extends ContainsPiiEntitiesResponse, __MetadataBearer { } declare const ContainsPiiEntitiesCommand_base: { new (input: ContainsPiiEntitiesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ContainsPiiEntitiesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Analyzes input text for the presence of personally identifiable information (PII) and * returns the labels of identified PII entity types such as name, address, bank account number, * or phone number.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendClient, ContainsPiiEntitiesCommand } from "@aws-sdk/client-comprehend"; // ES Modules import * // const { ComprehendClient, ContainsPiiEntitiesCommand } = require("@aws-sdk/client-comprehend"); // CommonJS import * // import type { ComprehendClientConfig } from "@aws-sdk/client-comprehend"; * const config = {}; // type is ComprehendClientConfig * const client = new ComprehendClient(config); * const input = { // ContainsPiiEntitiesRequest * Text: "STRING_VALUE", // required * LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required * }; * const command = new ContainsPiiEntitiesCommand(input); * const response = await client.send(command); * // { // ContainsPiiEntitiesResponse * // Labels: [ // ListOfEntityLabels * // { // EntityLabel * // Name: "BANK_ACCOUNT_NUMBER" || "BANK_ROUTING" || "CREDIT_DEBIT_NUMBER" || "CREDIT_DEBIT_CVV" || "CREDIT_DEBIT_EXPIRY" || "PIN" || "EMAIL" || "ADDRESS" || "NAME" || "PHONE" || "SSN" || "DATE_TIME" || "PASSPORT_NUMBER" || "DRIVER_ID" || "URL" || "AGE" || "USERNAME" || "PASSWORD" || "AWS_ACCESS_KEY" || "AWS_SECRET_KEY" || "IP_ADDRESS" || "MAC_ADDRESS" || "ALL" || "LICENSE_PLATE" || "VEHICLE_IDENTIFICATION_NUMBER" || "UK_NATIONAL_INSURANCE_NUMBER" || "CA_SOCIAL_INSURANCE_NUMBER" || "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" || "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" || "IN_PERMANENT_ACCOUNT_NUMBER" || "IN_NREGA" || "INTERNATIONAL_BANK_ACCOUNT_NUMBER" || "SWIFT_CODE" || "UK_NATIONAL_HEALTH_SERVICE_NUMBER" || "CA_HEALTH_NUMBER" || "IN_AADHAAR" || "IN_VOTER_NUMBER", * // Score: Number("float"), * // }, * // ], * // }; * * ``` * * @param ContainsPiiEntitiesCommandInput - {@link ContainsPiiEntitiesCommandInput} * @returns {@link ContainsPiiEntitiesCommandOutput} * @see {@link ContainsPiiEntitiesCommandInput} for command's `input` shape. * @see {@link ContainsPiiEntitiesCommandOutput} for command's `response` shape. * @see {@link ComprehendClientResolvedConfig | config} for ComprehendClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

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

The request is invalid.

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

The size of the input text exceeds the limit. Use a smaller document.

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

Amazon Comprehend can't process the language of the input text. For a list of supported languages, * Supported languages in the Comprehend Developer Guide. *

* * @throws {@link ComprehendServiceException} *

Base exception class for all service exceptions from Comprehend service.

* * * @public */ export declare class ContainsPiiEntitiesCommand extends ContainsPiiEntitiesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ContainsPiiEntitiesRequest; output: ContainsPiiEntitiesResponse; }; sdk: { input: ContainsPiiEntitiesCommandInput; output: ContainsPiiEntitiesCommandOutput; }; }; }