import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeletePermissionRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeletePermissionCommand}. */ export interface DeletePermissionCommandInput extends DeletePermissionRequest { } /** * @public * * The output of {@link DeletePermissionCommand}. */ export interface DeletePermissionCommandOutput extends __MetadataBearer { } declare const DeletePermissionCommand_base: { new (input: DeletePermissionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeletePermissionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Revokes permissions on a private CA granted to the Certificate Manager (ACM) service principal (acm.amazonaws.com).

These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA. If you revoke these permissions, ACM will no longer renew the affected certificates automatically.

Permissions can be granted with the CreatePermission action and listed with the ListPermissions action.

About Permissions

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ACMPCAClient, DeletePermissionCommand } from "@aws-sdk/client-acm-pca"; // ES Modules import * // const { ACMPCAClient, DeletePermissionCommand } = require("@aws-sdk/client-acm-pca"); // CommonJS import * // import type { ACMPCAClientConfig } from "@aws-sdk/client-acm-pca"; * const config = {}; // type is ACMPCAClientConfig * const client = new ACMPCAClient(config); * const input = { // DeletePermissionRequest * CertificateAuthorityArn: "STRING_VALUE", // required * Principal: "STRING_VALUE", // required * SourceAccount: "STRING_VALUE", * }; * const command = new DeletePermissionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeletePermissionCommandInput - {@link DeletePermissionCommandInput} * @returns {@link DeletePermissionCommandOutput} * @see {@link DeletePermissionCommandInput} for command's `input` shape. * @see {@link DeletePermissionCommandOutput} for command's `response` shape. * @see {@link ACMPCAClientResolvedConfig | config} for ACMPCAClient's `config` shape. * * @throws {@link InvalidArnException} (client fault) *

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

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

The state of the private CA does not allow this action to occur.

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

The request has failed for an unspecified reason.

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

A resource such as a private CA, S3 bucket, certificate, audit report, or policy cannot be found.

* * @throws {@link ACMPCAServiceException} *

Base exception class for all service exceptions from ACMPCA service.

* * * @public */ export declare class DeletePermissionCommand extends DeletePermissionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePermissionRequest; output: {}; }; sdk: { input: DeletePermissionCommandInput; output: DeletePermissionCommandOutput; }; }; }