import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteIdentitySourceInput, DeleteIdentitySourceOutput } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, VerifiedPermissionsClientResolvedConfig } from "../VerifiedPermissionsClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteIdentitySourceCommand}. */ export interface DeleteIdentitySourceCommandInput extends DeleteIdentitySourceInput { } /** * @public * * The output of {@link DeleteIdentitySourceCommand}. */ export interface DeleteIdentitySourceCommandOutput extends DeleteIdentitySourceOutput, __MetadataBearer { } declare const DeleteIdentitySourceCommand_base: { new (input: DeleteIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteIdentitySourceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes an identity source that references an identity provider (IdP) such as Amazon Cognito. After you delete the identity source, you can no longer use tokens for identities from that identity source to represent principals in authorization queries made using IsAuthorizedWithToken. operations.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { VerifiedPermissionsClient, DeleteIdentitySourceCommand } from "@aws-sdk/client-verifiedpermissions"; // ES Modules import * // const { VerifiedPermissionsClient, DeleteIdentitySourceCommand } = require("@aws-sdk/client-verifiedpermissions"); // CommonJS import * // import type { VerifiedPermissionsClientConfig } from "@aws-sdk/client-verifiedpermissions"; * const config = {}; // type is VerifiedPermissionsClientConfig * const client = new VerifiedPermissionsClient(config); * const input = { // DeleteIdentitySourceInput * policyStoreId: "STRING_VALUE", // required * identitySourceId: "STRING_VALUE", // required * }; * const command = new DeleteIdentitySourceCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteIdentitySourceCommandInput - {@link DeleteIdentitySourceCommandInput} * @returns {@link DeleteIdentitySourceCommandOutput} * @see {@link DeleteIdentitySourceCommandInput} for command's `input` shape. * @see {@link DeleteIdentitySourceCommandOutput} for command's `response` shape. * @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

The request failed because another request to modify a resource occurred at the same time.

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

The request failed because it references a resource that doesn't exist.

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

You don't have sufficient access to perform this action.

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

The request failed because of an internal error. Try your request again later

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

The request failed because it exceeded a throttling quota.

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

The request failed because one or more input parameters don't satisfy their constraint requirements. The output is provided as a list of fields and a reason for each field that isn't valid.

The possible reasons include the following:

* * @throws {@link VerifiedPermissionsServiceException} *

Base exception class for all service exceptions from VerifiedPermissions service.

* * * @example To delete an identity source * ```javascript * // The following example request deletes the specified identity source. * const input = { * identitySourceId: "ISEXAMPLEabcdefg111111", * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a" * }; * const command = new DeleteIdentitySourceCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class DeleteIdentitySourceCommand extends DeleteIdentitySourceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteIdentitySourceInput; output: {}; }; sdk: { input: DeleteIdentitySourceCommandInput; output: DeleteIdentitySourceCommandOutput; }; }; }