import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient"; import type { DeleteIdentitiesInput, DeleteIdentitiesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteIdentitiesCommand}. */ export interface DeleteIdentitiesCommandInput extends DeleteIdentitiesInput { } /** * @public * * The output of {@link DeleteIdentitiesCommand}. */ export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse, __MetadataBearer { } declare const DeleteIdentitiesCommand_base: { new (input: DeleteIdentitiesCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteIdentitiesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes identities from an identity pool. You can specify a list of 1-60 identities * that you want to delete.

*

You must use Amazon Web Services developer credentials to call this * operation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CognitoIdentityClient, DeleteIdentitiesCommand } from "@aws-sdk/client-cognito-identity"; // ES Modules import * // const { CognitoIdentityClient, DeleteIdentitiesCommand } = require("@aws-sdk/client-cognito-identity"); // CommonJS import * // import type { CognitoIdentityClientConfig } from "@aws-sdk/client-cognito-identity"; * const config = {}; // type is CognitoIdentityClientConfig * const client = new CognitoIdentityClient(config); * const input = { // DeleteIdentitiesInput * IdentityIdsToDelete: [ // IdentityIdList // required * "STRING_VALUE", * ], * }; * const command = new DeleteIdentitiesCommand(input); * const response = await client.send(command); * // { // DeleteIdentitiesResponse * // UnprocessedIdentityIds: [ // UnprocessedIdentityIdList * // { // UnprocessedIdentityId * // IdentityId: "STRING_VALUE", * // ErrorCode: "AccessDenied" || "InternalServerError", * // }, * // ], * // }; * * ``` * * @param DeleteIdentitiesCommandInput - {@link DeleteIdentitiesCommandInput} * @returns {@link DeleteIdentitiesCommandOutput} * @see {@link DeleteIdentitiesCommandInput} for command's `input` shape. * @see {@link DeleteIdentitiesCommandOutput} for command's `response` shape. * @see {@link CognitoIdentityClientResolvedConfig | config} for CognitoIdentityClient's `config` shape. * * @throws {@link InternalErrorException} (server fault) *

Thrown when the service encounters an error during processing the request.

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

Thrown for missing or bad input parameter(s).

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

Thrown when a request is throttled.

* * @throws {@link CognitoIdentityServiceException} *

Base exception class for all service exceptions from CognitoIdentity service.

* * * @public */ export declare class DeleteIdentitiesCommand extends DeleteIdentitiesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteIdentitiesInput; output: DeleteIdentitiesResponse; }; sdk: { input: DeleteIdentitiesCommandInput; output: DeleteIdentitiesCommandOutput; }; }; }