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

Deletes the specified policy store.

This operation is idempotent. If you specify a policy store that does not exist, the request response will still return a successful HTTP 200 status code.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { VerifiedPermissionsClient, DeletePolicyStoreCommand } from "@aws-sdk/client-verifiedpermissions"; // ES Modules import * // const { VerifiedPermissionsClient, DeletePolicyStoreCommand } = 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 = { // DeletePolicyStoreInput * policyStoreId: "STRING_VALUE", // required * }; * const command = new DeletePolicyStoreCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeletePolicyStoreCommandInput - {@link DeletePolicyStoreCommandInput} * @returns {@link DeletePolicyStoreCommandOutput} * @see {@link DeletePolicyStoreCommandInput} for command's `input` shape. * @see {@link DeletePolicyStoreCommandOutput} for command's `response` shape. * @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape. * * @throws {@link InvalidStateException} (client fault) *

The policy store can't be deleted because deletion protection is enabled. To delete this policy store, disable deletion protection.

* * @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 a policy store * ```javascript * // The following example deletes the specified policy store. * const input = { * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a" * }; * const command = new DeletePolicyStoreCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class DeletePolicyStoreCommand extends DeletePolicyStoreCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePolicyStoreInput; output: {}; }; sdk: { input: DeletePolicyStoreCommandInput; output: DeletePolicyStoreCommandOutput; }; }; }